@powerlines/plugin-crypto 0.10.193 → 0.10.194
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/crypto.cjs +1 -1
- package/dist/components/crypto.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 +5 -5
|
@@ -13,7 +13,7 @@ function cryptoModule(context) {
|
|
|
13
13
|
/**
|
|
14
14
|
* The cryptography module provides custom helper functions to support encrypting and decrypting data.
|
|
15
15
|
*
|
|
16
|
-
* @module ${context.config.
|
|
16
|
+
* @module ${context.config.framework}:crypto
|
|
17
17
|
*/
|
|
18
18
|
|
|
19
19
|
${(0, powerlines_lib_utilities_file_header.getFileHeader)(context)}
|
|
@@ -12,7 +12,7 @@ function cryptoModule(context) {
|
|
|
12
12
|
/**
|
|
13
13
|
* The cryptography module provides custom helper functions to support encrypting and decrypting data.
|
|
14
14
|
*
|
|
15
|
-
* @module ${context.config.
|
|
15
|
+
* @module ${context.config.framework}:crypto
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
${getFileHeader(context)}
|
|
@@ -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}
|
|
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}
|
|
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-crypto",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.194",
|
|
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": {
|
|
@@ -129,16 +129,16 @@
|
|
|
129
129
|
"keywords": ["powerlines", "storm-software", "powerlines-plugin"],
|
|
130
130
|
"dependencies": {
|
|
131
131
|
"@noble/ciphers": "^2.1.1",
|
|
132
|
-
"@powerlines/plugin-env": "^0.15.
|
|
132
|
+
"@powerlines/plugin-env": "^0.15.91",
|
|
133
133
|
"@storm-software/config-tools": "^1.188.80",
|
|
134
134
|
"@stryke/path": "^0.26.0",
|
|
135
135
|
"defu": "^6.1.4",
|
|
136
|
-
"powerlines": "^0.37.
|
|
136
|
+
"powerlines": "^0.37.72"
|
|
137
137
|
},
|
|
138
138
|
"devDependencies": {
|
|
139
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
139
|
+
"@powerlines/plugin-plugin": "^0.12.150",
|
|
140
140
|
"@types/node": "^24.10.9"
|
|
141
141
|
},
|
|
142
142
|
"publishConfig": { "access": "public" },
|
|
143
|
-
"gitHead": "
|
|
143
|
+
"gitHead": "458556ca7def9536d1c1fbd770e005a004d0a513"
|
|
144
144
|
}
|