@nextsparkjs/theme-crm 0.1.0-beta.24 → 0.1.0-beta.30
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,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nextsparkjs/theme-crm",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.30",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./config/theme.config.ts",
|
|
7
7
|
"requiredPlugins": [],
|
|
8
8
|
"dependencies": {},
|
|
9
9
|
"peerDependencies": {
|
|
10
|
-
"@nextsparkjs/core": "0.1.0-beta.24",
|
|
11
10
|
"lucide-react": "^0.539.0",
|
|
12
11
|
"next": "^15.0.0",
|
|
13
12
|
"next-intl": "^4.0.0",
|
|
14
13
|
"react": "^19.0.0",
|
|
15
14
|
"react-dom": "^19.0.0",
|
|
16
|
-
"zod": "^4.0.0"
|
|
15
|
+
"zod": "^4.0.0",
|
|
16
|
+
"@nextsparkjs/core": "0.1.0-beta.30"
|
|
17
17
|
},
|
|
18
18
|
"nextspark": {
|
|
19
19
|
"type": "theme",
|
|
@@ -27,9 +27,13 @@ const projectRoot = isNpmMode ? npmModeRoot : monorepoAppRoot
|
|
|
27
27
|
// Module name mapper based on mode
|
|
28
28
|
const moduleNameMapper = isNpmMode
|
|
29
29
|
? {
|
|
30
|
-
// NPM mode: resolve
|
|
31
|
-
'
|
|
32
|
-
'^@nextsparkjs/core$': '
|
|
30
|
+
// NPM mode: explicitly resolve @nextsparkjs/core subpaths to dist directory
|
|
31
|
+
// Jest doesn't respect package.json exports, so we map directly to dist files
|
|
32
|
+
'^@nextsparkjs/core/lib/(.*)$': '<rootDir>/node_modules/@nextsparkjs/core/dist/lib/$1',
|
|
33
|
+
'^@nextsparkjs/core/hooks/(.*)$': '<rootDir>/node_modules/@nextsparkjs/core/dist/hooks/$1',
|
|
34
|
+
'^@nextsparkjs/core/components/(.*)$': '<rootDir>/node_modules/@nextsparkjs/core/dist/components/$1',
|
|
35
|
+
'^@nextsparkjs/core/(.*)$': '<rootDir>/node_modules/@nextsparkjs/core/dist/$1',
|
|
36
|
+
'^@nextsparkjs/core$': '<rootDir>/node_modules/@nextsparkjs/core/dist/index.js',
|
|
33
37
|
'^@/contents/(.*)$': '<rootDir>/contents/$1',
|
|
34
38
|
'^@/entities/(.*)$': '<rootDir>/contents/entities/$1',
|
|
35
39
|
'^@/plugins/(.*)$': '<rootDir>/contents/plugins/$1',
|