powerlines 0.40.0 → 0.40.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 (54) hide show
  1. package/dist/{api-DGogEILz.cjs → api-CMgoAQum.cjs} +5 -5
  2. package/dist/{api-FyuSt_G-.mjs → api-D1TJOJXE.mjs} +6 -6
  3. package/dist/{api-FyuSt_G-.mjs.map → api-D1TJOJXE.mjs.map} +1 -1
  4. package/dist/astro.cjs +2 -2
  5. package/dist/astro.mjs +2 -2
  6. package/dist/context/index.cjs +1 -1
  7. package/dist/context/index.mjs +1 -1
  8. package/dist/{esbuild-Ba-ABudw.cjs → esbuild-B8xqzmmF.cjs} +1 -1
  9. package/dist/{esbuild-CXFMcngK.mjs → esbuild-Bo7TrGmt.mjs} +2 -2
  10. package/dist/{esbuild-CXFMcngK.mjs.map → esbuild-Bo7TrGmt.mjs.map} +1 -1
  11. package/dist/esbuild.cjs +2 -2
  12. package/dist/esbuild.mjs +2 -2
  13. package/dist/farm.cjs +1 -1
  14. package/dist/farm.mjs +1 -1
  15. package/dist/index-TMfRNrCg.d.mts.map +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/plugin-utils.d.cts +2 -2
  23. package/dist/plugin-utils.d.cts.map +1 -1
  24. package/dist/plugin-utils.d.mts +2 -2
  25. package/dist/plugin-utils.d.mts.map +1 -1
  26. package/dist/{rolldown-tWIroim7.cjs → rolldown-1g-LKcc6.cjs} +1 -1
  27. package/dist/{rolldown-iFovbODA.mjs → rolldown-HYYWYM2Y.mjs} +2 -2
  28. package/dist/{rolldown-iFovbODA.mjs.map → rolldown-HYYWYM2Y.mjs.map} +1 -1
  29. package/dist/rolldown.cjs +2 -2
  30. package/dist/rolldown.mjs +2 -2
  31. package/dist/rollup.cjs +1 -1
  32. package/dist/rollup.mjs +1 -1
  33. package/dist/rspack.cjs +1 -1
  34. package/dist/rspack.mjs +1 -1
  35. package/dist/storage/index.d.cts.map +1 -1
  36. package/dist/tsdown.cjs +2 -2
  37. package/dist/tsdown.mjs +2 -2
  38. package/dist/tsup.cjs +2 -2
  39. package/dist/tsup.mjs +2 -2
  40. package/dist/unloader.cjs +1 -1
  41. package/dist/unloader.mjs +1 -1
  42. package/dist/unplugin.cjs +1 -1
  43. package/dist/unplugin.mjs +1 -1
  44. package/dist/{vite-DL6Bnm2D.mjs → vite-BKmkglFo.mjs} +2 -2
  45. package/dist/{vite-DL6Bnm2D.mjs.map → vite-BKmkglFo.mjs.map} +1 -1
  46. package/dist/{vite-CV_huxbv.cjs → vite-C6OXShid.cjs} +1 -1
  47. package/dist/vite.cjs +2 -2
  48. package/dist/vite.mjs +2 -2
  49. package/dist/{webpack-Dvuwhv5E.mjs → webpack-DZvno7jS.mjs} +2 -2
  50. package/dist/{webpack-Dvuwhv5E.mjs.map → webpack-DZvno7jS.mjs.map} +1 -1
  51. package/dist/{webpack-B3fuIVLl.cjs → webpack-L3DT059U.cjs} +1 -1
  52. package/dist/webpack.cjs +2 -2
  53. package/dist/webpack.mjs +2 -2
  54. package/package.json +12 -12
@@ -75,7 +75,7 @@ let unplugin = require("unplugin");
75
75
 
76
76
  //#region package.json
77
77
  var name = "powerlines";
78
- var version = "0.40.0";
78
+ var version = "0.40.1";
79
79
 
80
80
  //#endregion
81
81
  //#region src/_internal/helpers/generate-types.ts
@@ -3297,6 +3297,10 @@ var PowerlinesAPI = class PowerlinesAPI {
3297
3297
  environment: context,
3298
3298
  order: "normal"
3299
3299
  });
3300
+ await this.callHook("prepare", {
3301
+ environment: context,
3302
+ order: "post"
3303
+ });
3300
3304
  if (context.config.output.dts !== false) {
3301
3305
  context.debug(`Preparing the TypeScript definitions for the Powerlines project.`);
3302
3306
  if (context.fs.existsSync(context.dtsPath)) await context.fs.remove(context.dtsPath);
@@ -3371,10 +3375,6 @@ ${formatTypes(types)}
3371
3375
  if (!context.tsconfig) throw new Error("Failed to parse the TypeScript configuration file.");
3372
3376
  this.context.debug("Formatting files generated during the prepare step.");
3373
3377
  await Promise.all([require_paths.formatFolder(context, context.builtinsPath), require_paths.formatFolder(context, context.entryPath)]);
3374
- await this.callHook("prepare", {
3375
- environment: context,
3376
- order: "post"
3377
- });
3378
3378
  await writeMetaFile(context);
3379
3379
  context.persistedMeta = context.meta;
3380
3380
  });
@@ -70,7 +70,7 @@ import { setParseImpl } from "unplugin";
70
70
 
71
71
  //#region package.json
72
72
  var name = "powerlines";
73
- var version = "0.40.0";
73
+ var version = "0.40.1";
74
74
 
75
75
  //#endregion
76
76
  //#region src/_internal/helpers/generate-types.ts
@@ -3292,6 +3292,10 @@ var PowerlinesAPI = class PowerlinesAPI {
3292
3292
  environment: context,
3293
3293
  order: "normal"
3294
3294
  });
3295
+ await this.callHook("prepare", {
3296
+ environment: context,
3297
+ order: "post"
3298
+ });
3295
3299
  if (context.config.output.dts !== false) {
3296
3300
  context.debug(`Preparing the TypeScript definitions for the Powerlines project.`);
3297
3301
  if (context.fs.existsSync(context.dtsPath)) await context.fs.remove(context.dtsPath);
@@ -3366,10 +3370,6 @@ ${formatTypes(types)}
3366
3370
  if (!context.tsconfig) throw new Error("Failed to parse the TypeScript configuration file.");
3367
3371
  this.context.debug("Formatting files generated during the prepare step.");
3368
3372
  await Promise.all([formatFolder(context, context.builtinsPath), formatFolder(context, context.entryPath)]);
3369
- await this.callHook("prepare", {
3370
- environment: context,
3371
- order: "post"
3372
- });
3373
3373
  await writeMetaFile(context);
3374
3374
  context.persistedMeta = context.meta;
3375
3375
  });
@@ -3729,4 +3729,4 @@ Note: Please ensure the plugin package's default export is a class that extends
3729
3729
 
3730
3730
  //#endregion
3731
3731
  export { _capnpFileId as _, createUnpluginFactory as a, createUnpluginModuleResolutionFunctions as c, PowerlinesContext as d, FileId as f, FileSystem as g, FileStorage as h, createPluginContext as i, combineContexts as l, FileMetadata_KeyValuePair as m, PowerlinesAPIContext as n, createUnplugin as o, FileMetadata as p, PowerlinesEnvironmentContext as r, createUnpluginResolver as s, PowerlinesAPI as t, isUnpluginBuilderVariant as u, name as v, version as y };
3732
- //# sourceMappingURL=api-FyuSt_G-.mjs.map
3732
+ //# sourceMappingURL=api-D1TJOJXE.mjs.map