@ohos-ports/rsbuild-core 2.2.9-beta.0

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.
Files changed (269) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +27 -0
  3. package/bin/rsbuild.js +20 -0
  4. package/compiled/@rstackjs/load-config/index.d.ts +87 -0
  5. package/compiled/@rstackjs/load-config/license +21 -0
  6. package/compiled/@rstackjs/load-config/package.json +1 -0
  7. package/compiled/chokidar/index.d.ts +385 -0
  8. package/compiled/chokidar/license +21 -0
  9. package/compiled/chokidar/package.json +1 -0
  10. package/compiled/connect-next/index.d.ts +57 -0
  11. package/compiled/connect-next/license +26 -0
  12. package/compiled/connect-next/package.json +1 -0
  13. package/compiled/cors/index.d.ts +56 -0
  14. package/compiled/cors/license +22 -0
  15. package/compiled/cors/package.json +1 -0
  16. package/compiled/css-loader/api.js +85 -0
  17. package/compiled/css-loader/getUrl.js +26 -0
  18. package/compiled/css-loader/index.d.ts +1 -0
  19. package/compiled/css-loader/index.js +2 -0
  20. package/compiled/css-loader/license +20 -0
  21. package/compiled/css-loader/noSourceMaps.js +5 -0
  22. package/compiled/css-loader/package.json +1 -0
  23. package/compiled/css-loader/sourceMaps.js +16 -0
  24. package/compiled/html-rspack-plugin/default_index.ejs +9 -0
  25. package/compiled/html-rspack-plugin/htmlLoader.js +157 -0
  26. package/compiled/html-rspack-plugin/index.d.ts +395 -0
  27. package/compiled/html-rspack-plugin/index.js +2400 -0
  28. package/compiled/html-rspack-plugin/license +20 -0
  29. package/compiled/html-rspack-plugin/package.json +1 -0
  30. package/compiled/http-proxy-middleware/index.d.ts +455 -0
  31. package/compiled/http-proxy-middleware/license +22 -0
  32. package/compiled/http-proxy-middleware/package.json +1 -0
  33. package/compiled/jiti/LICENSE +21 -0
  34. package/compiled/jiti/README.md +258 -0
  35. package/compiled/jiti/dist/babel.cjs +47446 -0
  36. package/compiled/jiti/dist/jiti.cjs +5990 -0
  37. package/compiled/jiti/lib/jiti-cli.mjs +19 -0
  38. package/compiled/jiti/lib/jiti-hooks.mjs +89 -0
  39. package/compiled/jiti/lib/jiti-native.mjs +76 -0
  40. package/compiled/jiti/lib/jiti-register.d.mts +1 -0
  41. package/compiled/jiti/lib/jiti-register.mjs +2 -0
  42. package/compiled/jiti/lib/jiti-static.mjs +19 -0
  43. package/compiled/jiti/lib/jiti.cjs +24 -0
  44. package/compiled/jiti/lib/jiti.d.cts +8 -0
  45. package/compiled/jiti/lib/jiti.d.mts +8 -0
  46. package/compiled/jiti/lib/jiti.mjs +23 -0
  47. package/compiled/jiti/lib/types.d.ts +420 -0
  48. package/compiled/jiti/package.json +146 -0
  49. package/compiled/postcss/index.js +1 -0
  50. package/compiled/postcss/lib/at-rule.d.ts +139 -0
  51. package/compiled/postcss/lib/comment.d.ts +67 -0
  52. package/compiled/postcss/lib/container.d.ts +474 -0
  53. package/compiled/postcss/lib/css-syntax-error.d.ts +247 -0
  54. package/compiled/postcss/lib/declaration.d.ts +150 -0
  55. package/compiled/postcss/lib/document.d.ts +68 -0
  56. package/compiled/postcss/lib/fromJSON.d.ts +9 -0
  57. package/compiled/postcss/lib/input.d.ts +226 -0
  58. package/compiled/postcss/lib/lazy-result.d.ts +189 -0
  59. package/compiled/postcss/lib/list.d.ts +60 -0
  60. package/compiled/postcss/lib/no-work-result.d.ts +45 -0
  61. package/compiled/postcss/lib/node.d.ts +555 -0
  62. package/compiled/postcss/lib/parse.d.ts +9 -0
  63. package/compiled/postcss/lib/postcss.d.ts +464 -0
  64. package/compiled/postcss/lib/previous-map.d.ts +80 -0
  65. package/compiled/postcss/lib/processor.d.ts +114 -0
  66. package/compiled/postcss/lib/result.d.ts +204 -0
  67. package/compiled/postcss/lib/root.d.ts +86 -0
  68. package/compiled/postcss/lib/rule.d.ts +126 -0
  69. package/compiled/postcss/lib/source-map-js.d.ts +4 -0
  70. package/compiled/postcss/lib/stringifier.d.ts +45 -0
  71. package/compiled/postcss/lib/stringify.d.ts +9 -0
  72. package/compiled/postcss/lib/warning.d.ts +146 -0
  73. package/compiled/postcss/license +20 -0
  74. package/compiled/postcss/package.json +1 -0
  75. package/compiled/postcss-loader/index.d.ts +1 -0
  76. package/compiled/postcss-loader/index.js +721 -0
  77. package/compiled/postcss-loader/license +20 -0
  78. package/compiled/postcss-loader/package.json +1 -0
  79. package/compiled/rslog/index.d.ts +98 -0
  80. package/compiled/rslog/license +21 -0
  81. package/compiled/rslog/package.json +1 -0
  82. package/compiled/rspack-chain/license +22 -0
  83. package/compiled/rspack-chain/package.json +1 -0
  84. package/compiled/rspack-chain/types/index.d.ts +515 -0
  85. package/compiled/rspack-manifest-plugin/index.d.ts +52 -0
  86. package/compiled/rspack-manifest-plugin/license +21 -0
  87. package/compiled/rspack-manifest-plugin/package.json +1 -0
  88. package/compiled/style-loader/index.d.ts +1 -0
  89. package/compiled/style-loader/index.js +370 -0
  90. package/compiled/style-loader/license +20 -0
  91. package/compiled/style-loader/package.json +1 -0
  92. package/compiled/style-loader/runtime/injectStylesIntoLinkTag.js +29 -0
  93. package/compiled/style-loader/runtime/injectStylesIntoStyleTag.js +84 -0
  94. package/compiled/style-loader/runtime/insertBySelector.js +34 -0
  95. package/compiled/style-loader/runtime/insertStyleElement.js +10 -0
  96. package/compiled/style-loader/runtime/isEqualLocals.js +28 -0
  97. package/compiled/style-loader/runtime/isOldIE.js +17 -0
  98. package/compiled/style-loader/runtime/setAttributesWithAttributes.js +13 -0
  99. package/compiled/style-loader/runtime/setAttributesWithAttributesAndNonce.js +9 -0
  100. package/compiled/style-loader/runtime/setAttributesWithoutAttributes.js +10 -0
  101. package/compiled/style-loader/runtime/singletonStyleDomAPI.js +86 -0
  102. package/compiled/style-loader/runtime/styleDomAPI.js +61 -0
  103. package/compiled/style-loader/runtime/styleTagTransform.js +14 -0
  104. package/compiled/ws/index.d.ts +445 -0
  105. package/compiled/ws/license +21 -0
  106. package/compiled/ws/package.json +1 -0
  107. package/dist/build.d.ts +4 -0
  108. package/dist/c.js +10 -0
  109. package/dist/chokidar.js +2 -0
  110. package/dist/chokidar.js.LICENSE.txt +1 -0
  111. package/dist/cli/commands.d.ts +31 -0
  112. package/dist/cli/index.d.ts +7 -0
  113. package/dist/cli/init.d.ts +7 -0
  114. package/dist/client/f~0.js +22 -0
  115. package/dist/client/hmr.js +267 -0
  116. package/dist/client/overlay.js +214 -0
  117. package/dist/configChain.d.ts +84 -0
  118. package/dist/connect-next.js +2 -0
  119. package/dist/connect-next.js.LICENSE.txt +57 -0
  120. package/dist/constants.d.ts +67 -0
  121. package/dist/cors.js +188 -0
  122. package/dist/cors.js.LICENSE.txt +11 -0
  123. package/dist/createCompiler.d.ts +6 -0
  124. package/dist/createContext.d.ts +12 -0
  125. package/dist/createRsbuild.d.ts +4 -0
  126. package/dist/cssUrlLoader.mjs +34 -0
  127. package/dist/defaultConfig.d.ts +23 -0
  128. package/dist/freshImport.js +90 -0
  129. package/dist/helpers/cachedImport.d.ts +2 -0
  130. package/dist/helpers/compiler.d.ts +5 -0
  131. package/dist/helpers/css.d.ts +3 -0
  132. package/dist/helpers/exitHook.d.ts +3 -0
  133. package/dist/helpers/format.d.ts +4 -0
  134. package/dist/helpers/fs.d.ts +16 -0
  135. package/dist/helpers/html.d.ts +2 -0
  136. package/dist/helpers/index.d.ts +29 -0
  137. package/dist/helpers/overlayConfig.d.ts +4 -0
  138. package/dist/helpers/packageJson.d.ts +9 -0
  139. package/dist/helpers/path.d.ts +22 -0
  140. package/dist/helpers/restartManager.d.ts +15 -0
  141. package/dist/helpers/stats.d.ts +17 -0
  142. package/dist/helpers/url.d.ts +11 -0
  143. package/dist/helpers/vendors.d.ts +12 -0
  144. package/dist/helpers/version.d.ts +7 -0
  145. package/dist/hooks.d.ts +41 -0
  146. package/dist/http-proxy-middleware.js +14 -0
  147. package/dist/http-proxy-middleware.js.LICENSE.txt +34 -0
  148. package/dist/ignoreCssLoader.mjs +9 -0
  149. package/dist/index.d.ts +28 -0
  150. package/dist/index.js +1 -0
  151. package/dist/initConfigs.d.ts +18 -0
  152. package/dist/initPlugins.d.ts +7 -0
  153. package/dist/inspectConfig.d.ts +7 -0
  154. package/dist/launch-editor-middleware.js +1 -0
  155. package/dist/loadConfig.d.ts +31 -0
  156. package/dist/loadEnv.d.ts +54 -0
  157. package/dist/loader/cssUrlLoader.d.ts +9 -0
  158. package/dist/loader/ignoreCssLoader.d.ts +10 -0
  159. package/dist/loader/transformLoader.d.ts +8 -0
  160. package/dist/loader/transformRawLoader.d.ts +4 -0
  161. package/dist/loader/workerLoader.d.ts +6 -0
  162. package/dist/logger.d.ts +24 -0
  163. package/dist/m.js +10348 -0
  164. package/dist/m.js.LICENSE.txt +26 -0
  165. package/dist/manifest-plugin.js +1 -0
  166. package/dist/memfs.js +1 -0
  167. package/dist/mergeConfig.d.ts +7 -0
  168. package/dist/open.js +2 -0
  169. package/dist/pluginHelper.d.ts +4 -0
  170. package/dist/pluginManager.d.ts +19 -0
  171. package/dist/plugins/appIcon.d.ts +2 -0
  172. package/dist/plugins/asset.d.ts +3 -0
  173. package/dist/plugins/basic.d.ts +4 -0
  174. package/dist/plugins/cache.d.ts +2 -0
  175. package/dist/plugins/cleanOutput.d.ts +2 -0
  176. package/dist/plugins/css.d.ts +8 -0
  177. package/dist/plugins/define.d.ts +2 -0
  178. package/dist/plugins/entry.d.ts +2 -0
  179. package/dist/plugins/externals.d.ts +9 -0
  180. package/dist/plugins/fileSize.d.ts +7 -0
  181. package/dist/plugins/html.d.ts +9 -0
  182. package/dist/plugins/inlineChunk.d.ts +6 -0
  183. package/dist/plugins/lazyCompilation.d.ts +2 -0
  184. package/dist/plugins/manifest.d.ts +2 -0
  185. package/dist/plugins/minimize.d.ts +10 -0
  186. package/dist/plugins/moduleFederation.d.ts +2 -0
  187. package/dist/plugins/nodeAddons.d.ts +2 -0
  188. package/dist/plugins/nonce.d.ts +2 -0
  189. package/dist/plugins/output.d.ts +2 -0
  190. package/dist/plugins/progress.d.ts +2 -0
  191. package/dist/plugins/resolve.d.ts +2 -0
  192. package/dist/plugins/resourceHints.d.ts +2 -0
  193. package/dist/plugins/rsdoctor.d.ts +2 -0
  194. package/dist/plugins/rspackProfile.d.ts +4 -0
  195. package/dist/plugins/server.d.ts +3 -0
  196. package/dist/plugins/sourceMap.d.ts +2 -0
  197. package/dist/plugins/splitChunks.d.ts +4 -0
  198. package/dist/plugins/sri.d.ts +2 -0
  199. package/dist/plugins/swc.d.ts +4 -0
  200. package/dist/plugins/target.d.ts +2 -0
  201. package/dist/plugins/wasm.d.ts +2 -0
  202. package/dist/plugins/worker.d.ts +2 -0
  203. package/dist/r.js +7 -0
  204. package/dist/range-parser.js +55 -0
  205. package/dist/range-parser.js.LICENSE.txt +6 -0
  206. package/dist/remapping.js +201 -0
  207. package/dist/restart.d.ts +15 -0
  208. package/dist/rslib-runtime.js +49 -0
  209. package/dist/rspack-plugins/RsbuildHtmlPlugin.d.ts +37 -0
  210. package/dist/rspack-plugins/resource-hints/HtmlResourceHintsPlugin.d.ts +36 -0
  211. package/dist/rspack-plugins/resource-hints/doesChunkBelongToHtml.d.ts +27 -0
  212. package/dist/rspack-plugins/resource-hints/extractChunks.d.ts +22 -0
  213. package/dist/rspack-plugins/resource-hints/getResourceType.d.ts +21 -0
  214. package/dist/rspackConfig.d.ts +8 -0
  215. package/dist/server/ansiHTML.d.ts +3 -0
  216. package/dist/server/assets-middleware/getFileFromUrl.d.ts +11 -0
  217. package/dist/server/assets-middleware/index.d.ts +35 -0
  218. package/dist/server/assets-middleware/memoryFileSystem.d.ts +2 -0
  219. package/dist/server/assets-middleware/middleware.d.ts +7 -0
  220. package/dist/server/assets-middleware/parseTokenList.d.ts +1 -0
  221. package/dist/server/assets-middleware/setupOutputFileSystem.d.ts +3 -0
  222. package/dist/server/assets-middleware/setupWriteToDisk.d.ts +15 -0
  223. package/dist/server/browserLogs.d.ts +8 -0
  224. package/dist/server/buildManager.d.ts +32 -0
  225. package/dist/server/cliShortcuts.d.ts +19 -0
  226. package/dist/server/compileState.d.ts +5 -0
  227. package/dist/server/devMiddlewares.d.ts +18 -0
  228. package/dist/server/devServer.d.ts +47 -0
  229. package/dist/server/environment.d.ts +8 -0
  230. package/dist/server/gracefulShutdown.d.ts +8 -0
  231. package/dist/server/gzipMiddleware.d.ts +2 -0
  232. package/dist/server/helper.d.ts +118 -0
  233. package/dist/server/historyApiFallback.d.ts +10 -0
  234. package/dist/server/hmrFallback.d.ts +1 -0
  235. package/dist/server/httpServer.d.ts +7 -0
  236. package/dist/server/middlewares.d.ts +31 -0
  237. package/dist/server/open.d.ts +12 -0
  238. package/dist/server/overlay.d.ts +3 -0
  239. package/dist/server/previewServer.d.ts +4 -0
  240. package/dist/server/proxy.d.ts +7 -0
  241. package/dist/server/publicPathnames.d.ts +2 -0
  242. package/dist/server/runner/asModule.d.ts +2 -0
  243. package/dist/server/runner/basic.d.ts +25 -0
  244. package/dist/server/runner/cjs.d.ts +10 -0
  245. package/dist/server/runner/esm.d.ts +6 -0
  246. package/dist/server/runner/index.d.ts +6 -0
  247. package/dist/server/runner/type.d.ts +42 -0
  248. package/dist/server/serverSetup.d.ts +2 -0
  249. package/dist/server/socketServer.d.ts +113 -0
  250. package/dist/server/watchFiles.d.ts +15 -0
  251. package/dist/sirv.js +122 -0
  252. package/dist/tinyglobby.js +1 -0
  253. package/dist/trace-mapping.js +548 -0
  254. package/dist/transformLoader.mjs +36 -0
  255. package/dist/transformRawLoader.mjs +4 -0
  256. package/dist/types/config.d.ts +1796 -0
  257. package/dist/types/context.d.ts +89 -0
  258. package/dist/types/hooks.d.ts +261 -0
  259. package/dist/types/index.d.ts +8 -0
  260. package/dist/types/plugin.d.ts +479 -0
  261. package/dist/types/rsbuild.d.ts +241 -0
  262. package/dist/types/rspack.d.ts +10 -0
  263. package/dist/types/thirdParty.d.ts +161 -0
  264. package/dist/types/utils.d.ts +16 -0
  265. package/dist/workerLoader.mjs +94 -0
  266. package/dist/ws.js +2 -0
  267. package/package.json +107 -0
  268. package/static/openChrome.applescript +95 -0
  269. package/types.d.ts +422 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023-present Bytedance, Inc. and its affiliates.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,27 @@
