newcandies 0.1.33 → 0.1.35

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/dist/index.js CHANGED
@@ -180,12 +180,14 @@ async function main() {
180
180
  await fs.writeJSON(appJsonPath, appJson, { spaces: 2 });
181
181
  }
182
182
  s.stop("Files ready");
183
- if (project.install) {
183
+ const shouldInstall = project.install && !selectedItem.skipInstall;
184
+ const shouldPrebuild = opts.prebuild !== false && !selectedItem.skipPrebuild;
185
+ if (shouldInstall) {
184
186
  const si = p.spinner();
185
187
  si.start("Installing dependencies");
186
188
  await installDeps(project.pm, dest);
187
189
  si.stop("Installed");
188
- if (opts.prebuild !== false) {
190
+ if (shouldPrebuild) {
189
191
  const sp = p.spinner();
190
192
  sp.start("Generating ios/android (expo prebuild)");
191
193
  try {
@@ -196,12 +198,15 @@ async function main() {
196
198
  }
197
199
  }
198
200
  }
199
- p.outro([
201
+ const runCmd = (cmd) => ` ${project.pm} ${project.pm === "npm" ? "run " : ""}${cmd}`;
202
+ const nextSteps = [
200
203
  pc.green("Next steps:"),
201
204
  ` cd ${project.name}`,
202
- project.install ? "" : ` ${project.pm} install`,
203
- ` ${project.pm} ${project.pm === "npm" ? "run " : ""}start`
204
- ].filter(Boolean).join("\n"));
205
+ !shouldInstall ? ` ${project.pm} install` : null,
206
+ !shouldPrebuild ? runCmd("prebuild --clean") : null,
207
+ runCmd("start")
208
+ ];
209
+ p.outro(nextSteps.filter(Boolean).join("\n"));
205
210
  }
206
211
  async function installDeps(pm, cwd) {
207
212
  const cmd = pm === "bun" ? "bun" : pm;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "newcandies",
3
- "version": "0.1.33",
3
+ "version": "0.1.35",
4
4
  "description": "Scaffold Expo Router + Uniwind React Native apps with layered templates.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -42,7 +42,8 @@
42
42
  "expo-web-browser": "~14.2.0",
43
43
  "moti": "^0.29.0",
44
44
  "nanoid": "^5.0.8",
45
- "nativewind": "latest",
45
+ "nativewind": "4.1.23",
46
+ "react-native-worklets": "^0.7.1",
46
47
  "react": "19.0.0",
47
48
  "react-dom": "19.0.0",
48
49
  "react-native": "0.79.4",
@@ -82,5 +83,10 @@
82
83
  }
83
84
  }
84
85
  },
85
- "private": true
86
+ "private": true,
87
+ "overrides": {
88
+ "nativewind": {
89
+ "react-native-css-interop": "0.1.22"
90
+ }
91
+ }
86
92
  }
@@ -5,6 +5,8 @@
5
5
  "path": "boilerplate/holidia",
6
6
  "description": "Travel app boilerplate (NativeWind)",
7
7
  "strategy": "standalone",
8
+ "skipInstall": true,
9
+ "skipPrebuild": true,
8
10
  "notes": ["Uses NativeWind instead of Uniwind"]
9
11
  },
10
12
  {