powerlines 0.40.20 → 0.41.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.
Files changed (58) hide show
  1. package/README.md +3 -2
  2. package/dist/{api-BESwNTu1.cjs → api-BW8H3yUM.cjs} +65 -14
  3. package/dist/{api-DVNFobLD.mjs → api-D21cVOiK.mjs} +66 -15
  4. package/dist/api-D21cVOiK.mjs.map +1 -0
  5. package/dist/astro.cjs +2 -2
  6. package/dist/astro.mjs +2 -2
  7. package/dist/context/index.cjs +1 -1
  8. package/dist/context/index.mjs +1 -1
  9. package/dist/{esbuild-84-wpkWu.mjs → esbuild-CJ9K3dGj.mjs} +2 -2
  10. package/dist/{esbuild-84-wpkWu.mjs.map → esbuild-CJ9K3dGj.mjs.map} +1 -1
  11. package/dist/{esbuild-1XefRwHm.cjs → esbuild-b0xlEllw.cjs} +1 -1
  12. package/dist/esbuild.cjs +2 -2
  13. package/dist/esbuild.mjs +2 -2
  14. package/dist/farm.cjs +1 -1
  15. package/dist/farm.mjs +1 -1
  16. package/dist/index.cjs +1 -1
  17. package/dist/index.mjs +1 -1
  18. package/dist/next.cjs +2 -2
  19. package/dist/next.mjs +2 -2
  20. package/dist/nuxt.cjs +3 -3
  21. package/dist/nuxt.mjs +3 -3
  22. package/dist/{rolldown-CTf5NRft.cjs → rolldown-BCkDg8D_.cjs} +1 -1
  23. package/dist/{rolldown-CCW9um3c.mjs → rolldown-Q3Wb2_3B.mjs} +2 -2
  24. package/dist/{rolldown-CCW9um3c.mjs.map → rolldown-Q3Wb2_3B.mjs.map} +1 -1
  25. package/dist/rolldown.cjs +2 -2
  26. package/dist/rolldown.mjs +2 -2
  27. package/dist/rollup.cjs +1 -1
  28. package/dist/rollup.mjs +1 -1
  29. package/dist/rspack.cjs +1 -1
  30. package/dist/rspack.mjs +1 -1
  31. package/dist/storage/index.d.cts.map +1 -1
  32. package/dist/tsdown.cjs +2 -2
  33. package/dist/tsdown.mjs +2 -2
  34. package/dist/tsup.cjs +2 -2
  35. package/dist/tsup.mjs +2 -2
  36. package/dist/unloader.cjs +1 -1
  37. package/dist/unloader.mjs +1 -1
  38. package/dist/unplugin.cjs +1 -1
  39. package/dist/unplugin.mjs +1 -1
  40. package/dist/{vite-BEFn-UDD.mjs → vite-CHNHlbcn.mjs} +2 -2
  41. package/dist/{vite-BEFn-UDD.mjs.map → vite-CHNHlbcn.mjs.map} +1 -1
  42. package/dist/{vite-DeBLOF8V.cjs → vite-CI8GXLJT.cjs} +1 -1
  43. package/dist/vite.cjs +2 -2
  44. package/dist/vite.mjs +2 -2
  45. package/dist/{webpack-D8R3jqLK.cjs → webpack-DCCHEoZ_.cjs} +1 -1
  46. package/dist/{webpack-Bs3j748Y.mjs → webpack-DS6vD_y6.mjs} +2 -2
  47. package/dist/{webpack-Bs3j748Y.mjs.map → webpack-DS6vD_y6.mjs.map} +1 -1
  48. package/dist/webpack.cjs +2 -2
  49. package/dist/webpack.mjs +2 -2
  50. package/files/application/README.md.hbs +16 -42
  51. package/files/application/package.json.hbs +7 -28
  52. package/files/common/jest.config.ts.hbs +2 -3
  53. package/files/common/tsconfig.json.hbs +5 -10
  54. package/files/common/tsconfig.spec.json.hbs +3 -13
  55. package/files/library/README.md.hbs +11 -34
  56. package/files/library/package.json.hbs +9 -32
  57. package/package.json +16 -15
  58. package/dist/api-DVNFobLD.mjs.map +0 -1
package/dist/vite.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import "./api-DVNFobLD.mjs";
1
+ import "./api-D21cVOiK.mjs";
2
2
  import "./tsconfig-B92heKit.mjs";
3
3
  import "./plugin-utils-C3HnZJl1.mjs";
4
4
  import "./plugin-E5foRD0k.mjs";
@@ -10,6 +10,6 @@ import "./virtual-B9imjOqe.mjs";
10
10
  import "./resolve-options-DHL3RM8F.mjs";
11
11
  import "./resolve-options-6sXFqzEA.mjs";
12
12
  import "./resolve-options-D-RGs8j8.mjs";
