silgi 0.24.1 → 0.24.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/cli/index.d.mts +0 -1
- package/dist/cli/index.mjs +2 -1
- package/dist/cli/prepare.mjs +2 -2
- package/dist/runtime/index.d.mts +1 -1
- package/dist/runtime/index.mjs +1 -1
- package/lib/config.mjs +2 -2
- package/package.json +5 -3
package/dist/cli/index.d.mts
CHANGED
package/dist/cli/index.mjs
CHANGED
package/dist/cli/prepare.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { defineCommand, runCommand } from 'citty';
|
|
|
2
2
|
import { join, resolve, relative, dirname, basename, extname, isAbsolute } from 'pathe';
|
|
3
3
|
import { peerDependencies, version } from 'silgi/meta';
|
|
4
4
|
import { genObjectFromRawEntries, genObjectFromRaw, genObjectFromValues } from 'knitwork';
|
|
5
|
-
import { writeFile, relativeWithDot, hash, resolveAlias, directoryToURL, addTemplate, hasError, parseServices, normalizeTemplate, useLogger,
|
|
5
|
+
import { writeFile, relativeWithDot, hash, resolveAlias, directoryToURL, addTemplate, hasError, parseServices, normalizeTemplate, useLogger, resolveSilgiPath, genEnsureSafeVar, isDirectory } from 'silgi/kit';
|
|
6
6
|
import { existsSync, promises, readFileSync, writeFileSync, mkdirSync } from 'node:fs';
|
|
7
7
|
import { readdir, readFile } from 'node:fs/promises';
|
|
8
8
|
import consola, { consola as consola$1 } from 'consola';
|
|
@@ -26,7 +26,7 @@ import { globby } from 'globby';
|
|
|
26
26
|
import ignore from 'ignore';
|
|
27
27
|
import { parseSync } from '@oxc-parser/wasm';
|
|
28
28
|
import { klona } from 'klona';
|
|
29
|
-
import { useSilgiRuntimeConfig } from 'silgi/runtime';
|
|
29
|
+
import { useSilgiRuntimeConfig, initRuntimeConfig } from 'silgi/runtime';
|
|
30
30
|
import { createStorage, builtinDrivers } from 'unstorage';
|
|
31
31
|
import { l as loadOptions, s as silgiGenerateType } from './types.mjs';
|
|
32
32
|
import { resolveAlias as resolveAlias$1 } from 'pathe/utils';
|
package/dist/runtime/index.d.mts
CHANGED
package/dist/runtime/index.mjs
CHANGED
package/lib/config.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "silgi",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.24.
|
|
4
|
+
"version": "0.24.2",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"exports": {
|
|
@@ -18,6 +18,8 @@
|
|
|
18
18
|
"./runtime/internal": "./dist/runtime/internal/index.mjs",
|
|
19
19
|
"./runtime/meta": "./lib/runtime-meta.mjs"
|
|
20
20
|
},
|
|
21
|
+
"main": "./dist/index.mjs",
|
|
22
|
+
"types": "./dist/index.d.mts",
|
|
21
23
|
"bin": {
|
|
22
24
|
"silgi": "./dist/cli/index.mjs"
|
|
23
25
|
},
|
|
@@ -99,10 +101,10 @@
|
|
|
99
101
|
"untyped": "^2.0.0"
|
|
100
102
|
},
|
|
101
103
|
"devDependencies": {
|
|
102
|
-
"@antfu/eslint-config": "^4.
|
|
104
|
+
"@antfu/eslint-config": "^4.11.0",
|
|
103
105
|
"@nuxt/kit": "^3.16.1",
|
|
104
106
|
"@nuxt/schema": "^3.16.1",
|
|
105
|
-
"@silgi/ecosystem": "^0.3.
|
|
107
|
+
"@silgi/ecosystem": "^0.3.3",
|
|
106
108
|
"@types/node": "^22.13.11",
|
|
107
109
|
"@types/semver": "^7.5.8",
|
|
108
110
|
"@vitest/coverage-v8": "3.0.5",
|