shakapacker 9.0.0.beta.11 → 9.1.0
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/.prettierignore +3 -0
- data/CHANGELOG.md +77 -11
- data/Gemfile.lock +1 -1
- data/README.md +161 -107
- data/docs/common-upgrades.md +615 -0
- data/docs/rspack_migration_guide.md +92 -17
- data/docs/transpiler-migration.md +21 -0
- data/docs/typescript-migration.md +2 -1
- data/docs/using_swc_loader.md +108 -8
- data/docs/v9_upgrade.md +45 -0
- data/lib/install/config/rspack/rspack.config.js +1 -1
- data/lib/install/config/rspack/rspack.config.ts +7 -0
- data/lib/install/config/webpack/webpack.config.ts +7 -0
- data/lib/install/template.rb +19 -3
- data/lib/shakapacker/bundler_switcher.rb +322 -0
- data/lib/shakapacker/doctor.rb +49 -4
- data/lib/shakapacker/swc_migrator.rb +14 -6
- data/lib/shakapacker/version.rb +1 -1
- data/lib/tasks/shakapacker/install.rake +9 -3
- data/lib/tasks/shakapacker/switch_bundler.rake +82 -0
- data/lib/tasks/shakapacker.rake +2 -1
- data/package/environments/__type-tests__/rspack-plugin-compatibility.ts +30 -0
- data/package/environments/types.ts +22 -14
- data/package/index.ts +12 -9
- data/package/swc/index.ts +5 -3
- data/package/types/README.md +2 -1
- data/package/types/index.ts +1 -0
- data/package/utils/debug.ts +5 -5
- data/package-lock.json +13047 -0
- data/package.json +6 -1
- data/yarn.lock +196 -115
- metadata +10 -2
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: shakapacker
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 9.
|
|
4
|
+
version: 9.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- David Heinemeier Hansson
|
|
@@ -150,6 +150,7 @@ files:
|
|
|
150
150
|
- ".husky/pre-commit"
|
|
151
151
|
- ".node-version"
|
|
152
152
|
- ".npmignore"
|
|
153
|
+
- ".prettierignore"
|
|
153
154
|
- ".rspec"
|
|
154
155
|
- ".rubocop.yml"
|
|
155
156
|
- ".yalcignore"
|
|
@@ -171,6 +172,7 @@ files:
|
|
|
171
172
|
- config/README.md
|
|
172
173
|
- config/shakapacker.yml
|
|
173
174
|
- docs/cdn_setup.md
|
|
175
|
+
- docs/common-upgrades.md
|
|
174
176
|
- docs/css-modules-export-mode.md
|
|
175
177
|
- docs/customizing_babel_config.md
|
|
176
178
|
- docs/deployment.md
|
|
@@ -207,12 +209,15 @@ files:
|
|
|
207
209
|
- lib/install/bin/shakapacker-dev-server
|
|
208
210
|
- lib/install/binstubs.rb
|
|
209
211
|
- lib/install/config/rspack/rspack.config.js
|
|
212
|
+
- lib/install/config/rspack/rspack.config.ts
|
|
210
213
|
- lib/install/config/shakapacker.yml
|
|
211
214
|
- lib/install/config/webpack/webpack.config.js
|
|
215
|
+
- lib/install/config/webpack/webpack.config.ts
|
|
212
216
|
- lib/install/package.json
|
|
213
217
|
- lib/install/template.rb
|
|
214
218
|
- lib/shakapacker.rb
|
|
215
219
|
- lib/shakapacker/base_strategy.rb
|
|
220
|
+
- lib/shakapacker/bundler_switcher.rb
|
|
216
221
|
- lib/shakapacker/commands.rb
|
|
217
222
|
- lib/shakapacker/compiler.rb
|
|
218
223
|
- lib/shakapacker/compiler_strategy.rb
|
|
@@ -250,14 +255,17 @@ files:
|
|
|
250
255
|
- lib/tasks/shakapacker/info.rake
|
|
251
256
|
- lib/tasks/shakapacker/install.rake
|
|
252
257
|
- lib/tasks/shakapacker/migrate_to_swc.rake
|
|
258
|
+
- lib/tasks/shakapacker/switch_bundler.rake
|
|
253
259
|
- lib/tasks/shakapacker/verify_config.rake
|
|
254
260
|
- lib/tasks/shakapacker/verify_install.rake
|
|
261
|
+
- package-lock.json
|
|
255
262
|
- package.json
|
|
256
263
|
- package/.npmignore
|
|
257
264
|
- package/babel/preset.ts
|
|
258
265
|
- package/config.ts
|
|
259
266
|
- package/dev_server.ts
|
|
260
267
|
- package/env.ts
|
|
268
|
+
- package/environments/__type-tests__/rspack-plugin-compatibility.ts
|
|
261
269
|
- package/environments/base.ts
|
|
262
270
|
- package/environments/development.ts
|
|
263
271
|
- package/environments/production.ts
|
|
@@ -347,7 +355,7 @@ homepage: https://github.com/shakacode/shakapacker
|
|
|
347
355
|
licenses:
|
|
348
356
|
- MIT
|
|
349
357
|
metadata:
|
|
350
|
-
source_code_uri: https://github.com/shakacode/shakapacker/tree/v9.
|
|
358
|
+
source_code_uri: https://github.com/shakacode/shakapacker/tree/v9.1.0
|
|
351
359
|
rdoc_options: []
|
|
352
360
|
require_paths:
|
|
353
361
|
- lib
|