@nextsparkjs/core 0.1.0-beta.161 → 0.1.0-beta.163

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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "generated": "2026-06-09T22:13:52.646Z",
2
+ "generated": "2026-06-10T14:16:05.751Z",
3
3
  "totalClasses": 1081,
4
4
  "classes": [
5
5
  "!text-2xl",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextsparkjs/core",
3
- "version": "0.1.0-beta.161",
3
+ "version": "0.1.0-beta.163",
4
4
  "description": "NextSpark - The complete SaaS framework for Next.js",
5
5
  "license": "MIT",
6
6
  "author": "NextSpark <hello@nextspark.dev>",
@@ -469,7 +469,7 @@
469
469
  "tailwind-merge": "^3.3.1",
470
470
  "uuid": "^13.0.0",
471
471
  "zod": "^4.1.5",
472
- "@nextsparkjs/testing": "0.1.0-beta.161"
472
+ "@nextsparkjs/testing": "0.1.0-beta.163"
473
473
  },
474
474
  "scripts": {
475
475
  "postinstall": "node scripts/postinstall.mjs || true",
@@ -93,8 +93,8 @@ export async function discoverCoreEntities(config) {
93
93
  try {
94
94
  // Extract export name from config file
95
95
  const exportName = await extractExportName(configPath, [
96
- /export\s+const\s+([a-zA-Z]+EntityConfig)\s*[:=]/,
97
- /export\s+const\s+([a-zA-Z]+ChildConfig)\s*[:=]/
96
+ /export\s+const\s+([a-zA-Z_$][\w$]*EntityConfig)\s*[:=]/,
97
+ /export\s+const\s+([a-zA-Z_$][\w$]*ChildConfig)\s*[:=]/
98
98
  ])
99
99
 
100
100
  if (!exportName) {
@@ -42,8 +42,8 @@ export async function discoverNestedEntities(config, basePath, relativePath = ''
42
42
 
43
43
  try {
44
44
  const exportName = await extractExportName(configPath, [
45
- /export\s+const\s+([a-zA-Z]+EntityConfig)\s*[:=]/,
46
- /export\s+const\s+([a-zA-Z]+ChildConfig)\s*[:=]/
45
+ /export\s+const\s+([a-zA-Z_$][\w$]*EntityConfig)\s*[:=]/,
46
+ /export\s+const\s+([a-zA-Z_$][\w$]*ChildConfig)\s*[:=]/
47
47
  ])
48
48
 
49
49
  if (!exportName) {
@@ -163,8 +163,8 @@ export async function discoverNestedEntities(config, basePath, relativePath = ''
163
163
 
164
164
  try {
165
165
  const exportName = await extractExportName(configPath, [
166
- /export\s+const\s+([a-zA-Z]+EntityConfig)\s*[:=]/,
167
- /export\s+const\s+([a-zA-Z]+ChildConfig)\s*[:=]/
166
+ /export\s+const\s+([a-zA-Z_$][\w$]*EntityConfig)\s*[:=]/,
167
+ /export\s+const\s+([a-zA-Z_$][\w$]*ChildConfig)\s*[:=]/
168
168
  ])
169
169
 
170
170
  if (!exportName) {
@@ -42,7 +42,7 @@ export async function discoverThemes(config = DEFAULT_CONFIG) {
42
42
 
43
43
  // Extract theme config export name and plugin dependencies
44
44
  const configContent = await readFile(configPath, 'utf8')
45
- const exportMatch = configContent.match(/export\s+const\s+([a-zA-Z]+ThemeConfig)\s*[:=]/)
45
+ const exportMatch = configContent.match(/export\s+const\s+([a-zA-Z_$][\w$]*ThemeConfig)\s*[:=]/)
46
46
  const exportName = exportMatch ? exportMatch[1] : null
47
47
 
48
48
  // Extract plugin dependencies from theme config
@@ -215,7 +215,7 @@ export async function discoverThemes(config = DEFAULT_CONFIG) {
215
215
 
216
216
  // Extract theme config export name and plugin dependencies
217
217
  const configContent = await readFile(configPath, 'utf8')
218
- const exportMatch = configContent.match(/export\s+const\s+([a-zA-Z]+ThemeConfig)\s*[:=]/)
218
+ const exportMatch = configContent.match(/export\s+const\s+([a-zA-Z_$][\w$]*ThemeConfig)\s*[:=]/)
219
219
  const exportName = exportMatch ? exportMatch[1] : null
220
220
 
221
221
  // Extract plugin dependencies from theme config