@highbeek/create-rnstarterkit 1.1.0 → 1.1.1

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/README.md CHANGED
@@ -27,6 +27,8 @@ This tool answers those questions upfront. You get a complete, typed, linted pro
27
27
 
28
28
  ```bash
29
29
  npx @highbeek/create-rnstarterkit myApp
30
+ # or
31
+ yarn dlx @highbeek/create-rnstarterkit myApp
30
32
 
31
33
  # Skip prompts with a preset
32
34
  npx @highbeek/create-rnstarterkit myApp --preset fintech
@@ -257,7 +259,7 @@ See [CONTRIBUTING.md](./CONTRIBUTING.md) for the full development workflow, test
257
259
 
258
260
  ## Status
259
261
 
260
- Current version: `1.0.0`
262
+ Current version: `1.1.0`
261
263
 
262
264
  Core scaffolding, presets, and generators are stable. Feedback and contributions welcome.
263
265
 
@@ -215,6 +215,11 @@ async function setAuthTabsByPlatform(targetPath, platform) {
215
215
  if (!(await fs_extra_1.default.pathExists(navigationPath)))
216
216
  return;
217
217
  await fs_extra_1.default.writeFile(targetTabs, `export { default } from "${tabSourceImport}";\n`, "utf8");
218
+ // Remove the unused platform subfolder so it doesn't leak into the project
219
+ const unusedSubfolder = platform === "Expo"
220
+ ? path_1.default.join(navigationPath, "cli")
221
+ : path_1.default.join(navigationPath, "expo");
222
+ await fs_extra_1.default.remove(unusedSubfolder);
218
223
  }
219
224
  async function configureApiClientByPlatform(targetPath, platform) {
220
225
  const configPath = path_1.default.join(targetPath, "config");
@@ -34,7 +34,7 @@
34
34
  "@types/react-test-renderer": "^19.1.0",
35
35
  "eslint": "^8.19.0",
36
36
  "jest": "^29.6.3",
37
- "prettier": "2.8.8",
37
+ "prettier": "^3.4.2",
38
38
  "react-test-renderer": "19.2.3",
39
39
  "typescript": "^5.8.3"
40
40
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@highbeek/create-rnstarterkit",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "CLI to scaffold production-ready React Native app structures.",
5
5
  "main": "dist/src/generators/appGenerator.js",
6
6
  "bin": {