rake_npm 0.1.0.pre.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 59fc518396a8cd1ef6db8faebad502659da600196265685fda28e8350c3dee4e
4
+ data.tar.gz: cf1cedf5ad06d7595f82a7592db3a8af37505db088e061917fdd675e79440ef9
5
+ SHA512:
6
+ metadata.gz: 41f99a1336bef816f278326c5521165cfd6cac709da78373d7fd03636505528feb63389d79ebe8d63d5d18a579ee85f3fef73b87b7bafb242dfc1ace02f93284
7
+ data.tar.gz: 0b42e7b560835603ff1421abf97f06563522f51338721d29f66f526e0903cbede1ee893bf00a1aa87780a32edf7be86e4f684451764f3587465662395accd1d1
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at maintainers@infrablocks.io. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ # Specify your gem's dependencies in rake_npm.gemspec
6
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,158 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ rake_npm (0.1.0.pre.1)
5
+ colored2 (~> 3.1)
6
+ rake_dependencies (~> 3.1)
7
+ rake_factory (~> 0.23)
8
+ ruby_npm (~> 0.1.0.pre.5)
9
+
10
+ GEM
11
+ remote: https://rubygems.org/
12
+ specs:
13
+ activesupport (7.0.4)
14
+ concurrent-ruby (~> 1.0, >= 1.0.2)
15
+ i18n (>= 1.6, < 2)
16
+ minitest (>= 5.1)
17
+ tzinfo (~> 2.0)
18
+ addressable (2.8.1)
19
+ public_suffix (>= 2.0.2, < 6.0)
20
+ ast (2.4.2)
21
+ colored2 (3.1.2)
22
+ concurrent-ruby (1.1.10)
23
+ diff-lcs (1.5.0)
24
+ docile (1.4.0)
25
+ down (5.4.0)
26
+ addressable (~> 2.8)
27
+ excon (0.95.0)
28
+ faraday (2.7.2)
29
+ faraday-net_http (>= 2.0, < 3.1)
30
+ ruby2_keywords (>= 0.0.4)
31
+ faraday-net_http (3.0.2)
32
+ gem-release (2.2.2)
33
+ hamster (3.0.0)
34
+ concurrent-ruby (~> 1.0)
35
+ i18n (1.12.0)
36
+ concurrent-ruby (~> 1.0)
37
+ immutable-struct (2.4.1)
38
+ json (2.6.3)
39
+ lino (3.1.0)
40
+ hamster (~> 3.0)
41
+ open4 (~> 1.3)
42
+ memfs (1.0.0)
43
+ minitar (0.9)
44
+ minitest (5.16.3)
45
+ octokit (6.0.1)
46
+ faraday (>= 1, < 3)
47
+ sawyer (~> 0.9)
48
+ open4 (1.3.4)
49
+ parallel (1.22.1)
50
+ parser (3.1.3.0)
51
+ ast (~> 2.4.1)
52
+ public_suffix (5.0.1)
53
+ rainbow (3.1.1)
54
+ rake (13.0.6)
55
+ rake_circle_ci (0.11.0)
56
+ colored2 (~> 3.1)
57
+ excon (~> 0.72)
58
+ rake_factory (~> 0.23)
59
+ sshkey (~> 2.0)
60
+ rake_dependencies (3.5.0)
61
+ down (~> 5.3)
62
+ hamster (~> 3.0)
63
+ minitar (~> 0.9)
64
+ rake_factory (~> 0.23)
65
+ rubyzip (>= 1.3)
66
+ rake_factory (0.31.0)
67
+ activesupport (>= 4)
68
+ rake (~> 13.0)
69
+ rake_github (0.11.0)
70
+ colored2 (~> 3.1)
71
+ octokit (>= 4.16, < 7.0)
72
+ rake_factory (~> 0.23)
73
+ sshkey (~> 2.0)
74
+ rake_gpg (0.18.0)
75
+ rake_factory (~> 0.23)
76
+ ruby_gpg2 (~> 0.6)
77
+ rake_ssh (0.8.0)
78
+ colored2 (~> 3.1)
79
+ rake_factory (~> 0.23)
80
+ sshkey (~> 2.0)
81
+ regexp_parser (2.6.1)
82
+ rexml (3.2.5)
83
+ rspec (3.12.0)
84
+ rspec-core (~> 3.12.0)
85
+ rspec-expectations (~> 3.12.0)
86
+ rspec-mocks (~> 3.12.0)
87
+ rspec-core (3.12.0)
88
+ rspec-support (~> 3.12.0)
89
+ rspec-expectations (3.12.1)
90
+ diff-lcs (>= 1.2.0, < 2.0)
91
+ rspec-support (~> 3.12.0)
92
+ rspec-mocks (3.12.1)
93
+ diff-lcs (>= 1.2.0, < 2.0)
94
+ rspec-support (~> 3.12.0)
95
+ rspec-support (3.12.0)
96
+ rubocop (1.41.1)
97
+ json (~> 2.3)
98
+ parallel (~> 1.10)
99
+ parser (>= 3.1.2.1)
100
+ rainbow (>= 2.2.2, < 4.0)
101
+ regexp_parser (>= 1.8, < 3.0)
102
+ rexml (>= 3.2.5, < 4.0)
103
+ rubocop-ast (>= 1.23.0, < 2.0)
104
+ ruby-progressbar (~> 1.7)
105
+ unicode-display_width (>= 1.4.0, < 3.0)
106
+ rubocop-ast (1.24.0)
107
+ parser (>= 3.1.1.0)
108
+ rubocop-rake (0.6.0)
109
+ rubocop (~> 1.0)
110
+ rubocop-rspec (2.16.0)
111
+ rubocop (~> 1.33)
112
+ ruby-progressbar (1.11.0)
113
+ ruby2_keywords (0.0.5)
114
+ ruby_gpg2 (0.10.0)
115
+ lino (~> 3.0)
116
+ ruby_npm (0.1.0.pre.5)
117
+ immutable-struct (~> 2.4)
118
+ lino (~> 3.0)
119
+ rubyzip (2.3.2)
120
+ sawyer (0.9.2)
121
+ addressable (>= 2.3.5)
122
+ faraday (>= 0.17.3, < 3)
123
+ simplecov (0.22.0)
124
+ docile (~> 1.1)
125
+ simplecov-html (~> 0.11)
126
+ simplecov_json_formatter (~> 0.1)
127
+ simplecov-html (0.12.3)
128
+ simplecov_json_formatter (0.1.4)
129
+ sshkey (2.0.0)
130
+ tzinfo (2.0.5)
131
+ concurrent-ruby (~> 1.0)
132
+ unicode-display_width (2.3.0)
133
+
134
+ PLATFORMS
135
+ arm64-darwin-21
136
+ x86_64-darwin-19
137
+ x86_64-darwin-21
138
+ x86_64-linux
139
+
140
+ DEPENDENCIES
141
+ activesupport
142
+ bundler
143
+ gem-release
144
+ memfs
145
+ rake
146
+ rake_circle_ci
147
+ rake_github
148
+ rake_gpg
149
+ rake_npm!
150
+ rake_ssh
151
+ rspec
152
+ rubocop
153
+ rubocop-rake
154
+ rubocop-rspec
155
+ simplecov
156
+
157
+ BUNDLED WITH
158
+ 2.4.2
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2022 InfraBlocks Maintainers
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,71 @@
1
+ # RakeNPM
2
+
3
+ Rake tasks for interacting with NPM.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'rake_npm'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install rake_npm
20
+
21
+ ## Usage
22
+
23
+ TODO: Write docs.
24
+
25
+ ## Development
26
+
27
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run
28
+ `rake spec` to run the tests. You can also run `bin/console` for an interactive
29
+ prompt that will allow you to experiment.
30
+
31
+ To install this gem onto your local machine, run `bundle exec rake install`. To
32
+ release a new version, update the version number in `version.rb`, and then run
33
+ `bundle exec rake release`, which will create a git tag for the version, push
34
+ git commits and tags, and push the `.gem` file to
35
+ [rubygems.org](https://rubygems.org).
36
+
37
+ ### Managing CircleCI keys
38
+
39
+ To encrypt a GPG key for use by CircleCI:
40
+
41
+ ```bash
42
+ openssl aes-256-cbc \
43
+ -e \
44
+ -md sha1 \
45
+ -in ./config/secrets/ci/gpg.private \
46
+ -out ./.circleci/gpg.private.enc \
47
+ -k "<passphrase>"
48
+ ```
49
+
50
+ To check decryption is working correctly:
51
+
52
+ ```bash
53
+ openssl aes-256-cbc \
54
+ -d \
55
+ -md sha1 \
56
+ -in ./.circleci/gpg.private.enc \
57
+ -k "<passphrase>"
58
+ ```
59
+
60
+ ## Contributing
61
+
62
+ Bug reports and pull requests are welcome on GitHub at
63
+ https://github.com/infrablocks/rake_npm. This project is intended to be a
64
+ safe, welcoming space for collaboration, and contributors are expected to
65
+ adhere to the [Contributor Covenant](http://contributor-covenant.org) code of
66
+ conduct.
67
+
68
+ ## License
69
+
70
+ The gem is available as open source under the terms of the
71
+ [MIT License](http://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,143 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'yaml'
4
+ require 'rake_circle_ci'
5
+ require 'rake_github'
6
+ require 'rake_ssh'
7
+ require 'rake_gpg'
8
+ require 'securerandom'
9
+ require 'rspec/core/rake_task'
10
+ require 'rubocop/rake_task'
11
+
12
+ task default: %i[
13
+ library:fix
14
+ test:unit
15
+ ]
16
+
17
+ namespace :encryption do
18
+ namespace :directory do
19
+ desc 'Ensure CI secrets directory exists.'
20
+ task :ensure do
21
+ FileUtils.mkdir_p('config/secrets/ci')
22
+ end
23
+ end
24
+
25
+ namespace :passphrase do
26
+ desc 'Generate encryption passphrase used by CI.'
27
+ task generate: ['directory:ensure'] do
28
+ File.write('config/secrets/ci/encryption.passphrase',
29
+ SecureRandom.base64(36))
30
+ end
31
+ end
32
+ end
33
+
34
+ namespace :keys do
35
+ namespace :deploy do
36
+ RakeSSH.define_key_tasks(
37
+ path: 'config/secrets/ci/',
38
+ comment: 'maintainers@infrablocks.io'
39
+ )
40
+ end
41
+
42
+ namespace :gpg do
43
+ RakeGPG.define_generate_key_task(
44
+ output_directory: 'config/secrets/ci',
45
+ name_prefix: 'gpg',
46
+ owner_name: 'InfraBlocks Maintainers',
47
+ owner_email: 'maintainers@infrablocks.io',
48
+ owner_comment: 'rake_npm CI Key'
49
+ )
50
+ end
51
+ end
52
+
53
+ namespace :secrets do
54
+ desc 'Regenerate all generatable secrets.'
55
+ task regenerate: %w[
56
+ encryption:passphrase:generate
57
+ keys:deploy:generate
58
+ keys:gpg:generate
59
+ ]
60
+ end
61
+
62
+ RuboCop::RakeTask.new
63
+
64
+ namespace :library do
65
+ desc 'Run all checks of the library'
66
+ task check: [:rubocop]
67
+
68
+ desc 'Attempt to automatically fix issues with the library'
69
+ task fix: [:'rubocop:autocorrect_all']
70
+ end
71
+
72
+ namespace :test do
73
+ RSpec::Core::RakeTask.new(:unit)
74
+ end
75
+
76
+ RakeCircleCI.define_project_tasks(
77
+ namespace: :circle_ci,
78
+ project_slug: 'github/infrablocks/rake_npm'
79
+ ) do |t|
80
+ circle_ci_config =
81
+ YAML.load_file('config/secrets/circle_ci/config.yaml')
82
+
83
+ t.api_token = circle_ci_config['circle_ci_api_token']
84
+ t.environment_variables = {
85
+ ENCRYPTION_PASSPHRASE:
86
+ File.read('config/secrets/ci/encryption.passphrase')
87
+ .chomp
88
+ }
89
+ t.checkout_keys = []
90
+ t.ssh_keys = [
91
+ {
92
+ hostname: 'github.com',
93
+ private_key: File.read('config/secrets/ci/ssh.private')
94
+ }
95
+ ]
96
+ end
97
+
98
+ RakeGithub.define_repository_tasks(
99
+ namespace: :github,
100
+ repository: 'infrablocks/rake_npm'
101
+ ) do |t, args|
102
+ github_config =
103
+ YAML.load_file('config/secrets/github/config.yaml')
104
+
105
+ t.access_token = github_config['github_personal_access_token']
106
+ t.deploy_keys = [
107
+ {
108
+ title: 'CircleCI',
109
+ public_key: File.read('config/secrets/ci/ssh.public')
110
+ }
111
+ ]
112
+ t.branch_name = args.branch_name
113
+ t.commit_message = args.commit_message
114
+ end
115
+
116
+ namespace :pipeline do
117
+ desc 'Prepare CircleCI Pipeline'
118
+ task prepare: %i[
119
+ circle_ci:env_vars:ensure
120
+ circle_ci:checkout_keys:ensure
121
+ circle_ci:ssh_keys:ensure
122
+ github:deploy_keys:ensure
123
+ ]
124
+ end
125
+
126
+ namespace :version do
127
+ desc 'Bump version for specified type (pre, major, minor, patch)'
128
+ task :bump, [:type] do |_, args|
129
+ bump_version_for(args.type)
130
+ end
131
+ end
132
+
133
+ desc 'Release gem'
134
+ task :release do
135
+ sh 'gem release --tag --push'
136
+ end
137
+
138
+ def bump_version_for(version_type)
139
+ sh "gem bump --version #{version_type} " \
140
+ '&& bundle install ' \
141
+ '&& export LAST_MESSAGE="$(git log -1 --pretty=%B)" ' \
142
+ '&& git commit -a --amend -m "${LAST_MESSAGE} [ci skip]"'
143
+ end
data/bin/console ADDED
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require 'bundler/setup'
5
+ require 'rake_npm'
6
+
7
+ # You can add fixtures and/or initialization code here to make experimenting
8
+ # with your gem easier. You can also use a different console, if you like.
9
+
10
+ # (If you use this, don't forget to add pry to your Gemfile!)
11
+ # require "pry"
12
+ # Pry.start
13
+
14
+ require 'irb'
15
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'rake'
4
+ require 'rake_dependencies'
5
+
6
+ module RakeNPM
7
+ module TaskSets
8
+ end
9
+ end
@@ -0,0 +1,3 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'task_sets/npm'
@@ -0,0 +1,18 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'rake_factory'
4
+
5
+ module RakeNPM
6
+ module Tasks
7
+ class Install < RakeFactory::Task
8
+ default_name :install
9
+ default_description(RakeFactory::DynamicValue.new do |_t|
10
+ 'Install NPM dependencies'
11
+ end)
12
+
13
+ action do |task|
14
+ # no-op
15
+ end
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'tasks/install'
4
+
5
+ module RakeNPM
6
+ module Tasks
7
+ end
8
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module RakeNPM
4
+ VERSION = '0.1.0.pre.1'
5
+ end
data/lib/rake_npm.rb ADDED
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'rake_npm/tasks'
4
+ require 'rake_npm/task_sets'
5
+ require 'rake_npm/version'
6
+
7
+ module RakeNPM
8
+ def self.define_install_task(opts = {}, &block)
9
+ RakeNPM::Tasks::Install.define(opts, &block)
10
+ end
11
+
12
+ class << self
13
+ private
14
+
15
+ def configure_ruby_npm(binary)
16
+ RubyNPM.configure { |c| c.binary = binary }
17
+ end
18
+ end
19
+ end
data/rake_npm.gemspec ADDED
@@ -0,0 +1,61 @@
1
+ # frozen_string_literal: true
2
+
3
+ lib = File.expand_path('lib', __dir__)
4
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
+ require 'rake_npm/version'
6
+
7
+ files = %w[
8
+ bin
9
+ lib
10
+ CODE_OF_CONDUCT.md
11
+ rake_npm.gemspec
12
+ Gemfile
13
+ LICENSE.txt
14
+ Rakefile
15
+ README.md
16
+ ]
17
+
18
+ Gem::Specification.new do |spec|
19
+ spec.name = 'rake_npm'
20
+ spec.version = RakeNPM::VERSION
21
+ spec.authors = ['InfraBlocks Maintainers']
22
+ spec.email = ['maintainers@infrablocks.io']
23
+
24
+ spec.summary = 'Rake tasks for interacting with NPM.'
25
+ spec.description =
26
+ 'Allows managing dependencies, running scripts and publishing libraries ' \
27
+ 'using NPM.'
28
+ spec.homepage = 'https://github.com/infrablocks/rake_npm'
29
+ spec.license = 'MIT'
30
+
31
+ spec.files = `git ls-files -z`.split("\x0").select do |f|
32
+ f.match(/^(#{files.map { |g| Regexp.escape(g) }.join('|')})/)
33
+ end
34
+ spec.bindir = 'exe'
35
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
36
+ spec.require_paths = ['lib']
37
+
38
+ spec.required_ruby_version = '>= 2.7'
39
+
40
+ spec.add_dependency 'colored2', '~> 3.1'
41
+ spec.add_dependency 'rake_dependencies', '~> 3.1'
42
+ spec.add_dependency 'rake_factory', '~> 0.23'
43
+ spec.add_dependency 'ruby_npm', '~> 0.1.0.pre.5'
44
+
45
+ spec.add_development_dependency 'activesupport'
46
+ spec.add_development_dependency 'bundler'
47
+ spec.add_development_dependency 'gem-release'
48
+ spec.add_development_dependency 'memfs'
49
+ spec.add_development_dependency 'rake'
50
+ spec.add_development_dependency 'rake_circle_ci'
51
+ spec.add_development_dependency 'rake_github'
52
+ spec.add_development_dependency 'rake_gpg'
53
+ spec.add_development_dependency 'rake_ssh'
54
+ spec.add_development_dependency 'rspec'
55
+ spec.add_development_dependency 'rubocop'
56
+ spec.add_development_dependency 'rubocop-rake'
57
+ spec.add_development_dependency 'rubocop-rspec'
58
+ spec.add_development_dependency 'simplecov'
59
+
60
+ spec.metadata['rubygems_mfa_required'] = 'false'
61
+ end
metadata ADDED
@@ -0,0 +1,312 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rake_npm
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0.pre.1
5
+ platform: ruby
6
+ authors:
7
+ - InfraBlocks Maintainers
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2023-01-02 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: colored2
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '3.1'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '3.1'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake_dependencies
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '3.1'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '3.1'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake_factory
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '0.23'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '0.23'
55
+ - !ruby/object:Gem::Dependency
56
+ name: ruby_npm
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 0.1.0.pre.5
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 0.1.0.pre.5
69
+ - !ruby/object:Gem::Dependency
70
+ name: activesupport
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: bundler
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: gem-release
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: memfs
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: rake
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: rake_circle_ci
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: rake_github
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: rake_gpg
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: '0'
181
+ - !ruby/object:Gem::Dependency
182
+ name: rake_ssh
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - ">="
186
+ - !ruby/object:Gem::Version
187
+ version: '0'
188
+ type: :development
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - ">="
193
+ - !ruby/object:Gem::Version
194
+ version: '0'
195
+ - !ruby/object:Gem::Dependency
196
+ name: rspec
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - ">="
200
+ - !ruby/object:Gem::Version
201
+ version: '0'
202
+ type: :development
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - ">="
207
+ - !ruby/object:Gem::Version
208
+ version: '0'
209
+ - !ruby/object:Gem::Dependency
210
+ name: rubocop
211
+ requirement: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - ">="
214
+ - !ruby/object:Gem::Version
215
+ version: '0'
216
+ type: :development
217
+ prerelease: false
218
+ version_requirements: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - ">="
221
+ - !ruby/object:Gem::Version
222
+ version: '0'
223
+ - !ruby/object:Gem::Dependency
224
+ name: rubocop-rake
225
+ requirement: !ruby/object:Gem::Requirement
226
+ requirements:
227
+ - - ">="
228
+ - !ruby/object:Gem::Version
229
+ version: '0'
230
+ type: :development
231
+ prerelease: false
232
+ version_requirements: !ruby/object:Gem::Requirement
233
+ requirements:
234
+ - - ">="
235
+ - !ruby/object:Gem::Version
236
+ version: '0'
237
+ - !ruby/object:Gem::Dependency
238
+ name: rubocop-rspec
239
+ requirement: !ruby/object:Gem::Requirement
240
+ requirements:
241
+ - - ">="
242
+ - !ruby/object:Gem::Version
243
+ version: '0'
244
+ type: :development
245
+ prerelease: false
246
+ version_requirements: !ruby/object:Gem::Requirement
247
+ requirements:
248
+ - - ">="
249
+ - !ruby/object:Gem::Version
250
+ version: '0'
251
+ - !ruby/object:Gem::Dependency
252
+ name: simplecov
253
+ requirement: !ruby/object:Gem::Requirement
254
+ requirements:
255
+ - - ">="
256
+ - !ruby/object:Gem::Version
257
+ version: '0'
258
+ type: :development
259
+ prerelease: false
260
+ version_requirements: !ruby/object:Gem::Requirement
261
+ requirements:
262
+ - - ">="
263
+ - !ruby/object:Gem::Version
264
+ version: '0'
265
+ description: Allows managing dependencies, running scripts and publishing libraries
266
+ using NPM.
267
+ email:
268
+ - maintainers@infrablocks.io
269
+ executables: []
270
+ extensions: []
271
+ extra_rdoc_files: []
272
+ files:
273
+ - CODE_OF_CONDUCT.md
274
+ - Gemfile
275
+ - Gemfile.lock
276
+ - LICENSE.txt
277
+ - README.md
278
+ - Rakefile
279
+ - bin/console
280
+ - bin/setup
281
+ - lib/rake_npm.rb
282
+ - lib/rake_npm/task_sets.rb
283
+ - lib/rake_npm/task_sets/npm.rb
284
+ - lib/rake_npm/tasks.rb
285
+ - lib/rake_npm/tasks/install.rb
286
+ - lib/rake_npm/version.rb
287
+ - rake_npm.gemspec
288
+ homepage: https://github.com/infrablocks/rake_npm
289
+ licenses:
290
+ - MIT
291
+ metadata:
292
+ rubygems_mfa_required: 'false'
293
+ post_install_message:
294
+ rdoc_options: []
295
+ require_paths:
296
+ - lib
297
+ required_ruby_version: !ruby/object:Gem::Requirement
298
+ requirements:
299
+ - - ">="
300
+ - !ruby/object:Gem::Version
301
+ version: '2.7'
302
+ required_rubygems_version: !ruby/object:Gem::Requirement
303
+ requirements:
304
+ - - ">"
305
+ - !ruby/object:Gem::Version
306
+ version: 1.3.1
307
+ requirements: []
308
+ rubygems_version: 3.1.6
309
+ signing_key:
310
+ specification_version: 4
311
+ summary: Rake tasks for interacting with NPM.
312
+ test_files: []