-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfoobara-empty-typescript-react-project-generator.gemspec
More file actions
37 lines (29 loc) · 1.33 KB
/
foobara-empty-typescript-react-project-generator.gemspec
File metadata and controls
37 lines (29 loc) · 1.33 KB
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
require "find"
require_relative "version"
Gem::Specification.new do |spec|
spec.name = "foobara-empty-typescript-react-project-generator"
spec.version = Foobara::Generators::EmptyTypescriptReactProjectGenerator::VERSION
spec.authors = ["Miles Georgi"]
spec.email = ["azimux@gmail.com"]
spec.summary = "Generates empty typescript react projects"
spec.homepage = "https://github.com/foobara/generators-empty-typescript-react-project-generator"
# Equivalent to SPDX License Expression: Apache-2.0 OR MIT
spec.license = "Apache-2.0 OR MIT"
spec.licenses = ["Apache-2.0", "MIT"]
spec.required_ruby_version = Foobara::Generators::EmptyTypescriptReactProjectGenerator::MINIMUM_RUBY_VERSION
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = spec.homepage
spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/main/CHANGELOG.md"
spec.add_dependency "foobara", ">= 0.1.1", "< 2.0.0"
spec.add_dependency "foobara-files-generator", "< 2.0.0"
spec.files = Dir[
"lib/**/*",
"src/**/*",
"LICENSE*.txt",
"README.md",
"CHANGELOG.md"
# NOTE: We can't just do "templates/**/*" because there can be hidden files/directories which are skipped
] + Find.find("templates/").select { |f| File.file?(f) }
spec.require_paths = ["lib"]
spec.metadata["rubygems_mfa_required"] = "true"
end