webpacker-pnpm 1.2.0 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/.gitattributes +0 -0
  3. data/.github/FUNDING.yml +3 -0
  4. data/.github/workflows/ci.yaml +50 -0
  5. data/.gitignore +5 -2
  6. data/.rubocop.yml +24 -91
  7. data/CHANGELOG.md +69 -45
  8. data/Gemfile +8 -17
  9. data/LICENSE +29 -0
  10. data/README.md +33 -35
  11. data/Rakefile +11 -11
  12. data/bin/console +15 -15
  13. data/bin/setup +8 -8
  14. data/gemfiles/Gemfile-rails.5.2.x +0 -0
  15. data/gemfiles/Gemfile-rails.6.0.x +0 -0
  16. data/lib/webpacker/pnpm/patches.rb +61 -53
  17. data/lib/webpacker/pnpm/railtie.rb +33 -24
  18. data/lib/webpacker/pnpm/version.rb +9 -7
  19. data/lib/webpacker/pnpm.rb +5 -5
  20. data/lib/webpacker/tasks/check_pnpm.rake +42 -27
  21. data/lib/webpacker/tasks/env.rake +22 -20
  22. data/lib/webpacker/tasks/pnpm_install.rake +14 -14
  23. data/test/rake_tasks_test.rb +97 -106
  24. data/test/test_app/.gitignore +6 -6
  25. data/test/test_app/Rakefile +5 -5
  26. data/test/test_app/app/javascript/packs/application.js +10 -10
  27. data/test/test_app/app/javascript/packs/multi_entry.css +3 -3
  28. data/test/test_app/app/javascript/packs/multi_entry.js +4 -4
  29. data/test/test_app/bin/rails +4 -6
  30. data/test/test_app/bin/rake +4 -6
  31. data/test/test_app/bin/setup +25 -27
  32. data/test/test_app/bin/webpack +15 -14
  33. data/test/test_app/bin/webpack-dev-server +15 -14
  34. data/test/test_app/config/application.rb +13 -13
  35. data/test/test_app/config/boot.rb +5 -0
  36. data/test/test_app/config/environment.rb +6 -6
  37. data/test/test_app/config/webpack/development.js +0 -0
  38. data/test/test_app/config/webpack/environment.js +0 -0
  39. data/test/test_app/config/webpacker.yml +0 -0
  40. data/test/test_app/config/webpacker_public_root.yml +19 -19
  41. data/test/test_app/config.ru +7 -7
  42. data/test/test_app/package.json +0 -0
  43. data/test/test_app/pnpm-lock.yaml +0 -0
  44. data/test/test_app/public/packs/manifest.json +31 -31
  45. data/test/test_helper.rb +61 -64
  46. data/webpacker-pnpm.gemspec +44 -36
  47. metadata +72 -42
  48. data/.travis.yml +0 -45
  49. data/gemfiles/Gemfile-rails-edge +0 -12
