create-nextspark-app 0.1.0-beta.78 → 0.1.0-beta.79

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
@@ -54,11 +54,6 @@ async function createProject(options) {
54
54
  };
55
55
  await fs.writeJson(path.join(projectPath, "package.json"), packageJson, { spaces: 2 });
56
56
  pkgSpinner.succeed(" package.json created");
57
- const npmrcContent = `# Hoist @nextsparkjs/core dependencies so they're accessible from the project
58
- # This is required for pnpm to make peer dependencies available
59
- public-hoist-pattern[]=*
60
- `;
61
- await fs.writeFile(path.join(projectPath, ".npmrc"), npmrcContent);
62
57
  const cliSpinner = ora(" Installing @nextsparkjs/core and @nextsparkjs/cli...").start();
63
58
  try {
64
59
  const localCoreTarball = findLocalTarball("@nextsparkjs/core");
@@ -70,7 +65,7 @@ public-hoist-pattern[]=*
70
65
  cliPackage = localCliTarball;
71
66
  cliSpinner.text = " Installing @nextsparkjs/core and @nextsparkjs/cli from local tarballs...";
72
67
  }
73
- execSync(`pnpm add ${corePackage} ${cliPackage} --force`, {
68
+ execSync(`pnpm add ${corePackage} ${cliPackage}`, {
74
69
  cwd: projectPath,
75
70
  stdio: "pipe"
76
71
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-nextspark-app",
3
- "version": "0.1.0-beta.78",
3
+ "version": "0.1.0-beta.79",
4
4
  "description": "Create a new NextSpark SaaS project",
5
5
  "type": "module",
6
6
  "bin": {