@powerlines/plugin-jest 0.1.204 → 0.1.206

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.
@@ -91,15 +91,6 @@ interface OutputConfig {
91
91
  * @defaultValue "\{projectRoot\}/powerlines.d.ts"
92
92
  */
93
93
  dts?: string | false;
94
- /**
95
- * A prefix to use for identifying builtin modules
96
- *
97
- * @remarks
98
- * 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"`.
99
- *
100
- * @defaultValue "powerlines"
101
- */
102
- builtinPrefix?: string;
103
94
  /**
104
95
  * The module format of the output files
105
96
  *
@@ -335,7 +326,7 @@ interface CommonUserConfig extends BaseConfig {
335
326
  * A string identifier that allows a child framework or tool to identify itself when using Powerlines.
336
327
  *
337
328
  * @remarks
338
- * 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.
329
+ * 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.
339
330
  *
340
331
  * @defaultValue "powerlines"
341
332
  */
@@ -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
  *
@@ -91,15 +91,6 @@ interface OutputConfig {
91
91
  * @defaultValue "\{projectRoot\}/powerlines.d.ts"
92
92
  */
93
93
  dts?: string | false;
94
- /**
95
- * A prefix to use for identifying builtin modules
96
- *
97
- * @remarks
98
- * 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"`.
99
- *
100
- * @defaultValue "powerlines"
101
- */
102
- builtinPrefix?: string;
103
94
  /**
104
95
  * The module format of the output files
105
96
  *
@@ -335,7 +326,7 @@ interface CommonUserConfig extends BaseConfig {
335
326
  * A string identifier that allows a child framework or tool to identify itself when using Powerlines.
336
327
  *
337
328
  * @remarks
338
- * 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.
329
+ * 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.
339
330
  *
340
331
  * @defaultValue "powerlines"
341
332
  */
@@ -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-jest",
3
- "version": "0.1.204",
3
+ "version": "0.1.206",
4
4
  "type": "module",
5
5
  "description": "A package containing the Jest testing plugin for Powerlines.",
6
6
  "repository": {
@@ -127,13 +127,13 @@
127
127
  "jest-config": "^30.2.0",
128
128
  "jest-resolve": "^30.2.0",
129
129
  "jest-util": "^30.2.0",
130
- "powerlines": "^0.37.70"
130
+ "powerlines": "^0.37.72"
131
131
  },
132
132
  "devDependencies": {
133
133
  "@jest/types": "^30.2.0",
134
- "@powerlines/plugin-plugin": "^0.12.148",
134
+ "@powerlines/plugin-plugin": "^0.12.150",
135
135
  "@types/jest": "^30.0.0"
136
136
  },
137
137
  "publishConfig": { "access": "public" },
138
- "gitHead": "49824cd670e66c1adee0b6da4008c3d8aed5a8a4"
138
+ "gitHead": "458556ca7def9536d1c1fbd770e005a004d0a513"
139
139
  }