@stacksjs/defaults 0.70.105 → 0.70.106
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
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@stacksjs/defaults",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"sideEffects": false,
|
|
5
|
-
"version": "0.70.
|
|
5
|
+
"version": "0.70.106",
|
|
6
6
|
"description": "Default Stacks scaffold resources (views, layouts, components, preloader) — shipped so apps consuming the framework from node_modules get the same fallback resources a vendored checkout provides. Source of truth: storage/framework/defaults.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"license": "MIT",
|
|
@@ -105,7 +105,9 @@ if (!skipPreloader) {
|
|
|
105
105
|
// explicitly when needed — see #1835 root cause 3.
|
|
106
106
|
export async function loadAutoImports() {
|
|
107
107
|
const { Glob } = await import('bun')
|
|
108
|
-
const
|
|
108
|
+
const pathPackage = '@stacksjs/' + 'path'
|
|
109
|
+
const path = await import('../../../core/path/src/index.ts')
|
|
110
|
+
.catch(() => import(pathPackage))
|
|
109
111
|
|
|
110
112
|
// CRITICAL: Never overwrite these built-in globals
|
|
111
113
|
const protectedGlobals = new Set([
|
|
@@ -317,7 +319,8 @@ if (!skipAutoImports) {
|
|
|
317
319
|
|
|
318
320
|
// Run package auto-discovery after all imports are loaded
|
|
319
321
|
try {
|
|
320
|
-
const
|
|
322
|
+
const actionsPackage = '@stacksjs/' + 'actions'
|
|
323
|
+
const { discoverPackages } = await import(actionsPackage)
|
|
321
324
|
await discoverPackages()
|
|
322
325
|
}
|
|
323
326
|
catch {
|