@powerlines/plugin-babel 0.12.425 → 0.12.426

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 (64) hide show
  1. package/dist/_virtual/_rolldown/runtime.cjs +29 -0
  2. package/dist/helpers/ast-utils.cjs +35 -0
  3. package/dist/helpers/ast-utils.d.cts +19 -0
  4. package/dist/helpers/ast-utils.d.cts.map +1 -0
  5. package/dist/helpers/ast-utils.d.mts +19 -0
  6. package/dist/helpers/ast-utils.d.mts.map +1 -0
  7. package/dist/helpers/ast-utils.mjs +32 -0
  8. package/dist/helpers/ast-utils.mjs.map +1 -0
  9. package/dist/helpers/create-plugin.cjs +42 -0
  10. package/dist/helpers/create-plugin.d.cts +15 -0
  11. package/dist/helpers/create-plugin.d.cts.map +1 -0
  12. package/dist/helpers/create-plugin.d.mts +15 -0
  13. package/dist/helpers/create-plugin.d.mts.map +1 -0
  14. package/dist/helpers/create-plugin.mjs +40 -0
  15. package/dist/helpers/create-plugin.mjs.map +1 -0
  16. package/dist/helpers/filters.cjs +74 -0
  17. package/dist/helpers/filters.d.cts +51 -0
  18. package/dist/helpers/filters.d.cts.map +1 -0
  19. package/dist/helpers/filters.d.mts +51 -0
  20. package/dist/helpers/filters.d.mts.map +1 -0
  21. package/dist/helpers/filters.mjs +69 -0
  22. package/dist/helpers/filters.mjs.map +1 -0
  23. package/dist/helpers/index.cjs +28 -0
  24. package/dist/helpers/index.d.cts +6 -0
  25. package/dist/helpers/index.d.mts +6 -0
  26. package/dist/helpers/index.mjs +7 -0
  27. package/dist/helpers/module-helpers.cjs +104 -0
  28. package/dist/helpers/module-helpers.d.cts +49 -0
  29. package/dist/helpers/module-helpers.d.cts.map +1 -0
  30. package/dist/helpers/module-helpers.d.mts +49 -0
  31. package/dist/helpers/module-helpers.d.mts.map +1 -0
  32. package/dist/helpers/module-helpers.mjs +96 -0
  33. package/dist/helpers/module-helpers.mjs.map +1 -0
  34. package/dist/helpers/options.cjs +116 -0
  35. package/dist/helpers/options.d.cts +44 -0
  36. package/dist/helpers/options.d.cts.map +1 -0
  37. package/dist/helpers/options.d.mts +44 -0
  38. package/dist/helpers/options.d.mts.map +1 -0
  39. package/dist/helpers/options.mjs +109 -0
  40. package/dist/helpers/options.mjs.map +1 -0
  41. package/dist/index.cjs +126 -0
  42. package/dist/index.d.cts +25 -0
  43. package/dist/index.d.cts.map +1 -0
  44. package/dist/index.d.mts +25 -0
  45. package/dist/index.d.mts.map +1 -0
  46. package/dist/index.mjs +102 -0
  47. package/dist/index.mjs.map +1 -0
  48. package/dist/types/config.cjs +0 -0
  49. package/dist/types/config.d.cts +100 -0
  50. package/dist/types/config.d.cts.map +1 -0
  51. package/dist/types/config.d.mts +100 -0
  52. package/dist/types/config.d.mts.map +1 -0
  53. package/dist/types/config.mjs +1 -0
  54. package/dist/types/index.cjs +0 -0
  55. package/dist/types/index.d.cts +3 -0
  56. package/dist/types/index.d.mts +3 -0
  57. package/dist/types/index.mjs +1 -0
  58. package/dist/types/plugin.cjs +0 -0
  59. package/dist/types/plugin.d.cts +23 -0
  60. package/dist/types/plugin.d.cts.map +1 -0
  61. package/dist/types/plugin.d.mts +23 -0
  62. package/dist/types/plugin.d.mts.map +1 -0
  63. package/dist/types/plugin.mjs +1 -0
  64. package/package.json +7 -7