@@ -1,13 +1,13 @@
1
- # frozen_string_literal: true
2
-
3
- require "action_controller/railtie"
4
- require "action_view/railtie"
5
- require "webpacker"
6
- require "webpacker/pnpm"
7
-
8
- module TestApp
9
- class Application < ::Rails::Application
10
- config.secret_key_base = "abcdef"
11
- config.eager_load = true
12
- end
13
- end
1
+ # frozen_string_literal: true
2
+
3
+ require "action_controller/railtie"
4
+ require "action_view/railtie"
5
+ require "webpacker"
6
+ require "webpacker/pnpm"
7
+
8
+ module TestApp
9
+ class Application < ::Rails::Application
10
+ config.secret_key_base = "abcdef"
11
+ config.eager_load = true
12
+ end
13
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
4
+
5
+ require "bundler/setup" # Set up gems listed in the Gemfile.
@@ -1,6 +1,6 @@
1
- # frozen_string_literal: true
2
-
3
- require_relative "application"
4
-
5
- Rails.backtrace_cleaner.remove_silencers!
6
- Rails.application.initialize!
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "application"
4
+
5
+ Rails.backtrace_cleaner.remove_silencers!
6
+ Rails.application.initialize!
File without changes
File without changes
File without changes
@@ -1,19 +1,19 @@
1
- # Note: You must restart bin/webpack-dev-server for changes to take effect
2
-
3
- default: &default
4
- public_root_path: ../public
5
-
6
- development:
7
- <<: *default
8
- compile: true
9
-
10
- test:
11
- <<: *default
12
- compile: true
13
- public_output_path: packs-test
14
-
15
- production:
16
- <<: *default
17
- compile: false
18
- extract_css: true
19
- cache_manifest: true
1
+ # Note: You must restart bin/webpack-dev-server for changes to take effect
2
+
3
+ default: &default
4
+ public_root_path: ../public
5
+
6
+ development:
7
+ <<: *default
8
+ compile: true
9
+
10
+ test:
11
+ <<: *default
12
+ compile: true
13
+ public_output_path: packs-test
14
+
15
+ production:
16
+ <<: *default
17
+ compile: false
18
+ extract_css: true
19
+ cache_manifest: true
@@ -1,7 +1,7 @@
1
- # frozen_string_literal: true
2
-
3
- # This file allows the `Rails.root` to be correctly determined.
4
-
5
- require_relative "config/environment"
6
-
7
- run Rails.application
1
+ # frozen_string_literal: true
2
+
3
+ # This file allows the `Rails.root` to be correctly determined.
4
+
5
+ require_relative "config/environment"
6
+
7
+ run(Rails.application)
File without changes
File without changes
@@ -1,31 +1,31 @@
1
- {
2
- "bootstrap.css": "/packs/bootstrap-c38deda30895059837cf.css",
3
- "application.css": "/packs/application-dd6b1cd38bfa093df600.css",
4
- "bootstrap.js": "/packs/bootstrap-300631c4f0e0f9c865bc.js",
5
- "application.js": "/packs/application-k344a6d59eef8632c9d1.js",
6
- "application.png": "/packs/application-k344a6d59eef8632c9d1.png",
7
- "fonts/fa-regular-400.woff2": "/packs/fonts/fa-regular-400-944fb546bd7018b07190a32244f67dc9.woff2",
8
- "media/images/image.jpg": "/packs/media/images/image-c38deda30895059837cf.jpg",
9
- "media/images/nested/image.jpg": "/packs/media/images/nested/image-c38deda30895059837cf.jpg",
10
- "media/images/mb-icon.png": "/packs/media/images/mb-icon-c38deda30895059837cf.png",
11
- "media/images/nested/mb-icon.png": "/packs/media/images/nested/mb-icon-c38deda30895059837cf.png",
12
- "entrypoints": {
13
- "application": {
14
- "js": [
15
- "/packs/vendors~application~bootstrap-c20632e7baf2c81200d3.chunk.js",
16
- "/packs/vendors~application-e55f2aae30c07fb6d82a.chunk.js",
17
- "/packs/application-k344a6d59eef8632c9d1.js"
18
- ],
19
- "css": [
20
- "/packs/1-c20632e7baf2c81200d3.chunk.css",
21
- "/packs/application-k344a6d59eef8632c9d1.chunk.css"
22
- ]
23
- },
24
- "hello_stimulus": {
25
- "css": [
26
- "/packs/1-c20632e7baf2c81200d3.chunk.css",
27
- "/packs/hello_stimulus-k344a6d59eef8632c9d1.chunk.css"
28
- ]
29
- }
30
- }
31
- }
1
+ {
2
+ "bootstrap.css": "/packs/bootstrap-c38deda30895059837cf.css",
3
+ "application.css": "/packs/application-dd6b1cd38bfa093df600.css",
4
+ "bootstrap.js": "/packs/bootstrap-300631c4f0e0f9c865bc.js",
5
+ "application.js": "/packs/application-k344a6d59eef8632c9d1.js",
6
+ "application.png": "/packs/application-k344a6d59eef8632c9d1.png",
7
+ "fonts/fa-regular-400.woff2": "/packs/fonts/fa-regular-400-944fb546bd7018b07190a32244f67dc9.woff2",
8
+ "media/images/image.jpg": "/packs/media/images/image-c38deda30895059837cf.jpg",
9
+ "media/images/nested/image.jpg": "/packs/media/images/nested/image-c38deda30895059837cf.jpg",
10
+ "media/images/mb-icon.png": "/packs/media/images/mb-icon-c38deda30895059837cf.png",
11
+ "media/images/nested/mb-icon.png": "/packs/media/images/nested/mb-icon-c38deda30895059837cf.png",
12
+ "entrypoints": {
13
+ "application": {
14
+ "js": [
15
+ "/packs/vendors~application~bootstrap-c20632e7baf2c81200d3.chunk.js",
16
+ "/packs/vendors~application-e55f2aae30c07fb6d82a.chunk.js",
17
+ "/packs/application-k344a6d59eef8632c9d1.js"
18
+ ],
19
+ "css": [
20
+ "/packs/1-c20632e7baf2c81200d3.chunk.css",
21
+ "/packs/application-k344a6d59eef8632c9d1.chunk.css"
22
+ ]
23
+ },
24
+ "hello_stimulus": {
25
+ "css": [
26
+ "/packs/1-c20632e7baf2c81200d3.chunk.css",
27
+ "/packs/hello_stimulus-k344a6d59eef8632c9d1.chunk.css"
28
+ ]
29
+ }
30
+ }
31
+ }
data/test/test_helper.rb CHANGED
@@ -1,64 +1,61 @@
1
- # frozen_string_literal: true
2
-
3
- require "rails"
4
- require "rails/test_help"
5
- require "etc"
6
- require "fileutils"
7
- require "open3"
8
-
9
- require_relative "test_app/config/environment"
10
-
11
- Rails.env = "production"
12
- Webpacker.instance = ::Webpacker::Instance.new
13
-
14
- module Webpacker
15
- module PNPM
16
- class Test < ActiveSupport::TestCase
17
- # force test parallelization - this is not about test speed, it is about
18
- # maximizing the likelihood of having tests fail by providing isolated
19
- # execution threads. manually specify the number of workers, as by default
20
- # Rails uses the number of physical, not logical, cores. Additionally,
21
- # spawn threads rather than fork processes as Rails' DRb implementation
22
- # only supports UNIX systems
23
- Minitest.parallel_executor = Minitest::Parallel::Executor.new(Etc.nprocessors)
24
- parallelize_me!
25
-
26
- protected
27
-
28
- # concurrent scoped chdir calls are not supported, as they can cause
29
- # unforeseen and unpredictable bugs. instead, allow copying the desired
30
- # directory to a temp directory before performing possible filesystem
31
- # manipulations. opts are passed through to Open3::capture2e
32
- def chdir_concurrent(dir, cmd, env = {}, opts = {})
33
- # Process::spawn requires an env hash of strings
34
- env.stringify_keys!
35
- env.transform_values!(&:to_s)
36
-
37
- env = ENV.to_h.merge(env)
38
- isolated = opts.delete(:isolated)
39
- output = nil
40
-
41
- begin
42
- # if we're want an isolated environment, copy the directory contents to
43
- # a new temporary directory and change the working directory to it
44
- if isolated
45
- files = Dir[File.join(dir, "*")].reject do |f|
46
- f.include?("node_modules")
47
- end
48
-
49
- dir = Dir.mktmpdir
50
- FileUtils.cp_r(files, dir)
51
- end
52
-
53
- output, = Open3.capture2e(env, "cd #{dir} && #{cmd}", opts)
54
- yield(output, dir) if block_given?
55
- ensure
56
- # make sure we remove the generated temp directory
57
- FileUtils.remove_entry_secure(dir) if isolated
58
- end
59
-
60
- output
61
- end
62
- end
63
- end
64
- end
1
+ # frozen_string_literal: true
2
+
3
+ require "rails"
4
+ require "rails/test_help"
5
+ require "etc"
6
+ require "fileutils"
7
+ require "open3"
8
+
9
+ require_relative "test_app/config/environment"
10
+
11
+ Rails.env = "production"
12
+ Webpacker.instance = ::Webpacker::Instance.new
13
+
14
+ module Webpacker
15
+ module PNPM
16
+ class Test < ActiveSupport::TestCase
17
+ # force test parallelization - this is not about test speed, it is about
18
+ # maximizing the likelihood of having tests fail by providing isolated
19
+ # execution threads. manually specify the number of workers, as by default
20
+ # Rails uses the number of physical, not logical, cores. Additionally,
21
+ # spawn threads rather than fork processes as Rails' DRb implementation
22
+ # only supports UNIX systems
23
+ Minitest.parallel_executor = Minitest::Parallel::Executor.new(Etc.nprocessors)
24
+ parallelize_me!
25
+
26
+ protected
27
+
28
+ # concurrent scoped chdir calls are not supported, as they can cause
29
+ # unforeseen and unpredictable bugs. instead, allow copying the desired
30
+ # directory to a temp directory before performing possible filesystem
31
+ # manipulations. opts are passed through to Open3::capture2e
32
+ def chdir_concurrent(dir, cmd, env = {}, opts = {})
33
+ # Process::spawn requires an env hash of strings
34
+ env.stringify_keys!
35
+ env.transform_values!(&:to_s)
36
+
37
+ env = ENV.to_h.merge(env)
38
+ isolated = opts.delete(:isolated)
39
+ output = nil
40
+
41
+ begin
42
+ # if we're want an isolated environment, copy the directory contents to
43
+ # a new temporary directory and change the working directory to it
44
+ if isolated
45
+ files = Dir[File.join(dir, "*")].reject { |f| f.include?("node_modules") }
46
+ dir = Dir.mktmpdir
47
+ FileUtils.cp_r(files, dir)
48
+ end
49
+
50
+ output, = Open3.capture2e(env, "cd #{dir} && #{cmd}", opts)
51
+ yield(dir) if block_given?
52
+ ensure
53
+ # make sure we remove the generated temp directory
54
+ FileUtils.remove_entry_secure(dir) if isolated
55
+ end
56
+
57
+ output
58
+ end
59
+ end
60
+ end
61
+ end
@@ -1,36 +1,44 @@
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 "webpacker/pnpm/version"
6
-
7
- Gem::Specification.new do |spec|
8
- spec.name = "webpacker-pnpm"
9
- spec.version = Webpacker::PNPM::VERSION
10
- spec.authors = ["Elias Gabriel"]
11
- spec.email = ["me@eliasfgabriel.com"]
12
- spec.summary = "Replaces Webpacker's Yarn environment with pnpm"
13
- spec.homepage = "https://github.com/thearchitector/webpacker-pnpm"
14
- spec.license = "CC-BY-NC-SA-4.0"
15
-
16
- spec.metadata = {
17
- "homepage_uri" => spec.homepage,
18
- "source_code_uri" => "https://github.com/thearchitector/webpacker-pnpm/tree/v#{Webpacker::PNPM::VERSION}",
19
- "changelog_uri" => "https://github.com/thearchitector/webpacker-pnpm/blob/v#{Webpacker::PNPM::VERSION}/CHANGELOG.md"
20
- }
21
-
22
- spec.required_ruby_version = ">= 2.4.0"
23
-
24
- spec.add_dependency "activesupport", ">= 5.2"
25
- spec.add_dependency "rack-proxy", ">= 0.6.1"
26
- spec.add_dependency "railties", ">= 5.2"
27
- spec.add_dependency "semantic_range", ">= 2.3.0"
28
- spec.add_dependency "webpacker", "~> 5.x"
29
-
30
- spec.add_development_dependency "bundler", "~> 2.0"
31
- spec.add_development_dependency "rubocop"
32
- spec.add_development_dependency "rubocop-rails"
33
-
34
- spec.files = `git ls-files`.split("\n")
35
- spec.test_files = `git ls-files -- test/*`.split("\n")
36
- end
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 "webpacker/pnpm/version"
6
+
7
+ Gem::Specification.new do |spec|
8
+ spec.name = "webpacker-pnpm"
9
+ spec.version = Webpacker::PNPM::VERSION
10
+ spec.author = "Elias Gabriel"
11
+ spec.email = "me@eliasfgabriel.com"
12
+ spec.homepage = "https://github.com/thearchitector/webpacker-pnpm"
13
+ spec.license = "BSD-3-Clause"
14
+
15
+ spec.summary = "Replaces Webpacker's Yarn environment with pnpm."
16
+ spec.description = <<~HEREDOC.gsub(/[[:space:]]+/, " ").strip
17
+ webpacker-pnpm minimizes dependency hell, improves code quality stability, and
18
+ reduces node_modules folder sizes by replacing Webpacker's Yarn environment with pnpm.
19
+ HEREDOC
20
+
21
+ spec.metadata = {
22
+ "homepage_uri" => spec.homepage,
23
+ "source_code_uri" => "#{spec.homepage}/tree/v#{spec.version}",
24
+ "changelog_uri" => "#{spec.homepage}/blob/v#{spec.version}/CHANGELOG.md",
25
+ "bug_tracker_uri" => "#{spec.homepage}/issues"
26
+ }
27
+
28
+ spec.required_ruby_version = ">= 2.4.0"
29
+
30
+ spec.add_dependency "rails", ">= 5.2"
31
+ spec.add_dependency "rake", ">= 12.3.3"
32
+ spec.add_dependency "semantic_range", "~> 2.3"
33
+ spec.add_dependency "webpacker", "~> 5.0"
34
+
35
+ spec.add_development_dependency "minitest", "~> 5.0"
36
+ spec.add_development_dependency "practical-pig", "~> 1.0"
37
+ spec.add_development_dependency "rubocop", "~> 0.83.0"
38
+ spec.add_development_dependency "rubocop-minitest", "~> 0.9"
39
+ spec.add_development_dependency "rubocop-performance", "~> 1.3"
40
+ spec.add_development_dependency "rubocop-rails", "~> 2.5"
41
+
42
+ spec.files = `git ls-files`.split("\n")
43
+ spec.test_files = `git ls-files -- test/*`.split("\n")
44
+ end
metadata CHANGED
@@ -1,17 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webpacker-pnpm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elias Gabriel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-14 00:00:00.000000000 Z
11
+ date: 2023-01-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: activesupport
14
+ name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ">="
@@ -25,121 +25,151 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '5.2'
27
27
  - !ruby/object:Gem::Dependency