1
+ <p align="center">
2
+ <a href="https://rsbuild.rs" target="blank"><img src="https://assets.rspack.rs/rsbuild/rsbuild-banner.png" alt="Rsbuild Logo" /></a>
3
+ </p>
4
+
5
+ # @rsbuild/core
6
+
7
+ The Rspack-based build tool. It's fast, out-of-the-box and extensible.
8
+
9
+ <p>
10
+ <a href="https://npmjs.com/package/@rsbuild/core">
11
+ <img src="https://img.shields.io/npm/v/@rsbuild/core?style=flat-square&colorA=564341&colorB=EDED91" alt="npm version" />
12
+ </a>
13
+ <img src="https://img.shields.io/badge/License-MIT-blue.svg?style=flat-square&colorA=564341&colorB=EDED91" alt="license" />
14
+ <a href="https://npmcharts.com/compare/@rsbuild/core"><img src="https://img.shields.io/npm/dm/@rsbuild/core.svg?style=flat-square&colorA=564341&colorB=EDED91" alt="downloads" /></a>
15
+ </p>
16
+
17
+ ## Documentation
18
+
19
+ See [Documentation](https://rsbuild.rs/).
20
+
21
+ ## Contributing
22
+
23
+ Please read the [Contributing Guide](https://github.com/web-infra-dev/rsbuild/blob/main/CONTRIBUTING.md).
24
+
25
+ ## License
26
+
27
+ Rsbuild is [MIT licensed](https://github.com/web-infra-dev/rsbuild/blob/main/LICENSE).
package/bin/rsbuild.js ADDED
@@ -0,0 +1,20 @@
1
+ #!/usr/bin/env node
2
+ import nodeModule from 'node:module';
3
+
4
+ // enable on-disk code caching of all modules loaded by Node.js
5
+ // requires Nodejs >= 22.8.0
6
+ const { enableCompileCache } = nodeModule;
7
+ if (enableCompileCache) {
8
+ try {
9
+ enableCompileCache();
10
+ } catch {
11
+ // ignore errors
12
+ }
13
+ }
14
+
15
+ async function main() {
16
+ const { runCLI } = await import('../dist/index.js');
17
+ runCLI();
18
+ }
19
+
20
+ main();
@@ -0,0 +1,87 @@
1
+ type ConfigLoader = 'auto' | 'jiti' | 'native';
2
+ type ConfigFunction<Config, Params extends unknown[]> = (...params: Params) => Config | Promise<Config>;
3
+ type ConfigDefinition<Config, Params extends unknown[]> = Config | ConfigFunction<Config, Params>;
4
+ type LoadConfigOptions<Params extends unknown[] = []> = {
5
+ /**
6
+ * The root path to resolve the config file.
7
+ * @default process.cwd()
8
+ */
9
+ cwd?: string;
10
+ /**
11
+ * The path to the config file, can be a relative or absolute path.
12
+ * If `path` is not provided, the function will search for the config file in the `cwd`.
13
+ */
14
+ path?: string;
15
+ /**
16
+ * Config file names to search in `cwd` when `path` is not provided.
17
+ * Required when `path` is not provided.
18
+ * @default []
19
+ */
20
+ configFileNames?: string[];
21
+ /**
22
+ * Specify the config loader, can be `auto`, `jiti` or `native`.
23
+ * - 'auto': Use native Node.js loader first, fallback to jiti if failed
24
+ * - 'jiti': Use `jiti` as loader, which supports TypeScript and ESM out of the box
25
+ * - 'native': Use native Node.js loader, requires TypeScript support in Node.js >= 22.6
26
+ * @default 'auto'
27
+ */
28
+ loader?: ConfigLoader;
29
+ /**
30
+ * The export name to read from the config file.
31
+ * Set to `false` to execute the config file without reading exports.
32
+ * @default 'default'
33
+ */
34
+ exportName?: string | false;
35
+ /**
36
+ * Arguments passed to a function config export.
37
+ * @default []
38
+ */
39
+ configParams?: Params;
40
+ /**
41
+ * Whether to bypass module cache when loading the config.
42
+ * @default false
43
+ */
44
+ fresh?: boolean;
45
+ };
46
+ type ConfigFileMeta = {
47
+ /**
48
+ * Absolute path of the actual configuration file.
49
+ * Use `null` when no underlying configuration file was found.
50
+ */
51
+ filePath: string | null;
52
+ /**
53
+ * Absolute paths of additional configuration dependencies.
54
+ * These are merged with the adapter file and its collected dependencies.
55
+ */
56
+ dependencies?: readonly string[];
57
+ };
58
+ type LoadConfigResult<Config = unknown> = {
59
+ /**
60
+ * The loaded configuration object.
61
+ */
62
+ content: Config;
63
+ /**
64
+ * The path to the loaded configuration file, or the source set by `withConfigMeta`.
65
+ * Returns `null` if no configuration file was found, including an explicit
66
+ * `null` source set by `withConfigMeta`.
67
+ */
68
+ filePath: string | null;
69
+ /**
70
+ * Absolute paths of collected configuration dependencies. When `withConfigMeta`
71
+ * is used, also includes explicit dependencies and the loaded adapter file,
72
+ * with duplicates removed.
73
+ */
74
+ dependencies: string[];
75
+ };
76
+
77
+ /**
78
+ * Attach file metadata in place and return the original configuration object.
79
+ * Repeated calls replace the metadata. Requires an extensible, unfrozen object.
80
+ * Call this after merging the config: object spread does not preserve metadata.
81
+ */
82
+ declare function withConfigMeta<Config extends object>(config: Config, meta: ConfigFileMeta): Config;
83
+
84
+ declare function loadConfig<Config = unknown, Params extends unknown[] = []>({ cwd, path, configFileNames, loader, exportName, configParams, fresh, }?: LoadConfigOptions<Params>): Promise<LoadConfigResult<Config>>;
85
+
86
+ export { loadConfig, withConfigMeta };
87
+ export type { ConfigDefinition, ConfigFileMeta, ConfigLoader, LoadConfigOptions, LoadConfigResult };
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Rspack Contrib
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1 @@
1
+ {"name":"@rstackjs/load-config","version":"1.0.0","license":"MIT","types":"index.d.ts","type":"module"}
@@ -0,0 +1,385 @@
1
+ import { EventEmitter } from 'node:events';
2
+ import { Dirent, Stats, WatchEventType } from 'node:fs';
3
+ import { Readable } from 'node:stream';
4
+
5
+ /**
6
+ * Recursive version of readdir. Exposes a streaming API and promise API.
7
+ * Streaming API allows to use a small amount of RAM.
8
+ *
9
+ * @module
10
+ * @example
11
+ ```js
12
+ import readdirp from 'readdirp';
13
+ for await (const entry of readdirp('.')) {
14
+ const {path} = entry;
15
+ console.log(`${JSON.stringify({path})}`);
16
+ }
17
+ ```
18
+ */
19
+ /*! readdirp - MIT License (c) 2012-2019 Thorsten Lorenz, Paul Miller (https://paulmillr.com) */
20
+
21
+ /** Path in file system. */
22
+ type Path$1 = string;
23
+ /** Emitted entry. Contains relative & absolute path, basename, and either stats or dirent. */
24
+ interface EntryInfo {
25
+ path: string;
26
+ fullPath: string;
27
+ stats?: Stats;
28
+ dirent?: Dirent;
29
+ basename: string;
30
+ }
31
+ /** Path or dir entries (files) */
32
+ type PathOrDirent = Dirent | Path$1;
33
+ /** Filterer for files */
34
+ type Tester = (entryInfo: EntryInfo) => boolean;
35
+ type Predicate = string[] | string | Tester;
36
+ declare const EntryTypes: {
37
+ readonly FILE_TYPE: "files";
38
+ readonly DIR_TYPE: "directories";
39
+ readonly FILE_DIR_TYPE: "files_directories";
40
+ readonly EVERYTHING_TYPE: "all";
41
+ };
42
+ type EntryType = (typeof EntryTypes)[keyof typeof EntryTypes];
43
+ /**
44
+ * Options for readdirp.
45
+ * * type: files, directories, or both
46
+ * * lstat: whether to use symlink-friendly stat
47
+ * * depth: max depth
48
+ * * alwaysStat: whether to use stat (more resources) or dirent
49
+ * * highWaterMark: streaming param, specifies max amount of resources per entry
50
+ */
51
+ type ReaddirpOptions = {
52
+ root: string;
53
+ fileFilter?: Predicate;
54
+ directoryFilter?: Predicate;
55
+ type?: EntryType;
56
+ lstat?: boolean;
57
+ depth?: number;
58
+ alwaysStat?: boolean;
59
+ highWaterMark?: number;
60
+ };
61
+ /** Directory entry. Contains path, depth count, and files. */
62
+ interface DirEntry$1 {
63
+ files: PathOrDirent[];
64
+ depth: number;
65
+ path: Path$1;
66
+ }
67
+ /** Readable readdir stream, emitting new files as they're being listed. */
68
+ declare class ReaddirpStream extends Readable {
69
+ parents: any[];
70
+ reading: boolean;
71
+ parent?: DirEntry$1;
72
+ _stat: Function;
73
+ _maxDepth: number;
74
+ _wantsDir: boolean;
75
+ _wantsFile: boolean;
76
+ _wantsEverything: boolean;
77
+ _root: Path$1;
78
+ _isDirent: boolean;
79
+ _statsProp: 'dirent' | 'stats';
80
+ _rdOptions: {
81
+ encoding: 'utf8';
82
+ withFileTypes: boolean;
83
+ };
84
+ _fileFilter: Tester;
85
+ _directoryFilter: Tester;
86
+ constructor(options?: Partial<ReaddirpOptions>);
87
+ _read(batch: number): Promise<void>;
88
+ _exploreDir(path: Path$1, depth: number): Promise<{
89
+ files: string[] | undefined;
90
+ depth: number;
91
+ path: string;
92
+ }>;
93
+ _formatEntry(dirent: PathOrDirent, path: Path$1): Promise<EntryInfo | undefined>;
94
+ _onError(err: Error): void;
95
+ _getEntryType(entry: EntryInfo): Promise<void | '' | 'file' | 'directory'>;
96
+ _includeAsFile(entry: EntryInfo): boolean | undefined;
97
+ }
98
+
99
+ type Path = string;
100
+ declare const EVENTS: {
101
+ readonly ALL: "all";
102
+ readonly READY: "ready";
103
+ readonly ADD: "add";
104
+ readonly CHANGE: "change";
105
+ readonly ADD_DIR: "addDir";
106
+ readonly UNLINK: "unlink";
107
+ readonly UNLINK_DIR: "unlinkDir";
108
+ readonly RAW: "raw";
109
+ readonly ERROR: "error";
110
+ };
111
+ type EventName = (typeof EVENTS)[keyof typeof EVENTS];
112
+ interface WatchHandlers {
113
+ listener: (path: string) => void;
114
+ errHandler: (err: unknown) => void;
115
+ rawEmitter: (ev: WatchEventType, path: string, opts: unknown) => void;
116
+ }
117
+ /**
118
+ * @mixin
119
+ */
120
+ declare class NodeFsHandler {
121
+ fsw: FSWatcher;
122
+ _boundHandleError: (error: unknown) => void;
123
+ constructor(fsW: FSWatcher);
124
+ /**
125
+ * Watch file for changes with fs_watchFile or fs_watch.
126
+ * @param path to file or dir
127
+ * @param listener on fs change
128
+ * @returns closer for the watcher instance
129
+ */
130
+ _watchWithNodeFs(path: string, listener: (path: string, newStats?: any) => void | Promise<void>): (() => void) | undefined;
131
+ /**
132
+ * Watch a file and emit add event if warranted.
133
+ * @returns closer for the watcher instance
134
+ */
135
+ _handleFile(file: Path, stats: Stats, initialAdd: boolean): (() => void) | undefined;
136
+ /**
137
+ * Handle symlinks encountered while reading a dir.
138
+ * @param entry returned by readdirp
139
+ * @param directory path of dir being read
140
+ * @param path of this item
141
+ * @param item basename of this item
142
+ * @returns true if no more processing is needed for this entry.
143
+ */
144
+ _handleSymlink(entry: EntryInfo, directory: string, path: Path, item: string): Promise<boolean | undefined>;
145
+ _handleRead(directory: string, initialAdd: boolean, wh: WatchHelper, target: Path | undefined, dir: Path, depth: number, throttler: Throttler): Promise<unknown> | undefined;
146
+ /**
147
+ * Read directory to add / remove files from `@watched` list and re-read it on change.
148
+ * @param dir fs path
149
+ * @param stats
150
+ * @param initialAdd
151
+ * @param depth relative to user-supplied path
152
+ * @param target child path targeted for watch
153
+ * @param wh Common watch helpers for this path
154
+ * @param realpath
155
+ * @returns closer for the watcher instance.
156
+ */
157
+ _handleDir(dir: string, stats: Stats, initialAdd: boolean, depth: number, target: string | undefined, wh: WatchHelper, realpath: string): Promise<(() => void) | undefined>;
158
+ /**
159
+ * Handle added file, directory, or glob pattern.
160
+ * Delegates call to _handleFile / _handleDir after checks.
161
+ * @param path to file or ir
162
+ * @param initialAdd was the file added at watch instantiation?
163
+ * @param priorWh depth relative to user-supplied path
164
+ * @param depth Child path actually targeted for watch
165
+ * @param target Child path actually targeted for watch
166
+ */
167
+ _addToNodeFs(path: string, initialAdd: boolean, priorWh: WatchHelper | undefined, depth: number, target?: string): Promise<string | false | undefined>;
168
+ }
169
+
170
+ /*! chokidar - MIT License (c) 2012 Paul Miller (paulmillr.com) */
171
+
172
+ type AWF = {
173
+ stabilityThreshold: number;
174
+ pollInterval: number;
175
+ };
176
+ type BasicOpts = {
177
+ persistent: boolean;
178
+ ignoreInitial: boolean;
179
+ followSymlinks: boolean;
180
+ cwd?: string;
181
+ usePolling: boolean;
182
+ interval: number;
183
+ binaryInterval: number;
184
+ alwaysStat?: boolean;
185
+ depth?: number;
186
+ ignorePermissionErrors: boolean;
187
+ atomic: boolean | number;
188
+ };
189
+ type Throttler = {
190
+ timeoutObject: NodeJS.Timeout;
191
+ clear: () => void;
192
+ count: number;
193
+ };
194
+ type ChokidarOptions = Partial<BasicOpts & {
195
+ ignored: Matcher | Matcher[];
196
+ awaitWriteFinish: boolean | Partial<AWF>;
197
+ }>;
198
+ type FSWInstanceOptions = BasicOpts & {
199
+ ignored: Matcher[];
200
+ awaitWriteFinish: false | AWF;
201
+ };
202
+ type ThrottleType = 'readdir' | 'watch' | 'add' | 'remove' | 'change';
203
+ type EmitArgs = [path: Path, stats?: Stats];
204
+ type EmitErrorArgs = [error: Error, stats?: Stats];
205
+ type EmitArgsWithName = [event: EventName, ...EmitArgs];
206
+ type MatchFunction = (val: string, stats?: Stats) => boolean;
207
+ interface MatcherObject {
208
+ path: string;
209
+ recursive?: boolean;
210
+ }
211
+ type Matcher = string | RegExp | MatchFunction | MatcherObject;
212
+ /**
213
+ * Directory entry.
214
+ */
215
+ declare class DirEntry {
216
+ path: Path;
217
+ _removeWatcher: (dir: string, base: string) => void;
218
+ items: Set<Path>;
219
+ constructor(dir: Path, removeWatcher: (dir: string, base: string) => void);
220
+ add(item: string): void;
221
+ remove(item: string): Promise<void>;
222
+ has(item: string): boolean | undefined;
223
+ getChildren(): string[];
224
+ dispose(): void;
225
+ }
226
+ declare class WatchHelper {
227
+ fsw: FSWatcher;
228
+ path: string;
229
+ watchPath: string;
230
+ fullWatchPath: string;
231
+ dirParts: string[][];
232
+ followSymlinks: boolean;
233
+ statMethod: 'stat' | 'lstat';
234
+ constructor(path: string, follow: boolean, fsw: FSWatcher);
235
+ entryPath(entry: EntryInfo): Path;
236
+ filterPath(entry: EntryInfo): boolean;
237
+ filterDir(entry: EntryInfo): boolean;
238
+ }
239
+ interface FSWatcherEventMap {
240
+ [EVENTS.READY]: [];
241
+ [EVENTS.RAW]: Parameters<WatchHandlers['rawEmitter']>;
242
+ [EVENTS.ERROR]: Parameters<WatchHandlers['errHandler']>;
243
+ [EVENTS.ALL]: [event: EventName, ...EmitArgs];
244
+ [EVENTS.ADD]: EmitArgs;
245
+ [EVENTS.CHANGE]: EmitArgs;
246
+ [EVENTS.ADD_DIR]: EmitArgs;
247
+ [EVENTS.UNLINK]: EmitArgs;
248
+ [EVENTS.UNLINK_DIR]: EmitArgs;
249
+ }
250
+ /**
251
+ * Watches files & directories for changes. Emitted events:
252
+ * `add`, `addDir`, `change`, `unlink`, `unlinkDir`, `all`, `error`
253
+ *
254
+ * new FSWatcher()
255
+ * .add(directories)
256
+ * .on('add', path => log('File', path, 'was added'))
257
+ */
258
+ declare class FSWatcher extends EventEmitter<FSWatcherEventMap> {
259
+ closed: boolean;
260
+ options: FSWInstanceOptions;
261
+ _closers: Map<string, Array<any>>;
262
+ _ignoredPaths: Set<Matcher>;
263
+ _throttled: Map<ThrottleType, Map<any, any>>;
264
+ _streams: Set<ReaddirpStream>;
265
+ _symlinkPaths: Map<Path, string | boolean>;
266
+ _watched: Map<string, DirEntry>;
267
+ _pendingWrites: Map<string, any>;
268
+ _pendingUnlinks: Map<string, EmitArgsWithName>;
269
+ _readyCount: number;
270
+ _emitReady: () => void;
271
+ _closePromise?: Promise<void>;
272
+ _userIgnored?: MatchFunction;
273
+ _readyEmitted: boolean;
274
+ _emitRaw: WatchHandlers['rawEmitter'];
275
+ _boundRemove: (dir: string, item: string) => void;
276
+ _nodeFsHandler: NodeFsHandler;
277
+ constructor(_opts?: ChokidarOptions);
278
+ _addIgnoredPath(matcher: Matcher): void;
279
+ _removeIgnoredPath(matcher: Matcher): void;
280
+ /**
281
+ * Adds paths to be watched on an existing FSWatcher instance.
282
+ * @param paths_ file or file list. Other arguments are unused
283
+ */
284
+ add(paths_: Path | Path[], _origAdd?: string, _internal?: boolean): FSWatcher;
285
+ /**
286
+ * Close watchers or start ignoring events from specified paths.
287
+ */
288
+ unwatch(paths_: Path | Path[]): FSWatcher;
289
+ /**
290
+ * Close watchers and remove all listeners from watched paths.
291
+ */
292
+ close(): Promise<void>;
293
+ /**
294
+ * Expose list of watched paths
295
+ * @returns for chaining
296
+ */
297
+ getWatched(): Record<string, string[]>;
298
+ emitWithAll(event: EventName, args: EmitArgs): void;
299
+ /**
300
+ * Normalize and emit events.
301
+ * Calling _emit DOES NOT MEAN emit() would be called!
302
+ * @param event Type of event
303
+ * @param path File or directory path
304
+ * @param stats arguments to be passed with event
305
+ * @returns the error if defined, otherwise the value of the FSWatcher instance's `closed` flag
306
+ */
307
+ _emit(event: EventName, path: Path, stats?: Stats): Promise<this | undefined>;
308
+ /**
309
+ * Common handler for errors
310
+ * @returns The error if defined, otherwise the value of the FSWatcher instance's `closed` flag
311
+ */
312
+ _handleError(error: Error): Error | boolean;
313
+ /**
314
+ * Helper utility for throttling
315
+ * @param actionType type being throttled
316
+ * @param path being acted upon
317
+ * @param timeout duration of time to suppress duplicate actions
318
+ * @returns tracking object or false if action should be suppressed
319
+ */
320
+ _throttle(actionType: ThrottleType, path: Path, timeout: number): Throttler | false;
321
+ _incrReadyCount(): number;
322
+ /**
323
+ * Awaits write operation to finish.
324
+ * Polls a newly created file for size variations. When files size does not change for 'threshold' milliseconds calls callback.
325
+ * @param path being acted upon
326
+ * @param threshold Time in milliseconds a file size must be fixed before acknowledging write OP is finished
327
+ * @param event
328
+ * @param awfEmit Callback to be called when ready for event to be emitted.
329
+ */
330
+ _awaitWriteFinish(path: Path, threshold: number, event: EventName, awfEmit: (err?: Error, stat?: Stats) => void): void;
331
+ /**
332
+ * Determines whether user has asked to ignore this path.
333
+ */
334
+ _isIgnored(path: Path, stats?: Stats): boolean;
335
+ _isntIgnored(path: Path, stat?: Stats): boolean;
336
+ /**
337
+ * Provides a set of common helpers and properties relating to symlink handling.
338
+ * @param path file or directory pattern being watched
339
+ */
340
+ _getWatchHelpers(path: Path): WatchHelper;
341
+ /**
342
+ * Provides directory tracking objects
343
+ * @param directory path of the directory
344
+ */
345
+ _getWatchedDir(directory: string): DirEntry;
346
+ /**
347
+ * Check for read permissions: https://stackoverflow.com/a/11781404/1358405
348
+ */
349
+ _hasReadPermissions(stats: Stats): boolean;
350
+ /**
351
+ * Handles emitting unlink events for
352
+ * files and directories, and via recursion, for
353
+ * files and directories within directories that are unlinked
354
+ * @param directory within which the following item is located
355
+ * @param item base path of item/directory
356
+ */
357
+ _remove(directory: string, item: string, isDirectory?: boolean): void;
358
+ /**
359
+ * Closes all watchers for a path
360
+ */
361
+ _closePath(path: Path): void;
362
+ /**
363
+ * Closes only file-specific watchers
364
+ */
365
+ _closeFile(path: Path): void;
366
+ _addPathCloser(path: Path, closer: () => void): void;
367
+ _readdirp(root: Path, opts?: Partial<ReaddirpOptions>): ReaddirpStream | undefined;
368
+ }
369
+ /**
370
+ * Instantiates watcher with paths to be tracked.
371
+ * @param paths file / directory paths
372
+ * @param options opts, such as `atomic`, `awaitWriteFinish`, `ignored`, and others
373
+ * @returns an instance of FSWatcher for chaining.
374
+ * @example
375
+ * const watcher = watch('.').on('all', (event, path) => { console.log(event, path); });
376
+ * watch('.', { atomic: true, awaitWriteFinish: true, ignored: (f, stats) => stats?.isFile() && !f.endsWith('.js') })
377
+ */
378
+ declare function watch(paths: string | string[], options?: ChokidarOptions): FSWatcher;
379
+ declare const _default: {
380
+ watch: typeof watch;
381
+ FSWatcher: typeof FSWatcher;
382
+ };
383
+
384
+ export { FSWatcher, WatchHelper, _default as default, watch };
385
+ export type { AWF, ChokidarOptions, EmitArgs, EmitArgsWithName, EmitErrorArgs, FSWInstanceOptions, FSWatcherEventMap, MatchFunction, Matcher, MatcherObject, ThrottleType, Throttler };
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2012 Paul Miller (https://paulmillr.com), Elan Shanker
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the “Software”), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1 @@
1
+ {"name":"chokidar","author":"Paul Miller (https://paulmillr.com)","version":"5.0.0","funding":"https://paulmillr.com/funding/","license":"MIT","types":"index.d.ts","type":"module"}
@@ -0,0 +1,57 @@
1
+ import { EventEmitter } from 'node:events';
2
+ import * as http from 'node:http';
3
+ import { ListenOptions } from 'node:net';
4
+
5
+ /*!
6
+ * connect
7
+ * Copyright(c) 2010 Sencha Inc.
8
+ * Copyright(c) 2011 TJ Holowaychuk
9
+ * Copyright(c) 2015 Douglas Christopher Wilson
10
+ * Copyright(c) 2025 Rstackjs
11
+ * MIT Licensed
12
+ */
13
+
14
+ /**
15
+ * Public and internal Connect types.
16
+ */
17
+ interface IncomingMessage extends http.IncomingMessage {
18
+ originalUrl?: http.IncomingMessage['url'] | undefined;
19
+ }
20
+ type NextFunction = (err?: any) => void;
21
+ type SimpleHandleFunction = (req: IncomingMessage, res: http.ServerResponse) => unknown;
22
+ type NextHandleFunction = (req: IncomingMessage, res: http.ServerResponse, next: NextFunction) => unknown;
23
+ type ErrorHandleFunction = (err: any, req: IncomingMessage, res: http.ServerResponse, next: NextFunction) => unknown;
24
+ type HandleFunction = SimpleHandleFunction | NextHandleFunction | ErrorHandleFunction;
25
+ type ServerHandle = HandleFunction | http.Server;
26
+ type ListenCallback = () => void;
27
+ interface ServerStackItem {
28
+ route: string;
29
+ handle: ServerHandle;
30
+ }
31
+ interface Server extends EventEmitter {
32
+ (req: http.IncomingMessage, res: http.ServerResponse, next?: NextFunction): void;
33
+ route: string;
34
+ stack: ServerStackItem[];
35
+ handle(req: http.IncomingMessage, res: http.ServerResponse, next?: NextFunction): void;
36
+ use(fn: NextHandleFunction): Server;
37
+ use(fn: HandleFunction): Server;
38
+ use(fn: http.Server): Server;
39
+ use(route: string, fn: NextHandleFunction): Server;
40
+ use(route: string, fn: HandleFunction): Server;
41
+ use(route: string, fn: http.Server): Server;
42
+ listen(port: number, hostname?: string, backlog?: number, callback?: ListenCallback): http.Server;
43
+ listen(port: number, hostname?: string, callback?: ListenCallback): http.Server;
44
+ listen(path: string, callback?: ListenCallback): http.Server;
45
+ listen(options: ListenOptions, callback?: ListenCallback): http.Server;
46
+ listen(handle: unknown, listeningListener?: ListenCallback): http.Server;
47
+ }
48
+ /**
49
+ * Create a new connect server.
50
+ *
51
+ * @return {function}
52
+ * @public
53
+ */
54
+ declare function connect(): Server;
55
+
56
+ export { connect };
57
+ export type { ErrorHandleFunction, HandleFunction, IncomingMessage, NextFunction, NextHandleFunction, Server, ServerHandle, ServerStackItem, SimpleHandleFunction };
@@ -0,0 +1,26 @@
1
+ (The MIT License)
2
+
3
+ Copyright (c) 2010 Sencha Inc.
4
+ Copyright (c) 2011 LearnBoost
5
+ Copyright (c) 2011-2014 TJ Holowaychuk
6
+ Copyright (c) 2015 Douglas Christopher Wilson
7
+ Copyright (c) 2025 Rstackjs
8
+
9
+ Permission is hereby granted, free of charge, to any person obtaining
10
+ a copy of this software and associated documentation files (the
11
+ 'Software'), to deal in the Software without restriction, including
12
+ without limitation the rights to use, copy, modify, merge, publish,
13
+ distribute, sublicense, and/or sell copies of the Software, and to
14
+ permit persons to whom the Software is furnished to do so, subject to
15
+ the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be
18
+ included in all copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
21
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
22
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
23
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
24
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
25
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
26
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1 @@
1
+ {"name":"connect-next","author":"TJ Holowaychuk <tj@vision-media.ca> (http://tjholowaychuk.com)","version":"5.0.0","license":"MIT","types":"index.d.ts","type":"module"}