13
- import { n as vite_default, r as src_default, t as unplugin } from "./vite-BEFn-UDD.mjs";
13
+ import { n as vite_default, r as src_default, t as unplugin } from "./vite-CHNHlbcn.mjs";
14
14
 
15
15
  export { vite_default as default, unplugin as "module.exports", unplugin, src_default as plugin, src_default as vite };
@@ -1,5 +1,5 @@
1
1
  const require_chunk = require('./chunk-CbDLau6x.cjs');
2
- const require_api = require('./api-BESwNTu1.cjs');
2
+ const require_api = require('./api-BW8H3yUM.cjs');
3
3
  let __stryke_path_join_paths = require("@stryke/path/join-paths");
4
4
  let defu = require("defu");
5
5
  defu = require_chunk.__toESM(defu);
@@ -1,4 +1,4 @@
1
- import { a as createUnpluginFactory, o as createUnplugin } from "./api-DVNFobLD.mjs";
1
+ import { a as createUnpluginFactory, o as createUnplugin } from "./api-D21cVOiK.mjs";
2
2
  import { joinPaths } from "@stryke/path/join-paths";
3
3
  import defu from "defu";
4
4
  import { createWebpackPlugin } from "unplugin";
@@ -85,4 +85,4 @@ var webpack_default = unplugin;
85
85
 
86
86
  //#endregion
87
87
  export { webpack_default as n, src_default as r, unplugin as t };
