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

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 +6 -4
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -2333,7 +2333,7 @@ async function updatePackageJson(config2) {
2333
2333
  "build:registries": "nextspark registry:build",
2334
2334
  "db:migrate": "nextspark db:migrate",
2335
2335
  "db:seed": "nextspark db:seed",
2336
- "test": `jest --config contents/themes/${config2.projectSlug}/tests/jest/jest.config.cjs`,
2336
+ "test": "node node_modules/@nextsparkjs/core/scripts/test/jest-theme.mjs",
2337
2337
  "cy:open": "node node_modules/@nextsparkjs/core/scripts/test/cy.mjs open",
2338
2338
  "cy:run": "node node_modules/@nextsparkjs/core/scripts/test/cy.mjs run",
2339
2339
  "cy:tags": "node node_modules/@nextsparkjs/core/scripts/test/cy.mjs tags",
@@ -2349,8 +2349,8 @@ async function updatePackageJson(config2) {
2349
2349
  packageJson.dependencies = packageJson.dependencies || {};
2350
2350
  const depsToAdd = {
2351
2351
  // NextSpark
2352
- "@nextsparkjs/core": "^0.1.0-beta.4",
2353
- "@nextsparkjs/cli": "^0.1.0-beta.4",
2352
+ "@nextsparkjs/core": "latest",
2353
+ "@nextsparkjs/cli": "latest",
2354
2354
  // Next.js + React
2355
2355
  "next": "^15.1.0",
2356
2356
  "react": "^19.0.0",
@@ -2416,7 +2416,9 @@ async function updatePackageJson(config2) {
2416
2416
  "ts-loader": "^9.5.1",
2417
2417
  "webpack": "^5.97.0",
2418
2418
  "allure-cypress": "^3.0.0",
2419
- "allure-commandline": "^2.27.0"
2419
+ "allure-commandline": "^2.27.0",
2420
+ // NextSpark Testing
2421
+ "@nextsparkjs/testing": "latest"
2420
2422
  };
2421
2423
  for (const [name, version] of Object.entries(devDepsToAdd)) {
2422
2424
  if (!packageJson.devDependencies[name]) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextsparkjs/cli",
3
- "version": "0.1.0-beta.39",
3
+ "version": "0.1.0-beta.40",
4
4
  "description": "NextSpark CLI - Complete development toolkit",
5
5
  "type": "module",
6
6
  "bin": {