@nextsparkjs/cli 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/cli.js +2 -14
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -2930,7 +2930,8 @@ async function copyProjectFiles() {
2930
2930
  { src: "i18n.ts", dest: "i18n.ts", force: true },
2931
2931
  { src: "pnpm-workspace.yaml", dest: "pnpm-workspace.yaml", force: true },
2932
2932
  // Enable workspace for themes/plugins - REQUIRED
2933
- { src: "npmrc", dest: ".npmrc", force: false },
2933
+ // Note: .npmrc is NOT copied for web-only projects (not needed, pnpm default hoisting works fine)
2934
+ // For monorepo projects, monorepo-generator.ts creates a specific .npmrc with expo/react-native patterns
2934
2935
  { src: "tsconfig.cypress.json", dest: "tsconfig.cypress.json", force: false },
2935
2936
  { src: "cypress.d.ts", dest: "cypress.d.ts", force: false },
2936
2937
  { src: "eslint.config.mjs", dest: "eslint.config.mjs", force: false },
@@ -3510,7 +3511,6 @@ async function runWizard(options = { mode: "interactive" }) {
3510
3511
  process.exit(0);
3511
3512
  }
3512
3513
  }
3513
- await copyNpmrc();
3514
3514
  console.log("");
3515
3515
  const coreInstalled = await installCore();
3516
3516
  if (!coreInstalled) {
@@ -3789,18 +3789,6 @@ async function installCore() {
3789
3789
  return false;
3790
3790
  }
3791
3791
  }
3792
- async function copyNpmrc() {
3793
- const npmrcPath = join7(process.cwd(), ".npmrc");
3794
- if (existsSync7(npmrcPath)) {
3795
- return;
3796
- }
3797
- const npmrcContent = `# Hoist @nextsparkjs/core dependencies so they're accessible from the project
3798
- # This is required for pnpm to make peer dependencies available
3799
- public-hoist-pattern[]=*
3800
- `;
3801
- const { writeFileSync: writeFileSync4 } = await import("fs");
3802
- writeFileSync4(npmrcPath, npmrcContent);
3803
- }
3804
3792
 
3805
3793
  // src/commands/init.ts
3806
3794
  function getWizardMode(options) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextsparkjs/cli",
3
- "version": "0.1.0-beta.78",
3
+ "version": "0.1.0-beta.79",
4
4
  "description": "NextSpark CLI - Complete development toolkit",
5
5
  "type": "module",
6
6
  "bin": {