@nuxt/webpack-builder 4.2.2 → 4.3.1

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/README.md CHANGED
@@ -6,9 +6,11 @@
6
6
  <a href="https://www.npmjs.com/package/nuxt"><img src="https://img.shields.io/npm/v/nuxt.svg?style=flat&colorA=18181B&colorB=28CF8D" alt="Version"></a>
7
7
  <a href="https://www.npmjs.com/package/nuxt"><img src="https://img.shields.io/npm/dm/nuxt.svg?style=flat&colorA=18181B&colorB=28CF8D" alt="Downloads"></a>
8
8
  <a href="https://github.com/nuxt/nuxt/blob/main/LICENSE"><img src="https://img.shields.io/github/license/nuxt/nuxt.svg?style=flat&colorA=18181B&colorB=28CF8D" alt="License"></a>
9
+ <a href="https://nuxt.com/modules"><img src="https://img.shields.io/badge/dynamic/json?url=https://nuxt.com/api/v1/modules&query=$.stats.modules&label=Modules&style=flat&colorA=18181B&colorB=28CF8D" alt="Modules"></a>
9
10
  <a href="https://nuxt.com"><img src="https://img.shields.io/badge/Nuxt%20Docs-18181B?logo=nuxt" alt="Website"></a>
10
11
  <a href="https://chat.nuxt.dev"><img src="https://img.shields.io/badge/Nuxt%20Discord-18181B?logo=discord" alt="Discord"></a>
11
12
  <a href="https://securityscorecards.dev/"><img src="https://api.securityscorecards.dev/projects/github.com/nuxt/nuxt/badge" alt="Nuxt openssf scorecard score"></a>
13
+ <a href="https://deepwiki.com/nuxt/nuxt"><img src="https://deepwiki.com/badge.svg" alt="Ask DeepWiki"></a>
12
14
  </p>
13
15
 
14
16
  Nuxt is a free and open-source framework with an intuitive and extendable way to create type-safe, performant and production-grade full-stack web applications and websites with Vue.js.
@@ -21,14 +23,14 @@ It provides a number of features that make it easy to build fast, SEO-friendly,
21
23
  - Auto imports of components, composables and utils
22
24
  - TypeScript with zero configuration
23
25
  - Go full-stack with our server/ directory