28
- name: rack-proxy
28
+ name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 0.6.1
33
+ version: 12.3.3
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: 0.6.1
40
+ version: 12.3.3
41
41
  - !ruby/object:Gem::Dependency
42
- name: railties
42
+ name: semantic_range
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '5.2'
47
+ version: '2.3'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '5.2'
54
+ version: '2.3'
55
55
  - !ruby/object:Gem::Dependency
56
- name: semantic_range
56
+ name: webpacker
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 2.3.0
61
+ version: '5.0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 2.3.0
68
+ version: '5.0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: webpacker
70
+ name: minitest
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 5.x
76
- type: :runtime
75
+ version: '5.0'
76
+ type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 5.x
82
+ version: '5.0'
83
83
  - !ruby/object:Gem::Dependency
84
- name: bundler
84
+ name: practical-pig
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '2.0'
89
+ version: '1.0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '2.0'
96
+ version: '1.0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rubocop
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ">="
101
+ - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '0'
103
+ version: 0.83.0
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ">="
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: 0.83.0
111
+ - !ruby/object:Gem::Dependency
112
+ name: rubocop-minitest
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '0.9'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
109
123
  - !ruby/object:Gem::Version
110
- version: '0'
124
+ version: '0.9'
125
+ - !ruby/object:Gem::Dependency
126
+ name: rubocop-performance
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '1.3'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '1.3'
111
139
  - !ruby/object:Gem::Dependency
