@mono-lit/utility 0.0.3 → 0.0.5
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/README.md +156 -156
- package/dist/{app-roots-DK41xMWj.d.ts → app-roots-BlcIuAan.d.ts} +13 -1
- package/dist/{app-roots-CvJnmXcs.js → app-roots-LpDrHF_J.js} +17 -1
- package/dist/config-node.d.ts +39 -2
- package/dist/config-node.js +5 -5
- package/dist/fetching.d.ts +1 -1
- package/dist/fetching.js +1 -1
- package/dist/{index-DYlzhHq7.d.ts → index-CLXtqgEx.d.ts} +41 -9
- package/dist/index.js +1 -1
- package/dist/{merge-file-CtyKTu5L.js → merge-file-DahuGcvr.js} +1 -1
- package/dist/{mono-alias-DNDm-jB_.js → mono-alias-BU2B0tYL.js} +1 -1
- package/dist/mono-db.js +1 -1
- package/dist/mono-env.mjs +7 -2
- package/dist/{mono-link-YlOQ2PVS.js → mono-link-URGX8xsT.js} +102 -1
- package/dist/mono-prepare.js +5 -1
- package/dist/mono-skills.js +1 -1
- package/dist/{mono-tsconfig-D2qRL9_R.js → mono-tsconfig-4R-pfXV3.js} +117 -4
- package/dist/{nuxt-layers-DP1m7f1-.js → nuxt-layers-BO0AGwA5.js} +2 -2
- package/dist/nuxt-layers.d.ts +1 -1
- package/dist/nuxt-layers.js +1 -1
- package/dist/nuxt.js +17 -5
- package/dist/{runtime-vs7U9Ed4.js → runtime-TXXmV6Q6.js} +176 -2272
- package/dist/runtime.d.ts +13 -13
- package/dist/runtime.js +1 -1
- package/dist/{session-Bcig-rPi.js → session-CbSl2BMJ.js} +1 -1
- package/dist/vite.d.ts +1 -1
- package/dist/vite.js +4 -101
- package/package.json +12 -7
package/dist/runtime.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { C as MonoSyncTransport, _ as MonoMergeableKey, c as MonoConfig, n as JWTCompleteTokenTypes, o as MonoAppType, t as DefaultJWTTokenTypes, w as MonoTemplate } from "./create-config-B8IhX4ht.js";
|
|
2
2
|
import { a as MonoFetchCookieOptions, i as LocalStorageParams, n as CookieTokenParams, o as NormalFetchOptions$1, r as JWTPayload, s as NormalFetchResult$1, t as CookieParams } from "./types-B6FdB7LJ.js";
|
|
3
3
|
import { a as monoToken, i as monoStorage, n as monoCookie, o as setMonoEventResolver, r as monoJwt, s as CookieApi, t as MonoRequestEvent } from "./universal-BR0O7Qwk.js";
|
|
4
|
-
import { A as
|
|
5
|
-
import { InjectionKey, Plugin, Ref
|
|
4
|
+
import { $ as createStaticDatasource, A as ValidateError, B as FetchLoading, C as Format, D as SchemaType, E as SchemaObject, F as ValidationSchemaLike, G as OdataFetchTypes, H as FetchParam, I as Col, J as NotifProps, K as TanstackFetchOptions, L as GroupTemplate, M as ValidateErrorItem, N as ValidateErrorSingle, O as StandardSchemaV1, P as ValidateSchema, Q as UseOdataStaticOpts, R as LoopTemplate, S as FilterExpression, T as Schema, U as NormalFetchOptions, V as FetchOData, W as NormalFetchResult, X as MonoNotifActionTypes, Y as MonoNotifActionProps, Z as MonoNotifButton, _ as getPrefetchBridge, a as TryCatchDatasourceParams, b as CustomSummary, c as extractErrorMessage, d as promiseWrapper, f as tryCatchDatasource, g as MonoPrefetchRequest, h as MonoPrefetchBridge, i as OdataFetchUniqueTypes, j as ValidateErrorComplex, k as StandardSchemaV1Result, l as loadChuckStore, m as useNormalFetch, n as FetchOverrides, o as createFetcher, p as useFetchOData, q as useHelper, r as LoadChunkStoreArgs, s as createUniqueFetcher, t as _default, u as parseDxError, v as setPrefetchBridge, w as HeaderFilter, x as DataGrid, y as OdataMapTypes, z as PathValue } from "./index-CLXtqgEx.js";
|
|
5
|
+
import { InjectionKey, Plugin, Ref } from "vue";
|
|
6
6
|
import { RouteRecordRaw } from "vue-router";
|
|
7
7
|
//#region src/token/client.d.ts
|
|
8
8
|
/** Client cookie util — `document.cookie` backed (unchanged public shape). */
|
|
@@ -2397,8 +2397,8 @@ export declare function createMono(option: MonoConfig): Plugin;
|
|
|
2397
2397
|
* the existing ref untouched, even if their `init` differs. Returning a ref from
|
|
2398
2398
|
* `init` adopts that ref rather than nesting it.
|
|
2399
2399
|
*/
|
|
2400
|
-
export declare function useState<T = any>(init?: (() => T | Ref
|
|
2401
|
-
export declare function useState<T = any>(key: string, init?: (() => T | Ref
|
|
2400
|
+
export declare function useState<T = any>(init?: (() => T | Ref<T>) | T): Ref<T>;
|
|
2401
|
+
export declare function useState<T = any>(key: string, init?: (() => T | Ref<T>) | T): Ref<T>;
|
|
2402
2402
|
/** Explicit alias — for hosts that don't want the bare Nuxt name in scope. */
|
|
2403
2403
|
export declare const monoUseState: typeof useState;
|
|
2404
2404
|
/**
|
|
@@ -2440,22 +2440,22 @@ export declare let defineLayout: ({ menu, routes }: {
|
|
|
2440
2440
|
}) => RouteRecordRaw[];
|
|
2441
2441
|
//#endregion
|
|
2442
2442
|
//#region src/composables/host-provider.d.ts
|
|
2443
|
-
type HostKey<T> = string | symbol | InjectionKey<Ref
|
|
2443
|
+
type HostKey<T> = string | symbol | InjectionKey<Ref<T>>;
|
|
2444
2444
|
type InjectHostOptions<T> = {
|
|
2445
2445
|
key: HostKey<T>;
|
|
2446
2446
|
defaultValue: T;
|
|
2447
2447
|
};
|
|
2448
2448
|
type HostProviderOptions<T> = {
|
|
2449
2449
|
key: HostKey<T>;
|
|
2450
|
-
syncRef: Ref
|
|
2450
|
+
syncRef: Ref<T>;
|
|
2451
2451
|
immediate?: boolean;
|
|
2452
2452
|
deep?: boolean;
|
|
2453
2453
|
resetOnUnmount?: boolean;
|
|
2454
2454
|
resetValue?: T;
|
|
2455
2455
|
deleteOnUnmount?: boolean;
|
|
2456
2456
|
};
|
|
2457
|
-
export declare function monoInject<T>(options: InjectHostOptions<T>): Ref
|
|
2458
|
-
export declare function monoProvide<T>(options: HostProviderOptions<T>): Ref
|
|
2457
|
+
export declare function monoInject<T>(options: InjectHostOptions<T>): Ref<T>;
|
|
2458
|
+
export declare function monoProvide<T>(options: HostProviderOptions<T>): Ref<T>;
|
|
2459
2459
|
//#endregion
|
|
2460
2460
|
//#region src/composables/use-mono-utility.d.ts
|
|
2461
2461
|
/**
|
|
@@ -2498,11 +2498,11 @@ export declare const useMonoUtility: () => {
|
|
|
2498
2498
|
};
|
|
2499
2499
|
}) => void;
|
|
2500
2500
|
filterOrIn: (field: string, values: any[], combine?: boolean) => any;
|
|
2501
|
-
validateAllSchema: <T extends object = any>({ schema, input, error }: ValidateSchema<T>, callback?: () =>
|
|
2502
|
-
validateSchema: <T = any>({ schema, field, input, error }: ValidateSchema<T>, callback?:
|
|
2503
|
-
validateAllSchemaCheck: (error: ValidateError<any>) => boolean;
|
|
2501
|
+
validateAllSchema: <T extends object = any>({ schema, input, error }: ValidateSchema<T>, callback?: () => unknown) => Promise<boolean>;
|
|
2502
|
+
validateSchema: <T = any>({ schema, field, input, error }: ValidateSchema<T>, callback?: () => unknown) => Promise<boolean>;
|
|
2503
|
+
validateAllSchemaCheck: (error: ValidateError<any> | any) => boolean;
|
|
2504
2504
|
clearSchemaValidation: ({ error }: {
|
|
2505
|
-
error:
|
|
2505
|
+
error: any;
|
|
2506
2506
|
}) => void;
|
|
2507
2507
|
notif: (options: NotifProps) => Promise<import("notivue").NotificationClearMethods | undefined>;
|
|
2508
2508
|
dxFilterToString: ({ filter, encode }: {
|
|
@@ -2515,4 +2515,4 @@ export declare const useMonoUtility: () => {
|
|
|
2515
2515
|
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2516
2516
|
declare const _default$1: typeof __VLS_export;
|
|
2517
2517
|
//#endregion
|
|
2518
|
-
export { type Col, type Col as MonoDataGridCol, type CustomSummary, type DataGrid, type DataGrid as MonoDataGridTypes, type FetchLoading, type FetchOData, type FetchParam, type FilterExpression, type Format, type GroupTemplate, type HeaderFilter, type LoopTemplate, type createStaticDatasource as MonoCreateStaticDatasource, type FetchOverrides as MonoFetchOverrides, type NormalFetchOptions as MonoNormalFetchTypes, type NormalFetchOptions, _default as MonoNotifAction, type MonoNotifActionProps as MonoNotifActionPropsTypes, type MonoNotifActionTypes, type MonoNotifButton as MonoNotifButtonTypes, type NotifProps as MonoNotifPropsTypes, type NotifProps, _default$1 as MonoNotivue, type OdataFetchTypes as MonoOdataFetchTypes, type OdataFetchTypes, type OdataFetchUniqueTypes as MonoOdataFetchUniqueTypes, type OdataMapTypes as MonoOdataMapTypes, type OdataMapTypes, type MonoPrefetchBridge, type MonoPrefetchRequest, type MonoRequestEvent, type SchemaObject as MonoSchemaObject, type SchemaObject, type LoadChunkStoreArgs as MonoStoreChunkTypes, type TanstackFetchOptions as MonoTanstackFetchTypes, type TanstackFetchOptions, type TryCatchDatasourceParams as MonoTryCatchDatasourceTypes, type UseOdataStaticOpts as MonoUseOdataStaticTypes, type ValidateErrorComplex as MonoValidateError, type ValidateErrorComplex, type ValidateErrorSingle as MonoValidateErrorSingle, type ValidateErrorSingle, type NormalFetchResult, type PathValue, type Schema, type SchemaType, type ValidateError, type ValidateErrorItem, type ValidateSchema, type createFetcher, type createUniqueFetcher, type extractErrorMessage, type useNormalFetch as fetchNormal, type useFetchOData as fetchOData, type getPrefetchBridge, type loadChuckStore, monoConfig, monoCookie, monoEnv, monoJwt, monoStorage, monoToken, type parseDxError, type promiseWrapper, setMonoEventResolver, type setPrefetchBridge, type tryCatchDatasource, useMonoUtility as useMonoUtils, useHelper as useUtils };
|
|
2518
|
+
export { type Col, type Col as MonoDataGridCol, type CustomSummary, type DataGrid, type DataGrid as MonoDataGridTypes, type FetchLoading, type FetchOData, type FetchParam, type FilterExpression, type Format, type GroupTemplate, type HeaderFilter, type LoopTemplate, type createStaticDatasource as MonoCreateStaticDatasource, type FetchOverrides as MonoFetchOverrides, type NormalFetchOptions as MonoNormalFetchTypes, type NormalFetchOptions, _default as MonoNotifAction, type MonoNotifActionProps as MonoNotifActionPropsTypes, type MonoNotifActionTypes, type MonoNotifButton as MonoNotifButtonTypes, type NotifProps as MonoNotifPropsTypes, type NotifProps, _default$1 as MonoNotivue, type OdataFetchTypes as MonoOdataFetchTypes, type OdataFetchTypes, type OdataFetchUniqueTypes as MonoOdataFetchUniqueTypes, type OdataMapTypes as MonoOdataMapTypes, type OdataMapTypes, type MonoPrefetchBridge, type MonoPrefetchRequest, type MonoRequestEvent, type SchemaObject as MonoSchemaObject, type SchemaObject, type StandardSchemaV1 as MonoStandardSchema, type StandardSchemaV1, type LoadChunkStoreArgs as MonoStoreChunkTypes, type TanstackFetchOptions as MonoTanstackFetchTypes, type TanstackFetchOptions, type TryCatchDatasourceParams as MonoTryCatchDatasourceTypes, type UseOdataStaticOpts as MonoUseOdataStaticTypes, type ValidateErrorComplex as MonoValidateError, type ValidateErrorComplex, type ValidateErrorSingle as MonoValidateErrorSingle, type ValidateErrorSingle, type ValidationSchemaLike as MonoValidationSchema, type ValidationSchemaLike, type NormalFetchResult, type PathValue, type Schema, type SchemaType, type StandardSchemaV1Result, type ValidateError, type ValidateErrorItem, type ValidateSchema, type createFetcher, type createUniqueFetcher, type extractErrorMessage, type useNormalFetch as fetchNormal, type useFetchOData as fetchOData, type getPrefetchBridge, type loadChuckStore, monoConfig, monoCookie, monoEnv, monoJwt, monoStorage, monoToken, type parseDxError, type promiseWrapper, setMonoEventResolver, type setPrefetchBridge, type tryCatchDatasource, useMonoUtility as useMonoUtils, useHelper as useUtils };
|
package/dist/runtime.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as createMono, D as monoState, E as monoEnv, O as monoStatePatch, S as useState, T as monoConfig, _ as monoProvide, b as monoUseState, g as monoInject, k as monoStateReset, m as useHelper, n as useMonoUtility, r as Notif_default, t as MonoNotivue_default, v as defineLayout, w as initMono, x as nuxtStateKeys, y as clearNuxtState } from "./runtime-
|
|
1
|
+
import { C as createMono, D as monoState, E as monoEnv, O as monoStatePatch, S as useState, T as monoConfig, _ as monoProvide, b as monoUseState, g as monoInject, k as monoStateReset, m as useHelper, n as useMonoUtility, r as Notif_default, t as MonoNotivue_default, v as defineLayout, w as initMono, x as nuxtStateKeys, y as clearNuxtState } from "./runtime-TXXmV6Q6.js";
|
|
2
2
|
import { a as setMonoEventResolver, c as useMyToken, d as useMyJwt, i as monoToken, l as useMyFetch, n as monoJwt, o as useMyStorage, r as monoStorage, s as useMyCookie, t as monoCookie } from "./universal-DIVEzCvN.js";
|
|
3
3
|
|
|
4
4
|
export { Notif_default as MonoNotifAction, MonoNotivue_default as MonoNotivue, clearNuxtState, createMono, defineLayout, initMono, monoConfig, monoCookie, monoEnv, monoInject, monoJwt, monoProvide, monoState, monoStatePatch, monoStateReset, monoStorage, monoToken, monoUseState, nuxtStateKeys, setMonoEventResolver, useMonoUtility, useMonoUtility as useMonoUtils, useMyCookie, useMyFetch, useMyJwt, useMyStorage, useMyToken, useState, useHelper as useUtils };
|
package/dist/vite.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as MonoConfig, o as MonoAppType, w as MonoTemplate } from "./create-config-B8IhX4ht.js";
|
|
2
|
-
import { r as MonoAppRootSource, t as MonoAppRoot } from "./app-roots-
|
|
2
|
+
import { r as MonoAppRootSource, t as MonoAppRoot } from "./app-roots-BlcIuAan.js";
|
|
3
3
|
import { Plugin, PluginOption, ViteDevServer } from "vite";
|
|
4
4
|
//#region src/vite/remote-matcher.d.ts
|
|
5
5
|
/** The options every compat transform accepts, so they stay interchangeable. */
|
package/dist/vite.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as pathAppRoots, t as appRootDirs } from "./app-roots-LpDrHF_J.js";
|
|
2
2
|
import { c as resolveMonoConfig, l as srcDirForType, o as resolveExtendsAppNames, s as resolveExtendsEcosystems } from "./create-config-DdL3Fh6T.js";
|
|
3
|
-
import { r as monoEcosystem } from "./merge-file-
|
|
3
|
+
import { r as monoEcosystem } from "./merge-file-DahuGcvr.js";
|
|
4
4
|
import { t as getMonoConfig } from "./config-node-UzJrXg0Z.js";
|
|
5
|
-
import {
|
|
6
|
-
import { a as defaultMonoExpose, c as parsePageMetaFromFile, i as monoRouterLinkToNuxtLink, l as
|
|
5
|
+
import { d as resolveFederatedRoots, n as extractConfig, o as formatMissingApps, s as monoAlias, t as assertAppSources, u as monoStubAliases } from "./mono-alias-BU2B0tYL.js";
|
|
6
|
+
import { a as defaultMonoExpose, c as createMonoLithHooks, d as parsePageMetaFromFile, f as remoteGate, i as monoRouterLinkToNuxtLink, l as monoLith, n as monoNuxtLinkToRouterLink, o as sanitizeForExpose, r as monoRouterLink, s as MONO_APPS_VIRTUAL_ID, t as monoNuxtLink, u as parsePageMeta } from "./mono-link-URGX8xsT.js";
|
|
7
7
|
import { existsSync } from "node:fs";
|
|
8
8
|
import { isAbsolute, join, resolve } from "node:path";
|
|
9
9
|
import { createRequire } from "node:module";
|
|
@@ -349,103 +349,6 @@ function monoExtendRoute(options = {}) {
|
|
|
349
349
|
};
|
|
350
350
|
}
|
|
351
351
|
|
|
352
|
-
//#endregion
|
|
353
|
-
//#region src/vite/mono-lith.ts
|
|
354
|
-
const MONO_APPS_VIRTUAL_ID = "virtual:mono-apps";
|
|
355
|
-
const RESOLVED_VIRTUAL_ID = "\0virtual:mono-apps";
|
|
356
|
-
/** `C:\a\B` -> `c:/a/b` — chokidar and Vite slash paths differently, and Windows is case-insensitive. */
|
|
357
|
-
function normalizeFsPath(value) {
|
|
358
|
-
const slashed = value.replace(/\\/g, "/");
|
|
359
|
-
return process.platform === "win32" ? slashed.toLowerCase() : slashed;
|
|
360
|
-
}
|
|
361
|
-
/** Forward-slashed absolute path, safe inside a JS string literal. */
|
|
362
|
-
function importSpecifier(file) {
|
|
363
|
-
return JSON.stringify(file.replace(/\\/g, "/"));
|
|
364
|
-
}
|
|
365
|
-
function createMonoLithHooks(options = {}) {
|
|
366
|
-
const rootDir = options.dirname ?? process.cwd();
|
|
367
|
-
const appRoots = options.appRoots ?? resolveFederatedRoots({
|
|
368
|
-
dirname: rootDir,
|
|
369
|
-
...options.appsDir ? { appsDir: options.appsDir } : {}
|
|
370
|
-
});
|
|
371
|
-
const siblings = pathAppRoots(appRoots);
|
|
372
|
-
const active = options.activeNames ? appRoots.filter((r) => options.activeNames.includes(r.name)) : appRoots;
|
|
373
|
-
const configFiles = [];
|
|
374
|
-
const ownName = extractConfig(rootDir).name ?? "<root>";
|
|
375
|
-
const ownConfig = monoConfigFileFor(rootDir);
|
|
376
|
-
if (ownConfig) configFiles.push({
|
|
377
|
-
name: ownName,
|
|
378
|
-
file: ownConfig
|
|
379
|
-
});
|
|
380
|
-
for (const root of active) {
|
|
381
|
-
const file = monoConfigFileFor(root.root);
|
|
382
|
-
if (file) configFiles.push({
|
|
383
|
-
name: root.name,
|
|
384
|
-
file
|
|
385
|
-
});
|
|
386
|
-
}
|
|
387
|
-
const configByPath = new Map(configFiles.map((c) => [normalizeFsPath(c.file), c.name]));
|
|
388
|
-
const load = (id) => {
|
|
389
|
-
if (id !== RESOLVED_VIRTUAL_ID) return void 0;
|
|
390
|
-
return [
|
|
391
|
-
"// Generated by @mono-lit/utility (virtual:mono-apps): one lazy import per",
|
|
392
|
-
"// federated app’s mono.config, whether it is a sibling or a clone.",
|
|
393
|
-
"export default {",
|
|
394
|
-
...active.flatMap((r) => {
|
|
395
|
-
const file = monoConfigFileFor(r.root);
|
|
396
|
-
return file ? [` ${JSON.stringify(r.name)}: () => import(${importSpecifier(file)}),`] : [];
|
|
397
|
-
}),
|
|
398
|
-
"}",
|
|
399
|
-
""
|
|
400
|
-
].join("\n");
|
|
401
|
-
};
|
|
402
|
-
const configureServer = (server) => {
|
|
403
|
-
if (options.watchSiblings !== false) for (const sibling of siblings) server.watcher.add(join(sibling.root, srcDirForType(sibling.type ?? "vue")));
|
|
404
|
-
if (options.restartOnConfigChange === false) return;
|
|
405
|
-
for (const { file } of configFiles) server.watcher.add(file);
|
|
406
|
-
let restarting = false;
|
|
407
|
-
const onConfigEvent = (file) => {
|
|
408
|
-
const name = configByPath.get(normalizeFsPath(file));
|
|
409
|
-
if (!name || restarting) return;
|
|
410
|
-
restarting = true;
|
|
411
|
-
server.config.logger.info(`[mono] mono.config changed (${name}) — restarting`, { timestamp: true });
|
|
412
|
-
server.restart();
|
|
413
|
-
};
|
|
414
|
-
server.watcher.on("change", onConfigEvent);
|
|
415
|
-
server.watcher.on("add", onConfigEvent);
|
|
416
|
-
server.watcher.on("unlink", onConfigEvent);
|
|
417
|
-
};
|
|
418
|
-
return {
|
|
419
|
-
fsAllow: siblings.map((r) => r.root),
|
|
420
|
-
appRoots,
|
|
421
|
-
configureServer,
|
|
422
|
-
resolveId: (id) => id === "virtual:mono-apps" ? RESOLVED_VIRTUAL_ID : void 0,
|
|
423
|
-
load
|
|
424
|
-
};
|
|
425
|
-
}
|
|
426
|
-
/**
|
|
427
|
-
* Standalone plugin for a long-hand `vite.config.ts`. `monoRepo().vite()` /
|
|
428
|
-
* `mono.plugin` already include these hooks — do not register both.
|
|
429
|
-
*
|
|
430
|
-
* ```ts
|
|
431
|
-
* import { monoLith } from '@mono-lit/utility/vite'
|
|
432
|
-
* plugins: [VueRouter({ … }), vue(), monoLith({ dirname: __dirname })]
|
|
433
|
-
* ```
|
|
434
|
-
*/
|
|
435
|
-
function monoLith(options = {}) {
|
|
436
|
-
const hooks = createMonoLithHooks(options);
|
|
437
|
-
return {
|
|
438
|
-
name: "mono-lith",
|
|
439
|
-
config() {
|
|
440
|
-
if (!hooks.fsAllow.length) return;
|
|
441
|
-
return { server: { fs: { allow: [options.dirname ?? process.cwd(), ...hooks.fsAllow] } } };
|
|
442
|
-
},
|
|
443
|
-
configureServer: hooks.configureServer,
|
|
444
|
-
resolveId: hooks.resolveId,
|
|
445
|
-
load: hooks.load
|
|
446
|
-
};
|
|
447
|
-
}
|
|
448
|
-
|
|
449
352
|
//#endregion
|
|
450
353
|
//#region src/vite/resolve-from-root.ts
|
|
451
354
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mono-lit/utility",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"description": "Mono config, fetching, auth/token, Nuxt/Vite integration and shared helpers for the @mono-lit ecosystem.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vue",
|
|
@@ -88,6 +88,7 @@
|
|
|
88
88
|
"h3": "^1.15.1",
|
|
89
89
|
"jwt-decode": "^4.0.0",
|
|
90
90
|
"notivue": "^2.4.5",
|
|
91
|
+
"valibot": "^1.0.0",
|
|
91
92
|
"vue": "3.5.44",
|
|
92
93
|
"vue-router": "5.4.0",
|
|
93
94
|
"yup": "^1.7.1",
|
|
@@ -95,30 +96,31 @@
|
|
|
95
96
|
},
|
|
96
97
|
"devDependencies": {
|
|
97
98
|
"@odata2ts/http-client-fetch": "0.9.0",
|
|
99
|
+
"@odata2ts/odata-query-objects": "0.28.1",
|
|
98
100
|
"@tsdown/css": "0.23.1",
|
|
99
101
|
"@vueuse/core": "14.3.0",
|
|
100
|
-
"@odata2ts/odata-query-objects": "0.28.1",
|
|
101
102
|
"fake-indexeddb": "^6.2.5",
|
|
102
103
|
"h3": "^1.15.1",
|
|
103
104
|
"jwt-decode": "4.0.0",
|
|
104
105
|
"taze": "^19.14.1",
|
|
105
|
-
"yup": "1.7.1",
|
|
106
106
|
"tsdown": "0.23.1",
|
|
107
107
|
"typescript": "6.0.3",
|
|
108
108
|
"unplugin-vue": "7.2.0",
|
|
109
|
+
"valibot": "1.5.0",
|
|
109
110
|
"vite": "8.3.4",
|
|
110
111
|
"vue-tsc": "~3.2.0",
|
|
111
|
-
"
|
|
112
|
+
"yup": "1.7.1",
|
|
113
|
+
"@mono-lit/helper": "0.0.6"
|
|
112
114
|
},
|
|
113
115
|
"dependencies": {
|
|
116
|
+
"@nuxt/kit": "^4.6.2",
|
|
117
|
+
"@nuxt/schema": "^4.6.2",
|
|
114
118
|
"c12": "4.0.0-beta.5",
|
|
115
119
|
"citty": "0.1.6",
|
|
116
120
|
"devextreme": "25.1.6",
|
|
117
121
|
"devextreme-vue": "25.1.6",
|
|
118
122
|
"pkg-types": "2.3.1",
|
|
119
|
-
"unstorage": "1.17.5"
|
|
120
|
-
"@nuxt/kit": "^4.6.2",
|
|
121
|
-
"@nuxt/schema": "^4.6.2"
|
|
123
|
+
"unstorage": "1.17.5"
|
|
122
124
|
},
|
|
123
125
|
"peerDependenciesMeta": {
|
|
124
126
|
"@odata2ts/http-client-fetch": {
|
|
@@ -132,6 +134,9 @@
|
|
|
132
134
|
},
|
|
133
135
|
"yup": {
|
|
134
136
|
"optional": true
|
|
137
|
+
},
|
|
138
|
+
"valibot": {
|
|
139
|
+
"optional": true
|
|
135
140
|
}
|
|
136
141
|
},
|
|
137
142
|
"scripts": {
|