shakapacker 7.0.3 → 7.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/dummy.yml +3 -1
- data/.github/workflows/generator.yml +3 -1
- data/.github/workflows/jest.yml +4 -2
- data/.github/workflows/js-lint.yml +4 -2
- data/.github/workflows/rubocop.yml +3 -1
- data/.github/workflows/ruby-backward-compatibility.yml +3 -1
- data/.github/workflows/ruby.yml +4 -2
- data/CHANGELOG.md +7 -0
- data/README.md +29 -20
- data/docs/troubleshooting.md +4 -8
- data/docs/using_esbuild_loader.md +2 -4
- data/lib/install/template.rb +2 -2
- data/lib/shakapacker/deprecation_helper.rb +1 -1
- data/lib/shakapacker/dev_server_runner.rb +2 -1
- data/lib/shakapacker/version.rb +1 -1
- data/lib/shakapacker/version_checker.rb +35 -2
- data/lib/shakapacker/webpack_runner.rb +4 -3
- data/package/__tests__/index.js +24 -0
- data/package/index.d.ts +1 -1
- data/package/index.js +8 -2
- data/package.json +1 -1
- data/spec/backward_compatibility_specs/compiler_strategy_spec.rb +5 -3
- data/spec/backward_compatibility_specs/configuration_spec.rb +12 -4
- data/spec/backward_compatibility_specs/dev_server_runner_spec.rb +17 -16
- data/spec/backward_compatibility_specs/dev_server_spec.rb +1 -1
- data/spec/backward_compatibility_specs/digest_strategy_spec.rb +2 -0
- data/spec/backward_compatibility_specs/engine_rake_tasks_spec.rb +2 -1
- data/spec/backward_compatibility_specs/helper_spec.rb +20 -20
- data/spec/backward_compatibility_specs/instance_spec.rb +3 -3
- data/spec/backward_compatibility_specs/manifest_spec.rb +12 -12
- data/spec/backward_compatibility_specs/mtime_strategy_spec.rb +3 -3
- data/spec/backward_compatibility_specs/rake_tasks_spec.rb +9 -5
- data/spec/backward_compatibility_specs/webpack_runner_spec.rb +14 -18
- data/spec/dummy/config/webpack/commonWebpackConfig.js +1 -1
- data/spec/fixtures/beta_pnpm-lock.v7.yaml +116 -0
- data/spec/fixtures/beta_pnpm-lock.v8.yaml +2537 -0
- data/spec/fixtures/git_url_pnpm-lock.v7.yaml +126 -0
- data/spec/fixtures/git_url_pnpm-lock.v8.yaml +3728 -0
- data/spec/fixtures/github_url_pnpm-lock.v7.yaml +126 -0
- data/spec/fixtures/github_url_pnpm-lock.v8.yaml +3728 -0
- data/spec/fixtures/relative_path_pnpm-lock.v7.yaml +18 -0
- data/spec/fixtures/relative_path_pnpm-lock.v8.yaml +22 -0
- data/spec/fixtures/semver_caret_pnpm-lock.v7.yaml +117 -0
- data/spec/fixtures/semver_caret_pnpm-lock.v8.yaml +2558 -0
- data/spec/fixtures/semver_exact_pnpm-lock.v7.yaml +117 -0
- data/spec/fixtures/semver_exact_pnpm-lock.v8.yaml +2558 -0
- data/spec/fixtures/semver_tilde_pnpm-lock.v7.yaml +116 -0
- data/spec/fixtures/semver_tilde_pnpm-lock.v8.yaml +2558 -0
- data/spec/fixtures/without_pnpm-lock.v7.yaml +23 -0
- data/spec/fixtures/without_pnpm-lock.v8.yaml +27 -0
- data/spec/generator_specs/generator_spec.rb +7 -3
- data/spec/shakapacker/compiler_strategy_spec.rb +5 -3
- data/spec/shakapacker/configuration_spec.rb +12 -2
- data/spec/shakapacker/dev_server_runner_spec.rb +22 -16
- data/spec/shakapacker/dev_server_spec.rb +1 -1
- data/spec/shakapacker/digest_strategy_spec.rb +2 -0
- data/spec/shakapacker/engine_rake_tasks_spec.rb +2 -1
- data/spec/shakapacker/helper_spec.rb +20 -20
- data/spec/shakapacker/instance_spec.rb +2 -2
- data/spec/shakapacker/manifest_spec.rb +12 -12
- data/spec/shakapacker/mtime_strategy_spec.rb +3 -3
- data/spec/shakapacker/rake_tasks_spec.rb +5 -2
- data/spec/shakapacker/shakapacker_spec.rb +4 -4
- data/spec/shakapacker/version_checker_spec.rb +468 -121
- data/spec/shakapacker/webpack_runner_spec.rb +14 -18
- metadata +19 -3
@@ -0,0 +1,126 @@
|
|
1
|
+
lockfileVersion: 5.4
|
2
|
+
|
3
|
+
specifiers:
|
4
|
+
right-pad: ^1.0.1
|
5
|
+
shakapacker: shakacode/shakapacker#master
|
6
|
+
|
7
|
+
dependencies:
|
8
|
+
shakapacker: github.com/shakacode/shakapacker/cdf32835d3e0949952b8b4b53063807f714f9b24
|
9
|
+
|
10
|
+
devDependencies:
|
11
|
+
right-pad: 1.0.1
|
12
|
+
|
13
|
+
packages:
|
14
|
+
|
15
|
+
/argparse/2.0.1:
|
16
|
+
resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==}
|
17
|
+
dev: false
|
18
|
+
|
19
|
+
/balanced-match/1.0.2:
|
20
|
+
resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}
|
21
|
+
dev: false
|
22
|
+
|
23
|
+
/brace-expansion/1.1.11:
|
24
|
+
resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==}
|
25
|
+
dependencies:
|
26
|
+
balanced-match: 1.0.2
|
27
|
+
concat-map: 0.0.1
|
28
|
+
dev: false
|
29
|
+
|
30
|
+
/concat-map/0.0.1:
|
31
|
+
resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==}
|
32
|
+
dev: false
|
33
|
+
|
34
|
+
/fs.realpath/1.0.0:
|
35
|
+
resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==}
|
36
|
+
dev: false
|
37
|
+
|
38
|
+
/glob/7.2.3:
|
39
|
+
resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==}
|
40
|
+
dependencies:
|
41
|
+
fs.realpath: 1.0.0
|
42
|
+
inflight: 1.0.6
|
43
|
+
inherits: 2.0.4
|
44
|
+
minimatch: 3.1.2
|
45
|
+
once: 1.4.0
|
46
|
+
path-is-absolute: 1.0.1
|
47
|
+
dev: false
|
48
|
+
|
49
|
+
/inflight/1.0.6:
|
50
|
+
resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==}
|
51
|
+
dependencies:
|
52
|
+
once: 1.4.0
|
53
|
+
wrappy: 1.0.2
|
54
|
+
dev: false
|
55
|
+
|
56
|
+
/inherits/2.0.4:
|
57
|
+
resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==}
|
58
|
+
dev: false
|
59
|
+
|
60
|
+
/js-yaml/4.1.0:
|
61
|
+
resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==}
|
62
|
+
hasBin: true
|
63
|
+
dependencies:
|
64
|
+
argparse: 2.0.1
|
65
|
+
dev: false
|
66
|
+
|
67
|
+
/minimatch/3.1.2:
|
68
|
+
resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==}
|
69
|
+
dependencies:
|
70
|
+
brace-expansion: 1.1.11
|
71
|
+
dev: false
|
72
|
+
|
73
|
+
/once/1.4.0:
|
74
|
+
resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==}
|
75
|
+
dependencies:
|
76
|
+
wrappy: 1.0.2
|
77
|
+
dev: false
|
78
|
+
|
79
|
+
/path-complete-extname/1.0.0:
|
80
|
+
resolution: {integrity: sha512-CVjiWcMRdGU8ubs08YQVzhutOR5DEfO97ipRIlOGMK5Bek5nQySknBpuxVAVJ36hseTNs+vdIcv57ZrWxH7zvg==}
|
81
|
+
dev: false
|
82
|
+
|
83
|
+
/path-is-absolute/1.0.1:
|
84
|
+
resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==}
|
85
|
+
engines: {node: '>=0.10.0'}
|
86
|
+
dev: false
|
87
|
+
|
88
|
+
/right-pad/1.0.1:
|
89
|
+
resolution: {integrity: sha512-bYBjgxmkvTAfgIYy328fmkwhp39v8lwVgWhhrzxPV3yHtcSqyYKe9/XOhvW48UFjATg3VuJbpsp5822ACNvkmw==}
|
90
|
+
engines: {node: '>= 0.10'}
|
91
|
+
dev: true
|
92
|
+
|
93
|
+
/wrappy/1.0.2:
|
94
|
+
resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==}
|
95
|
+
dev: false
|
96
|
+
|
97
|
+
github.com/shakacode/shakapacker/cdf32835d3e0949952b8b4b53063807f714f9b24:
|
98
|
+
resolution: {tarball: https://codeload.github.com/shakacode/shakapacker/tar.gz/cdf32835d3e0949952b8b4b53063807f714f9b24}
|
99
|
+
name: shakapacker
|
100
|
+
version: 7.0.2
|
101
|
+
engines: {node: ^12.13.0 || ^14 || >=16, yarn: '>=1 <4'}
|
102
|
+
peerDependencies:
|
103
|
+
'@babel/core': ^7.17.9
|
104
|
+
'@babel/plugin-transform-runtime': ^7.17.0
|
105
|
+
'@babel/preset-env': ^7.16.11
|
106
|
+
'@babel/runtime': ^7.17.9
|
107
|
+
'@types/babel__core': ^7.0.0
|
108
|
+
'@types/webpack': ^5.0.0
|
109
|
+
babel-loader: ^8.2.4 || ^9.0.0
|
110
|
+
compression-webpack-plugin: ^9.0.0 || ^10.0.0
|
111
|
+
terser-webpack-plugin: ^5.3.1
|
112
|
+
webpack: ^5.72.0
|
113
|
+
webpack-assets-manifest: ^5.0.6
|
114
|
+
webpack-cli: ^4.9.2 || ^5.0.0
|
115
|
+
webpack-dev-server: ^4.9.0
|
116
|
+
webpack-merge: ^5.8.0
|
117
|
+
peerDependenciesMeta:
|
118
|
+
'@types/babel__core':
|
119
|
+
optional: true
|
120
|
+
'@types/webpack':
|
121
|
+
optional: true
|
122
|
+
dependencies:
|
123
|
+
glob: 7.2.3
|
124
|
+
js-yaml: 4.1.0
|
125
|
+
path-complete-extname: 1.0.0
|
126
|
+
dev: false
|