valaxy 0.17.0-beta.4 → 0.17.0
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/chunk-ALNY7KGH.mjs +148 -0
- package/dist/{chunk-JO3TW6XW.cjs → chunk-O4TV2H4O.cjs} +36 -38
- package/dist/node/cli/index.cjs +1 -1
- package/dist/node/cli/index.mjs +1 -1
- package/dist/node/index.cjs +1 -1
- package/dist/node/index.d.cts +5 -3
- package/dist/node/index.d.ts +5 -3
- package/dist/node/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-U67MKQRJ.mjs +0 -150
package/dist/node/cli/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkO4TV2H4Ocjs = require('../../chunk-O4TV2H4O.cjs');require('../../chunk-TEOGEXZQ.cjs');exports.cli = _chunkO4TV2H4Ocjs.M; exports.run = _chunkO4TV2H4Ocjs.N;
|
package/dist/node/cli/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import {createRequire as __createRequire} from 'module';var require=__createRequire(import.meta.url);
|
|
2
|
-
import{M as a,N as b}from"../../chunk-
|
|
2
|
+
import{M as a,N as b}from"../../chunk-ALNY7KGH.mjs";import"../../chunk-ZO24WTQL.mjs";export{a as cli,b as run};
|
package/dist/node/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkO4TV2H4Ocjs = require('../chunk-O4TV2H4O.cjs');require('../chunk-TEOGEXZQ.cjs');exports.build = _chunkO4TV2H4Ocjs.H; exports.cli = _chunkO4TV2H4Ocjs.M; exports.createServer = _chunkO4TV2H4Ocjs.L; exports.defaultSiteConfig = _chunkO4TV2H4Ocjs.k; exports.defaultValaxyConfig = _chunkO4TV2H4Ocjs.o; exports.defineAddon = _chunkO4TV2H4Ocjs.v; exports.defineConfig = _chunkO4TV2H4Ocjs.q; exports.defineSiteConfig = _chunkO4TV2H4Ocjs.l; exports.defineTheme = _chunkO4TV2H4Ocjs.A; exports.defineUnoSetup = _chunkO4TV2H4Ocjs.B; exports.defineValaxyAddon = _chunkO4TV2H4Ocjs.u; exports.defineValaxyConfig = _chunkO4TV2H4Ocjs.p; exports.defineValaxyTheme = _chunkO4TV2H4Ocjs.z; exports.ensurePrefix = _chunkO4TV2H4Ocjs.e; exports.generateClientRedirects = _chunkO4TV2H4Ocjs.K; exports.getGitTimestamp = _chunkO4TV2H4Ocjs.a; exports.getIndexHtml = _chunkO4TV2H4Ocjs.G; exports.isExternal = _chunkO4TV2H4Ocjs.c; exports.isPath = _chunkO4TV2H4Ocjs.g; exports.loadConfig = _chunkO4TV2H4Ocjs.i; exports.loadConfigFromFile = _chunkO4TV2H4Ocjs.j; exports.mergeValaxyConfig = _chunkO4TV2H4Ocjs.s; exports.mergeViteConfigs = _chunkO4TV2H4Ocjs.F; exports.postProcessForSSG = _chunkO4TV2H4Ocjs.J; exports.processValaxyOptions = _chunkO4TV2H4Ocjs.C; exports.resolveAddonConfig = _chunkO4TV2H4Ocjs.w; exports.resolveImportPath = _chunkO4TV2H4Ocjs.b; exports.resolveOptions = _chunkO4TV2H4Ocjs.D; exports.resolveSiteConfig = _chunkO4TV2H4Ocjs.n; exports.resolveSiteConfigFromRoot = _chunkO4TV2H4Ocjs.m; exports.resolveThemeConfigFromRoot = _chunkO4TV2H4Ocjs.x; exports.resolveThemeValaxyConfig = _chunkO4TV2H4Ocjs.E; exports.resolveUserThemeConfig = _chunkO4TV2H4Ocjs.y; exports.resolveValaxyConfig = _chunkO4TV2H4Ocjs.t; exports.resolveValaxyConfigFromRoot = _chunkO4TV2H4Ocjs.r; exports.run = _chunkO4TV2H4Ocjs.N; exports.slash = _chunkO4TV2H4Ocjs.d; exports.ssgBuild = _chunkO4TV2H4Ocjs.I; exports.toAtFS = _chunkO4TV2H4Ocjs.f; exports.transformObject = _chunkO4TV2H4Ocjs.h;
|
package/dist/node/index.d.cts
CHANGED
|
@@ -6,8 +6,9 @@ import * as valaxy_types from 'valaxy/types';
|
|
|
6
6
|
import { DefaultTheme, ValaxyConfig, PartialDeep, ValaxyAddon, RuntimeConfig, SiteConfig, UserSiteConfig } from 'valaxy/types';
|
|
7
7
|
import Vue from '@vitejs/plugin-vue';
|
|
8
8
|
import Components from 'unplugin-vue-components/vite';
|
|
9
|
+
import Layouts from 'vite-plugin-vue-layouts';
|
|
10
|
+
import Router from 'unplugin-vue-router/vite';
|
|
9
11
|
import { VitePluginConfig } from 'unocss/vite';
|
|
10
|
-
import VueRouter from 'unplugin-vue-router/vite';
|
|
11
12
|
import { EditableTreeNode } from 'unplugin-vue-router';
|
|
12
13
|
import { presetUno, presetAttributify, presetIcons, presetTypography } from 'unocss';
|
|
13
14
|
import { Hookable } from 'hookable';
|
|
@@ -162,6 +163,8 @@ interface ValaxyExtendConfig {
|
|
|
162
163
|
vite?: UserConfig;
|
|
163
164
|
vue?: Parameters<typeof Vue>[0];
|
|
164
165
|
components?: Parameters<typeof Components>[0];
|
|
166
|
+
layouts?: Parameters<typeof Layouts>[0];
|
|
167
|
+
router?: Parameters<typeof Router>[0];
|
|
165
168
|
unocss?: VitePluginConfig;
|
|
166
169
|
/**
|
|
167
170
|
* unocss presets
|
|
@@ -172,7 +175,6 @@ interface ValaxyExtendConfig {
|
|
|
172
175
|
icons?: Parameters<typeof presetIcons>[0];
|
|
173
176
|
typography?: Parameters<typeof presetTypography>[0];
|
|
174
177
|
};
|
|
175
|
-
vueRouter?: Parameters<typeof VueRouter>[0];
|
|
176
178
|
/**
|
|
177
179
|
* @experimental
|
|
178
180
|
* Enable Vue Devtools & Valaxy Devtools
|
|
@@ -241,7 +243,7 @@ interface ResolvedValaxyOptions<ThemeConfig = DefaultTheme.Config> {
|
|
|
241
243
|
*/
|
|
242
244
|
addonRoots: string[];
|
|
243
245
|
/**
|
|
244
|
-
*
|
|
246
|
+
* clientRoot, themeRoot, ...addonRoots, userRoot
|
|
245
247
|
*/
|
|
246
248
|
roots: string[];
|
|
247
249
|
theme: string;
|
package/dist/node/index.d.ts
CHANGED
|
@@ -6,8 +6,9 @@ import * as valaxy_types from 'valaxy/types';
|
|
|
6
6
|
import { DefaultTheme, ValaxyConfig, PartialDeep, ValaxyAddon, RuntimeConfig, SiteConfig, UserSiteConfig } from 'valaxy/types';
|
|
7
7
|
import Vue from '@vitejs/plugin-vue';
|
|
8
8
|
import Components from 'unplugin-vue-components/vite';
|
|
9
|
+
import Layouts from 'vite-plugin-vue-layouts';
|
|
10
|
+
import Router from 'unplugin-vue-router/vite';
|
|
9
11
|
import { VitePluginConfig } from 'unocss/vite';
|
|
10
|
-
import VueRouter from 'unplugin-vue-router/vite';
|
|
11
12
|
import { EditableTreeNode } from 'unplugin-vue-router';
|
|
12
13
|
import { presetUno, presetAttributify, presetIcons, presetTypography } from 'unocss';
|
|
13
14
|
import { Hookable } from 'hookable';
|
|
@@ -162,6 +163,8 @@ interface ValaxyExtendConfig {
|
|
|
162
163
|
vite?: UserConfig;
|
|
163
164
|
vue?: Parameters<typeof Vue>[0];
|
|
164
165
|
components?: Parameters<typeof Components>[0];
|
|
166
|
+
layouts?: Parameters<typeof Layouts>[0];
|
|
167
|
+
router?: Parameters<typeof Router>[0];
|
|
165
168
|
unocss?: VitePluginConfig;
|
|
166
169
|
/**
|
|
167
170
|
* unocss presets
|
|
@@ -172,7 +175,6 @@ interface ValaxyExtendConfig {
|
|
|
172
175
|
icons?: Parameters<typeof presetIcons>[0];
|
|
173
176
|
typography?: Parameters<typeof presetTypography>[0];
|
|
174
177
|
};
|
|
175
|
-
vueRouter?: Parameters<typeof VueRouter>[0];
|
|
176
178
|
/**
|
|
177
179
|
* @experimental
|
|
178
180
|
* Enable Vue Devtools & Valaxy Devtools
|
|
@@ -241,7 +243,7 @@ interface ResolvedValaxyOptions<ThemeConfig = DefaultTheme.Config> {
|
|
|
241
243
|
*/
|
|
242
244
|
addonRoots: string[];
|
|
243
245
|
/**
|
|
244
|
-
*
|
|
246
|
+
* clientRoot, themeRoot, ...addonRoots, userRoot
|
|
245
247
|
*/
|
|
246
248
|
roots: string[];
|
|
247
249
|
theme: string;
|
package/dist/node/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import {createRequire as __createRequire} from 'module';var require=__createRequire(import.meta.url);
|
|
2
|
-
import{A,B,C,D,E,F,G,H,I,J,K,L,M,N,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}from"../chunk-
|
|
2
|
+
import{A,B,C,D,E,F,G,H,I,J,K,L,M,N,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}from"../chunk-ALNY7KGH.mjs";import"../chunk-ZO24WTQL.mjs";export{H as build,M as cli,L as createServer,k as defaultSiteConfig,o as defaultValaxyConfig,v as defineAddon,q as defineConfig,l as defineSiteConfig,A as defineTheme,B as defineUnoSetup,u as defineValaxyAddon,p as defineValaxyConfig,z as defineValaxyTheme,e as ensurePrefix,K as generateClientRedirects,a as getGitTimestamp,G as getIndexHtml,c as isExternal,g as isPath,i as loadConfig,j as loadConfigFromFile,s as mergeValaxyConfig,F as mergeViteConfigs,J as postProcessForSSG,C as processValaxyOptions,w as resolveAddonConfig,b as resolveImportPath,D as resolveOptions,n as resolveSiteConfig,m as resolveSiteConfigFromRoot,x as resolveThemeConfigFromRoot,E as resolveThemeValaxyConfig,y as resolveUserThemeConfig,t as resolveValaxyConfig,r as resolveValaxyConfigFromRoot,N as run,d as slash,I as ssgBuild,f as toAtFS,h as transformObject};
|