@hybridly/vite 0.1.0-alpha.5 → 0.1.0-alpha.7
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/LICENSE +0 -2
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.mjs +1 -1
- package/package.json +9 -9
package/LICENSE
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2021 Anthony Fu <https://github.com/antfu>
|
|
4
|
-
|
|
5
3
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
4
|
of this software and associated documentation files (the "Software"), to deal
|
|
7
5
|
in the Software without restriction, including without limitation the rights
|
package/dist/index.cjs
CHANGED
|
@@ -410,7 +410,7 @@ function getVueComponentsOptions(options, config) {
|
|
|
410
410
|
dts: ".hybridly/components.d.ts",
|
|
411
411
|
resolvers: overrideResolvers || [
|
|
412
412
|
...hasIcons ? [iconsResolver__default({ customCollections })] : [],
|
|
413
|
-
...hasHeadlessUI ? [resolvers.HeadlessUiResolver()] : [],
|
|
413
|
+
...hasHeadlessUI ? [resolvers.HeadlessUiResolver({ prefix: options?.vueComponents?.headlessUiPrefix ?? "Headless" })] : [],
|
|
414
414
|
...isUsingDomains ? [DomainComponentsResolver(config)] : [],
|
|
415
415
|
HybridlyResolver(options.vueComponents?.linkName)
|
|
416
416
|
]
|
package/dist/index.d.ts
CHANGED
|
@@ -29,6 +29,8 @@ type VueOptions = Parameters<typeof vue>[0];
|
|
|
29
29
|
type VueComponentsOptions = Parameters<typeof vueComponents>[0] & {
|
|
30
30
|
/** Name of the Link component. */
|
|
31
31
|
linkName?: string;
|
|
32
|
+
/** Custom prefix for Headless UI components. */
|
|
33
|
+
headlessUiPrefix?: string;
|
|
32
34
|
};
|
|
33
35
|
type CustomResolvers = ComponentResolver | ComponentResolver[];
|
|
34
36
|
type CustomComponentsOptions = VueComponentsOptions;
|
package/dist/index.mjs
CHANGED
|
@@ -392,7 +392,7 @@ function getVueComponentsOptions(options, config) {
|
|
|
392
392
|
dts: ".hybridly/components.d.ts",
|
|
393
393
|
resolvers: overrideResolvers || [
|
|
394
394
|
...hasIcons ? [iconsResolver({ customCollections })] : [],
|
|
395
|
-
...hasHeadlessUI ? [HeadlessUiResolver()] : [],
|
|
395
|
+
...hasHeadlessUI ? [HeadlessUiResolver({ prefix: options?.vueComponents?.headlessUiPrefix ?? "Headless" })] : [],
|
|
396
396
|
...isUsingDomains ? [DomainComponentsResolver(config)] : [],
|
|
397
397
|
HybridlyResolver(options.vueComponents?.linkName)
|
|
398
398
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hybridly/vite",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.7",
|
|
4
4
|
"description": "Vite plugin for Hybridly",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"hybridly",
|
|
@@ -39,21 +39,21 @@
|
|
|
39
39
|
"vue": "^3.2.45"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@vitejs/plugin-vue": "^4.
|
|
42
|
+
"@vitejs/plugin-vue": "^4.1.0",
|
|
43
|
+
"fast-glob": "^3.2.12",
|
|
43
44
|
"laravel-vite-plugin": "^0.7.4",
|
|
44
45
|
"local-pkg": "^0.4.3",
|
|
45
|
-
"fast-glob": "^3.2.12",
|
|
46
46
|
"throttle-debounce": "^5.0.0",
|
|
47
|
-
"unplugin-auto-import": "^0.15.
|
|
47
|
+
"unplugin-auto-import": "^0.15.1",
|
|
48
48
|
"unplugin-icons": "^0.15.3",
|
|
49
|
-
"unplugin-vue-components": "^0.24.
|
|
49
|
+
"unplugin-vue-components": "^0.24.1",
|
|
50
50
|
"vite-plugin-run": "^0.4.0",
|
|
51
|
-
"@hybridly/core": "0.1.0-alpha.
|
|
51
|
+
"@hybridly/core": "0.1.0-alpha.7"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@iconify/json": "^2.2.
|
|
55
|
-
"rollup": "^3.
|
|
56
|
-
"vite": "^4.1
|
|
54
|
+
"@iconify/json": "^2.2.37",
|
|
55
|
+
"rollup": "^3.20.0",
|
|
56
|
+
"vite": "^4.2.1",
|
|
57
57
|
"vue": "^3.2.47"
|
|
58
58
|
},
|
|
59
59
|
"scripts": {
|