@hybridly/vite 0.10.0-beta.14 → 0.10.0-beta.15
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/THIRD-PARTY-LICENSES.md +12 -65
- package/dist/_chunks/libs/debug.mjs +5 -5
- package/dist/_chunks/libs/deepmerge.mjs +1 -1
- package/dist/_chunks/libs/es-toolkit.mjs +9 -0
- package/dist/index.d.mts +11 -12
- package/dist/index.mjs +422 -435
- package/package.json +3 -4
- package/dist/_chunks/libs/is-plain-object.mjs +0 -22
- package/dist/_chunks/libs/lodash.clonedeep.mjs +0 -1410
- /package/dist/_chunks/libs/{throttle-debounce.mjs → @clickbar/dot-diver.mjs} +0 -0
|
@@ -70,15 +70,18 @@ Repository: https://github.com/TehShrike/deepmerge
|
|
|
70
70
|
|
|
71
71
|
---------------------------------------
|
|
72
72
|
|
|
73
|
-
##
|
|
73
|
+
## es-toolkit
|
|
74
74
|
|
|
75
75
|
License: MIT
|
|
76
|
-
|
|
77
|
-
Repository: https://github.com/jonschlinkert/is-plain-object
|
|
76
|
+
Repository: https://github.com/toss/es-toolkit
|
|
78
77
|
|
|
79
|
-
>
|
|
78
|
+
> MIT License
|
|
79
|
+
>
|
|
80
|
+
> Copyright (c) 2024 Viva Republica, Inc
|
|
80
81
|
>
|
|
81
|
-
> Copyright
|
|
82
|
+
> Copyright OpenJS Foundation and other contributors
|
|
83
|
+
>
|
|
84
|
+
> Parts of the test suite and compatibility layer in `es-toolkit/compat` are derived from Lodash (https://github.com/lodash/lodash) by the OpenJS Foundation (https://openjsf.org/) and Underscore.js by Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors (http://underscorejs.org/)
|
|
82
85
|
>
|
|
83
86
|
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
84
87
|
> of this software and associated documentation files (the "Software"), to deal
|
|
@@ -87,72 +90,16 @@ Repository: https://github.com/jonschlinkert/is-plain-object
|
|
|
87
90
|
> copies of the Software, and to permit persons to whom the Software is
|
|
88
91
|
> furnished to do so, subject to the following conditions:
|
|
89
92
|
>
|
|
90
|
-
> The above copyright notice and this permission notice shall be included in
|
|
91
|
-
>
|
|
93
|
+
> The above copyright notice and this permission notice shall be included in all
|
|
94
|
+
> copies or substantial portions of the Software.
|
|
92
95
|
>
|
|
93
96
|
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
94
97
|
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
95
98
|
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
96
99
|
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
97
100
|
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
98
|
-
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
99
|
-
>
|
|
100
|
-
|
|
101
|
-
---------------------------------------
|
|
102
|
-
|
|
103
|
-
## lodash.clonedeep
|
|
104
|
-
|
|
105
|
-
License: MIT
|
|
106
|
-
By: John-David Dalton, Blaine Bublitz, Mathias Bynens
|
|
107
|
-
Repository: https://github.com/lodash/lodash
|
|
108
|
-
|
|
109
|
-
> Copyright jQuery Foundation and other contributors <https://jquery.org/>
|
|
110
|
-
>
|
|
111
|
-
> Based on Underscore.js, copyright Jeremy Ashkenas,
|
|
112
|
-
> DocumentCloud and Investigative Reporters & Editors <http://underscorejs.org/>
|
|
113
|
-
>
|
|
114
|
-
> This software consists of voluntary contributions made by many
|
|
115
|
-
> individuals. For exact contribution history, see the revision history
|
|
116
|
-
> available at https://github.com/lodash/lodash
|
|
117
|
-
>
|
|
118
|
-
> The following license applies to all parts of this software except as
|
|
119
|
-
> documented below:
|
|
120
|
-
>
|
|
121
|
-
> ====
|
|
122
|
-
>
|
|
123
|
-
> Permission is hereby granted, free of charge, to any person obtaining
|
|
124
|
-
> a copy of this software and associated documentation files (the
|
|
125
|
-
> "Software"), to deal in the Software without restriction, including
|
|
126
|
-
> without limitation the rights to use, copy, modify, merge, publish,
|
|
127
|
-
> distribute, sublicense, and/or sell copies of the Software, and to
|
|
128
|
-
> permit persons to whom the Software is furnished to do so, subject to
|
|
129
|
-
> the following conditions:
|
|
130
|
-
>
|
|
131
|
-
> The above copyright notice and this permission notice shall be
|
|
132
|
-
> included in all copies or substantial portions of the Software.
|
|
133
|
-
>
|
|
134
|
-
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
135
|
-
> EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
136
|
-
> MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
137
|
-
> NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
138
|
-
> LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
139
|
-
> OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
140
|
-
> WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
141
|
-
>
|
|
142
|
-
> ====
|
|
143
|
-
>
|
|
144
|
-
> Copyright and related rights for sample code are waived via CC0. Sample
|
|
145
|
-
> code is defined as all source code displayed within the prose of the
|
|
146
|
-
> documentation.
|
|
147
|
-
>
|
|
148
|
-
> CC0: http://creativecommons.org/publicdomain/zero/1.0/
|
|
149
|
-
>
|
|
150
|
-
> ====
|
|
151
|
-
>
|
|
152
|
-
> Files located in the node_modules and vendor directories are externally
|
|
153
|
-
> maintained libraries used by this software which have their own
|
|
154
|
-
> licenses; we recommend you read them, as their terms may differ from the
|
|
155
|
-
> terms above.
|
|
101
|
+
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
102
|
+
> SOFTWARE.
|
|
156
103
|
|
|
157
104
|
---------------------------------------
|
|
158
105
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as __require, t as __commonJSMin } from "../rolldown-runtime.mjs";
|
|
2
|
-
//#region ../../node_modules/ms/index.js
|
|
2
|
+
//#region ../../node_modules/.bun/ms@2.1.3/node_modules/ms/index.js
|
|
3
3
|
var require_ms = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
4
4
|
/**
|
|
5
5
|
* Helpers.
|
|
@@ -117,7 +117,7 @@ var require_ms = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
117
117
|
}
|
|
118
118
|
}));
|
|
119
119
|
//#endregion
|
|
120
|
-
//#region ../../node_modules/debug/src/common.js
|
|
120
|
+
//#region ../../node_modules/.bun/debug@4.4.3/node_modules/debug/src/common.js
|
|
121
121
|
var require_common = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
122
122
|
/**
|
|
123
123
|
* This is the common logic for both the Node.js and web browser
|
|
@@ -319,7 +319,7 @@ var require_common = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
319
319
|
module.exports = setup;
|
|
320
320
|
}));
|
|
321
321
|
//#endregion
|
|
322
|
-
//#region ../../node_modules/debug/src/browser.js
|
|
322
|
+
//#region ../../node_modules/.bun/debug@4.4.3/node_modules/debug/src/browser.js
|
|
323
323
|
var require_browser = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
324
324
|
/**
|
|
325
325
|
* This is the web browser implementation of `debug()`.
|
|
@@ -515,7 +515,7 @@ var require_browser = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
515
515
|
};
|
|
516
516
|
}));
|
|
517
517
|
//#endregion
|
|
518
|
-
//#region ../../node_modules/debug/src/node.js
|
|
518
|
+
//#region ../../node_modules/.bun/debug@4.4.3/node_modules/debug/src/node.js
|
|
519
519
|
var require_node = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
520
520
|
/**
|
|
521
521
|
* Module dependencies.
|
|
@@ -722,7 +722,7 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
722
722
|
};
|
|
723
723
|
}));
|
|
724
724
|
//#endregion
|
|
725
|
-
//#region ../../node_modules/debug/src/index.js
|
|
725
|
+
//#region ../../node_modules/.bun/debug@4.4.3/node_modules/debug/src/index.js
|
|
726
726
|
var require_src = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
727
727
|
/**
|
|
728
728
|
* Detect Electron renderer / nwjs process, which is node, but we should
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __commonJSMin } from "../rolldown-runtime.mjs";
|
|
2
|
-
//#region ../../node_modules/deepmerge/dist/cjs.js
|
|
2
|
+
//#region ../../node_modules/.bun/deepmerge@4.3.1/node_modules/deepmerge/dist/cjs.js
|
|
3
3
|
var require_cjs = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
4
4
|
var isMergeableObject = function isMergeableObject(value) {
|
|
5
5
|
return isNonNullObject(value) && !isSpecial(value);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
//#region ../../node_modules/.bun/es-toolkit@1.45.1/node_modules/es-toolkit/dist/predicate/isPlainObject.mjs
|
|
2
|
+
function isPlainObject(value) {
|
|
3
|
+
if (!value || typeof value !== "object") return false;
|
|
4
|
+
const proto = Object.getPrototypeOf(value);
|
|
5
|
+
if (!(proto === null || proto === Object.prototype || Object.getPrototypeOf(proto) === null)) return false;
|
|
6
|
+
return Object.prototype.toString.call(value) === "[object Object]";
|
|
7
|
+
}
|
|
8
|
+
//#endregion
|
|
9
|
+
export { isPlainObject as t };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,9 +1,17 @@
|
|
|
1
|
-
import * as vite from "vite";
|
|
2
1
|
import { Plugin } from "vite";
|
|
3
2
|
import { Runner } from "vite-plugin-run";
|
|
4
3
|
import { Options as Options$1 } from "@vitejs/plugin-vue";
|
|
5
4
|
import { DynamicConfiguration } from "@hybridly/core";
|
|
6
5
|
|
|
6
|
+
//#region src/integrations/unplugins.d.ts
|
|
7
|
+
/**
|
|
8
|
+
* Import map for auto-importing Hybridly utils.
|
|
9
|
+
*/
|
|
10
|
+
declare const hybridlyImports: {
|
|
11
|
+
'hybridly/vue': string[];
|
|
12
|
+
hybridly: string[];
|
|
13
|
+
};
|
|
14
|
+
//#endregion
|
|
7
15
|
//#region src/types.d.ts
|
|
8
16
|
interface ViteOptions {
|
|
9
17
|
/** Disables the Laravel integration. Useful if you prefer to use the official one. */
|
|
@@ -43,17 +51,8 @@ interface TsConfigOptions {
|
|
|
43
51
|
//#region src/layout/index.d.ts
|
|
44
52
|
declare const _default: (options: ViteOptions, config: DynamicConfiguration) => Plugin;
|
|
45
53
|
//#endregion
|
|
46
|
-
//#region src/integrations/unplugins.d.ts
|
|
47
|
-
/**
|
|
48
|
-
* Import map for auto-importing Hybridly utils.
|
|
49
|
-
*/
|
|
50
|
-
declare const hybridlyImports: {
|
|
51
|
-
'hybridly/vue': string[];
|
|
52
|
-
hybridly: string[];
|
|
53
|
-
};
|
|
54
|
-
//#endregion
|
|
55
54
|
//#region src/index.d.ts
|
|
56
|
-
type Options = ViteOptions | ((config: DynamicConfiguration) =>
|
|
57
|
-
declare function plugin(options?: Options): Promise<
|
|
55
|
+
type Options = ViteOptions | ((config: DynamicConfiguration) => ViteOptions | Promise<ViteOptions>);
|
|
56
|
+
declare function plugin(options?: Options): Promise<any[]>;
|
|
58
57
|
//#endregion
|
|
59
58
|
export { ViteOptions as Options, plugin as default, hybridlyImports, _default as layout };
|