88
- //# sourceMappingURL=webpack-Bs3j748Y.mjs.map
88
+ //# sourceMappingURL=webpack-DS6vD_y6.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"webpack-Bs3j748Y.mjs","names":["createWebpackPlugin","createWebpackUnplugin","createWebpackPlugin"],"sources":["../../plugin-webpack/src/helpers/resolve-options.ts","../../plugin-webpack/src/helpers/unplugin.ts","../../plugin-webpack/src/index.ts","../src/webpack.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { Context } from \"@powerlines/core\";\nimport { joinPaths } from \"@stryke/path/join-paths\";\nimport defu from \"defu\";\nimport type { Configuration as ExternalWebpackOptions } from \"webpack\";\nimport { WebpackPluginResolvedConfig } from \"../types\";\n\n/**\n * Resolves the options for [webpack](https://webpack.js.org/).\n *\n * @param context - The build context.\n * @returns The resolved options.\n */\nexport function resolveOptions(context: Context): ExternalWebpackOptions {\n return defu(\n {\n resolve: {\n alias: context.alias\n }\n },\n (context.config as WebpackPluginResolvedConfig).webpack\n ? (context.config as WebpackPluginResolvedConfig).webpack\n : {},\n {\n output: {\n path: joinPaths(\n context.workspaceConfig.workspaceRoot,\n context.config.output.buildPath\n )\n },\n name: context.config.name,\n plugins:\n (context.config as WebpackPluginResolvedConfig).webpack?.plugins ?? [],\n node:\n context.config.platform === \"node\"\n ? ({\n __dirname: true,\n __filename: true,\n global: true\n } as ExternalWebpackOptions[\"node\"])\n : false,\n mode:\n context.config.mode === \"development\"\n ? (\"development\" as const)\n : (\"production\" as const),\n cache: {\n type: \"filesystem\" as const,\n cacheDirectory: joinPaths(context.cachePath, \"webpack\", \"cache\")\n },\n recordsInputPath: joinPaths(\n context.cachePath,\n \"webpack\",\n \".webpack-records.json\"\n ),\n recordsOutputPath: joinPaths(\n context.cachePath,\n \"webpack\",\n \".webpack-records.json\"\n ),\n context: joinPaths(\n context.workspaceConfig.workspaceRoot,\n context.config.root\n ),\n noExternal: context.builtins,\n devtool: (context.config.mode !== \"development\"\n ? false\n : \"source-map\") as string | false,\n optimization: {\n minimize: context.config.mode !== \"development\"\n }\n }\n );\n}\n","/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { createUnplugin } from \"@powerlines/core/lib/unplugin\";\nimport { createWebpackPlugin as createWebpackUnplugin } from \"unplugin\";\nimport { WebpackPluginContext } from \"../types/plugin\";\n\nexport function createWebpackPlugin(context: WebpackPluginContext) {\n return createWebpackUnplugin(createUnplugin(context))({});\n}\n","/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { Plugin } from \"@powerlines/core\";\nimport defu from \"defu\";\nimport build from \"webpack\";\nimport { resolveOptions } from \"./helpers/resolve-options\";\nimport { createWebpackPlugin } from \"./helpers/unplugin\";\nimport {\n WebpackPluginContext,\n WebpackPluginOptions,\n WebpackPluginResolvedConfig\n} from \"./types/plugin\";\n\nexport * from \"./helpers\";\nexport * from \"./types\";\n\ndeclare module \"@powerlines/core\" {\n interface Config {\n webpack?: WebpackPluginOptions;\n }\n}\n\n/**\n * A Powerlines plugin to assist in developing other Powerlines plugins.\n */\nexport const plugin = <\n TContext extends WebpackPluginContext = WebpackPluginContext\n>(\n options: WebpackPluginOptions = {}\n): Plugin<TContext> => {\n return {\n name: \"webpack\",\n config() {\n this.trace(\n \"Providing default configuration for the Powerlines `webpack` build plugin.\"\n );\n\n return {\n webpack: {\n ...options\n }\n } as Partial<WebpackPluginResolvedConfig>;\n },\n async build() {\n build(\n defu(\n {\n entry: this.entry.reduce(\n (ret, entry) => {\n ret[entry.output || entry.name || entry.file] = entry.file;\n\n return ret;\n },\n {} as Record<string, string>\n )\n },\n resolveOptions(this),\n {\n plugins: [createWebpackPlugin(this)]\n }\n )\n );\n }\n };\n};\n\nexport default plugin;\n","/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { WebpackPluginUserConfig } from \"@powerlines/plugin-webpack/types/plugin\";\nimport { createWebpackPlugin } from \"unplugin\";\nimport { createUnpluginFactory } from \"./unplugin\";\n\nexport {\n default as plugin,\n default as webpack\n} from \"@powerlines/plugin-webpack\";\n\n/**\n * An Webpack plugin that will invoke the Powerlines API hooks during the build process.\n *\n * @see https://webpack.js.org/contribute/writing-a-plugin/#basic-plugin-architecture\n *\n * @example\n * ```js\n * // webpack.config.js\n * import powerlines from \"powerlines/webpack\";\n *\n * export default {\n * plugins: [powerlines({ name: \"example-app\", ... })],\n * }\n * ```\n */\nexport const unplugin = createWebpackPlugin<Partial<WebpackPluginUserConfig>>(\n createUnpluginFactory(\"webpack\")\n);\n\nexport default unplugin;\n\nexport { unplugin as \"module.exports\" };\n"],"mappings":";;;;;;;;;;;;;AA8BA,SAAgB,eAAe,SAA0C;AACvE,QAAO,KACL,EACE,SAAS,EACP,OAAO,QAAQ,OAChB,EACF,EACA,QAAQ,OAAuC,UAC3C,QAAQ,OAAuC,UAChD,EAAE,EACN;EACE,QAAQ,EACN,MAAM,UACJ,QAAQ,gBAAgB,eACxB,QAAQ,OAAO,OAAO,UACvB,EACF;EACD,MAAM,QAAQ,OAAO;EACrB,SACG,QAAQ,OAAuC,SAAS,WAAW,EAAE;EACxE,MACE,QAAQ,OAAO,aAAa,SACvB;GACC,WAAW;GACX,YAAY;GACZ,QAAQ;GACT,GACD;EACN,MACE,QAAQ,OAAO,SAAS,gBACnB,gBACA;EACP,OAAO;GACL,MAAM;GACN,gBAAgB,UAAU,QAAQ,WAAW,WAAW,QAAQ;GACjE;EACD,kBAAkB,UAChB,QAAQ,WACR,WACA,wBACD;EACD,mBAAmB,UACjB,QAAQ,WACR,WACA,wBACD;EACD,SAAS,UACP,QAAQ,gBAAgB,eACxB,QAAQ,OAAO,KAChB;EACD,YAAY,QAAQ;EACpB,SAAU,QAAQ,OAAO,SAAS,gBAC9B,QACA;EACJ,cAAc,EACZ,UAAU,QAAQ,OAAO,SAAS,eACnC;EACF,CACF;;;;;AClEH,SAAgBA,sBAAoB,SAA+B;AACjE,QAAOC,oBAAsB,eAAe,QAAQ,CAAC,CAAC,EAAE,CAAC;;;;;;;;ACkB3D,MAAa,UAGX,UAAgC,EAAE,KACb;AACrB,QAAO;EACL,MAAM;EACN,SAAS;AACP,QAAK,MACH,6EACD;AAED,UAAO,EACL,SAAS,EACP,GAAG,SACJ,EACF;;EAEH,MAAM,QAAQ;AACZ,SACE,KACE,EACE,OAAO,KAAK,MAAM,QACf,KAAK,UAAU;AACd,QAAI,MAAM,UAAU,MAAM,QAAQ,MAAM,QAAQ,MAAM;AAEtD,WAAO;MAET,EAAE,CACH,EACF,EACD,eAAe,KAAK,EACpB,EACE,SAAS,CAACC,sBAAoB,KAAK,CAAC,EACrC,CACF,CACF;;EAEJ;;AAGH,kBAAe;;;;;;;;;;;;;;;;;;;ACxCf,MAAa,WAAW,oBACtB,sBAAsB,UAAU,CACjC;AAED,sBAAe"}
1
+ {"version":3,"file":"webpack-DS6vD_y6.mjs","names":["createWebpackPlugin","createWebpackUnplugin","createWebpackPlugin"],"sources":["../../plugin-webpack/src/helpers/resolve-options.ts","../../plugin-webpack/src/helpers/unplugin.ts","../../plugin-webpack/src/index.ts","../src/webpack.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { Context } from \"@powerlines/core\";\nimport { joinPaths } from \"@stryke/path/join-paths\";\nimport defu from \"defu\";\nimport type { Configuration as ExternalWebpackOptions } from \"webpack\";\nimport { WebpackPluginResolvedConfig } from \"../types\";\n\n/**\n * Resolves the options for [webpack](https://webpack.js.org/).\n *\n * @param context - The build context.\n * @returns The resolved options.\n */\nexport function resolveOptions(context: Context): ExternalWebpackOptions {\n return defu(\n {\n resolve: {\n alias: context.alias\n }\n },\n (context.config as WebpackPluginResolvedConfig).webpack\n ? (context.config as WebpackPluginResolvedConfig).webpack\n : {},\n {\n output: {\n path: joinPaths(\n context.workspaceConfig.workspaceRoot,\n context.config.output.buildPath\n )\n },\n name: context.config.name,\n plugins:\n (context.config as WebpackPluginResolvedConfig).webpack?.plugins ?? [],\n node:\n context.config.platform === \"node\"\n ? ({\n __dirname: true,\n __filename: true,\n global: true\n } as ExternalWebpackOptions[\"node\"])\n : false,\n mode:\n context.config.mode === \"development\"\n ? (\"development\" as const)\n : (\"production\" as const),\n cache: {\n type: \"filesystem\" as const,\n cacheDirectory: joinPaths(context.cachePath, \"webpack\", \"cache\")\n },\n recordsInputPath: joinPaths(\n context.cachePath,\n \"webpack\",\n \".webpack-records.json\"\n ),\n recordsOutputPath: joinPaths(\n context.cachePath,\n \"webpack\",\n \".webpack-records.json\"\n ),\n context: joinPaths(\n context.workspaceConfig.workspaceRoot,\n context.config.root\n ),\n noExternal: context.builtins,\n devtool: (context.config.mode !== \"development\"\n ? false\n : \"source-map\") as string | false,\n optimization: {\n minimize: context.config.mode !== \"development\"\n }\n }\n );\n}\n","/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { createUnplugin } from \"@powerlines/core/lib/unplugin\";\nimport { createWebpackPlugin as createWebpackUnplugin } from \"unplugin\";\nimport { WebpackPluginContext } from \"../types/plugin\";\n\nexport function createWebpackPlugin(context: WebpackPluginContext) {\n return createWebpackUnplugin(createUnplugin(context))({});\n}\n","/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { Plugin } from \"@powerlines/core\";\nimport defu from \"defu\";\nimport build from \"webpack\";\nimport { resolveOptions } from \"./helpers/resolve-options\";\nimport { createWebpackPlugin } from \"./helpers/unplugin\";\nimport {\n WebpackPluginContext,\n WebpackPluginOptions,\n WebpackPluginResolvedConfig\n} from \"./types/plugin\";\n\nexport * from \"./helpers\";\nexport * from \"./types\";\n\ndeclare module \"@powerlines/core\" {\n interface Config {\n webpack?: WebpackPluginOptions;\n }\n}\n\n/**\n * A Powerlines plugin to assist in developing other Powerlines plugins.\n */\nexport const plugin = <\n TContext extends WebpackPluginContext = WebpackPluginContext\n>(\n options: WebpackPluginOptions = {}\n): Plugin<TContext> => {\n return {\n name: \"webpack\",\n config() {\n this.trace(\n \"Providing default configuration for the Powerlines `webpack` build plugin.\"\n );\n\n return {\n webpack: {\n ...options\n }\n } as Partial<WebpackPluginResolvedConfig>;\n },\n async build() {\n build(\n defu(\n {\n entry: this.entry.reduce(\n (ret, entry) => {\n ret[entry.output || entry.name || entry.file] = entry.file;\n\n return ret;\n },\n {} as Record<string, string>\n )\n },\n resolveOptions(this),\n {\n plugins: [createWebpackPlugin(this)]\n }\n )\n );\n }\n };\n};\n\nexport default plugin;\n","/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { WebpackPluginUserConfig } from \"@powerlines/plugin-webpack/types/plugin\";\nimport { createWebpackPlugin } from \"unplugin\";\nimport { createUnpluginFactory } from \"./unplugin\";\n\nexport {\n default as plugin,\n default as webpack\n} from \"@powerlines/plugin-webpack\";\n\n/**\n * An Webpack plugin that will invoke the Powerlines API hooks during the build process.\n *\n * @see https://webpack.js.org/contribute/writing-a-plugin/#basic-plugin-architecture\n *\n * @example\n * ```js\n * // webpack.config.js\n * import powerlines from \"powerlines/webpack\";\n *\n * export default {\n * plugins: [powerlines({ name: \"example-app\", ... })],\n * }\n * ```\n */\nexport const unplugin = createWebpackPlugin<Partial<WebpackPluginUserConfig>>(\n createUnpluginFactory(\"webpack\")\n);\n\nexport default unplugin;\n\nexport { unplugin as \"module.exports\" };\n"],"mappings":";;;;;;;;;;;;;AA8BA,SAAgB,eAAe,SAA0C;AACvE,QAAO,KACL,EACE,SAAS,EACP,OAAO,QAAQ,OAChB,EACF,EACA,QAAQ,OAAuC,UAC3C,QAAQ,OAAuC,UAChD,EAAE,EACN;EACE,QAAQ,EACN,MAAM,UACJ,QAAQ,gBAAgB,eACxB,QAAQ,OAAO,OAAO,UACvB,EACF;EACD,MAAM,QAAQ,OAAO;EACrB,SACG,QAAQ,OAAuC,SAAS,WAAW,EAAE;EACxE,MACE,QAAQ,OAAO,aAAa,SACvB;GACC,WAAW;GACX,YAAY;GACZ,QAAQ;GACT,GACD;EACN,MACE,QAAQ,OAAO,SAAS,gBACnB,gBACA;EACP,OAAO;GACL,MAAM;GACN,gBAAgB,UAAU,QAAQ,WAAW,WAAW,QAAQ;GACjE;EACD,kBAAkB,UAChB,QAAQ,WACR,WACA,wBACD;EACD,mBAAmB,UACjB,QAAQ,WACR,WACA,wBACD;EACD,SAAS,UACP,QAAQ,gBAAgB,eACxB,QAAQ,OAAO,KAChB;EACD,YAAY,QAAQ;EACpB,SAAU,QAAQ,OAAO,SAAS,gBAC9B,QACA;EACJ,cAAc,EACZ,UAAU,QAAQ,OAAO,SAAS,eACnC;EACF,CACF;;;;;AClEH,SAAgBA,sBAAoB,SAA+B;AACjE,QAAOC,oBAAsB,eAAe,QAAQ,CAAC,CAAC,EAAE,CAAC;;;;;;;;ACkB3D,MAAa,UAGX,UAAgC,EAAE,KACb;AACrB,QAAO;EACL,MAAM;EACN,SAAS;AACP,QAAK,MACH,6EACD;AAED,UAAO,EACL,SAAS,EACP,GAAG,SACJ,EACF;;EAEH,MAAM,QAAQ;AACZ,SACE,KACE,EACE,OAAO,KAAK,MAAM,QACf,KAAK,UAAU;AACd,QAAI,MAAM,UAAU,MAAM,QAAQ,MAAM,QAAQ,MAAM;AAEtD,WAAO;MAET,EAAE,CACH,EACF,EACD,eAAe,KAAK,EACpB,EACE,SAAS,CAACC,sBAAoB,KAAK,CAAC,EACrC,CACF,CACF;;EAEJ;;AAGH,kBAAe;;;;;;;;;;;;;;;;;;;ACxCf,MAAa,WAAW,oBACtB,sBAAsB,UAAU,CACjC;AAED,sBAAe"}
package/dist/webpack.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
- require('./api-BESwNTu1.cjs');
2
+ require('./api-BW8H3yUM.cjs');
3
3
  require('./tsconfig-C8M8X6U0.cjs');
