create-pika-minigame 1.8.0 → 2.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.
package/bin/cli.js CHANGED
@@ -262,7 +262,12 @@ ${colors.reset}
262
262
 
263
263
  pkg.devDependencies = {
264
264
  ...pkg.devDependencies,
265
- '@callstack/repack': '^5.0.0',
265
+ '@callstack/repack': '^5.2.5',
266
+ '@callstack/repack-plugin-reanimated': '^5.2.5',
267
+ '@module-federation/enhanced': '^2.7.0',
268
+ '@rspack/core': '^1.7.12',
269
+ '@swc/helpers': '^0.5.19',
270
+ 'ajv': '^8.17.0',
266
271
  'serve': '^14.2.0',
267
272
  };
268
273
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-pika-minigame",
3
- "version": "1.8.0",
3
+ "version": "2.1.0",
4
4
  "description": "CLI to scaffold Pika mini-game projects (bare React Native 0.77)",
5
5
  "author": "Pika Team",
6
6
  "license": "MIT",
@@ -1,5 +1,12 @@
1
- const {getCommands} = require('@callstack/repack/commands');
1
+ let repackCommands = [];
2
+
3
+ try {
4
+ // Re.Pack v5 uses rspack commands
5
+ repackCommands = require('@callstack/repack/commands/rspack');
6
+ } catch (e) {
7
+ // Re.Pack not installed yet - will be available after npm install
8
+ }
2
9
 
3
10
  module.exports = {
4
- commands: getCommands(),
11
+ commands: repackCommands,
5
12
  };