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

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.
@@ -8,6 +8,11 @@
8
8
  import { defineConfig } from 'cypress'
9
9
  import path from 'path'
10
10
  import fs from 'fs'
11
+ import { fileURLToPath } from 'url'
12
+
13
+ // ESM/CJS compatibility: Create __dirname for ES modules
14
+ const __filename = fileURLToPath(import.meta.url)
15
+ const __dirname = path.dirname(__filename)
11
16
 
12
17
  // Paths relative to this config file
13
18
  const themeRoot = path.resolve(__dirname, '..')
@@ -1,5 +1,5 @@
1
1
  {
2
- "generated": "2026-01-09T15:06:38.228Z",
2
+ "generated": "2026-01-09T16:30:12.371Z",
3
3
  "totalClasses": 1005,
4
4
  "classes": [
5
5
  "''",
@@ -10,9 +10,11 @@
10
10
  import { defineConfig } from 'cypress'
11
11
  import path from 'path'
12
12
  import fs from 'fs'
13
+ import { fileURLToPath } from 'url'
13
14
 
14
- // __dirname is available because ts-node processes this file as CommonJS
15
- // (Next.js projects don't use "type": "module" in package.json)
15
+ // ESM/CJS compatibility: Create __dirname for ES modules
16
+ const __filename = fileURLToPath(import.meta.url)
17
+ const __dirname = path.dirname(__filename)
16
18
 
17
19
  // Paths relative to this config file
18
20
  const themeRoot = path.resolve(__dirname, '..')
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.37",
4
4
  "description": "NextSpark - The complete SaaS framework for Next.js",
5
5
  "license": "MIT",
6
6
  "author": "NextSpark <hello@nextspark.dev>",
@@ -10,9 +10,11 @@
10
10
  import { defineConfig } from 'cypress'
11
11
  import path from 'path'
12
12
  import fs from 'fs'
13
+ import { fileURLToPath } from 'url'
13
14
 
14
- // __dirname is available because ts-node processes this file as CommonJS
15
- // (Next.js projects don't use "type": "module" in package.json)
15
+ // ESM/CJS compatibility: Create __dirname for ES modules
16
+ const __filename = fileURLToPath(import.meta.url)
17
+ const __dirname = path.dirname(__filename)
16
18
 
17
19
  // Paths relative to this config file
18
20
  const themeRoot = path.resolve(__dirname, '..')