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.
- checksums.yaml +4 -4
- data/.gitattributes +0 -0
- data/.github/FUNDING.yml +3 -0
- data/.github/workflows/ci.yaml +50 -0
- data/.gitignore +5 -2
- data/.rubocop.yml +24 -91
- data/CHANGELOG.md +69 -45
- data/Gemfile +8 -17
- data/LICENSE +29 -0
- data/README.md +33 -35
- data/Rakefile +11 -11
- data/bin/console +15 -15
- data/bin/setup +8 -8
- data/gemfiles/Gemfile-rails.5.2.x +0 -0
- data/gemfiles/Gemfile-rails.6.0.x +0 -0
- data/lib/webpacker/pnpm/patches.rb +61 -53
- data/lib/webpacker/pnpm/railtie.rb +33 -24
- data/lib/webpacker/pnpm/version.rb +9 -7
- data/lib/webpacker/pnpm.rb +5 -5
- data/lib/webpacker/tasks/check_pnpm.rake +42 -27
- data/lib/webpacker/tasks/env.rake +22 -20
- data/lib/webpacker/tasks/pnpm_install.rake +14 -14
- data/test/rake_tasks_test.rb +97 -106
- data/test/test_app/.gitignore +6 -6
- data/test/test_app/Rakefile +5 -5
- data/test/test_app/app/javascript/packs/application.js +10 -10
- data/test/test_app/app/javascript/packs/multi_entry.css +3 -3
- data/test/test_app/app/javascript/packs/multi_entry.js +4 -4
- data/test/test_app/bin/rails +4 -6
- data/test/test_app/bin/rake +4 -6
- data/test/test_app/bin/setup +25 -27
- data/test/test_app/bin/webpack +15 -14
- data/test/test_app/bin/webpack-dev-server +15 -14
- data/test/test_app/config/application.rb +13 -13
- data/test/test_app/config/boot.rb +5 -0
- data/test/test_app/config/environment.rb +6 -6
- data/test/test_app/config/webpack/development.js +0 -0
- data/test/test_app/config/webpack/environment.js +0 -0
- data/test/test_app/config/webpacker.yml +0 -0
- data/test/test_app/config/webpacker_public_root.yml +19 -19
- data/test/test_app/config.ru +7 -7
- data/test/test_app/package.json +0 -0
- data/test/test_app/pnpm-lock.yaml +0 -0
- data/test/test_app/public/packs/manifest.json +31 -31
- data/test/test_helper.rb +61 -64
- data/webpacker-pnpm.gemspec +44 -36
- metadata +72 -42
- data/.travis.yml +0 -45
- data/gemfiles/Gemfile-rails-edge +0 -12
data/.travis.yml
DELETED
@@ -1,45 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
os: linux
|
3
|
-
dist: bionic
|
4
|
-
before_install:
|
5
|
-
- gem install rubygems-update && update_rubygems
|
6
|
-
- yes | rvm @global do gem install bundler -v 2.1.4 || true
|
7
|
-
rvm:
|
8
|
-
- 2.4.9
|
9
|
-
- 2.5.5
|
10
|
-
- 2.6.5
|
11
|
-
- 2.7.0
|
12
|
-
- ruby-head
|
13
|
-
gemfile:
|
14
|
-
- gemfiles/Gemfile-rails.5.2.x
|
15
|
-
- gemfiles/Gemfile-rails.6.0.x
|
16
|
-
- gemfiles/Gemfile-rails-edge
|
17
|
-
cache:
|
18
|
-
bundler: true
|
19
|
-
npm: false
|
20
|
-
yarn: false
|
21
|
-
directories:
|
22
|
-
- node_modules
|
23
|
-
- "~/.pnpm-store"
|
24
|
-
|
25
|
-
install:
|
26
|
-
- bundle install --jobs 3 --retry 3
|
27
|
-
- nvm install 12
|
28
|
-
- node -v
|
29
|
-
- curl -L https://raw.githubusercontent.com/pnpm/self-installer/master/install.js | node
|
30
|
-
- pnpm config set store-dir ~/.pnpm-store
|
31
|
-
- pnpm install --frozen-lockfile
|
32
|
-
script:
|
33
|
-
- bundle exec rubocop
|
34
|
-
- bundle exec rake test
|
35
|
-
jobs:
|
36
|
-
allow_failures:
|
37
|
-
- gemfile: gemfiles/Gemfile-rails-edge
|
38
|
-
- rvm: ruby-head
|
39
|
-
exclude:
|
40
|
-
- rvm: 2.4.9
|
41
|
-
gemfile: gemfiles/Gemfile-rails-edge
|
42
|
-
- rvm: 2.5.5
|
43
|
-
gemfile: gemfiles/Gemfile-rails-edge
|
44
|
-
- rvm: 2.4.9
|
45
|
-
gemfile: gemfiles/Gemfile-rails.6.0.x
|
data/gemfiles/Gemfile-rails-edge
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
source "https://rubygems.org"
|
2
|
-
|
3
|
-
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
4
|
-
|
5
|
-
gemspec path: "../"
|
6
|
-
|
7
|
-
gem "rails", github: "rails/rails"
|
8
|
-
gem "arel", github: "rails/arel"
|
9
|
-
gem "rake", ">= 11.1"
|
10
|
-
gem "rack-proxy", require: false
|
11
|
-
gem "minitest", "~> 5.0"
|
12
|
-
gem "byebug"
|