112
140
  name: rubocop-rails
113
141
  requirement: !ruby/object:Gem::Requirement
114
142
  requirements:
115
- - - ">="
143
+ - - "~>"
116
144
  - !ruby/object:Gem::Version
117
- version: '0'
145
+ version: '2.5'
118
146
  type: :development
119
147
  prerelease: false
120
148
  version_requirements: !ruby/object:Gem::Requirement
121
149
  requirements:
122
- - - ">="
150
+ - - "~>"
123
151
  - !ruby/object:Gem::Version
124
- version: '0'
125
- description:
126
- email:
127
- - me@eliasfgabriel.com
152
+ version: '2.5'
153
+ description: webpacker-pnpm minimizes dependency hell, improves code quality stability,
154
+ and reduces node_modules folder sizes by replacing Webpacker's Yarn environment
155
+ with pnpm.
156
+ email: me@eliasfgabriel.com
128
157
  executables: []
129
158
  extensions: []
130
159
  extra_rdoc_files: []
131
160
  files:
132
161
  - ".gitattributes"
162
+ - ".github/FUNDING.yml"
163
+ - ".github/workflows/ci.yaml"
133
164
  - ".gitignore"
134
165
  - ".rubocop.yml"
135
- - ".travis.yml"
136
166
  - CHANGELOG.md
