@nextsparkjs/theme-blog 0.1.0-beta.39 → 0.1.0-beta.41

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextsparkjs/theme-blog",
3
- "version": "0.1.0-beta.39",
3
+ "version": "0.1.0-beta.41",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "./config/theme.config.ts",
@@ -13,8 +13,8 @@
13
13
  "react": "^19.0.0",
14
14
  "react-dom": "^19.0.0",
15
15
  "zod": "^4.0.0",
16
- "@nextsparkjs/core": "0.1.0-beta.39",
17
- "@nextsparkjs/testing": "0.1.0-beta.39"
16
+ "@nextsparkjs/core": "0.1.0-beta.41",
17
+ "@nextsparkjs/testing": "0.1.0-beta.41"
18
18
  },
19
19
  "nextspark": {
20
20
  "type": "theme",
@@ -6,10 +6,13 @@
6
6
  */
7
7
 
8
8
  import { defineConfig } from 'cypress'
9
+ import { fileURLToPath } from 'url'
9
10
  import path from 'path'
10
11
  import fs from 'fs'
11
12
 
12
- // __dirname works natively with CommonJS module resolution (tsconfig.cypress.json)
13
+ // ESM-compatible __dirname
14
+ const __filename = fileURLToPath(import.meta.url)
15
+ const __dirname = path.dirname(__filename)
13
16
 
14
17
  // Paths relative to this config file
15
18
  const themeRoot = path.resolve(__dirname, '..')