silgi 0.37.29 → 0.37.31
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/cli/build.mjs +11 -11
- package/dist/cli/index.mjs +1 -1
- package/package.json +17 -17
package/dist/cli/build.mjs
CHANGED
|
@@ -1436,18 +1436,8 @@ async function createSilgiCLI(config = {}, opts = {}) {
|
|
|
1436
1436
|
},
|
|
1437
1437
|
adapters: {}
|
|
1438
1438
|
};
|
|
1439
|
-
updateRuntimeStorage(silgi.options.runtimeConfig);
|
|
1440
|
-
if (silgi.options.adapters && Object.keys(silgi.options.adapters)?.length > 0) {
|
|
1441
|
-
for (const [key, value] of Object.entries(silgi.options.adapters)) {
|
|
1442
|
-
if (typeof value === "function") {
|
|
1443
|
-
const resolved = value();
|
|
1444
|
-
silgi.adapters[key] = resolved instanceof Promise ? await resolved : resolved;
|
|
1445
|
-
} else {
|
|
1446
|
-
silgi.adapters[key] = value;
|
|
1447
|
-
}
|
|
1448
|
-
}
|
|
1449
|
-
}
|
|
1450
1439
|
await prepareEnv(options);
|
|
1440
|
+
updateRuntimeStorage(silgi.options.runtimeConfig);
|
|
1451
1441
|
if (silgiCLICtx.tryUse()) {
|
|
1452
1442
|
silgiCLICtx.unset();
|
|
1453
1443
|
silgiCLICtx.set(silgi);
|
|
@@ -1463,6 +1453,16 @@ async function createSilgiCLI(config = {}, opts = {}) {
|
|
|
1463
1453
|
packageImport: "silgi/runtime/internal/debug"
|
|
1464
1454
|
});
|
|
1465
1455
|
}
|
|
1456
|
+
if (silgi.options.adapters && Object.keys(silgi.options.adapters)?.length > 0) {
|
|
1457
|
+
for (const [key, value] of Object.entries(silgi.options.adapters)) {
|
|
1458
|
+
if (typeof value === "function") {
|
|
1459
|
+
const resolved = value();
|
|
1460
|
+
silgi.adapters[key] = resolved instanceof Promise ? await resolved : resolved;
|
|
1461
|
+
} else {
|
|
1462
|
+
silgi.adapters[key] = value;
|
|
1463
|
+
}
|
|
1464
|
+
}
|
|
1465
|
+
}
|
|
1466
1466
|
await scanAndSyncOptions(silgi);
|
|
1467
1467
|
await scanModules$1(silgi);
|
|
1468
1468
|
await scanSilgiExports();
|
package/dist/cli/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "silgi",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.37.
|
|
4
|
+
"version": "0.37.31",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"exports": {
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"@fastify/deepmerge": "^3.1.0",
|
|
96
96
|
"@standard-community/standard-json": "^0.2.0",
|
|
97
97
|
"@standard-schema/spec": "^1.0.0",
|
|
98
|
-
"apiful": "^2.
|
|
98
|
+
"apiful": "^2.2.0",
|
|
99
99
|
"c12": "^3.0.3",
|
|
100
100
|
"chokidar": "^4.0.3",
|
|
101
101
|
"citty": "^0.1.6",
|
|
@@ -129,30 +129,30 @@
|
|
|
129
129
|
"srvx": "^0.6.0",
|
|
130
130
|
"std-env": "^3.9.0",
|
|
131
131
|
"ufo": "^1.6.1",
|
|
132
|
-
"unadapter": "^0.1.
|
|
132
|
+
"unadapter": "^0.1.2",
|
|
133
133
|
"unctx": "^2.4.1",
|
|
134
|
-
"unimport": "^5.0.
|
|
135
|
-
"unstorage": "^1.
|
|
134
|
+
"unimport": "^5.0.1",
|
|
135
|
+
"unstorage": "^1.16.0",
|
|
136
136
|
"untyped": "^2.0.0"
|
|
137
137
|
},
|
|
138
138
|
"devDependencies": {
|
|
139
|
-
"@antfu/eslint-config": "^4.
|
|
140
|
-
"@nuxt/kit": "^3.
|
|
141
|
-
"@nuxt/schema": "^3.
|
|
142
|
-
"@silgi/ecosystem": "^0.6.
|
|
143
|
-
"@types/node": "^22.15.
|
|
139
|
+
"@antfu/eslint-config": "^4.13.0",
|
|
140
|
+
"@nuxt/kit": "^3.17.2",
|
|
141
|
+
"@nuxt/schema": "^3.17.2",
|
|
142
|
+
"@silgi/ecosystem": "^0.6.8",
|
|
143
|
+
"@types/node": "^22.15.16",
|
|
144
144
|
"@types/semver": "^7.7.0",
|
|
145
145
|
"@vitest/coverage-v8": "3.0.5",
|
|
146
|
-
"eslint": "^9.
|
|
147
|
-
"h3": "^1.15.
|
|
148
|
-
"next": "^15.3.
|
|
149
|
-
"nitropack": "^2.11.
|
|
150
|
-
"nuxt": "^3.
|
|
146
|
+
"eslint": "^9.26.0",
|
|
147
|
+
"h3": "^1.15.3",
|
|
148
|
+
"next": "^15.3.2",
|
|
149
|
+
"nitropack": "^2.11.11",
|
|
150
|
+
"nuxt": "^3.17.2",
|
|
151
151
|
"typescript": "^5.8.3",
|
|
152
152
|
"unbuild": "^3.5.0",
|
|
153
|
-
"vitest": "^3.1.
|
|
153
|
+
"vitest": "^3.1.3",
|
|
154
154
|
"vue": "^3.5.13",
|
|
155
|
-
"zod": "^3.24.
|
|
155
|
+
"zod": "^3.24.4"
|
|
156
156
|
},
|
|
157
157
|
"resolutions": {
|
|
158
158
|
"silgi": "link:."
|