@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.
|
|
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");
|