4
4
  require('./plugin-utils-Ck3cx3w6.cjs');
5
5
  require('./plugin-CZ_PJPpQ.cjs');
@@ -8,7 +8,7 @@ require('./constants-CZh5rsgh.cjs');
8
8
  require('./config-D86Vw7SC.cjs');
9
9
  require('./utils-BbDma_5Y.cjs');
10
10
  require('./virtual-B1MLgqnQ.cjs');
11
- const require_webpack = require('./webpack-D8R3jqLK.cjs');
11
+ const require_webpack = require('./webpack-DCCHEoZ_.cjs');
12
12
 
13
13
  exports.default = require_webpack.webpack_default;
14
14
  exports["module.exports"] = require_webpack.unplugin;
package/dist/webpack.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import "./api-DVNFobLD.mjs";
1
+ import "./api-D21cVOiK.mjs";
2
2
  import "./tsconfig-B92heKit.mjs";
3
3
  import "./plugin-utils-C3HnZJl1.mjs";
4
4
  import "./plugin-E5foRD0k.mjs";
@@ -7,6 +7,6 @@ import "./constants-cXxSHhNp.mjs";
7
7
  import "./config-D4Fh2gQL.mjs";
8
8
  import "./utils-DoQcX7Sk.mjs";
9
9
  import "./virtual-B9imjOqe.mjs";
