silgi 0.23.9 → 0.23.10
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 +1 -1
- package/dist/kit/index.d.mts +2 -2
- package/dist/kit/index.d.ts +2 -2
- package/dist/kit/index.mjs +2 -2
- package/package.json +1 -1
package/dist/_chunks/index.mjs
CHANGED
package/dist/kit/index.d.mts
CHANGED
|
@@ -156,6 +156,6 @@ declare const MODE_RE: RegExp;
|
|
|
156
156
|
declare function hasSilgiModule(moduleKey: string, silgi?: SilgiCLI): boolean;
|
|
157
157
|
declare function hasInstalledModule(moduleKey: string, silgi?: SilgiCLI): boolean;
|
|
158
158
|
declare const baseHeaderBannerComment: string[];
|
|
159
|
-
declare function
|
|
159
|
+
declare function processFilePath(src: string): string;
|
|
160
160
|
|
|
161
|
-
export { MODE_RE,
|
|
161
|
+
export { MODE_RE, addTemplate, applyEnv, baseHeaderBannerComment, createResolver, defineSilgiModule, defineSilgiPreset, directoryToURL, filterInPlace, genEnsureSafeVar, getAllEntries, getIpAddress, hasError, hasInstalledModule, hasSilgiModule, hash, initRuntimeConfig, ipAddress, isDirectory, isH3, isNitro, isNuxt, normalizeTemplate, parseServices, prettyPath, processFilePath, relativeWithDot, resolveAlias, resolvePath, resolveSilgiModule, resolveSilgiPath, serviceParseModule, toArray, tryResolveModule, useLogger, useRequest, useResponse, useSilgiRuntimeConfig, writeFile };
|
package/dist/kit/index.d.ts
CHANGED
|
@@ -156,6 +156,6 @@ declare const MODE_RE: RegExp;
|
|
|
156
156
|
declare function hasSilgiModule(moduleKey: string, silgi?: SilgiCLI): boolean;
|
|
157
157
|
declare function hasInstalledModule(moduleKey: string, silgi?: SilgiCLI): boolean;
|
|
158
158
|
declare const baseHeaderBannerComment: string[];
|
|
159
|
-
declare function
|
|
159
|
+
declare function processFilePath(src: string): string;
|
|
160
160
|
|
|
161
|
-
export { MODE_RE,
|
|
161
|
+
export { MODE_RE, addTemplate, applyEnv, baseHeaderBannerComment, createResolver, defineSilgiModule, defineSilgiPreset, directoryToURL, filterInPlace, genEnsureSafeVar, getAllEntries, getIpAddress, hasError, hasInstalledModule, hasSilgiModule, hash, initRuntimeConfig, ipAddress, isDirectory, isH3, isNitro, isNuxt, normalizeTemplate, parseServices, prettyPath, processFilePath, relativeWithDot, resolveAlias, resolvePath, resolveSilgiModule, resolveSilgiPath, serviceParseModule, toArray, tryResolveModule, useLogger, useRequest, useResponse, useSilgiRuntimeConfig, writeFile };
|
package/dist/kit/index.mjs
CHANGED
|
@@ -488,7 +488,7 @@ const baseHeaderBannerComment = [
|
|
|
488
488
|
"/* prettier-ignore */",
|
|
489
489
|
"/* tslint:disable */"
|
|
490
490
|
];
|
|
491
|
-
function
|
|
491
|
+
function processFilePath(src) {
|
|
492
492
|
const silgi = useSilgiCLI();
|
|
493
493
|
if (silgi.options.typescript.removeFileExtension) {
|
|
494
494
|
src = src.replace(/\.ts$/, "");
|
|
@@ -627,4 +627,4 @@ function isValidIp(ip) {
|
|
|
627
627
|
return false;
|
|
628
628
|
}
|
|
629
629
|
|
|
630
|
-
export { MODE_RE,
|
|
630
|
+
export { MODE_RE, addTemplate, applyEnv, baseHeaderBannerComment, createResolver, defineSilgiModule, defineSilgiPreset, directoryToURL, filterInPlace, genEnsureSafeVar, getAllEntries, getIpAddress, hasError, hasInstalledModule, hasSilgiModule, hash, initRuntimeConfig, ipAddress, isDirectory$1 as isDirectory, isH3, isNitro, isNuxt, normalizeTemplate, parseServices, prettyPath, processFilePath, relativeWithDot, resolveAlias, resolvePath, resolveSilgiModule, resolveSilgiPath, serviceParseModule, toArray, tryResolveModule, useLogger, useRequest, useResponse, useSilgiRuntimeConfig, writeFile };
|