@powerlines/plugin-id 0.9.206 → 0.9.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.
- package/dist/components/nanoid.cjs +1 -1
- package/dist/components/nanoid.mjs +1 -1
- package/dist/powerlines/src/types/config.d.cts +1 -10
- package/dist/powerlines/src/types/config.d.mts +1 -10
- package/dist/powerlines/src/types/context.d.cts +7 -0
- package/dist/powerlines/src/types/context.d.mts +7 -0
- package/package.json +4 -4
|
@@ -13,7 +13,7 @@ function nanoidModule(context) {
|
|
|
13
13
|
/**
|
|
14
14
|
* The ID module provides a set of utilities for generating unique identifiers.
|
|
15
15
|
*
|
|
16
|
-
* @module ${context.config.
|
|
16
|
+
* @module ${context.config.framework}:id
|
|
17
17
|
*/
|
|
18
18
|
|
|
19
19
|
${(0, powerlines_lib_utilities_file_header.getFileHeader)(context)}
|
|
@@ -12,7 +12,7 @@ function nanoidModule(context) {
|
|
|
12
12
|
/**
|
|
13
13
|
* The ID module provides a set of utilities for generating unique identifiers.
|
|
14
14
|
*
|
|
15
|
-
* @module ${context.config.
|
|
15
|
+
* @module ${context.config.framework}:id
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
${getFileHeader(context)}
|
|
@@ -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
|
*/
|
|
@@ -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-id",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.207",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A Powerlines plugin that provides unique identifier generation capabilities at runtime by adding the `id` builtin module.",
|
|
6
6
|
"repository": {
|
|
@@ -131,12 +131,12 @@
|
|
|
131
131
|
"@storm-software/config-tools": "^1.188.80",
|
|
132
132
|
"@stryke/path": "^0.26.0",
|
|
133
133
|
"defu": "^6.1.4",
|
|
134
|
-
"powerlines": "^0.37.
|
|
134
|
+
"powerlines": "^0.37.72"
|
|
135
135
|
},
|
|
136
136
|
"devDependencies": {
|
|
137
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
137
|
+
"@powerlines/plugin-plugin": "^0.12.150",
|
|
138
138
|
"@types/node": "^24.10.9"
|
|
139
139
|
},
|
|
140
140
|
"publishConfig": { "access": "public" },
|
|
141
|
-
"gitHead": "
|
|
141
|
+
"gitHead": "458556ca7def9536d1c1fbd770e005a004d0a513"
|
|
142
142
|
}
|