@powerlines/plugin-babel 0.12.205 → 0.12.207

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.
@@ -102,15 +102,6 @@ interface OutputConfig {
102
102
  * @defaultValue "\{projectRoot\}/powerlines.d.ts"
103
103
  */
104
104
  dts?: string | false;
105
- /**
106
- * A prefix to use for identifying builtin modules
107
- *
108
- * @remarks
109
- * This prefix will be used to identify all builtin modules generated during the "prepare" phase. An example builtin ID for a module called `"utils"` would be `"{builtinPrefix}:utils"`.
110
- *
111
- * @defaultValue "powerlines"
112
- */
113
- builtinPrefix?: string;
114
105
  /**
115
106
  * The module format of the output files
116
107
  *
@@ -346,7 +337,7 @@ interface CommonUserConfig extends BaseConfig {
346
337
  * A string identifier that allows a child framework or tool to identify itself when using Powerlines.
347
338
  *
348
339
  * @remarks
349
- * If no values are provided for {@link OutputConfig.dts | output.dts}, {@link OutputConfig.builtinPrefix | output.builtinPrefix}, or {@link OutputConfig.artifactsPath | output.artifactsFolder}, this value will be used as the default.
340
+ * If no values are provided for {@link OutputConfig.dts | output.dts} or {@link OutputConfig.artifactsPath | output.artifactsFolder}, this value will be used as the default.
350
341
  *
351
342
  * @defaultValue "powerlines"
352
343
  */
@@ -102,15 +102,6 @@ interface OutputConfig {
102
102
  * @defaultValue "\{projectRoot\}/powerlines.d.ts"
103
103
  */
104
104
  dts?: string | false;
105
- /**
106
- * A prefix to use for identifying builtin modules
107
- *
108
- * @remarks
109
- * This prefix will be used to identify all builtin modules generated during the "prepare" phase. An example builtin ID for a module called `"utils"` would be `"{builtinPrefix}:utils"`.
110
- *
111
- * @defaultValue "powerlines"
112
- */
113
- builtinPrefix?: string;
114
105
  /**
115
106
  * The module format of the output files
116
107
  *
@@ -346,7 +337,7 @@ interface CommonUserConfig extends BaseConfig {
346
337
  * A string identifier that allows a child framework or tool to identify itself when using Powerlines.
347
338
  *
348
339
  * @remarks
349
- * If no values are provided for {@link OutputConfig.dts | output.dts}, {@link OutputConfig.builtinPrefix | output.builtinPrefix}, or {@link OutputConfig.artifactsPath | output.artifactsFolder}, this value will be used as the default.
340
+ * If no values are provided for {@link OutputConfig.dts | output.dts} or {@link OutputConfig.artifactsPath | output.artifactsFolder}, this value will be used as the default.
350
341
  *
351
342
  * @defaultValue "powerlines"
352
343
  */
@@ -226,6 +226,13 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
226
226
  * The builtin module id that exist in the Powerlines virtual file system
227
227
  */
228
228
  builtins: string[];
229
+ /**
230
+ * The alias mappings for the project used during module resolution
231
+ *
232
+ * @remarks
233
+ * This includes both the built-in module aliases as well as any custom aliases defined in the build configuration.
234
+ */
235
+ alias: Record<string, string>;
229
236
  /**
230
237
  * The {@link Project} instance used for type reflection and module manipulation
231
238
  *
@@ -226,6 +226,13 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
226
226
  * The builtin module id that exist in the Powerlines virtual file system
227
227
  */
228
228
  builtins: string[];
229
+ /**
230
+ * The alias mappings for the project used during module resolution
231
+ *
232
+ * @remarks
233
+ * This includes both the built-in module aliases as well as any custom aliases defined in the build configuration.
234
+ */
235
+ alias: Record<string, string>;
229
236
  /**
230
237
  * The {@link Project} instance used for type reflection and module manipulation
231
238
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-babel",
3
- "version": "0.12.205",
3
+ "version": "0.12.207",
4
4
  "type": "module",
5
5
  "description": "A package containing a Powerlines plugin to assist in developing other Powerlines plugins.",
6
6
  "repository": {
@@ -163,12 +163,12 @@
163
163
  "chalk": "5.6.2",
164
164
  "defu": "^6.1.4",
165
165
  "jiti": "^2.6.1",
166
- "powerlines": "^0.37.70"
166
+ "powerlines": "^0.37.72"
167
167
  },
168
168
  "devDependencies": {
169
- "@powerlines/plugin-plugin": "^0.12.148",
169
+ "@powerlines/plugin-plugin": "^0.12.150",
170
170
  "@types/node": "^24.10.9"
171
171
  },
172
172
  "publishConfig": { "access": "public" },
173
- "gitHead": "49824cd670e66c1adee0b6da4008c3d8aed5a8a4"
173
+ "gitHead": "458556ca7def9536d1c1fbd770e005a004d0a513"
174
174
  }