@powerlines/plugin-unimport 0.1.198 → 0.1.199
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}
|
|
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
|
*/
|
|
@@ -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}
|
|
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
|
*/
|
|
@@ -227,6 +227,13 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
|
|
|
227
227
|
* The builtin module id that exist in the Powerlines virtual file system
|
|
228
228
|
*/
|
|
229
229
|
builtins: string[];
|
|
230
|
+
/**
|
|
231
|
+
* The alias mappings for the project used during module resolution
|
|
232
|
+
*
|
|
233
|
+
* @remarks
|
|
234
|
+
* This includes both the built-in module aliases as well as any custom aliases defined in the build configuration.
|
|
235
|
+
*/
|
|
236
|
+
alias: Record<string, string>;
|
|
230
237
|
/**
|
|
231
238
|
* The {@link Project} instance used for type reflection and module manipulation
|
|
232
239
|
*
|
|
@@ -227,6 +227,13 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
|
|
|
227
227
|
* The builtin module id that exist in the Powerlines virtual file system
|
|
228
228
|
*/
|
|
229
229
|
builtins: string[];
|
|
230
|
+
/**
|
|
231
|
+
* The alias mappings for the project used during module resolution
|
|
232
|
+
*
|
|
233
|
+
* @remarks
|
|
234
|
+
* This includes both the built-in module aliases as well as any custom aliases defined in the build configuration.
|
|
235
|
+
*/
|
|
236
|
+
alias: Record<string, string>;
|
|
230
237
|
/**
|
|
231
238
|
* The {@link Project} instance used for type reflection and module manipulation
|
|
232
239
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-unimport",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.199",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A Powerlines plugin to add imports to source code automatically via unimport.",
|
|
6
6
|
"repository": {
|
|
@@ -122,13 +122,13 @@
|
|
|
122
122
|
"@stryke/path": "^0.26.0",
|
|
123
123
|
"defu": "^6.1.4",
|
|
124
124
|
"magic-string": "^0.30.21",
|
|
125
|
-
"powerlines": "^0.37.
|
|
125
|
+
"powerlines": "^0.37.72",
|
|
126
126
|
"unimport": "^5.6.0"
|
|
127
127
|
},
|
|
128
128
|
"devDependencies": {
|
|
129
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
129
|
+
"@powerlines/plugin-plugin": "^0.12.150",
|
|
130
130
|
"@types/node": "^24.10.9"
|
|
131
131
|
},
|
|
132
132
|
"publishConfig": { "access": "public" },
|
|
133
|
-
"gitHead": "
|
|
133
|
+
"gitHead": "458556ca7def9536d1c1fbd770e005a004d0a513"
|
|
134
134
|
}
|