@hybridly/vite 0.4.1 → 0.4.2
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.cjs +11 -4
- package/dist/index.mjs +11 -4
- package/package.json +8 -8
package/dist/index.cjs
CHANGED
|
@@ -88,7 +88,13 @@ function generateTsConfig(options, config) {
|
|
|
88
88
|
...config.components.layouts.map(({ path: path2 }) => `../${path2}`),
|
|
89
89
|
...config.components.components.map(({ path: path2 }) => `../${path2}`),
|
|
90
90
|
`../${config.architecture.root}/**/*`,
|
|
91
|
-
"
|
|
91
|
+
"../app/**/*",
|
|
92
|
+
"../src/**/*",
|
|
93
|
+
"./php-types.d.ts",
|
|
94
|
+
"./global-types.d.ts",
|
|
95
|
+
"./routes.d.ts",
|
|
96
|
+
"./components.d.ts",
|
|
97
|
+
"./auto-imports.d.ts"
|
|
92
98
|
],
|
|
93
99
|
exclude: [
|
|
94
100
|
"../public/**/*",
|
|
@@ -342,6 +348,7 @@ function getLaravelOptions(options, config) {
|
|
|
342
348
|
const HybridlyImports = {
|
|
343
349
|
"hybridly/vue": [
|
|
344
350
|
"useProperty",
|
|
351
|
+
"setProperty",
|
|
345
352
|
"useRefinements",
|
|
346
353
|
"useProperties",
|
|
347
354
|
"useBackForward",
|
|
@@ -352,12 +359,12 @@ const HybridlyImports = {
|
|
|
352
359
|
"usePaginator",
|
|
353
360
|
"defineLayout",
|
|
354
361
|
"defineLayoutProperties",
|
|
355
|
-
"registerHook"
|
|
362
|
+
"registerHook",
|
|
363
|
+
"useRoute"
|
|
356
364
|
],
|
|
357
365
|
"hybridly": [
|
|
358
366
|
"router",
|
|
359
367
|
"route",
|
|
360
|
-
"current",
|
|
361
368
|
"can"
|
|
362
369
|
]
|
|
363
370
|
};
|
|
@@ -476,7 +483,7 @@ function getVueOptions(options) {
|
|
|
476
483
|
},
|
|
477
484
|
script: {
|
|
478
485
|
globalTypeFiles: [
|
|
479
|
-
path__default.resolve(".hybridly/
|
|
486
|
+
path__default.resolve(".hybridly/php-types.d.ts")
|
|
480
487
|
]
|
|
481
488
|
}
|
|
482
489
|
},
|
package/dist/index.mjs
CHANGED
|
@@ -71,7 +71,13 @@ function generateTsConfig(options, config) {
|
|
|
71
71
|
...config.components.layouts.map(({ path: path2 }) => `../${path2}`),
|
|
72
72
|
...config.components.components.map(({ path: path2 }) => `../${path2}`),
|
|
73
73
|
`../${config.architecture.root}/**/*`,
|
|
74
|
-
"
|
|
74
|
+
"../app/**/*",
|
|
75
|
+
"../src/**/*",
|
|
76
|
+
"./php-types.d.ts",
|
|
77
|
+
"./global-types.d.ts",
|
|
78
|
+
"./routes.d.ts",
|
|
79
|
+
"./components.d.ts",
|
|
80
|
+
"./auto-imports.d.ts"
|
|
75
81
|
],
|
|
76
82
|
exclude: [
|
|
77
83
|
"../public/**/*",
|
|
@@ -325,6 +331,7 @@ function getLaravelOptions(options, config) {
|
|
|
325
331
|
const HybridlyImports = {
|
|
326
332
|
"hybridly/vue": [
|
|
327
333
|
"useProperty",
|
|
334
|
+
"setProperty",
|
|
328
335
|
"useRefinements",
|
|
329
336
|
"useProperties",
|
|
330
337
|
"useBackForward",
|
|
@@ -335,12 +342,12 @@ const HybridlyImports = {
|
|
|
335
342
|
"usePaginator",
|
|
336
343
|
"defineLayout",
|
|
337
344
|
"defineLayoutProperties",
|
|
338
|
-
"registerHook"
|
|
345
|
+
"registerHook",
|
|
346
|
+
"useRoute"
|
|
339
347
|
],
|
|
340
348
|
"hybridly": [
|
|
341
349
|
"router",
|
|
342
350
|
"route",
|
|
343
|
-
"current",
|
|
344
351
|
"can"
|
|
345
352
|
]
|
|
346
353
|
};
|
|
@@ -459,7 +466,7 @@ function getVueOptions(options) {
|
|
|
459
466
|
},
|
|
460
467
|
script: {
|
|
461
468
|
globalTypeFiles: [
|
|
462
|
-
path.resolve(".hybridly/
|
|
469
|
+
path.resolve(".hybridly/php-types.d.ts")
|
|
463
470
|
]
|
|
464
471
|
}
|
|
465
472
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hybridly/vite",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"description": "Vite plugin for Hybridly",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"hybridly",
|
|
@@ -40,20 +40,20 @@
|
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@vitejs/plugin-vue": "^4.2.3",
|
|
43
|
-
"fast-glob": "^3.
|
|
43
|
+
"fast-glob": "^3.3.0",
|
|
44
44
|
"laravel-vite-plugin": "^0.7.8",
|
|
45
45
|
"local-pkg": "^0.4.3",
|
|
46
46
|
"throttle-debounce": "^5.0.0",
|
|
47
|
-
"unplugin-auto-import": "^0.16.
|
|
48
|
-
"unplugin-icons": "^0.16.
|
|
47
|
+
"unplugin-auto-import": "^0.16.6",
|
|
48
|
+
"unplugin-icons": "^0.16.3",
|
|
49
49
|
"unplugin-vue-components": "^0.25.1",
|
|
50
50
|
"vite-plugin-run": "^0.4.1",
|
|
51
|
-
"@hybridly/core": "0.4.
|
|
51
|
+
"@hybridly/core": "0.4.2"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@iconify/json": "^2.2.
|
|
55
|
-
"rollup": "^3.
|
|
56
|
-
"vite": "^4.3
|
|
54
|
+
"@iconify/json": "^2.2.89",
|
|
55
|
+
"rollup": "^3.26.2",
|
|
56
|
+
"vite": "^4.4.3",
|
|
57
57
|
"vue": "^3.3.4"
|
|
58
58
|
},
|
|
59
59
|
"scripts": {
|