vitrify 0.17.13 → 0.17.14
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/index.js +5 -0
- package/dist/plugins/quasar/unocss/components/QBtn.unocss.js +1 -2
- package/dist/plugins/quasar/unocss/components/QChip.unocss.js +1 -1
- package/dist/plugins/quasar/unocss/index.js +0 -1
- package/dist/types/bin/dev.d.ts +1 -0
- package/package.json +29 -28
- package/src/node/index.ts +9 -0
- package/src/node/plugins/quasar/unocss/components/QBtn.unocss.ts +1 -2
- package/src/node/plugins/quasar/unocss/components/QChip.unocss.ts +1 -1
- package/src/node/plugins/quasar/unocss/index.ts +0 -1
package/dist/index.js
CHANGED
|
@@ -250,6 +250,11 @@ export const baseConfig = async ({ ssr, appDir, publicDir, base = '/', command =
|
|
|
250
250
|
const unoCssContentPipelineInclude = [
|
|
251
251
|
/\.(vue|svelte|[jt]sx|mdx?|astro|elm|php|phtml|html)($|\?)/
|
|
252
252
|
];
|
|
253
|
+
if (typeof vitrifyConfig.vitrify?.unocss?.content?.pipeline === 'object' &&
|
|
254
|
+
vitrifyConfig.vitrify?.unocss?.content?.pipeline?.include &&
|
|
255
|
+
Array.isArray(vitrifyConfig.vitrify?.unocss?.content?.pipeline?.include)) {
|
|
256
|
+
unoCssContentPipelineInclude.push(...vitrifyConfig.vitrify.unocss.content.pipeline.include);
|
|
257
|
+
}
|
|
253
258
|
if (vitrifyConfig.vitrify?.unocss?.presets?.some(async (preset) => {
|
|
254
259
|
if (!Array.isArray(preset)) {
|
|
255
260
|
return (await preset).name === 'quasar';
|
|
@@ -2,8 +2,7 @@ const shortcuts = [
|
|
|
2
2
|
[
|
|
3
3
|
/^q-btn$/,
|
|
4
4
|
([, c], { theme }) => theme.quasar?.components?.['q-btn'] ??
|
|
5
|
-
`font-medium items-stretch relative outline-0 border-0 align-middle text-[14px] leading-[1.715em] no-underline [color:inherit] bg-transparent font-medium uppercase text-center w-auto h-auto cursor-default px-[16px] py-[4px] min-h-[2.572em] [&_.q-icon]:(text-[1.715em]) [&_.q-spinner]:(text-[1.715em]) [&.disabled]:(!opacity-70) [&:before]:(content-empty block absolute left-[0] right-[0] top-[0] bottom-[0] [border-radius:inherit] [box-shadow:0_1px_5px_rgba(0,_0,_0,_0.2),_0_2px_2px_rgba(0,_0,_0,_0.14),_0_3px_1px_-2px_rgba(0,_0,_0,_0.12)])`
|
|
6
|
-
// inline-flex flex-col
|
|
5
|
+
`inline-flex flex-col font-medium items-stretch relative outline-0 border-0 align-middle text-[14px] leading-[1.715em] no-underline [color:inherit] bg-transparent font-medium uppercase text-center w-auto h-auto cursor-default px-[16px] py-[4px] min-h-[2.572em] [&_.q-icon]:(text-[1.715em]) [&_.q-spinner]:(text-[1.715em]) [&.disabled]:(!opacity-70) [&:before]:(content-empty block absolute left-[0] right-[0] top-[0] bottom-[0] [border-radius:inherit] [box-shadow:0_1px_5px_rgba(0,_0,_0,_0.2),_0_2px_2px_rgba(0,_0,_0,_0.14),_0_3px_1px_-2px_rgba(0,_0,_0,_0.12)])`
|
|
7
6
|
],
|
|
8
7
|
[
|
|
9
8
|
/^q-btn--actionable$/,
|
|
@@ -14,7 +14,7 @@ const shortcuts = [
|
|
|
14
14
|
[
|
|
15
15
|
/^q-chip$/,
|
|
16
16
|
([, c], { theme }) => theme.quasar?.components?.['q-chip'] ??
|
|
17
|
-
|
|
17
|
+
`!flex-initial align-middle rounded-[16px] outline-[0] relative h-[2em] max-w-full m-[4px] bg-[#e0e0e0] text-[rgba(0,_0,_0,_0.87)] text-[14px] px-[0.9em] py-[0.5em] [&_.q-avatar]:(text-[2em] -ml-[0.45em] mr-[0.2em] rounded-[16px])`
|
|
18
18
|
],
|
|
19
19
|
[
|
|
20
20
|
/^q-chip--colored$/,
|
package/dist/types/bin/dev.d.ts
CHANGED
|
@@ -71,6 +71,7 @@ export declare function createServer({ port, logLevel, ssr, framework, host, app
|
|
|
71
71
|
dev: import("vite").ResolvedDevEnvironmentOptions;
|
|
72
72
|
build: import("vite").ResolvedBuildEnvironmentOptions;
|
|
73
73
|
}>;
|
|
74
|
+
webSocketToken: string;
|
|
74
75
|
} & import("vite").PluginHookUtils>;
|
|
75
76
|
vite: ViteDevServer;
|
|
76
77
|
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vitrify",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.14",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Stefan van Herwijnen",
|
|
6
6
|
"description": "Vite as your Full Stack development tool",
|
|
@@ -44,58 +44,59 @@
|
|
|
44
44
|
},
|
|
45
45
|
"homepage": "https://github.com/simsustech/vitrify/tree/main/#readme",
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@fastify/middie": "^9.0.
|
|
48
|
-
"@fastify/static": "^8.0.
|
|
49
|
-
"@unocss/core": "^
|
|
50
|
-
"@unocss/preset-uno": "^
|
|
51
|
-
"@unocss/preset-wind": "^
|
|
47
|
+
"@fastify/middie": "^9.0.3",
|
|
48
|
+
"@fastify/static": "^8.0.4",
|
|
49
|
+
"@unocss/core": "^65.4.3",
|
|
50
|
+
"@unocss/preset-uno": "^65.4.3",
|
|
51
|
+
"@unocss/preset-wind": "^65.4.3",
|
|
52
52
|
"@vitejs/plugin-vue": "^5.2.1",
|
|
53
53
|
"ajv": "^8.17.1",
|
|
54
54
|
"animated-unocss": "^0.0.6",
|
|
55
55
|
"cac": "^6.7.14",
|
|
56
|
-
"chalk": "^5.
|
|
56
|
+
"chalk": "^5.4.1",
|
|
57
57
|
"cross-env": "^7.0.3",
|
|
58
|
-
"esbuild": "^0.24.
|
|
59
|
-
"fastify": "^5.2.
|
|
60
|
-
"glob": "^11.0.
|
|
61
|
-
"happy-dom": "^
|
|
58
|
+
"esbuild": "^0.24.2",
|
|
59
|
+
"fastify": "^5.2.1",
|
|
60
|
+
"glob": "^11.0.1",
|
|
61
|
+
"happy-dom": "^16.8.1",
|
|
62
62
|
"is-port-reachable": "^4.0.0",
|
|
63
63
|
"magic-string": "^0.30.17",
|
|
64
64
|
"merge-deep": "^3.0.3",
|
|
65
65
|
"readline": "^1.3.0",
|
|
66
|
-
"rollup-plugin-visualizer": "^5.
|
|
67
|
-
"sass": "1.83.
|
|
66
|
+
"rollup-plugin-visualizer": "^5.14.0",
|
|
67
|
+
"sass": "1.83.4",
|
|
68
68
|
"ts-node": "^10.9.2",
|
|
69
|
-
"unocss": "^
|
|
70
|
-
"unplugin-vue-components": "^
|
|
71
|
-
"vite": "^6.0.
|
|
69
|
+
"unocss": "^65.4.3",
|
|
70
|
+
"unplugin-vue-components": "^28.0.0",
|
|
71
|
+
"vite": "^6.0.11",
|
|
72
72
|
"vite-plugin-pwa": "^0.21.1",
|
|
73
|
-
"vitefu": "^1.0.
|
|
74
|
-
"vitest": "^
|
|
73
|
+
"vitefu": "^1.0.5",
|
|
74
|
+
"vitest": "^3.0.4",
|
|
75
75
|
"workbox-window": "^7.3.0"
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
|
-
"@
|
|
78
|
+
"@iconify-json/mdi": "^1.2.3",
|
|
79
|
+
"@quasar/extras": "^1.16.16",
|
|
79
80
|
"@types/connect": "^3.4.38",
|
|
80
81
|
"@types/glob": "^8.1.0",
|
|
81
82
|
"@types/merge-deep": "^3.0.3",
|
|
82
|
-
"@types/node": "^22.
|
|
83
|
-
"@types/ws": "^8.5.
|
|
84
|
-
"@unocss/preset-icons": "^65.4.
|
|
83
|
+
"@types/node": "^22.13.0",
|
|
84
|
+
"@types/ws": "^8.5.14",
|
|
85
|
+
"@unocss/preset-icons": "^65.4.3",
|
|
85
86
|
"@vue/runtime-core": "^3.5.13",
|
|
86
87
|
"beasties": "^0.2.0",
|
|
87
88
|
"css": "^3.0.0",
|
|
88
89
|
"css-to-tailwind-translator": "^1.2.8",
|
|
89
|
-
"quasar": "^2.17.
|
|
90
|
-
"rollup": "^4.
|
|
91
|
-
"typescript": "^5.7.
|
|
90
|
+
"quasar": "^2.17.7",
|
|
91
|
+
"rollup": "^4.34.0",
|
|
92
|
+
"typescript": "^5.7.3",
|
|
92
93
|
"vue": "^3.5.13",
|
|
93
94
|
"vue-router": "^4.5.0"
|
|
94
95
|
},
|
|
95
96
|
"peerDependencies": {
|
|
96
|
-
"@fastify/static": "^8.0.
|
|
97
|
-
"fastify": "^5.2.
|
|
98
|
-
"quasar": "^2.17.
|
|
97
|
+
"@fastify/static": "^8.0.4",
|
|
98
|
+
"fastify": "^5.2.1",
|
|
99
|
+
"quasar": "^2.17.7",
|
|
99
100
|
"vue": "^3.5.13",
|
|
100
101
|
"vue-router": "^4.5.0"
|
|
101
102
|
},
|
package/src/node/index.ts
CHANGED
|
@@ -329,6 +329,15 @@ export const baseConfig = async ({
|
|
|
329
329
|
const unoCssContentPipelineInclude = [
|
|
330
330
|
/\.(vue|svelte|[jt]sx|mdx?|astro|elm|php|phtml|html)($|\?)/
|
|
331
331
|
]
|
|
332
|
+
if (
|
|
333
|
+
typeof vitrifyConfig.vitrify?.unocss?.content?.pipeline === 'object' &&
|
|
334
|
+
vitrifyConfig.vitrify?.unocss?.content?.pipeline?.include &&
|
|
335
|
+
Array.isArray(vitrifyConfig.vitrify?.unocss?.content?.pipeline?.include)
|
|
336
|
+
) {
|
|
337
|
+
unoCssContentPipelineInclude.push(
|
|
338
|
+
...vitrifyConfig.vitrify.unocss.content.pipeline.include
|
|
339
|
+
)
|
|
340
|
+
}
|
|
332
341
|
if (
|
|
333
342
|
vitrifyConfig.vitrify?.unocss?.presets?.some(async (preset) => {
|
|
334
343
|
if (!Array.isArray(preset)) {
|
|
@@ -6,8 +6,7 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
|
6
6
|
/^q-btn$/,
|
|
7
7
|
([, c], { theme }) =>
|
|
8
8
|
theme.quasar?.components?.['q-btn'] ??
|
|
9
|
-
`font-medium items-stretch relative outline-0 border-0 align-middle text-[14px] leading-[1.715em] no-underline [color:inherit] bg-transparent font-medium uppercase text-center w-auto h-auto cursor-default px-[16px] py-[4px] min-h-[2.572em] [&_.q-icon]:(text-[1.715em]) [&_.q-spinner]:(text-[1.715em]) [&.disabled]:(!opacity-70) [&:before]:(content-empty block absolute left-[0] right-[0] top-[0] bottom-[0] [border-radius:inherit] [box-shadow:0_1px_5px_rgba(0,_0,_0,_0.2),_0_2px_2px_rgba(0,_0,_0,_0.14),_0_3px_1px_-2px_rgba(0,_0,_0,_0.12)])`
|
|
10
|
-
// inline-flex flex-col
|
|
9
|
+
`inline-flex flex-col font-medium items-stretch relative outline-0 border-0 align-middle text-[14px] leading-[1.715em] no-underline [color:inherit] bg-transparent font-medium uppercase text-center w-auto h-auto cursor-default px-[16px] py-[4px] min-h-[2.572em] [&_.q-icon]:(text-[1.715em]) [&_.q-spinner]:(text-[1.715em]) [&.disabled]:(!opacity-70) [&:before]:(content-empty block absolute left-[0] right-[0] top-[0] bottom-[0] [border-radius:inherit] [box-shadow:0_1px_5px_rgba(0,_0,_0,_0.2),_0_2px_2px_rgba(0,_0,_0,_0.14),_0_3px_1px_-2px_rgba(0,_0,_0,_0.12)])`
|
|
11
10
|
],
|
|
12
11
|
|
|
13
12
|
[
|
|
@@ -19,7 +19,7 @@ const shortcuts: UserShortcuts<QuasarTheme> = [
|
|
|
19
19
|
/^q-chip$/,
|
|
20
20
|
([, c], { theme }) =>
|
|
21
21
|
theme.quasar?.components?.['q-chip'] ??
|
|
22
|
-
|
|
22
|
+
`!flex-initial align-middle rounded-[16px] outline-[0] relative h-[2em] max-w-full m-[4px] bg-[#e0e0e0] text-[rgba(0,_0,_0,_0.87)] text-[14px] px-[0.9em] py-[0.5em] [&_.q-avatar]:(text-[2em] -ml-[0.45em] mr-[0.2em] rounded-[16px])`
|
|
23
23
|
],
|
|
24
24
|
|
|
25
25
|
[
|
|
@@ -1607,7 +1607,6 @@ export default definePreset((options: QuasarPresetOptions = {}) => {
|
|
|
1607
1607
|
presetIcons({}),
|
|
1608
1608
|
{
|
|
1609
1609
|
name: 'quasar',
|
|
1610
|
-
presets: [presetUno(), animatedUno(), presetIcons({})],
|
|
1611
1610
|
safelist: generateSafelist(options),
|
|
1612
1611
|
preflights: (
|
|
1613
1612
|
[
|