@jsonpages/cli 3.0.5 → 3.0.7

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/package.json CHANGED
@@ -1,29 +1,24 @@
1
- {
2
- "name": "@jsonpages/cli",
3
- "version": "3.0.5",
4
- "description": "JsonPages CLI - Sovereign Projection Engine",
5
- "type": "module",
6
- "bin": {
7
- "jsonpages": "./src/index.js"
8
- },
9
- "files": [
10
- "src",
11
- "assets"
12
- ],
13
- "scripts": {
14
- "build": "tsc -p .",
15
- "build:manifest": "node scripts/build-projection-manifest.mjs"
16
- },
17
- "dependencies": {
18
- "chalk": "^5.3.0",
19
- "commander": "^12.1.0",
20
- "execa": "^9.0.2",
21
- "fs-extra": "^11.2.0",
22
- "ora": "^8.0.1"
23
- },
24
- "devDependencies": {
25
- "@types/fs-extra": "^11.0.4",
26
- "@types/node": "^22.13.1",
27
- "typescript": "^5.7.3"
28
- }
29
- }
1
+ {
2
+ "name": "@jsonpages/cli",
3
+ "version": "3.0.7",
4
+ "description": "JsonPages CLI - Sovereign Projection Engine",
5
+ "type": "module",
6
+ "bin": {
7
+ "jsonpages": "./src/index.js"
8
+ },
9
+ "scripts": {
10
+ "build": "tsc -p ."
11
+ },
12
+ "dependencies": {
13
+ "chalk": "^5.3.0",
14
+ "commander": "^12.1.0",
15
+ "execa": "^9.0.2",
16
+ "fs-extra": "^11.2.0",
17
+ "ora": "^8.0.1"
18
+ },
19
+ "devDependencies": {
20
+ "@types/fs-extra": "^11.0.4",
21
+ "@types/node": "^22.13.1",
22
+ "typescript": "^5.7.3"
23
+ }
24
+ }
package/src/index.js CHANGED
@@ -142,7 +142,7 @@ program
142
142
  'lucide-react', 'radix-ui',
143
143
  'tailwind-merge', 'clsx',
144
144
  'file-saver', 'jszip',
145
- '@jsonpages/core@^1.0.0',
145
+ '@jsonpages/core' // Scarica dal registry pubblico
146
146
  ];
147
147
 
148
148
  const devDeps = [
@@ -153,10 +153,9 @@ program
153
153
 
154
154
  await execa(npmCmd, ['install', ...deps], { cwd: targetDir });
155
155
  await execa(npmCmd, ['install', '-D', ...devDeps], { cwd: targetDir });
156
-
156
+
157
157
  spinner.succeed(chalk.green.bold('✨ Tenant Ready!'));
158
158
 
159
- console.log(chalk.gray(' (Ensure @jsonpages/core is published: npm view @jsonpages/core)'));
160
159
  console.log(`\n${chalk.white.bgBlue(' NEXT STEPS ')}`);
161
160
  console.log(` ${chalk.cyan(`cd ${name}`)}`);
162
161
  console.log(` ${chalk.cyan(`npm run dev`)} <- Start development`);
package/tsconfig.json ADDED
@@ -0,0 +1,13 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ES2020",
4
+ "module": "NodeNext",
5
+ "moduleResolution": "NodeNext",
6
+ "strict": true,
7
+ "skipLibCheck": true,
8
+ "esModuleInterop": true,
9
+ "allowJs": true,
10
+ "noEmit": true
11
+ },
12
+ "include": ["src/**/*.ts", "src/**/*.js"]
13
+ }