137
167
  - Gemfile
168
+ - LICENSE
138
169
  - README.md
139
170
  - Rakefile
140
171
  - bin/console
141
172
  - bin/setup
142
- - gemfiles/Gemfile-rails-edge
143
173
  - gemfiles/Gemfile-rails.5.2.x
144
174
  - gemfiles/Gemfile-rails.6.0.x
145
175
  - lib/webpacker/pnpm.rb
@@ -175,11 +205,12 @@ files:
175
205
  - webpacker-pnpm.gemspec
176
206
  homepage: https://github.com/thearchitector/webpacker-pnpm
177
207
  licenses:
178
- - CC-BY-NC-SA-4.0
208
+ - BSD-3-Clause
179
209
  metadata:
180
210
  homepage_uri: https://github.com/thearchitector/webpacker-pnpm
181
- source_code_uri: https://github.com/thearchitector/webpacker-pnpm/tree/v1.2.0
182
- changelog_uri: https://github.com/thearchitector/webpacker-pnpm/blob/v1.2.0/CHANGELOG.md
211
+ source_code_uri: https://github.com/thearchitector/webpacker-pnpm/tree/v1.2.2
212
+ changelog_uri: https://github.com/thearchitector/webpacker-pnpm/blob/v1.2.2/CHANGELOG.md
213
+ bug_tracker_uri: https://github.com/thearchitector/webpacker-pnpm/issues
183
214
  post_install_message:
184
215
  rdoc_options: []
185
216
  require_paths:
@@ -195,11 +226,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
195
226
  - !ruby/object:Gem::Version
196
227
  version: '0'
197
228
  requirements: []
198
- rubyforge_project:
199
- rubygems_version: 2.7.6.2
229
+ rubygems_version: 3.0.3
200
230
  signing_key:
201
231
  specification_version: 4
202
- summary: Replaces Webpacker's Yarn environment with pnpm
232
+ summary: Replaces Webpacker's Yarn environment with pnpm.
203
233
  test_files:
204
234
  - test/rake_tasks_test.rb
205
235
  - test/test_app/.gitignore