silgi 0.17.0 → 0.17.2
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/_chunks/index.mjs
CHANGED
package/dist/cli/prepare.mjs
CHANGED
|
@@ -119,7 +119,6 @@ export const routeRules = ${serialized}
|
|
|
119
119
|
}
|
|
120
120
|
const file = join(serverDir, "rules.ts");
|
|
121
121
|
await writeFile(file, content);
|
|
122
|
-
console.log(`\u2705 Route rules written to ${file}`);
|
|
123
122
|
} catch (error) {
|
|
124
123
|
console.error("\u274C Failed to prepare build:", error instanceof Error ? error.message : String(error));
|
|
125
124
|
throw error;
|
|
@@ -21,7 +21,7 @@ import ignore from 'ignore';
|
|
|
21
21
|
import { parseSync } from '@oxc-parser/wasm';
|
|
22
22
|
import { klona } from 'klona';
|
|
23
23
|
import { createStorage, builtinDrivers } from 'unstorage';
|
|
24
|
-
import {
|
|
24
|
+
import { peerDependencies } from 'silgi/meta';
|
|
25
25
|
import { l as loadOptions } from './loader.mjs';
|
|
26
26
|
import { resolveAlias as resolveAlias$1 } from 'pathe/utils';
|
|
27
27
|
import { generateTypes, resolveSchema } from 'untyped';
|
|
@@ -1338,8 +1338,8 @@ async function commands(silgi) {
|
|
|
1338
1338
|
async function installPackages(silgi) {
|
|
1339
1339
|
const packages = {
|
|
1340
1340
|
dependencies: {
|
|
1341
|
-
"@fastify/deepmerge":
|
|
1342
|
-
"@silgi/ecosystem":
|
|
1341
|
+
"@fastify/deepmerge": peerDependencies["@fastify/deepmerge"],
|
|
1342
|
+
"@silgi/ecosystem": peerDependencies["@silgi/ecosystem"],
|
|
1343
1343
|
...silgi.options.installPackages?.dependencies
|
|
1344
1344
|
},
|
|
1345
1345
|
devDependencies: {
|
package/dist/meta/index.d.mts
CHANGED
package/dist/meta/index.d.ts
CHANGED