@nextsparkjs/cli 0.1.0-beta.37 → 0.1.0-beta.39

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 +3 -4
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -2297,7 +2297,6 @@ 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 },
2301
2300
  { src: "scripts/cy-run-prod.cjs", dest: "scripts/cy-run-prod.cjs", force: false }
2302
2301
  ];
2303
2302
  for (const item of itemsToCopy) {
@@ -2335,9 +2334,9 @@ async function updatePackageJson(config2) {
2335
2334
  "db:migrate": "nextspark db:migrate",
2336
2335
  "db:seed": "nextspark db:seed",
2337
2336
  "test": `jest --config contents/themes/${config2.projectSlug}/tests/jest/jest.config.cjs`,
2338
- "cy:open": `cypress open --config-file contents/themes/${config2.projectSlug}/tests/cypress.config.ts`,
2339
- "cy:run": `cypress run --config-file contents/themes/${config2.projectSlug}/tests/cypress.config.ts`,
2340
- "cy:tags": "node scripts/cy-tags.cjs",
2337
+ "cy:open": "node node_modules/@nextsparkjs/core/scripts/test/cy.mjs open",
2338
+ "cy:run": "node node_modules/@nextsparkjs/core/scripts/test/cy.mjs run",
2339
+ "cy:tags": "node node_modules/@nextsparkjs/core/scripts/test/cy.mjs tags",
2341
2340
  "cy:run:prod": "node scripts/cy-run-prod.cjs",
2342
2341
  "allure:generate": `allure generate contents/themes/${config2.projectSlug}/tests/cypress/allure-results --clean -o contents/themes/${config2.projectSlug}/tests/cypress/allure-report`,
2343
2342
  "allure:open": `allure open contents/themes/${config2.projectSlug}/tests/cypress/allure-report`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextsparkjs/cli",
3
- "version": "0.1.0-beta.37",
3
+ "version": "0.1.0-beta.39",
4
4
  "description": "NextSpark CLI - Complete development toolkit",
5
5
  "type": "module",
6
6
  "bin": {