@nextsparkjs/cli 0.1.0-beta.30 → 0.1.0-beta.32
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/bin/nextspark.js +0 -0
- package/dist/cli.js +4 -3
- package/package.json +10 -10
package/bin/nextspark.js
CHANGED
|
File without changes
|
package/dist/cli.js
CHANGED
|
@@ -2297,7 +2297,8 @@ async function copyProjectFiles() {
|
|
|
2297
2297
|
{ src: "tsconfig.cypress.json", dest: "tsconfig.cypress.json", force: false },
|
|
2298
2298
|
{ src: "cypress.d.ts", dest: "cypress.d.ts", force: false },
|
|
2299
2299
|
{ src: "eslint.config.mjs", dest: "eslint.config.mjs", force: false },
|
|
2300
|
-
{ src: "scripts/cy-tags.cjs", dest: "scripts/cy-tags.cjs", force: false }
|
|
2300
|
+
{ src: "scripts/cy-tags.cjs", dest: "scripts/cy-tags.cjs", force: false },
|
|
2301
|
+
{ src: "scripts/cy-run-prod.cjs", dest: "scripts/cy-run-prod.cjs", force: false }
|
|
2301
2302
|
];
|
|
2302
2303
|
for (const item of itemsToCopy) {
|
|
2303
2304
|
const srcPath = path5.join(templatesDir, item.src);
|
|
@@ -2333,11 +2334,11 @@ async function updatePackageJson(config2) {
|
|
|
2333
2334
|
"build:registries": "nextspark registry:build",
|
|
2334
2335
|
"db:migrate": "nextspark db:migrate",
|
|
2335
2336
|
"db:seed": "nextspark db:seed",
|
|
2336
|
-
"test
|
|
2337
|
-
"test:e2e": `cypress run --config-file contents/themes/${config2.projectSlug}/tests/cypress.config.ts`,
|
|
2337
|
+
"test": `jest --config contents/themes/${config2.projectSlug}/tests/jest/jest.config.cjs`,
|
|
2338
2338
|
"cy:open": `cypress open --config-file contents/themes/${config2.projectSlug}/tests/cypress.config.ts`,
|
|
2339
2339
|
"cy:run": `cypress run --config-file contents/themes/${config2.projectSlug}/tests/cypress.config.ts`,
|
|
2340
2340
|
"cy:tags": "node scripts/cy-tags.cjs",
|
|
2341
|
+
"cy:run:prod": "node scripts/cy-run-prod.cjs",
|
|
2341
2342
|
"allure:generate": `allure generate contents/themes/${config2.projectSlug}/tests/cypress/allure-results --clean -o contents/themes/${config2.projectSlug}/tests/cypress/allure-report`,
|
|
2342
2343
|
"allure:open": `allure open contents/themes/${config2.projectSlug}/tests/cypress/allure-report`
|
|
2343
2344
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nextsparkjs/cli",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.32",
|
|
4
4
|
"description": "NextSpark CLI - Complete development toolkit",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -12,23 +12,27 @@
|
|
|
12
12
|
"dist",
|
|
13
13
|
"bin"
|
|
14
14
|
],
|
|
15
|
+
"scripts": {
|
|
16
|
+
"build": "tsup src/cli.ts --format esm --dts --outDir dist",
|
|
17
|
+
"dev": "tsup src/cli.ts --format esm --watch"
|
|
18
|
+
},
|
|
15
19
|
"dependencies": {
|
|
16
20
|
"@inquirer/prompts": "^7.2.0",
|
|
21
|
+
"@nextsparkjs/core": "workspace:*",
|
|
17
22
|
"chalk": "^5.3.0",
|
|
18
23
|
"commander": "^12.0.0",
|
|
19
24
|
"dotenv": "^17.2.2",
|
|
20
25
|
"fs-extra": "^11.2.0",
|
|
21
26
|
"ora": "^8.0.0",
|
|
22
|
-
"tar": "^7.0.0"
|
|
23
|
-
"@nextsparkjs/core": "0.1.0-beta.30"
|
|
27
|
+
"tar": "^7.0.0"
|
|
24
28
|
},
|
|
25
29
|
"devDependencies": {
|
|
30
|
+
"@nextsparkjs/core": "workspace:*",
|
|
26
31
|
"@types/fs-extra": "^11.0.4",
|
|
27
32
|
"@types/node": "^20.0.0",
|
|
28
33
|
"@types/tar": "^6.1.0",
|
|
29
34
|
"tsup": "^8.0.0",
|
|
30
|
-
"typescript": "^5.0.0"
|
|
31
|
-
"@nextsparkjs/core": "0.1.0-beta.30"
|
|
35
|
+
"typescript": "^5.0.0"
|
|
32
36
|
},
|
|
33
37
|
"keywords": [
|
|
34
38
|
"nextspark",
|
|
@@ -45,9 +49,5 @@
|
|
|
45
49
|
},
|
|
46
50
|
"engines": {
|
|
47
51
|
"node": ">=18.0.0"
|
|
48
|
-
},
|
|
49
|
-
"scripts": {
|
|
50
|
-
"build": "tsup src/cli.ts --format esm --dts --outDir dist",
|
|
51
|
-
"dev": "tsup src/cli.ts --format esm --watch"
|
|
52
52
|
}
|
|
53
|
-
}
|
|
53
|
+
}
|