10
- import { n as webpack_default, r as src_default, t as unplugin } from "./webpack-Bs3j748Y.mjs";
10
+ import { n as webpack_default, r as src_default, t as unplugin } from "./webpack-DS6vD_y6.mjs";
11
11
 
12
12
  export { webpack_default as default, unplugin as "module.exports", unplugin, src_default as plugin, src_default as webpack };
@@ -1,9 +1,7 @@
1
1
  <!-- START header -->
2
2
  <!-- END header -->
3
3
 
4
- # {{ options.name }} Application
5
-
6
- {{ options.description }}
4
+ # {{ options.name }} Application {{ options.description }}
7
5
 
8
6
  <!-- START doctoc -->
9
7
  <!-- END doctoc -->
@@ -13,56 +11,32 @@
13
11
  <!-- START usage -->
14
12
  <!-- END usage -->
15
13
 
16
- ## Installing
17
-
18
- Using [pnpm](http://pnpm.io):
19
-
20
- ```bash
21
- pnpm add -D {{ options.packageName }}
22
- ```
14
+ ## Installing Using [pnpm](http://pnpm.io): ```bash pnpm add -D {{
15
+ options.packageName }} ```
23
16
 
24
17
  <details>
25
18
  <summary>Using npm</summary>
26
19
 
27
- ```bash
28
- npm install --save-dev {{ options.packageName }}
29
- ```
30
-
20
+ ```bash npm install --save-dev {{ options.packageName }} ```
31
21
  </details>
32
22
 
33
23
  <details>
34
24
  <summary>Using yarn</summary>
35
25
 
36
- ```bash
37
- yarn add -D {{ options.packageName }}
38
- ```
39
-
26
+ ```bash yarn add -D {{ options.packageName }} ```
40
27
  </details>
41
28
 
42
- ## Reduced Package Size
43
-
44
- This project uses [tsup](https://tsup.egoist.dev/) to package the source code
45
- due to its ability to remove unused code and ship smaller javascript files
46
- thanks to code splitting. This helps to greatly reduce the size of the package
47
- and to make it easier to use in other projects.
48
-
49
- ## Development
50
-
51
- This project is built using [Powerlines](https://stormsoftware.com/projects/powerlines). As a result, many of the usual
52
- commands are available to assist in development.
53
-
54
- ### Building
55
-
56
- Run `nx run {{ options.name }}:build` to build the application.
57
-
58
- ### Running unit tests
59
-
60
- Run `nx run {{ options.name }}:test` to execute the unit tests via
61
- [Jest](https://jestjs.io).
62
-
63
- ### Linting
64
-
65
- Run `nx run {{ options.name }}:lint` to run [ESLint](https://eslint.org/) on the package.
29
+ ## Reduced Package Size This project uses [tsup](https://tsup.egoist.dev/) to
30
+ package the source code due to its ability to remove unused code and ship
31
+ smaller javascript files thanks to code splitting. This helps to greatly reduce
32
+ the size of the package and to make it easier to use in other projects. ##
33
+ Development This project is built using
34
+ [Powerlines](https://stormsoftware.com/projects/powerlines). As a result, many
35
+ of the usual commands are available to assist in development. ### Building Run
36
+ `nx run {{ options.name }}:build` to build the application. ### Running unit
37
+ tests Run `nx run {{ options.name }}:test` to execute the unit tests via
38
+ [Jest](https://jestjs.io). ### Linting Run `nx run {{ options.name }}:lint` to
39
+ run [ESLint](https://eslint.org/) on the package.
66
40
 
67
41
  <!-- START footer -->
68
42
  <!-- END footer -->
@@ -1,28 +1,7 @@
1
- {
2
- "name": "{{ options.packageName }}",
3
- "version": "0.0.1",
4
- "type": "module",
5
- "description": "{{ options.description }}",
6
- "repository": {
7
- "type": "github",
8
- "url": "{{ workspaceConfig.repository }}",
9
- "directory": "{{ options.projectRoot }}"
10
- },
11
- "private": false,
12
- "keywords": [
13
- "powerlines"
14
- ],
15
- "dependencies": {
16
- "powerlines": "workspace:*"
17
- },
18
- "devDependencies": {
19
- "@stryke/types": "catalog:"
20
- },
21
- "storm": {
22
- "name": "{{ options.name }}",
23
- "projectType": "application"
24
- },
25
- "publishConfig": {
26
- "access": "public"
27
- }
28
- }
1
+ { "name": "{{ options.packageName }}", "version": "0.0.1", "type": "module",
2
+ "description": "{{ options.description }}", "repository": { "type": "github",
3
+ "url": "{{ workspaceConfig.repository }}", "directory": "{{ options.projectRoot
4
+ }}" }, "private": false, "keywords": [ "powerlines" ], "dependencies": {
5
+ "powerlines": "workspace:*" }, "devDependencies": { "@stryke/types": "catalog:"
6
+ }, "storm": { "name": "{{ options.name }}", "projectType": "application" },
7
+ "publishConfig": { "access": "public" } }
@@ -1,3 +1,2 @@
1
- import { getJestConfig } from "@storm-software/testing-tools";
2
-
3
- export default getJestConfig("{{ options.projectRoot }}", true, "{{ options.name }}");
1
+ import { getJestConfig } from "@storm-software/testing-tools"; export default
2
+ getJestConfig("{{ options.projectRoot }}", true, "{{ options.name }}");
@@ -1,10 +1,5 @@
1
- {
2
- "extends": "{{ relativeToWorkspaceRoot }}tsconfig.base.json",
3
- "compilerOptions": {
4
- "outDir": "{{ relativeToWorkspaceRoot }}dist/out-tsc",
5
- "verbatimModuleSyntax": false
6
- },
7
- "include": ["src/**/*.ts", "src/**/*.js", ".storm/**/*.ts"],
8
- "exclude": ["jest.config.ts", "src/**/*.spec.ts", "src/**/*.test.ts"],
9
- "reflection": true
10
- }
1
+ { "extends": "{{ relativeToWorkspaceRoot }}tsconfig.base.json",
2
+ "compilerOptions": { "outDir": "{{ relativeToWorkspaceRoot }}dist/out-tsc",
3
+ "verbatimModuleSyntax": false }, "include": ["src/**/*.ts", "src/**/*.js",
4
+ ".storm/**/*.ts"], "exclude": ["jest.config.ts", "src/**/*.spec.ts",
5
+ "src/**/*.test.ts"], "reflection": true }
@@ -1,13 +1,3 @@
1
- {
2
- "extends": "./tsconfig.json",
3
- "compilerOptions": {
4
- "types": ["jest", "node"],
5
- "outDir": "{{ relativeToWorkspaceRoot }}dist/out-tsc"
6
- },
7
- "include": [
8
- "jest.config.ts",
9
- "src/**/*.test.ts",
10
- "src/**/*.spec.ts",
11
- "src/**/*.d.ts"
12
- ]
13
- }
1
+ { "extends": "./tsconfig.json", "compilerOptions": { "types": ["jest", "node"],
2
+ "outDir": "{{ relativeToWorkspaceRoot }}dist/out-tsc" }, "include": [
3
+ "jest.config.ts", "src/**/*.test.ts", "src/**/*.spec.ts", "src/**/*.d.ts" ] }
@@ -1,56 +1,33 @@
1
1
  <!-- START header -->
2
2
  <!-- END header -->
3
3
 
4
- # {{ options.name }} Library
5
-
6
- {{ options.description }}
4
+ # {{ options.name }} Library {{ options.description }}
7
5
 
8
6
  <!-- START doctoc -->
9
7
  <!-- END doctoc -->
10
8
 
11
- ## Installing
12
-
13
- Using [pnpm](http://pnpm.io):
14
-
15
- ```bash
16
- pnpm add {{ options.packageName }}
17
- ```
9
+ ## Installing Using [pnpm](http://pnpm.io): ```bash pnpm add {{
10
+ options.packageName }} ```
18
11
 
19
12
  <details>
20
13
  <summary>Using npm</summary>
21
14
 
22
- ```bash
23
- npm install --save {{ options.packageName }}
24
- ```
25
-
15
+ ```bash npm install --save {{ options.packageName }} ```
26
16
  </details>
27
17
 
28
18
  <details>
29
19
  <summary>Using yarn</summary>
30
20
 
31
- ```bash
32
- yarn add {{ options.packageName }}
33
- ```
34
-
21
+ ```bash yarn add {{ options.packageName }} ```
35
22
  </details>
36
23
 
37
- ## Development
38
-
39
- This project is built using [Powerlines](https://stormsoftware.com/projects/powerlines). As a result, many of the usual
40
- commands are available to assist in development.
41
-
42
- ### Building
43
-
44
- Run `nx run {{ options.name }}:build` to build the library.
45
-
46
- ### Running unit tests
47
-
24
+ ## Development This project is built using
25
+ [Powerlines](https://stormsoftware.com/projects/powerlines). As a result, many
26
+ of the usual commands are available to assist in development. ### Building Run
27
+ `nx run {{ options.name }}:build` to build the library. ### Running unit tests
48
28
  Run `nx run {{ options.name }}:test` to execute the unit tests via
49
- [Jest](https://jestjs.io).
50
-
51
- ### Linting
52
-
53
- Run `nx run {{ options.name }}:lint` to run [ESLint](https://eslint.org/) on the package.
29
+ [Jest](https://jestjs.io). ### Linting Run `nx run {{ options.name }}:lint` to
30
+ run [ESLint](https://eslint.org/) on the package.
54
31
 
55
32
  <!-- START footer -->
56
33
  <!-- END footer -->
@@ -1,32 +1,9 @@
1
- {
2
- "name": "{{ options.packageName }}",
3
- "version": "0.0.1",
4
- "type": "module",
5
- "description": "{{ options.description }}",
6
- "repository": {
7
- "type": "github",
8
- "url": "{{ workspaceConfig.repository }}",
9
- "directory": "{{ options.projectRoot }}"
10
- },
11
- "private": false,
12
- "keywords": [
13
- "powerlines"
14
- ],
15
- "dependencies": {
16
- "powerlines": "workspace:*"
17
- },
18
- "devDependencies": {
19
- "@powerlines/devkit": "workspace:*",
20
- "@stryke/types": "catalog:"
21
- },
22
- "storm": {
23
- "name": "{{ options.name }}",
24
- "projectType": "library",
25
- "plugins": [
26
- "@powerlines/devkit/plugins/library"
27
- ]
28
- },
29
- "publishConfig": {
30
- "access": "public"
31
- }
32
- }
1
+ { "name": "{{ options.packageName }}", "version": "0.0.1", "type": "module",
2
+ "description": "{{ options.description }}", "repository": { "type": "github",
3
+ "url": "{{ workspaceConfig.repository }}", "directory": "{{ options.projectRoot
4
+ }}" }, "private": false, "keywords": [ "powerlines" ], "dependencies": {
5
+ "powerlines": "workspace:*" }, "devDependencies": { "@powerlines/devkit":
6
+ "workspace:*", "@stryke/types": "catalog:" }, "storm": { "name": "{{
7
+ options.name }}", "projectType": "library", "plugins": [
8
+ "@powerlines/devkit/plugins/library" ] }, "publishConfig": { "access": "public"
9
+ } }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "powerlines",
3
- "version": "0.40.20",
3
+ "version": "0.41.1",
4
4
  "private": false,
5
5
  "description": "The \"any framework\" framework that simplifies modern dev tool usage, generates virtual (or actual) code modules, and improves DX across the board.",
6
6
  "keywords": [
@@ -341,9 +341,9 @@
341
341
  "dependencies": {
342
342
  "@cacheable/memory": "^2.0.8",
343
343
  "@donedeal0/superdiff": "^3.2.0",
344
- "@powerlines/core": "^0.2.16",
345
- "@storm-software/config": "^1.135.28",
346
- "@storm-software/config-tools": "^1.189.27",
344
+ "@powerlines/core": "^0.2.19",
345
+ "@storm-software/config": "^1.135.29",
346
+ "@storm-software/config-tools": "^1.189.28",
347
347
  "@stryke/capnp": "^0.12.83",
348
348
  "@stryke/convert": "^0.6.53",
349
349
  "@stryke/env": "^0.20.74",
@@ -363,22 +363,23 @@
363
363
  "handlebars": "^4.7.8",
364
364
  "jiti": "^2.6.1",
365
365
  "oxc-parser": "^0.99.0",
366
+ "oxc-resolver": "^11.19.1",
366
367
  "ts-morph": "^27.0.2",
367
368
  "undici": "^7.22.0",
368
369
  "unimport": "^5.7.0",
369
370
  "unplugin": "^3.0.0"
370
371
  },
371
372
  "devDependencies": {
372
- "@powerlines/plugin-esbuild": "^0.13.338",
373
- "@powerlines/plugin-rolldown": "^0.7.340",
374
- "@powerlines/plugin-rollup": "^0.7.339",
375
- "@powerlines/plugin-rspack": "^0.5.338",
376
- "@powerlines/plugin-tsdown": "^0.1.283",
377
- "@powerlines/plugin-tsup": "^0.12.339",
378
- "@powerlines/plugin-unbuild": "^0.5.339",
379
- "@powerlines/plugin-vite": "^0.14.332",
380
- "@powerlines/plugin-webpack": "^0.5.338",
381
- "@storm-software/testing-tools": "^1.119.102",
373
+ "@powerlines/plugin-esbuild": "^0.13.341",
374
+ "@powerlines/plugin-rolldown": "^0.7.343",
375
+ "@powerlines/plugin-rollup": "^0.7.342",
376
+ "@powerlines/plugin-rspack": "^0.5.341",
377
+ "@powerlines/plugin-tsdown": "^0.1.286",
378
+ "@powerlines/plugin-tsup": "^0.12.342",
379
+ "@powerlines/plugin-unbuild": "^0.5.342",
380
+ "@powerlines/plugin-vite": "^0.14.335",
381
+ "@powerlines/plugin-webpack": "^0.5.341",
382
+ "@storm-software/testing-tools": "^1.119.103",
382
383
  "@stryke/types": "^0.10.52",
383
384
  "@types/bun": "^1.3.10",
384
385
  "@types/node": "^25.4.0",
@@ -425,5 +426,5 @@
425
426
  "unloader": { "optional": true }
426
427
  },
427
428
  "publishConfig": { "access": "public" },
428
- "gitHead": "8d772181f794749e0f19f97c732dd921148c31c8"
429
+ "gitHead": "81a0ddf718fdb60cac22b0b1724abf4643ae3d68"
429
430
  }