newcandies 0.1.18 → 0.1.19

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 +1 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -142,12 +142,7 @@ async function main() {
142
142
  const tmplPkg = await fs.readJSON(templatePkgPath);
143
143
  const isFullPackageJson = tmplPkg.scripts || tmplPkg.main || tmplPkg.version;
144
144
  if (isFullPackageJson) {
145
- const finalPkg = {
146
- ...tmplPkg,
147
- dependencies: { ...basePkg.dependencies, ...tmplPkg.dependencies },
148
- devDependencies: { ...basePkg.devDependencies, ...tmplPkg.devDependencies }
149
- };
150
- await fs.writeJSON(path.join(dest, "package.json"), finalPkg, { spaces: 2 });
145
+ await fs.writeJSON(path.join(dest, "package.json"), tmplPkg, { spaces: 2 });
151
146
  } else {
152
147
  basePkg.dependencies = { ...basePkg.dependencies, ...tmplPkg.dependencies };
153
148
  basePkg.devDependencies = { ...basePkg.devDependencies, ...tmplPkg.devDependencies };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "newcandies",
3
- "version": "0.1.18",
3
+ "version": "0.1.19",
4
4
  "description": "Scaffold Expo Router + Uniwind React Native apps with layered templates.",
5
5
  "type": "module",
6
6
  "bin": {