newcandies 0.1.17 → 0.1.18

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.
Files changed (2) hide show
  1. package/dist/index.js +7 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -207,8 +207,13 @@ async function main() {
207
207
  }
208
208
  async function installDeps(pm, cwd) {
209
209
  const cmd = pm === "bun" ? "bun" : pm;
210
- const args = pm === "bun" ? ["install"] : ["install"];
211
- await execa(cmd, args, { cwd, stdio: "inherit" });
210
+ let args = ["install"];
211
+ if (pm === "npm") {
212
+ args.push("--no-audit", "--no-fund", "--loglevel=error");
213
+ } else if (pm === "pnpm") {
214
+ args.push("--no-optional");
215
+ }
216
+ await execa(cmd, args, { cwd, stdio: "pipe" });
212
217
  }
213
218
  main().catch((e) => {
214
219
  p.log.error(e?.message ?? String(e));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "newcandies",
3
- "version": "0.1.17",
3
+ "version": "0.1.18",
4
4
  "description": "Scaffold Expo Router + Uniwind React Native apps with layered templates.",
5
5
  "type": "module",
6
6
  "bin": {