@@ -0,0 +1,23 @@
1
+ import { BabelResolvedConfig, BabelUserConfig } from "./config.mjs";
2
+ import { PluginContext, ResolvedConfig, UserConfig } from "@powerlines/core";
3
+
4
+ //#region src/types/plugin.d.ts
5
+ type BabelPluginOptions = Partial<BabelUserConfig> & {
6
+ skipConfigResolution?: boolean;
7
+ };
8
+ type BabelPluginUserConfig = UserConfig & {
9
+ babel?: BabelPluginOptions;
10
+ };
11
+ interface BabelPluginResolvedConfig extends ResolvedConfig {
12
+ babel: BabelResolvedConfig & {
13
+ skipConfigResolution?: boolean;
14
+ };
15
+ }
16
+ type BabelPluginContext<TResolvedConfig extends BabelPluginResolvedConfig = BabelPluginResolvedConfig> = PluginContext<TResolvedConfig>;
17
+ declare type __ΩBabelPluginOptions = any[];
18
+ declare type __ΩBabelPluginUserConfig = any[];
19
+ declare type __ΩBabelPluginResolvedConfig = any[];
20
+ declare type __ΩBabelPluginContext = any[];
21
+ //#endregion
22
+ export { BabelPluginContext, BabelPluginOptions, BabelPluginResolvedConfig, BabelPluginUserConfig, __ΩBabelPluginContext, __ΩBabelPluginOptions, __ΩBabelPluginResolvedConfig, __ΩBabelPluginUserConfig };
23
+ //# sourceMappingURL=plugin.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.d.mts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;;KAyBY,kBAAA,GAAqB,OAAA,CAAQ,eAAA;EACvC,oBAAA;AAAA;AAAA,KAGU,qBAAA,GAAwB,UAAA;EAClC,KAAA,GAAQ,kBAAA;AAAA;AAAA,UAGO,yBAAA,SAAkC,cAAA;EACjD,KAAA,EAAO,mBAAA;IACL,oBAAA;EAAA;AAAA;AAAA,KAIQ,kBAAA,yBACc,yBAAA,GAA4B,yBAAA,IAClD,aAAA,CAAc,eAAA;AAAA"}
@@ -0,0 +1 @@
1
+ export { };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-babel",
3
- "version": "0.12.425",
3
+ "version": "0.12.426",
4
4
  "private": false,
5
5
  "description": "A package containing a Powerlines plugin to assist in developing other Powerlines plugins.",
6
6
  "keywords": ["babel", "powerlines", "storm-software", "powerlines-plugin"],
@@ -90,12 +90,12 @@
90
90
  "@babel/helper-plugin-utils": "8.0.0-rc.3",
91
91
  "@babel/parser": "8.0.0-rc.3",
92
92
  "@babel/types": "8.0.0-rc.3",
93
- "@powerlines/core": "^0.43.28",
93
+ "@powerlines/core": "^0.43.29",
94
94
  "@storm-software/config-tools": "^1.189.78",
95
- "@stryke/fs": "^0.33.67",
96
- "@stryke/path": "^0.27.5",
97
- "@stryke/type-checks": "^0.6.2",
98
- "@stryke/types": "^0.11.4",
95
+ "@stryke/fs": "^0.33.69",
96
+ "@stryke/path": "^0.28.1",
97
+ "@stryke/type-checks": "^0.6.4",
98
+ "@stryke/types": "^0.11.6",
99
99
  "chalk": "5.6.2",
100
100
  "defu": "^6.1.7",
101
101
  "jiti": "^2.6.1"
@@ -113,5 +113,5 @@
113
113
  "@babel/plugin-syntax-typescript": { "optional": true }
114
114
  },
115
115
  "publishConfig": { "access": "public" },
116
- "gitHead": "efeaec793549f37c700f2e876bf6097c37375c46"
116
+ "gitHead": "4dc29b19d25392ae42c58ba47b7590884a8e28c8"
117
117
  }