create-pika-minigame 1.6.0 → 1.7.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
@@ -229,6 +229,17 @@ ${colors.reset}
229
229
  }
230
230
  }
231
231
 
232
+ // Copy Re.Pack config files
233
+ const repackConfigFiles = ['react-native.config.js', 'rspack.config.mjs'];
234
+ for (const configFile of repackConfigFiles) {
235
+ const src = path.join(templatesDir, configFile);
236
+ if (fs.existsSync(src)) {
237
+ const content = fs.readFileSync(src, 'utf8');
238
+ const processed = processTemplate(content, replacements);
239
+ fs.writeFileSync(path.join(targetDir, configFile), processed);
240
+ }
241
+ }
242
+
232
243
  // Step 3: Patch Podfile for fmt compatibility
233
244
  log.step(3, 'Patching for Xcode compatibility...');
234
245
  patchPodfile(targetDir);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-pika-minigame",
3
- "version": "1.6.0",
3
+ "version": "1.7.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",
@@ -0,0 +1,5 @@
1
+ const {getCommands} = require('@callstack/repack/commands');
2
+
3
+ module.exports = {
4
+ commands: getCommands(),
5
+ };