@nextsparkjs/core 0.1.0-beta.160 → 0.1.0-beta.161
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/dist/styles/classes.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nextsparkjs/core",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.161",
|
|
4
4
|
"description": "NextSpark - The complete SaaS framework for Next.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "NextSpark <hello@nextspark.dev>",
|
|
@@ -439,6 +439,7 @@
|
|
|
439
439
|
"@vercel/blob": "^2.0.0",
|
|
440
440
|
"better-auth": "^1.3.5",
|
|
441
441
|
"chalk": "^5.4.1",
|
|
442
|
+
"jiti": "^2.7.0",
|
|
442
443
|
"kysely": "0.28.17",
|
|
443
444
|
"class-variance-authority": "^0.7.1",
|
|
444
445
|
"clsx": "^2.1.1",
|
|
@@ -468,7 +469,7 @@
|
|
|
468
469
|
"tailwind-merge": "^3.3.1",
|
|
469
470
|
"uuid": "^13.0.0",
|
|
470
471
|
"zod": "^4.1.5",
|
|
471
|
-
"@nextsparkjs/testing": "0.1.0-beta.
|
|
472
|
+
"@nextsparkjs/testing": "0.1.0-beta.161"
|
|
472
473
|
},
|
|
473
474
|
"scripts": {
|
|
474
475
|
"postinstall": "node scripts/postinstall.mjs || true",
|
|
@@ -9,7 +9,14 @@
|
|
|
9
9
|
import { existsSync } from 'fs'
|
|
10
10
|
import { readFileSync } from 'fs'
|
|
11
11
|
import { join } from 'path'
|
|
12
|
-
import {
|
|
12
|
+
import { createRequire } from 'module'
|
|
13
|
+
// Resolve jiti via createRequire (its CommonJS build) instead of a static ESM
|
|
14
|
+
// `import { createJiti } from 'jiti'`. Depending on the node_modules layout
|
|
15
|
+
// (e.g. pnpm monorepo hoisting) Node may resolve jiti's CJS build, where the
|
|
16
|
+
// named ESM export isn't statically detectable ("Named export 'createJiti' not
|
|
17
|
+
// found"). The CJS entry reliably exposes createJiti across all layouts.
|
|
18
|
+
const require = createRequire(import.meta.url)
|
|
19
|
+
const { createJiti } = require('jiti')
|
|
13
20
|
|
|
14
21
|
import { log } from '../../../utils/index.mjs'
|
|
15
22
|
import { convertCorePath } from '../config.mjs'
|