-
Notifications
You must be signed in to change notification settings - Fork 2
/
phlex_storybook.gemspec
45 lines (36 loc) · 1.71 KB
/
phlex_storybook.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
require_relative "lib/phlex_storybook/version"
Gem::Specification.new do |spec|
spec.name = "phlex_storybook"
spec.version = PhlexStorybook::VERSION
spec.authors = [ "Hedgeye Developers" ]
spec.email = [ "[email protected]" ]
spec.homepage = "https://github.com/hedgeyedev/phlex_preview"
spec.summary = "A storybook implementation for Phlex components."
spec.description = "Showcase your Phlex components: rendering, documentation, and copyable code."
spec.license = "MIT"
spec.post_install_message = <<~MESSAGE
Run the installer:
$ bin/rails phlex_storybook:install
Then, add phlex_storybook to your application by mounting it in your `config/routes.rb` file:
Rails.application.routes.draw do
mount PhlexStorybook::Engine => "/phlex_storybook"
end
If necessary, update the `config/initializers/phlex_storybook.rb` file with the path(s) to your components.
MESSAGE
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = spec.homepage
spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/master/CHANGELOG.md"
spec.metadata["rubygems_mfa_required"] = "true"
spec.files = Dir.chdir(File.expand_path(__dir__)) do
Dir["{app,config,lib}/**/*", "LICENSE", "Rakefile", "README.md", "CHANGELOG.md"]
end
spec.add_dependency "importmap-rails"
spec.add_dependency "phlex-rails", "~> 1.2"
spec.add_dependency "rails", ">= 7", "< 8"
spec.add_dependency "stimulus-rails"
spec.add_dependency "tailwindcss-rails", "~> 2.7"
spec.add_dependency "turbo-rails"
spec.add_dependency "turbo_power", "~> 0.6.2"
spec.add_dependency "phlex-icons", "~> 0.11.0"
spec.add_dependency "rouge", "~> 4.3.0"
end