24
- - Extensible with [200+ modules](https://nuxt.com/modules)
26
+ - Extensible with [300+ modules](https://nuxt.com/modules)
25
27
  - Deployment to a variety of [hosting platforms](https://nuxt.com/deploy)
26
28
  - ...[and much more](https://nuxt.com) 🚀
27
29
 
28
30
  ### Table of Contents
29
31
 
30
32
  - 🚀 [Getting Started](#getting-started)
31
- - 💻 [ Vue Development](#vue-development)
33
+ - 💻 [Vue Development](#vue-development)
32
34
  - 📖 [Documentation](#documentation)
33
35
  - 🧩 [Modules](#modules)
34
36
  - ❤️ [Contribute](#contribute)
@@ -109,7 +111,7 @@ Follow the docs to [Set Up Your Local Development Environment](https://nuxt.com/
109
111
  ## <a name="follow-us">🔗 Follow Us</a>
110
112
 
111
113
  <p valign="center">
112
- <a href="https://go.nuxt.com/discord"><img width="20px" src="https://github.com/nuxt/nuxt/blob/main/.github/assets/discord.svg" alt="Discord"></a>&nbsp;&nbsp;<a href="https://go.nuxt.com/x"><img width="20px" src="https://github.com/nuxt/nuxt/blob/main/.github/assets/twitter.svg" alt="Twitter"></a>&nbsp;&nbsp;<a href="https://go.nuxt.com/github"><img width="20px" src="https://github.com/nuxt/nuxt/blob/main/.github/assets/github.svg" alt="GitHub"></a>&nbsp;&nbsp;<a href="https://go.nuxt.com/bluesky"><img width="20px" src="https://github.com/nuxt/nuxt/blob/main/.github/assets/bluesky.svg" alt="Bluesky"></a>
114
+ <a href="https://go.nuxt.com/discord"><img width="20" src="https://github.com/nuxt/nuxt/blob/main/.github/assets/discord.svg" alt="Discord"></a>&nbsp;&nbsp;<a href="https://go.nuxt.com/x"><img width="20" src="https://github.com/nuxt/nuxt/blob/main/.github/assets/twitter.svg" alt="Twitter"></a>&nbsp;&nbsp;<a href="https://go.nuxt.com/github"><img width="20" src="https://github.com/nuxt/nuxt/blob/main/.github/assets/github.svg" alt="GitHub"></a>&nbsp;&nbsp;<a href="https://go.nuxt.com/bluesky"><img width="20" src="https://github.com/nuxt/nuxt/blob/main/.github/assets/bluesky.svg" alt="Bluesky"></a>
113
115
  </p>
114
116
 
115
117
  ## <a name="license">⚖️ License</a>
@@ -0,0 +1,115 @@
1
+ # Licenses of Bundled Dependencies
2
+
3
+ The published artifact additionally contains code with the following licenses:
4
+ MIT
5
+
6
+ # Bundled Dependencies
7
+
8
+ ## @nuxt/schema
9
+
10
+ License: MIT
11
+ Repository: https://github.com/nuxt/nuxt
12
+
13
+ > The MIT License (MIT)
14
+ >
15
+ > Copyright (c) 2016-present - Nuxt Team
16
+ >
17
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
18
+ > of this software and associated documentation files (the "Software"), to deal
19
+ > in the Software without restriction, including without limitation the rights
20
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
21
+ > copies of the Software, and to permit persons to whom the Software is
22
+ > furnished to do so, subject to the following conditions:
23
+ >
24
+ > The above copyright notice and this permission notice shall be included in all
25
+ > copies or substantial portions of the Software.
26
+ >
27
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
28
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
29
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
30
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
31
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
32
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
33
+ > SOFTWARE.
34
+
35
+ ---------------------------------------
36
+
37
+ ## @vue/shared
38
+
39
+ License: MIT
40
+ By: Evan You
41
+ Repository: https://github.com/vuejs/core
42
+
43
+ > The MIT License (MIT)
44
+ >
45
+ > Copyright (c) 2018-present, Yuxi (Evan) You
46
+ >
47
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
48
+ > of this software and associated documentation files (the "Software"), to deal
49
+ > in the Software without restriction, including without limitation the rights
50
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
51
+ > copies of the Software, and to permit persons to whom the Software is
52
+ > furnished to do so, subject to the following conditions:
53
+ >
54
+ > The above copyright notice and this permission notice shall be included in
55
+ > all copies or substantial portions of the Software.
56
+ >
57
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
58
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
59
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
60
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
61
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
62
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
63
+ > THE SOFTWARE.
64
+
65
+ ---------------------------------------
66
+
67
+ ## pkg-types
68
+
69
+ License: MIT
70
+ Repository: https://github.com/unjs/pkg-types
71
+
72
+ > MIT License
73
+ >
74
+ > Copyright (c) Pooya Parsa <pooya@pi0.io> - Daniel Roe <daniel@roe.dev>
75
+ >
76
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
77
+ > of this software and associated documentation files (the "Software"), to deal
78
+ > in the Software without restriction, including without limitation the rights
79
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
80
+ > copies of the Software, and to permit persons to whom the Software is
81
+ > furnished to do so, subject to the following conditions:
82
+ >
83
+ > The above copyright notice and this permission notice shall be included in all
84
+ > copies or substantial portions of the Software.
85
+ >
86
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
87
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
88
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
89
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
90
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
91
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
92
+ > SOFTWARE.
93
+ >
94
+ > --------------------------------------------------------------------------------
95
+ >
96
+ > Copyright Joyent, Inc. and other Node contributors.
97
+ >
98
+ > Permission is hereby granted, free of charge, to any person obtaining a
99
+ > copy of this software and associated documentation files (the
100
+ > "Software"), to deal in the Software without restriction, including
101
+ > without limitation the rights to use, copy, modify, merge, publish,
102
+ > distribute, sublicense, and/or sell copies of the Software, and to permit
103
+ > persons to whom the Software is furnished to do so, subject to the
104
+ > following conditions:
105
+ >
106
+ > The above copyright notice and this permission notice shall be included
107
+ > in all copies or substantial portions of the Software.
108
+ >
109
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
110
+ > OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
111
+ > MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
112
+ > NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
113
+ > DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
114
+ > OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
115
+ > USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,119 @@
1
+ //#region ../../node_modules/.pnpm/@vue+shared@3.5.27/node_modules/@vue/shared/dist/shared.d.ts
2
+ /**
3
+ * Patch flags are optimization hints generated by the compiler.
4
+ * when a block with dynamicChildren is encountered during diff, the algorithm
5
+ * enters "optimized mode". In this mode, we know that the vdom is produced by
6
+ * a render function generated by the compiler, so the algorithm only needs to
7
+ * handle updates explicitly marked by these patch flags.
8
+ *
9
+ * Patch flags can be combined using the | bitwise operator and can be checked
10
+ * using the & operator, e.g.
11
+ *
12
+ * ```js
13
+ * const flag = TEXT | CLASS
14
+ * if (flag & TEXT) { ... }
15
+ * ```
16
+ *
17
+ * Check the `patchElement` function in '../../runtime-core/src/renderer.ts' to see how the
18
+ * flags are handled during diff.
19
+ */
20
+ declare enum PatchFlags {
21
+ /**
22
+ * Indicates an element with dynamic textContent (children fast path)
23
+ */
24
+ TEXT = 1,
25
+ /**
26
+ * Indicates an element with dynamic class binding.
27
+ */
28
+ CLASS = 2,
29
+ /**
30
+ * Indicates an element with dynamic style
31
+ * The compiler pre-compiles static string styles into static objects
32
+ * + detects and hoists inline static objects
33
+ * e.g. `style="color: red"` and `:style="{ color: 'red' }"` both get hoisted
34
+ * as:
35
+ * ```js
36
+ * const style = { color: 'red' }
37
+ * render() { return e('div', { style }) }
38
+ * ```
39
+ */
40
+ STYLE = 4,
41
+ /**
42
+ * Indicates an element that has non-class/style dynamic props.
43
+ * Can also be on a component that has any dynamic props (includes
44
+ * class/style). when this flag is present, the vnode also has a dynamicProps
45
+ * array that contains the keys of the props that may change so the runtime
46
+ * can diff them faster (without having to worry about removed props)
47
+ */
48
+ PROPS = 8,
49
+ /**
50
+ * Indicates an element with props with dynamic keys. When keys change, a full
51
+ * diff is always needed to remove the old key. This flag is mutually
52
+ * exclusive with CLASS, STYLE and PROPS.
53
+ */
54
+ FULL_PROPS = 16,
55
+ /**
56
+ * Indicates an element that requires props hydration
57
+ * (but not necessarily patching)
58
+ * e.g. event listeners & v-bind with prop modifier
59
+ */
60
+ NEED_HYDRATION = 32,
61
+ /**
62
+ * Indicates a fragment whose children order doesn't change.
63
+ */
64
+ STABLE_FRAGMENT = 64,
65
+ /**
66
+ * Indicates a fragment with keyed or partially keyed children
67
+ */
68
+ KEYED_FRAGMENT = 128,
69
+ /**
70
+ * Indicates a fragment with unkeyed children.
71
+ */
72
+ UNKEYED_FRAGMENT = 256,
73
+ /**
74
+ * Indicates an element that only needs non-props patching, e.g. ref or
75
+ * directives (onVnodeXXX hooks). since every patched vnode checks for refs
76
+ * and onVnodeXXX hooks, it simply marks the vnode so that a parent block
77
+ * will track it.
78
+ */
79
+ NEED_PATCH = 512,
80
+ /**
81
+ * Indicates a component with dynamic slots (e.g. slot that references a v-for
82
+ * iterated value, or dynamic slot names).
83
+ * Components with this flag are always force updated.
84
+ */
85
+ DYNAMIC_SLOTS = 1024,
86
+ /**
87
+ * Indicates a fragment that was created only because the user has placed
88
+ * comments at the root level of a template. This is a dev-only flag since
89
+ * comments are stripped in production.
90
+ */
91
+ DEV_ROOT_FRAGMENT = 2048,
92
+ /**
93
+ * SPECIAL FLAGS -------------------------------------------------------------
94
+ * Special flags are negative integers. They are never matched against using
95
+ * bitwise operators (bitwise matching should only happen in branches where
96
+ * patchFlag > 0), and are mutually exclusive. When checking for a special
97
+ * flag, simply check patchFlag === FLAG.
98
+ */
99
+ /**
100
+ * Indicates a cached static vnode. This is also a hint for hydration to skip
101
+ * the entire sub tree since static content never needs to be updated.
102
+ */
103
+ CACHED = -1,
104
+ /**
105
+ * A special flag that indicates that the diffing algorithm should bail out
106
+ * of optimized mode. For example, on block fragments created by renderSlot()
107
+ * when encountering non-compiler generated slots (i.e. manually written
108
+ * render functions, which should always be fully diffed)
109
+ * OR manually cloneVNodes
110
+ */
111
+ BAIL = -2
112
+ }
113
+ declare function generateCodeFrame(source: string, start?: number, end?: number): string;
114
+ type Prettify<T> = { [K in keyof T]: T[K] } & {};
115
+ type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends ((k: infer I) => void) ? I : never;
116
+ type LooseRequired<T> = { [P in keyof (T & Required<T>)]: T[P] };
117
+ type IfAny<T, Y, N> = 0 extends 1 & T ? Y : N;
118
+ //#endregion
119
+ export { UnionToIntersection as a, Prettify as i, LooseRequired as n, generateCodeFrame as o, PatchFlags as r, IfAny as t };
@@ -0,0 +1,23 @@
1
+ import "exsolve";
2
+
3
+ //#region ../../node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.d.mts
4
+ type StripEnums<T extends Record<string, any>> = { [K in keyof T]: T[K] extends boolean ? T[K] : T[K] extends string ? T[K] : T[K] extends object ? T[K] : T[K] extends Array<any> ? T[K] : T[K] extends undefined ? undefined : any };
5
+ interface TSConfig {
6
+ compilerOptions?: StripEnums<CompilerOptions>;
7
+ exclude?: string[];
8
+ compileOnSave?: boolean;
9
+ extends?: string | string[];
10
+ files?: string[];
11
+ include?: string[];
12
+ typeAcquisition?: TypeAcquisition;
13
+ references?: {
14
+ path: string;
15
+ }[];
16
+ }
17
+ /**
18
+ * Defines a TSConfig structure.
19
+ * @param tsconfig - The contents of `tsconfig.json` as an object. See {@link TSConfig}.
20
+ * @returns the same `tsconfig.json` object.
21
+ */
22
+ //#endregion
23
+ export { TSConfig as t };