@hybridly/vite 0.7.3 → 0.7.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/dist/index.cjs +2 -2
- package/dist/index.d.cts +2 -0
- package/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.mjs +2 -2
- package/package.json +7 -7
package/dist/index.cjs
CHANGED
|
@@ -318,7 +318,7 @@ function generateTsConfig(options, config) {
|
|
|
318
318
|
"../app/**/*",
|
|
319
319
|
"../src/**/*",
|
|
320
320
|
"./php-types.d.ts",
|
|
321
|
-
"./global-
|
|
321
|
+
"./global-properties.d.ts",
|
|
322
322
|
"./routes.d.ts",
|
|
323
323
|
"./components.d.ts",
|
|
324
324
|
"./auto-imports.d.ts",
|
|
@@ -567,7 +567,7 @@ function getRunOptions(options) {
|
|
|
567
567
|
return [
|
|
568
568
|
{
|
|
569
569
|
name: "Generate TypeScript types",
|
|
570
|
-
run: [php, "artisan", "hybridly:types"],
|
|
570
|
+
run: [php, "artisan", "hybridly:types", options.allowTypeGenerationFailures !== false ? "--allow-failures" : ""].filter(Boolean),
|
|
571
571
|
pattern: [
|
|
572
572
|
"+(app|src)/**/*Data.php",
|
|
573
573
|
"+(app|src)/**/Enums/*.php",
|
package/dist/index.d.cts
CHANGED
|
@@ -67,6 +67,8 @@ interface ViteOptions {
|
|
|
67
67
|
tsconfig?: TsConfigOptions;
|
|
68
68
|
/** Warns when displaying local builds. */
|
|
69
69
|
warnOnLocalBuilds?: boolean;
|
|
70
|
+
/** Type generation failures will return exit code zero if this option is `true`. */
|
|
71
|
+
allowTypeGenerationFailures?: boolean;
|
|
70
72
|
}
|
|
71
73
|
interface LayoutOptions {
|
|
72
74
|
/** Custom RegExp for parsing the template string. */
|
package/dist/index.d.mts
CHANGED
|
@@ -67,6 +67,8 @@ interface ViteOptions {
|
|
|
67
67
|
tsconfig?: TsConfigOptions;
|
|
68
68
|
/** Warns when displaying local builds. */
|
|
69
69
|
warnOnLocalBuilds?: boolean;
|
|
70
|
+
/** Type generation failures will return exit code zero if this option is `true`. */
|
|
71
|
+
allowTypeGenerationFailures?: boolean;
|
|
70
72
|
}
|
|
71
73
|
interface LayoutOptions {
|
|
72
74
|
/** Custom RegExp for parsing the template string. */
|
package/dist/index.d.ts
CHANGED
|
@@ -67,6 +67,8 @@ interface ViteOptions {
|
|
|
67
67
|
tsconfig?: TsConfigOptions;
|
|
68
68
|
/** Warns when displaying local builds. */
|
|
69
69
|
warnOnLocalBuilds?: boolean;
|
|
70
|
+
/** Type generation failures will return exit code zero if this option is `true`. */
|
|
71
|
+
allowTypeGenerationFailures?: boolean;
|
|
70
72
|
}
|
|
71
73
|
interface LayoutOptions {
|
|
72
74
|
/** Custom RegExp for parsing the template string. */
|
package/dist/index.mjs
CHANGED
|
@@ -299,7 +299,7 @@ function generateTsConfig(options, config) {
|
|
|
299
299
|
"../app/**/*",
|
|
300
300
|
"../src/**/*",
|
|
301
301
|
"./php-types.d.ts",
|
|
302
|
-
"./global-
|
|
302
|
+
"./global-properties.d.ts",
|
|
303
303
|
"./routes.d.ts",
|
|
304
304
|
"./components.d.ts",
|
|
305
305
|
"./auto-imports.d.ts",
|
|
@@ -548,7 +548,7 @@ function getRunOptions(options) {
|
|
|
548
548
|
return [
|
|
549
549
|
{
|
|
550
550
|
name: "Generate TypeScript types",
|
|
551
|
-
run: [php, "artisan", "hybridly:types"],
|
|
551
|
+
run: [php, "artisan", "hybridly:types", options.allowTypeGenerationFailures !== false ? "--allow-failures" : ""].filter(Boolean),
|
|
552
552
|
pattern: [
|
|
553
553
|
"+(app|src)/**/*Data.php",
|
|
554
554
|
"+(app|src)/**/Enums/*.php",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hybridly/vite",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.5",
|
|
4
4
|
"description": "Vite plugin for Hybridly",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"hybridly",
|
|
@@ -48,20 +48,20 @@
|
|
|
48
48
|
"@vitejs/plugin-vue": "^5.0.4",
|
|
49
49
|
"fast-glob": "^3.3.2",
|
|
50
50
|
"local-pkg": "^0.5.0",
|
|
51
|
-
"magic-string": "^0.30.
|
|
51
|
+
"magic-string": "^0.30.10",
|
|
52
52
|
"picocolors": "^1.0.0",
|
|
53
53
|
"throttle-debounce": "^5.0.0",
|
|
54
54
|
"unplugin-auto-import": "^0.17.5",
|
|
55
55
|
"unplugin-icons": "^0.18.5",
|
|
56
56
|
"unplugin-vue-components": "^0.26.0",
|
|
57
57
|
"vite-plugin-run": "^0.5.1",
|
|
58
|
-
"@hybridly/core": "0.7.
|
|
58
|
+
"@hybridly/core": "0.7.5"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@iconify/json": "^2.2.
|
|
62
|
-
"rollup": "^4.
|
|
63
|
-
"vite": "^5.
|
|
64
|
-
"vue": "^3.4.
|
|
61
|
+
"@iconify/json": "^2.2.203",
|
|
62
|
+
"rollup": "^4.16.1",
|
|
63
|
+
"vite": "^5.2.10",
|
|
64
|
+
"vue": "^3.4.23"
|
|
65
65
|
},
|
|
66
66
|
"scripts": {
|
|
67
67
|
"build": "unbuild",
|