@nextsparkjs/core 0.1.0-beta.36 → 0.1.0-beta.38

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.
@@ -9,6 +9,8 @@ import { defineConfig } from 'cypress'
9
9
  import path from 'path'
10
10
  import fs from 'fs'
11
11
 
12
+ // __dirname works natively with CommonJS module resolution (tsconfig.cypress.json)
13
+
12
14
  // Paths relative to this config file
13
15
  const themeRoot = path.resolve(__dirname, '..')
14
16
  const projectRoot = path.resolve(__dirname, '../../../..')
@@ -1,5 +1,5 @@
1
1
  {
2
- "generated": "2026-01-09T15:06:38.228Z",
2
+ "generated": "2026-01-09T16:46:56.057Z",
3
3
  "totalClasses": 1005,
4
4
  "classes": [
5
5
  "''",
@@ -11,8 +11,7 @@ import { defineConfig } from 'cypress'
11
11
  import path from 'path'
12
12
  import fs from 'fs'
13
13
 
14
- // __dirname is available because ts-node processes this file as CommonJS
15
- // (Next.js projects don't use "type": "module" in package.json)
14
+ // __dirname works natively with CommonJS module resolution (tsconfig.cypress.json)
16
15
 
17
16
  // Paths relative to this config file
18
17
  const themeRoot = path.resolve(__dirname, '..')
@@ -3,8 +3,8 @@
3
3
  "compilerOptions": {
4
4
  "target": "ES2020",
5
5
  "lib": ["ES2020", "DOM", "DOM.Iterable"],
6
- "module": "ESNext",
7
- "moduleResolution": "bundler",
6
+ "module": "CommonJS",
7
+ "moduleResolution": "node",
8
8
  "esModuleInterop": true,
9
9
  "allowSyntheticDefaultImports": true,
10
10
  "strict": true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextsparkjs/core",
3
- "version": "0.1.0-beta.36",
3
+ "version": "0.1.0-beta.38",
4
4
  "description": "NextSpark - The complete SaaS framework for Next.js",
5
5
  "license": "MIT",
6
6
  "author": "NextSpark <hello@nextspark.dev>",
@@ -11,8 +11,7 @@ import { defineConfig } from 'cypress'
11
11
  import path from 'path'
12
12
  import fs from 'fs'
13
13
 
14
- // __dirname is available because ts-node processes this file as CommonJS
15
- // (Next.js projects don't use "type": "module" in package.json)
14
+ // __dirname works natively with CommonJS module resolution (tsconfig.cypress.json)
16
15
 
17
16
  // Paths relative to this config file
18
17
  const themeRoot = path.resolve(__dirname, '..')
@@ -3,8 +3,8 @@
3
3
  "compilerOptions": {
4
4
  "target": "ES2020",
5
5
  "lib": ["ES2020", "DOM", "DOM.Iterable"],
6
- "module": "ESNext",
7
- "moduleResolution": "bundler",
6
+ "module": "CommonJS",
7
+ "moduleResolution": "node",
8
8
  "esModuleInterop": true,
9
9
  "allowSyntheticDefaultImports": true,
10
10
  "strict": true,