powerlines 0.42.41 → 0.43.0
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/{chunk-AIJqnxB6.cjs → _virtual/_rolldown/runtime.cjs} +1 -32
- package/dist/{chunk-CtajNgzt.mjs → _virtual/_rolldown/runtime.mjs} +1 -1
- package/dist/api.cjs +10 -0
- package/dist/api.d.cts +2 -0
- package/dist/api.d.mts +2 -0
- package/dist/api.mjs +3 -0
- package/dist/config.cjs +0 -12
- package/dist/config.mjs +1 -10
- package/dist/constants.cjs +0 -12
- package/dist/constants.mjs +1 -10
- package/dist/context.cjs +9 -0
- package/dist/context.d.cts +1 -0
- package/dist/context.d.mts +1 -0
- package/dist/context.mjs +3 -0
- package/dist/engine.cjs +30 -0
- package/dist/engine.d.cts +24 -0
- package/dist/engine.d.cts.map +1 -0
- package/dist/engine.d.mts +24 -0
- package/dist/engine.d.mts.map +1 -0
- package/dist/engine.mjs +29 -0
- package/dist/engine.mjs.map +1 -0
- package/dist/esbuild.cjs +2 -2
- package/dist/esbuild.mjs.map +1 -1
- package/dist/farm.cjs +1 -1
- package/dist/index.cjs +24 -16
- package/dist/index.d.cts +13 -260
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +13 -260
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +14 -8
- package/dist/index.mjs.map +1 -1
- package/dist/nuxt.cjs +4 -4
- package/dist/nuxt.d.cts +1 -1
- package/dist/nuxt.d.mts +1 -1
- package/dist/nuxt.mjs +1 -1
- package/dist/package.cjs +18 -0
- package/dist/package.mjs +7 -0
- package/dist/package.mjs.map +1 -0
- package/dist/plugin-utils.cjs +0 -12
- package/dist/plugin-utils.mjs +1 -10
- package/dist/rolldown.cjs +2 -2
- package/dist/rollup.cjs +2 -2
- package/dist/rspack.cjs +2 -2
- package/dist/schemas.cjs +9 -0
- package/dist/schemas.d.cts +1 -0
- package/dist/schemas.d.mts +1 -0
- package/dist/schemas.mjs +3 -0
- package/dist/storage.cjs +9 -0
- package/dist/storage.d.cts +1 -0
- package/dist/storage.d.mts +1 -0
- package/dist/storage.mjs +3 -0
- package/dist/tsdown.cjs +3 -3
- package/dist/tsdown.mjs +1 -1
- package/dist/tsup.cjs +2 -2
- package/dist/types.cjs +0 -0
- package/dist/types.d.cts +8 -0
- package/dist/types.d.cts.map +1 -0
- package/dist/types.d.mts +8 -0
- package/dist/types.d.mts.map +1 -0
- package/dist/types.mjs +1 -0
- package/dist/typescript.cjs +9 -0
- package/dist/typescript.d.cts +1 -0
- package/dist/typescript.d.mts +1 -0
- package/dist/typescript.mjs +3 -0
- package/dist/unbuild.cjs +17 -0
- package/dist/unbuild.d.cts +2 -0
- package/dist/unbuild.d.mts +2 -0
- package/dist/unbuild.mjs +3 -0
- package/dist/unloader.cjs +1 -1
- package/dist/unplugin.cjs +13 -14
- package/dist/unplugin.d.cts +3 -2
- package/dist/unplugin.d.cts.map +1 -1
- package/dist/unplugin.d.mts +3 -2
- package/dist/unplugin.d.mts.map +1 -1
- package/dist/unplugin.mjs +11 -13
- package/dist/unplugin.mjs.map +1 -1
- package/dist/utils.cjs +0 -14
- package/dist/utils.d.mts +1 -1
- package/dist/utils.mjs +2 -15
- package/dist/vite.cjs +4 -4
- package/dist/vite.mjs +1 -1
- package/dist/vite.mjs.map +1 -1
- package/dist/webpack.cjs +2 -2
- package/package.json +64 -53
- package/dist/api-CyXUks49.mjs +0 -1078
- package/dist/api-CyXUks49.mjs.map +0 -1
- package/dist/api-DITWluqG.cjs +0 -1098
- package/dist/api-context-BDFU_IC7.cjs +0 -3066
- package/dist/api-context-Cb99qIjE.mjs +0 -2986
- package/dist/api-context-Cb99qIjE.mjs.map +0 -1
- package/dist/config.mjs.map +0 -1
- package/dist/constants.mjs.map +0 -1
- package/dist/context/index.cjs +0 -7
- package/dist/context/index.d.cts +0 -600
- package/dist/context/index.d.cts.map +0 -1
- package/dist/context/index.d.mts +0 -600
- package/dist/context/index.d.mts.map +0 -1
- package/dist/context/index.mjs +0 -3
- package/dist/plugin-utils.mjs.map +0 -1
- package/dist/storage/index.cjs +0 -9
- package/dist/storage/index.d.cts +0 -419
- package/dist/storage/index.d.cts.map +0 -1
- package/dist/storage/index.d.mts +0 -419
- package/dist/storage/index.d.mts.map +0 -1
- package/dist/storage/index.mjs +0 -3
- package/dist/ts-morph-B85ZbV1Q.mjs +0 -102
- package/dist/ts-morph-B85ZbV1Q.mjs.map +0 -1
- package/dist/ts-morph-BvE8TMhv.cjs +0 -114
- package/dist/tsconfig-BjkktvB9.cjs +0 -198
- package/dist/tsconfig-DoV1dUYg.mjs +0 -155
- package/dist/tsconfig-DoV1dUYg.mjs.map +0 -1
- package/dist/types-9O-s0Fpu.d.mts +0 -4
- package/dist/types-9O-s0Fpu.d.mts.map +0 -1
- package/dist/types-DerAvFjs.d.cts +0 -4
- package/dist/types-DerAvFjs.d.cts.map +0 -1
- package/dist/typescript/index.cjs +0 -13
- package/dist/typescript/index.d.cts +0 -106
- package/dist/typescript/index.d.cts.map +0 -1
- package/dist/typescript/index.d.mts +0 -106
- package/dist/typescript/index.d.mts.map +0 -1
- package/dist/typescript/index.mjs +0 -4
- package/dist/utils.mjs.map +0 -1
- package/dist/virtual-BNy8T32w.cjs +0 -548
- package/dist/virtual-PaZGNIrj.mjs +0 -513
- package/dist/virtual-PaZGNIrj.mjs.map +0 -1
package/dist/context/index.d.mts
DELETED
|
@@ -1,600 +0,0 @@
|
|
|
1
|
-
import { t as types_d_exports } from "../types-9O-s0Fpu.mjs";
|
|
2
|
-
import { EnvPaths } from "@stryke/env/get-env-paths";
|
|
3
|
-
import { FlatCache } from "flat-cache";
|
|
4
|
-
import { ParseResult } from "oxc-parser";
|
|
5
|
-
import { RequestInfo, Response } from "undici";
|
|
6
|
-
import { UnpluginMessage } from "unplugin";
|
|
7
|
-
import { Unstable_ContextInternal, Unstable_EnvironmentContext, Unstable_PluginContext } from "@powerlines/core/types/_internal";
|
|
8
|
-
import { PackageJson } from "@stryke/types/package-json";
|
|
9
|
-
import { Range } from "semver";
|
|
10
|
-
|
|
11
|
-
//#region src/context/context.d.ts
|
|
12
|
-
declare class PowerlinesContext<TResolvedConfig extends types_d_exports.ResolvedConfig = types_d_exports.ResolvedConfig> implements types_d_exports.Context<TResolvedConfig> {
|
|
13
|
-
#private;
|
|
14
|
-
/**
|
|
15
|
-
* Create a new Storm context from the workspace root and user config.
|
|
16
|
-
*
|
|
17
|
-
* @param workspaceRoot - The root directory of the workspace.
|
|
18
|
-
* @param config - The user configuration options.
|
|
19
|
-
* @returns A promise that resolves to the new context.
|
|
20
|
-
*/
|
|
21
|
-
static from<TResolvedConfig extends types_d_exports.ResolvedConfig = types_d_exports.ResolvedConfig>(workspaceRoot: string, config: types_d_exports.InitialUserConfig<TResolvedConfig["userConfig"]>): Promise<types_d_exports.Context<TResolvedConfig>>;
|
|
22
|
-
/**
|
|
23
|
-
* An object containing the dependencies that should be installed for the project
|
|
24
|
-
*/
|
|
25
|
-
dependencies: Record<string, string | Range>;
|
|
26
|
-
/**
|
|
27
|
-
* An object containing the development dependencies that should be installed for the project
|
|
28
|
-
*/
|
|
29
|
-
devDependencies: Record<string, string | Range>;
|
|
30
|
-
/**
|
|
31
|
-
* The persisted meta information about the current build
|
|
32
|
-
*/
|
|
33
|
-
persistedMeta: types_d_exports.MetaInfo | undefined;
|
|
34
|
-
/**
|
|
35
|
-
* The path to the Powerlines package
|
|
36
|
-
*/
|
|
37
|
-
powerlinesPath: string;
|
|
38
|
-
/**
|
|
39
|
-
* The parsed `package.json` file for the project
|
|
40
|
-
*/
|
|
41
|
-
packageJson: PackageJson;
|
|
42
|
-
/**
|
|
43
|
-
* The parsed `project.json` file for the project
|
|
44
|
-
*/
|
|
45
|
-
projectJson: Record<string, any> | undefined;
|
|
46
|
-
/**
|
|
47
|
-
* The module resolver for the project
|
|
48
|
-
*/
|
|
49
|
-
resolver: types_d_exports.Resolver;
|
|
50
|
-
/**
|
|
51
|
-
* The resolved tsconfig file paths for the project
|
|
52
|
-
*/
|
|
53
|
-
resolvePatterns: RegExp[];
|
|
54
|
-
/**
|
|
55
|
-
* Internal context fields and methods
|
|
56
|
-
*
|
|
57
|
-
* @danger
|
|
58
|
-
* This field is for internal use only and should not be accessed or modified directly. It is unstable and can be changed at anytime.
|
|
59
|
-
*
|
|
60
|
-
* @internal
|
|
61
|
-
*/
|
|
62
|
-
get $$internal(): Unstable_ContextInternal<TResolvedConfig>;
|
|
63
|
-
/**
|
|
64
|
-
* Internal context fields and methods
|
|
65
|
-
*
|
|
66
|
-
* @danger
|
|
67
|
-
* This field is for internal use only and should not be accessed or modified directly. It is unstable and can be changed at anytime.
|
|
68
|
-
*
|
|
69
|
-
* @internal
|
|
70
|
-
*/
|
|
71
|
-
set $$internal(value: Unstable_ContextInternal<TResolvedConfig>);
|
|
72
|
-
/**
|
|
73
|
-
* The resolved entry type definitions for the project
|
|
74
|
-
*/
|
|
75
|
-
get entry(): types_d_exports.ResolvedEntryTypeDefinition[];
|
|
76
|
-
/**
|
|
77
|
-
* The TypeScript configuration parsed from the tsconfig file
|
|
78
|
-
*/
|
|
79
|
-
get tsconfig(): types_d_exports.ParsedTypeScriptConfig;
|
|
80
|
-
/**
|
|
81
|
-
* Sets the TypeScript configuration parsed from the tsconfig file
|
|
82
|
-
*/
|
|
83
|
-
set tsconfig(value: types_d_exports.ParsedTypeScriptConfig);
|
|
84
|
-
/**
|
|
85
|
-
* The virtual file system interface for the project
|
|
86
|
-
*/
|
|
87
|
-
get fs(): types_d_exports.VirtualFileSystemInterface;
|
|
88
|
-
/**
|
|
89
|
-
* Get the checksum of the project's current state
|
|
90
|
-
*/
|
|
91
|
-
get checksum(): string | null;
|
|
92
|
-
/**
|
|
93
|
-
* The meta information about the current build
|
|
94
|
-
*/
|
|
95
|
-
get meta(): types_d_exports.MetaInfo;
|
|
96
|
-
/**
|
|
97
|
-
* The resolved configuration options
|
|
98
|
-
*/
|
|
99
|
-
get config(): TResolvedConfig;
|
|
100
|
-
/**
|
|
101
|
-
* The logger function
|
|
102
|
-
*/
|
|
103
|
-
get log(): types_d_exports.LogFn;
|
|
104
|
-
/**
|
|
105
|
-
* The workspace configuration
|
|
106
|
-
*/
|
|
107
|
-
get workspaceConfig(): types_d_exports.WorkspaceConfig;
|
|
108
|
-
/**
|
|
109
|
-
* The environment paths for the project
|
|
110
|
-
*/
|
|
111
|
-
get envPaths(): EnvPaths;
|
|
112
|
-
/**
|
|
113
|
-
* Get the path to the artifacts directory for the project
|
|
114
|
-
*/
|
|
115
|
-
get artifactsPath(): string;
|
|
116
|
-
/**
|
|
117
|
-
* Get the path to the builtin modules used by the project
|
|
118
|
-
*/
|
|
119
|
-
get builtinsPath(): string;
|
|
120
|
-
/**
|
|
121
|
-
* Get the path to the entry directory for the project
|
|
122
|
-
*/
|
|
123
|
-
get entryPath(): string;
|
|
124
|
-
/**
|
|
125
|
-
* Get the path to the infrastructure modules used by the project
|
|
126
|
-
*/
|
|
127
|
-
get infrastructurePath(): string;
|
|
128
|
-
/**
|
|
129
|
-
* Get the path to the data directory for the project
|
|
130
|
-
*/
|
|
131
|
-
get dataPath(): string;
|
|
132
|
-
/**
|
|
133
|
-
* Get the path to the cache directory for the project
|
|
134
|
-
*/
|
|
135
|
-
get cachePath(): string;
|
|
136
|
-
/**
|
|
137
|
-
* Get the path to the generated declaration file for the project
|
|
138
|
-
*/
|
|
139
|
-
get typesPath(): string;
|
|
140
|
-
/**
|
|
141
|
-
* Get the project root relative to the workspace root
|
|
142
|
-
*/
|
|
143
|
-
get relativeToWorkspaceRoot(): string;
|
|
144
|
-
/**
|
|
145
|
-
* The builtin module id that exist in the Powerlines virtual file system
|
|
146
|
-
*/
|
|
147
|
-
get builtins(): string[];
|
|
148
|
-
/**
|
|
149
|
-
* The alias mappings for the project used during module resolution
|
|
150
|
-
*
|
|
151
|
-
* @remarks
|
|
152
|
-
* This includes both the built-in module aliases as well as any custom aliases defined in the build configuration.
|
|
153
|
-
*/
|
|
154
|
-
get alias(): Record<string, string>;
|
|
155
|
-
/**
|
|
156
|
-
* Gets the parser cache.
|
|
157
|
-
*/
|
|
158
|
-
protected get parserCache(): FlatCache;
|
|
159
|
-
/**
|
|
160
|
-
* Gets the request cache.
|
|
161
|
-
*/
|
|
162
|
-
protected get requestCache(): FlatCache;
|
|
163
|
-
/**
|
|
164
|
-
* The entry points that exist in the Powerlines virtual file system
|
|
165
|
-
*/
|
|
166
|
-
protected get resolvedEntry(): types_d_exports.ResolvedEntryTypeDefinition[];
|
|
167
|
-
/**
|
|
168
|
-
* Creates a clone of the current context with the same configuration and workspace settings. This can be useful for running multiple builds in parallel or for creating isolated contexts for different parts of the build process.
|
|
169
|
-
*
|
|
170
|
-
* @remarks
|
|
171
|
-
* The cloned context will have the same configuration and workspace settings as the original context, but will have a different build ID, release ID, and timestamp. The virtual file system and caches will also be separate between the original and cloned contexts.
|
|
172
|
-
*
|
|
173
|
-
* @returns A promise that resolves to the cloned context.
|
|
174
|
-
*/
|
|
175
|
-
clone(): Promise<types_d_exports.Context<TResolvedConfig>>;
|
|
176
|
-
/**
|
|
177
|
-
* A function to perform HTTP fetch requests
|
|
178
|
-
*
|
|
179
|
-
* @remarks
|
|
180
|
-
* This function uses a caching layer to avoid duplicate requests during the Powerlines process.
|
|
181
|
-
*
|
|
182
|
-
* @example
|
|
183
|
-
* ```ts
|
|
184
|
-
* const response = await context.fetch("https://api.example.com/data");
|
|
185
|
-
* const data = await response.json();
|
|
186
|
-
* ```
|
|
187
|
-
*
|
|
188
|
-
* @see https://github.com/nodejs/undici
|
|
189
|
-
*
|
|
190
|
-
* @param input - The URL to fetch.
|
|
191
|
-
* @param options - The fetch request options.
|
|
192
|
-
* @returns A promise that resolves to a response returned by the fetch.
|
|
193
|
-
*/
|
|
194
|
-
fetch(input: RequestInfo, options?: types_d_exports.FetchOptions): Promise<Response>;
|
|
195
|
-
/**
|
|
196
|
-
* Parse code using [Oxc-Parser](https://github.com/oxc/oxc) into an (ESTree-compatible)[https://github.com/estree/estree] AST object.
|
|
197
|
-
*
|
|
198
|
-
* @remarks
|
|
199
|
-
* This function can be used to parse TypeScript code into an AST for further analysis or transformation.
|
|
200
|
-
*
|
|
201
|
-
* @example
|
|
202
|
-
* ```ts
|
|
203
|
-
* const ast = context.parse("const x: number = 42;");
|
|
204
|
-
* ```
|
|
205
|
-
*
|
|
206
|
-
* @see https://rollupjs.org/plugin-development/#this-parse
|
|
207
|
-
* @see https://github.com/oxc/oxc
|
|
208
|
-
*
|
|
209
|
-
* @param code - The source code to parse.
|
|
210
|
-
* @param options - The options to pass to the parser.
|
|
211
|
-
* @returns An (ESTree-compatible)[https://github.com/estree/estree] AST object.
|
|
212
|
-
*/
|
|
213
|
-
parse(code: string, options?: types_d_exports.ParseOptions): Promise<ParseResult>;
|
|
214
|
-
/**
|
|
215
|
-
* A helper function to resolve modules in the Virtual File System
|
|
216
|
-
*
|
|
217
|
-
* @remarks
|
|
218
|
-
* This function can be used to resolve modules relative to the project root directory.
|
|
219
|
-
*
|
|
220
|
-
* @example
|
|
221
|
-
* ```ts
|
|
222
|
-
* const resolved = await context.resolve("some-module", "/path/to/importer");
|
|
223
|
-
* ```
|
|
224
|
-
*
|
|
225
|
-
* @param id - The module to resolve.
|
|
226
|
-
* @param importer - An optional path to the importer module.
|
|
227
|
-
* @param options - Additional resolution options.
|
|
228
|
-
* @returns A promise that resolves to the resolved module path.
|
|
229
|
-
*/
|
|
230
|
-
resolve(id: string, importer?: string, options?: types_d_exports.ResolveOptions): Promise<types_d_exports.ResolveResult | undefined>;
|
|
231
|
-
/**
|
|
232
|
-
* A helper function to load modules from the Virtual File System
|
|
233
|
-
*
|
|
234
|
-
* @remarks
|
|
235
|
-
* This function can be used to load modules relative to the project root directory.
|
|
236
|
-
*
|
|
237
|
-
* @example
|
|
238
|
-
* ```ts
|
|
239
|
-
* const module = await context.load("some-module", "/path/to/importer");
|
|
240
|
-
* ```
|
|
241
|
-
*
|
|
242
|
-
* @param id - The module to load.
|
|
243
|
-
* @returns A promise that resolves to the loaded module.
|
|
244
|
-
*/
|
|
245
|
-
load(id: string): Promise<types_d_exports.TransformResult | undefined>;
|
|
246
|
-
/**
|
|
247
|
-
* Get the builtin virtual files that exist in the Powerlines virtual file system
|
|
248
|
-
*/
|
|
249
|
-
getBuiltins(): Promise<types_d_exports.VirtualFile[]>;
|
|
250
|
-
/**
|
|
251
|
-
* Resolves a file and writes it to the VFS if it does not already exist
|
|
252
|
-
*
|
|
253
|
-
* @param code - The source code of the file
|
|
254
|
-
* @param path - The path to write the file to
|
|
255
|
-
* @param options - Additional options for writing the file
|
|
256
|
-
*/
|
|
257
|
-
emit(code: string, path: string, options?: types_d_exports.EmitOptions): Promise<void>;
|
|
258
|
-
/**
|
|
259
|
-
* Synchronously resolves a file and writes it to the VFS if it does not already exist
|
|
260
|
-
*
|
|
261
|
-
* @param code - The source code of the file
|
|
262
|
-
* @param path - The path to write the file to
|
|
263
|
-
* @param options - Additional options for writing the file
|
|
264
|
-
*/
|
|
265
|
-
emitSync(code: string, path: string, options?: types_d_exports.EmitOptions): void;
|
|
266
|
-
/**
|
|
267
|
-
* Resolves a entry virtual file and writes it to the VFS if it does not already exist
|
|
268
|
-
*
|
|
269
|
-
* @param code - The source code of the entry file
|
|
270
|
-
* @param path - A path to write the entry file to
|
|
271
|
-
* @param options - Optional write file options
|
|
272
|
-
*/
|
|
273
|
-
emitEntry(code: string, path: string, options?: types_d_exports.EmitEntryOptions): Promise<void>;
|
|
274
|
-
/**
|
|
275
|
-
* Synchronously resolves a entry virtual file and writes it to the VFS if it does not already exist
|
|
276
|
-
*
|
|
277
|
-
* @param code - The source code of the entry file
|
|
278
|
-
* @param path - A path to write the entry file to
|
|
279
|
-
* @param options - Optional write file options
|
|
280
|
-
*/
|
|
281
|
-
emitEntrySync(code: string, path: string, options?: types_d_exports.EmitEntryOptions): void;
|
|
282
|
-
/**
|
|
283
|
-
* Resolves a builtin virtual file and writes it to the VFS if it does not already exist
|
|
284
|
-
*
|
|
285
|
-
* @param code - The source code of the builtin file
|
|
286
|
-
* @param id - The unique identifier of the builtin file
|
|
287
|
-
* @param options - Optional write file options
|
|
288
|
-
*/
|
|
289
|
-
emitBuiltin(code: string, id: string, options?: types_d_exports.EmitOptions): Promise<void>;
|
|
290
|
-
/**
|
|
291
|
-
* Synchronously resolves a builtin virtual file and writes it to the VFS if it does not already exist
|
|
292
|
-
*
|
|
293
|
-
* @param code - The source code of the builtin file
|
|
294
|
-
* @param id - The unique identifier of the builtin file
|
|
295
|
-
* @param options - Optional write file options
|
|
296
|
-
*/
|
|
297
|
-
emitBuiltinSync(code: string, id: string, options?: types_d_exports.EmitOptions): void;
|
|
298
|
-
/**
|
|
299
|
-
* Resolves a builtin virtual file and writes it to the VFS if it does not already exist
|
|
300
|
-
*
|
|
301
|
-
* @param code - The source code of the builtin file
|
|
302
|
-
* @param id - The unique identifier of the builtin file
|
|
303
|
-
* @param options - Optional write file options
|
|
304
|
-
*/
|
|
305
|
-
emitInfrastructure(code: string, id: string, options?: types_d_exports.EmitOptions): Promise<void>;
|
|
306
|
-
/**
|
|
307
|
-
* Synchronously resolves an infrastructure virtual file and writes it to the VFS if it does not already exist
|
|
308
|
-
*
|
|
309
|
-
* @param code - The source code of the infrastructure file
|
|
310
|
-
* @param id - The unique identifier of the infrastructure file
|
|
311
|
-
* @param options - Optional write file options
|
|
312
|
-
*/
|
|
313
|
-
emitInfrastructureSync(code: string, id: string, options?: types_d_exports.EmitOptions): void;
|
|
314
|
-
/**
|
|
315
|
-
* Update the context using a new user configuration options
|
|
316
|
-
*
|
|
317
|
-
* @param userConfig - The new user configuration options.
|
|
318
|
-
*/
|
|
319
|
-
withUserConfig(userConfig: types_d_exports.InitialUserConfig<TResolvedConfig["userConfig"]>, options?: types_d_exports.InitContextOptions): Promise<void>;
|
|
320
|
-
/**
|
|
321
|
-
* Update the context using a new inline configuration options
|
|
322
|
-
*
|
|
323
|
-
* @param inlineConfig - The new inline configuration options.
|
|
324
|
-
*/
|
|
325
|
-
withInlineConfig(inlineConfig: TResolvedConfig["inlineConfig"], options?: types_d_exports.InitContextOptions): Promise<void>;
|
|
326
|
-
/**
|
|
327
|
-
* A logging function for fatal messages
|
|
328
|
-
*
|
|
329
|
-
* @param message - The message to log.
|
|
330
|
-
*/
|
|
331
|
-
fatal(message: string | UnpluginMessage): void;
|
|
332
|
-
/**
|
|
333
|
-
* A logging function for error messages
|
|
334
|
-
*
|
|
335
|
-
* @param message - The message to log.
|
|
336
|
-
*/
|
|
337
|
-
error(message: string | UnpluginMessage): void;
|
|
338
|
-
/**
|
|
339
|
-
* A logging function for warning messages
|
|
340
|
-
*
|
|
341
|
-
* @param message - The message to log.
|
|
342
|
-
*/
|
|
343
|
-
warn(message: string | UnpluginMessage): void;
|
|
344
|
-
/**
|
|
345
|
-
* A logging function for informational messages
|
|
346
|
-
*
|
|
347
|
-
* @param message - The message to log.
|
|
348
|
-
*/
|
|
349
|
-
info(message: string | UnpluginMessage): void;
|
|
350
|
-
/**
|
|
351
|
-
* A logging function for debug messages
|
|
352
|
-
*
|
|
353
|
-
* @param message - The message to log.
|
|
354
|
-
*/
|
|
355
|
-
debug(message: string | UnpluginMessage): void;
|
|
356
|
-
/**
|
|
357
|
-
* A logging function for trace messages
|
|
358
|
-
*
|
|
359
|
-
* @param message - The message to log.
|
|
360
|
-
*/
|
|
361
|
-
trace(message: string | UnpluginMessage): void;
|
|
362
|
-
/**
|
|
363
|
-
* A function to create a timer for measuring the duration of asynchronous operations
|
|
364
|
-
*
|
|
365
|
-
* @example
|
|
366
|
-
* ```ts
|
|
367
|
-
* const stopTimer = context.timer("Your Async Operation");
|
|
368
|
-
* await performAsyncOperation();
|
|
369
|
-
* stopTimer(); // "Your Async Operation completed in 123.45 milliseconds"
|
|
370
|
-
* ```
|
|
371
|
-
*
|
|
372
|
-
* @param name - The name of the timer.
|
|
373
|
-
* @returns A function that, when called, stops the timer and logs the duration.
|
|
374
|
-
*/
|
|
375
|
-
timer(name: string): () => void;
|
|
376
|
-
/**
|
|
377
|
-
* Create a new logger instance
|
|
378
|
-
*
|
|
379
|
-
* @param name - The name to use for the logger instance
|
|
380
|
-
* @returns A logger function
|
|
381
|
-
*/
|
|
382
|
-
createLog(name?: string | null): types_d_exports.LogFn;
|
|
383
|
-
/**
|
|
384
|
-
* Extend the current logger instance with a new name
|
|
385
|
-
*
|
|
386
|
-
* @param name - The name to use for the extended logger instance
|
|
387
|
-
* @returns A logger function
|
|
388
|
-
*/
|
|
389
|
-
extendLog(name: string): types_d_exports.LogFn;
|
|
390
|
-
/**
|
|
391
|
-
* Generates a checksum representing the current context state
|
|
392
|
-
*
|
|
393
|
-
* @param root - The root directory of the project to generate the checksum for
|
|
394
|
-
* @returns A promise that resolves to a string representing the checksum
|
|
395
|
-
*/
|
|
396
|
-
generateChecksum(root?: string): Promise<string>;
|
|
397
|
-
/**
|
|
398
|
-
* Creates a new StormContext instance.
|
|
399
|
-
*
|
|
400
|
-
* @param workspaceConfig - The workspace configuration.
|
|
401
|
-
*/
|
|
402
|
-
protected constructor(workspaceConfig: types_d_exports.WorkspaceConfig);
|
|
403
|
-
/**
|
|
404
|
-
* The resolved configuration for this context
|
|
405
|
-
*/
|
|
406
|
-
protected resolvedConfig: TResolvedConfig;
|
|
407
|
-
/**
|
|
408
|
-
* A logger function specific to this context
|
|
409
|
-
*/
|
|
410
|
-
protected logger: types_d_exports.Logger;
|
|
411
|
-
/**
|
|
412
|
-
* Creates a clone of the current context with the same configuration and workspace settings. This can be useful for running multiple builds in parallel or for creating isolated contexts for different parts of the build process.
|
|
413
|
-
*
|
|
414
|
-
* @remarks
|
|
415
|
-
* The cloned context will have the same configuration and workspace settings as the original context, but will have a different build ID, release ID, and timestamp. The virtual file system and caches will also be separate between the original and cloned contexts.
|
|
416
|
-
*
|
|
417
|
-
* @returns The cloned context.
|
|
418
|
-
*/
|
|
419
|
-
protected copyTo(context: types_d_exports.Context<TResolvedConfig>): types_d_exports.Context<TResolvedConfig>;
|
|
420
|
-
/**
|
|
421
|
-
* Initialize the context with the provided configuration options
|
|
422
|
-
*
|
|
423
|
-
* @param config - The partial user configuration to use for initialization.
|
|
424
|
-
*/
|
|
425
|
-
protected init(config?: Partial<TResolvedConfig["userConfig"]>, options?: types_d_exports.InitContextOptions): Promise<void>;
|
|
426
|
-
protected mergeUserConfig(from?: Partial<TResolvedConfig["userConfig"]>, into?: Partial<TResolvedConfig["userConfig"]>): void;
|
|
427
|
-
}
|
|
428
|
-
//#endregion
|
|
429
|
-
//#region src/context/api-context.d.ts
|
|
430
|
-
declare class PowerlinesAPIContext<TResolvedConfig extends types_d_exports.ResolvedConfig = types_d_exports.ResolvedConfig> extends PowerlinesContext<TResolvedConfig> implements types_d_exports.APIContext<TResolvedConfig> {
|
|
431
|
-
#private;
|
|
432
|
-
/**
|
|
433
|
-
* Create a new Storm context from the workspace root and user config.
|
|
434
|
-
*
|
|
435
|
-
* @param workspaceRoot - The root directory of the workspace.
|
|
436
|
-
* @param config - The user configuration options.
|
|
437
|
-
* @returns A promise that resolves to the new context.
|
|
438
|
-
*/
|
|
439
|
-
static from<TResolvedConfig extends types_d_exports.ResolvedConfig = types_d_exports.ResolvedConfig>(workspaceRoot: string, config: types_d_exports.InitialUserConfig<TResolvedConfig["userConfig"]>): Promise<types_d_exports.APIContext<TResolvedConfig>>;
|
|
440
|
-
/**
|
|
441
|
-
* Internal context fields and methods
|
|
442
|
-
*
|
|
443
|
-
* @danger
|
|
444
|
-
* This field is for internal use only and should not be accessed or modified directly. It is unstable and can be changed at anytime.
|
|
445
|
-
*
|
|
446
|
-
* @internal
|
|
447
|
-
*/
|
|
448
|
-
get $$internal(): Unstable_ContextInternal<TResolvedConfig>;
|
|
449
|
-
/**
|
|
450
|
-
* Internal context fields and methods
|
|
451
|
-
*
|
|
452
|
-
* @danger
|
|
453
|
-
* This field is for internal use only and should not be accessed or modified directly. It is unstable and can be changed at anytime.
|
|
454
|
-
*
|
|
455
|
-
* @internal
|
|
456
|
-
*/
|
|
457
|
-
set $$internal(value: Unstable_ContextInternal<TResolvedConfig>);
|
|
458
|
-
/**
|
|
459
|
-
* A record of all environments by name
|
|
460
|
-
*/
|
|
461
|
-
get environments(): Record<string, Unstable_EnvironmentContext<TResolvedConfig>>;
|
|
462
|
-
get plugins(): Array<types_d_exports.Plugin<types_d_exports.PluginContext<TResolvedConfig>>>;
|
|
463
|
-
protected constructor(workspaceConfig: types_d_exports.WorkspaceConfig);
|
|
464
|
-
/**
|
|
465
|
-
* Creates a clone of the current context with the same configuration and workspace settings. This can be useful for running multiple builds in parallel or for creating isolated contexts for different parts of the build process.
|
|
466
|
-
*
|
|
467
|
-
* @remarks
|
|
468
|
-
* The cloned context will have the same configuration and workspace settings as the original context, but will have a different build ID, release ID, and timestamp. The virtual file system and caches will also be separate between the original and cloned contexts.
|
|
469
|
-
*
|
|
470
|
-
* @returns A promise that resolves to the cloned context.
|
|
471
|
-
*/
|
|
472
|
-
clone(): Promise<types_d_exports.APIContext<TResolvedConfig>>;
|
|
473
|
-
/**
|
|
474
|
-
* Initialize the context with the provided configuration options
|
|
475
|
-
*
|
|
476
|
-
* @param config - The partial user configuration to use for initialization.
|
|
477
|
-
*/
|
|
478
|
-
protected init(config?: Partial<TResolvedConfig["userConfig"]>): Promise<void>;
|
|
479
|
-
/**
|
|
480
|
-
* A function to copy the context and update the fields for a specific environment
|
|
481
|
-
*
|
|
482
|
-
* @param environment - The environment configuration to use.
|
|
483
|
-
* @returns A new context instance with the updated environment.
|
|
484
|
-
*/
|
|
485
|
-
in(environment: types_d_exports.EnvironmentResolvedConfig): Promise<Unstable_EnvironmentContext<TResolvedConfig>>;
|
|
486
|
-
/**
|
|
487
|
-
* Update the context using a new user configuration options
|
|
488
|
-
*
|
|
489
|
-
* @param userConfig - The new user configuration options.
|
|
490
|
-
*/
|
|
491
|
-
withUserConfig(userConfig: types_d_exports.InitialUserConfig<TResolvedConfig["userConfig"]>, options?: types_d_exports.InitContextOptions): Promise<void>;
|
|
492
|
-
/**
|
|
493
|
-
* Update the context using a new inline configuration options
|
|
494
|
-
*
|
|
495
|
-
* @param inlineConfig - The new inline configuration options.
|
|
496
|
-
*/
|
|
497
|
-
withInlineConfig(inlineConfig: TResolvedConfig["inlineConfig"], options?: types_d_exports.InitContextOptions): Promise<void>;
|
|
498
|
-
/**
|
|
499
|
-
* Add a plugin to the API context and all environments
|
|
500
|
-
*
|
|
501
|
-
* @param plugin - The plugin to add.
|
|
502
|
-
*/
|
|
503
|
-
addPlugin(plugin: types_d_exports.Plugin<types_d_exports.PluginContext<TResolvedConfig>>): Promise<void>;
|
|
504
|
-
/**
|
|
505
|
-
* Get an environment by name, or the default environment if no name is provided
|
|
506
|
-
*
|
|
507
|
-
* @param name - The name of the environment to retrieve.
|
|
508
|
-
* @returns The requested environment context.
|
|
509
|
-
*/
|
|
510
|
-
getEnvironment(name?: string): Promise<types_d_exports.EnvironmentContext<TResolvedConfig>>;
|
|
511
|
-
/**
|
|
512
|
-
* A safe version of `getEnvironment` that returns `undefined` if the environment is not found
|
|
513
|
-
*
|
|
514
|
-
* @param name - The name of the environment to retrieve.
|
|
515
|
-
* @returns The requested environment context or `undefined` if not found.
|
|
516
|
-
*/
|
|
517
|
-
getEnvironmentSafe(name?: string): Promise<types_d_exports.EnvironmentContext<TResolvedConfig> | undefined>;
|
|
518
|
-
/**
|
|
519
|
-
* A function to merge all configured environments into a single context.
|
|
520
|
-
*
|
|
521
|
-
* @remarks
|
|
522
|
-
* If only one environment is configured, that environment will be returned directly.
|
|
523
|
-
*
|
|
524
|
-
* @returns A promise that resolves to a merged/global environment context.
|
|
525
|
-
*/
|
|
526
|
-
toEnvironment(): Promise<types_d_exports.EnvironmentContext<TResolvedConfig>>;
|
|
527
|
-
}
|
|
528
|
-
//#endregion
|
|
529
|
-
//#region src/context/environment-context.d.ts
|
|
530
|
-
declare class PowerlinesEnvironmentContext<TResolvedConfig extends types_d_exports.ResolvedConfig = types_d_exports.ResolvedConfig> extends PowerlinesContext<TResolvedConfig> implements types_d_exports.EnvironmentContext<TResolvedConfig> {
|
|
531
|
-
#private;
|
|
532
|
-
/**
|
|
533
|
-
* Create a new Storm context from the workspace root and user config.
|
|
534
|
-
*
|
|
535
|
-
* @param workspaceConfig - The root directory of the workspace.
|
|
536
|
-
* @param config - The user configuration options.
|
|
537
|
-
* @returns A promise that resolves to the new context.
|
|
538
|
-
*/
|
|
539
|
-
static fromConfig<TResolvedConfig extends types_d_exports.ResolvedConfig = types_d_exports.ResolvedConfig>(workspaceConfig: types_d_exports.WorkspaceConfig, config: TResolvedConfig): Promise<PowerlinesEnvironmentContext<TResolvedConfig>>;
|
|
540
|
-
/**
|
|
541
|
-
* The resolved environment configuration
|
|
542
|
-
*/
|
|
543
|
-
environment: types_d_exports.EnvironmentResolvedConfig;
|
|
544
|
-
/**
|
|
545
|
-
* The list of plugins applied to this environment
|
|
546
|
-
*/
|
|
547
|
-
plugins: types_d_exports.EnvironmentContextPlugin<TResolvedConfig>[];
|
|
548
|
-
/**
|
|
549
|
-
* The resolved configuration options
|
|
550
|
-
*/
|
|
551
|
-
get config(): TResolvedConfig;
|
|
552
|
-
/**
|
|
553
|
-
* Create a new logger instance
|
|
554
|
-
*
|
|
555
|
-
* @param name - The name to use for the logger instance
|
|
556
|
-
* @returns A logger function
|
|
557
|
-
*/
|
|
558
|
-
createLog(name?: string | null): types_d_exports.LogFn;
|
|
559
|
-
/**
|
|
560
|
-
* The hooks registered by plugins in this environment
|
|
561
|
-
*/
|
|
562
|
-
get hooks(): Record<string, types_d_exports.HooksList<types_d_exports.PluginContext<TResolvedConfig>>>;
|
|
563
|
-
/**
|
|
564
|
-
* Creates a clone of the current context with the same configuration and workspace settings. This can be useful for running multiple builds in parallel or for creating isolated contexts for different parts of the build process.
|
|
565
|
-
*
|
|
566
|
-
* @remarks
|
|
567
|
-
* The cloned context will have the same configuration and workspace settings as the original context, but will have a different build ID, release ID, and timestamp. The virtual file system and caches will also be separate between the original and cloned contexts.
|
|
568
|
-
*
|
|
569
|
-
* @returns A promise that resolves to the cloned context.
|
|
570
|
-
*/
|
|
571
|
-
clone(): Promise<types_d_exports.EnvironmentContext<TResolvedConfig>>;
|
|
572
|
-
addPlugin(plugin: types_d_exports.Plugin<types_d_exports.PluginContext<TResolvedConfig>>): Promise<void>;
|
|
573
|
-
/**
|
|
574
|
-
* Retrieves the hook handlers for a specific hook name
|
|
575
|
-
*/
|
|
576
|
-
selectHooks<TKey extends string>(key: TKey, options?: types_d_exports.SelectHooksOptions): types_d_exports.SelectHookResult<types_d_exports.PluginContext<TResolvedConfig>, TKey>;
|
|
577
|
-
protected constructor(config: TResolvedConfig, workspaceConfig: types_d_exports.WorkspaceConfig);
|
|
578
|
-
/**
|
|
579
|
-
* Creates a clone of the current context with the same configuration and workspace settings. This can be useful for running multiple builds in parallel or for creating isolated contexts for different parts of the build process.
|
|
580
|
-
*
|
|
581
|
-
* @remarks
|
|
582
|
-
* The cloned context will have the same configuration and workspace settings as the original context, but will have a different build ID, release ID, and timestamp. The virtual file system and caches will also be separate between the original and cloned contexts.
|
|
583
|
-
*
|
|
584
|
-
* @returns The cloned context.
|
|
585
|
-
*/
|
|
586
|
-
protected copyTo(context: types_d_exports.EnvironmentContext<TResolvedConfig>): types_d_exports.EnvironmentContext<TResolvedConfig>;
|
|
587
|
-
}
|
|
588
|
-
//#endregion
|
|
589
|
-
//#region src/context/plugin-context.d.ts
|
|
590
|
-
/**
|
|
591
|
-
* Create a Proxy-based PluginContext
|
|
592
|
-
*
|
|
593
|
-
* @param plugin - The plugin instance
|
|
594
|
-
* @param environment - The environment context
|
|
595
|
-
* @returns The proxied plugin context
|
|
596
|
-
*/
|
|
597
|
-
declare function createPluginContext<TResolvedConfig extends types_d_exports.ResolvedConfig = types_d_exports.ResolvedConfig>(plugin: types_d_exports.Plugin<types_d_exports.PluginContext<TResolvedConfig>>, environment: Unstable_EnvironmentContext<TResolvedConfig>): Unstable_PluginContext<TResolvedConfig>;
|
|
598
|
-
//#endregion
|
|
599
|
-
export { PowerlinesAPIContext, PowerlinesContext, PowerlinesEnvironmentContext, createPluginContext };
|
|
600
|
-
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../../src/context/context.ts","../../src/context/api-context.ts","../../src/context/environment-context.ts","../../src/context/plugin-context.ts"],"mappings":";;;;;;;;;;;cA+Ja,iBAAA,yBACa,eAAA,CAAA,cAAA,GAAiB,eAAA,CAAA,cAAA,aAC9B,eAAA,CAAA,OAAA,CAAQ,eAAA;EAAA;EAFR;;;;;;;EAAA,OAsFS,IAAA,yBACM,eAAA,CAAA,cAAA,GAAiB,eAAA,CAAA,cAAA,CAAA,CAEzC,aAAA,UACA,MAAA,EAAQ,eAAA,CAAA,iBAAA,CAAkB,eAAA,kBACzB,OAAA,CAAQ,eAAA,CAAA,OAAA,CAAQ,eAAA;EADS;;;EAoBrB,YAAA,EAAc,MAAA,kBAAwB,KAAA;EAnB1C;;;EAwBI,eAAA,EAAiB,MAAA,kBAAwB,KAAA;EAAxB;;;EAKjB,aAAA,EAAe,eAAA,CAAA,QAAA;EAoBJ;;;EAfX,cAAA;EA0C+C;;;EArC/C,WAAA,EAAc,WAAA;EA2EM;;;EAtEpB,WAAA,EAAa,MAAA;EA+HF;;;EA1HX,QAAA,EAAW,eAAA,CAAA,QAAA;EAkTW;;;EA7StB,eAAA,EAAiB,MAAA;EA4XM;;;;;;;;EAAA,IAlXnB,UAAA,CAAA,GAAc,wBAAA,CAAyB,eAAA;EA6fvC;;;;;;;;EAAA,IAjfA,UAAA,CAAW,KAAA,EAAO,wBAAA,CAAyB,eAAA;EA0rBD;;;EAAA,IAnrB1C,KAAA,CAAA,GAAS,eAAA,CAAA,2BAAA;EA4xBT;;;EAAA,IA1wBA,QAAA,CAAA,GAAY,eAAA,CAAA,sBAAA;EAq0BpB;;;EAAA,IAxzBQ,QAAA,CAAS,KAAA,EAAO,eAAA,CAAA,sBAAA;EAk3BhB;;;EAAA,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IAAA;EAAA,UAqD3C,WAAA,CACP,MAAA,EAAQ,eAAA,EACR,eAAA,EAAiB,eAAA,CAAA,eAAA;EF8ZmB;;;;;;;;EAAA,UE/YnB,MAAA,CACjB,OAAA,EAAS,eAAA,CAAA,kBAAA,CAAmB,eAAA,IAC3B,eAAA,CAAA,kBAAA,CAAmB,eAAA;AAAA;;;;;;;;;;iBCpPR,mBAAA,yBACU,eAAA,CAAA,cAAA,GAAiB,eAAA,CAAA,cAAA,CAAA,CAEzC,MAAA,EAAQ,eAAA,CAAA,MAAA,CAAO,eAAA,CAAA,aAAA,CAAc,eAAA,IAC7B,WAAA,EAAa,2BAAA,CAA4B,eAAA,IACxC,sBAAA,CAAuB,eAAA"}
|
package/dist/context/index.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-utils.mjs","names":[],"sources":["../src/plugin-utils.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nexport * from \"@powerlines/core/plugin-utils\";\n"],"mappings":""}
|
package/dist/storage/index.cjs
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_virtual = require('../virtual-BNy8T32w.cjs');
|
|
3
|
-
|
|
4
|
-
exports.BaseStorageAdapter = require_virtual.BaseStorageAdapter;
|
|
5
|
-
exports.FileSystemStorageAdapter = require_virtual.FileSystemStorageAdapter;
|
|
6
|
-
exports.VirtualStorageAdapter = require_virtual.VirtualStorageAdapter;
|
|
7
|
-
exports.ignoreExists = require_virtual.ignoreExists;
|
|
8
|
-
exports.ignoreNotfound = require_virtual.ignoreNotfound;
|
|
9
|
-
exports.isFileError = require_virtual.isFileError;
|