@powerlines/plugin-pulumi 0.2.101 → 0.2.103
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/index-BgAdqTbb.d.mts +1 -0
- package/dist/index-CEgs-Dz2.d.cts +1 -0
- package/dist/index.cjs +76 -4
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -3
- package/dist/index.mjs +47 -1
- package/dist/plugin-C3MaN5jp.mjs +1 -0
- package/dist/plugin-DHXHjv16.cjs +0 -0
- package/dist/plugin-Djy6GNKY.d.cts +1834 -0
- package/dist/plugin-DvMnsKB8.d.mts +1834 -0
- package/dist/types/index.cjs +2 -0
- package/dist/types/index.d.cts +2 -1
- package/dist/types/index.d.mts +2 -1
- package/dist/types/index.mjs +3 -0
- package/dist/types/plugin.cjs +1 -0
- package/dist/types/plugin.d.cts +1 -82
- package/dist/types/plugin.d.mts +1 -82
- package/dist/types/plugin.mjs +2 -0
- package/dist/types-CTUnla4x.mjs +1 -0
- package/dist/types-DHkg7xmX.cjs +0 -0
- package/package.json +4 -4
- package/dist/_virtual/rolldown_runtime.cjs +0 -29
- package/dist/powerlines/src/plugin-utils/context-helpers.cjs +0 -49
- package/dist/powerlines/src/plugin-utils/context-helpers.mjs +0 -47
- package/dist/powerlines/src/types/build.d.cts +0 -145
- package/dist/powerlines/src/types/build.d.mts +0 -145
- package/dist/powerlines/src/types/commands.d.cts +0 -8
- package/dist/powerlines/src/types/commands.d.mts +0 -8
- package/dist/powerlines/src/types/config.d.cts +0 -369
- package/dist/powerlines/src/types/config.d.mts +0 -369
- package/dist/powerlines/src/types/context.d.cts +0 -403
- package/dist/powerlines/src/types/context.d.mts +0 -403
- package/dist/powerlines/src/types/fs.d.cts +0 -486
- package/dist/powerlines/src/types/fs.d.mts +0 -486
- package/dist/powerlines/src/types/plugin.d.cts +0 -231
- package/dist/powerlines/src/types/plugin.d.mts +0 -231
- package/dist/powerlines/src/types/resolved.d.cts +0 -81
- package/dist/powerlines/src/types/resolved.d.mts +0 -81
- package/dist/powerlines/src/types/tsconfig.d.cts +0 -69
- package/dist/powerlines/src/types/tsconfig.d.mts +0 -69
package/dist/types/index.cjs
CHANGED
package/dist/types/index.d.cts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { S as __ΩPulumiPluginUserConfig, _ as __ΩPulumiPluginDeployConfig, a as PulumiPluginCreateStackOptions, b as __ΩPulumiPluginResolvedConfig, c as PulumiPluginOptions, d as PulumiPluginUserConfig, f as __ΩPulumiPluginBaseOptions, g as __ΩPulumiPluginCreateStackOptions, h as __ΩPulumiPluginCreateStackLocalOptions, i as PulumiPluginCreateStackLocalOptions, l as PulumiPluginResolvedConfig, m as __ΩPulumiPluginCreateStackInlineOptions, n as PulumiPluginContext, o as PulumiPluginDeployConfig, p as __ΩPulumiPluginContext, r as PulumiPluginCreateStackInlineOptions, s as PulumiPluginExistingStackOptions, t as PulumiPluginBaseOptions, u as PulumiPluginResolvedOptions, v as __ΩPulumiPluginExistingStackOptions, x as __ΩPulumiPluginResolvedOptions, y as __ΩPulumiPluginOptions } from "../plugin-Djy6GNKY.cjs";
|
|
2
|
+
import "../index-CEgs-Dz2.cjs";
|
|
2
3
|
export { PulumiPluginBaseOptions, PulumiPluginContext, PulumiPluginCreateStackInlineOptions, PulumiPluginCreateStackLocalOptions, PulumiPluginCreateStackOptions, PulumiPluginDeployConfig, PulumiPluginExistingStackOptions, PulumiPluginOptions, PulumiPluginResolvedConfig, PulumiPluginResolvedOptions, PulumiPluginUserConfig, __ΩPulumiPluginBaseOptions, __ΩPulumiPluginContext, __ΩPulumiPluginCreateStackInlineOptions, __ΩPulumiPluginCreateStackLocalOptions, __ΩPulumiPluginCreateStackOptions, __ΩPulumiPluginDeployConfig, __ΩPulumiPluginExistingStackOptions, __ΩPulumiPluginOptions, __ΩPulumiPluginResolvedConfig, __ΩPulumiPluginResolvedOptions, __ΩPulumiPluginUserConfig };
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { S as __ΩPulumiPluginUserConfig, _ as __ΩPulumiPluginDeployConfig, a as PulumiPluginCreateStackOptions, b as __ΩPulumiPluginResolvedConfig, c as PulumiPluginOptions, d as PulumiPluginUserConfig, f as __ΩPulumiPluginBaseOptions, g as __ΩPulumiPluginCreateStackOptions, h as __ΩPulumiPluginCreateStackLocalOptions, i as PulumiPluginCreateStackLocalOptions, l as PulumiPluginResolvedConfig, m as __ΩPulumiPluginCreateStackInlineOptions, n as PulumiPluginContext, o as PulumiPluginDeployConfig, p as __ΩPulumiPluginContext, r as PulumiPluginCreateStackInlineOptions, s as PulumiPluginExistingStackOptions, t as PulumiPluginBaseOptions, u as PulumiPluginResolvedOptions, v as __ΩPulumiPluginExistingStackOptions, x as __ΩPulumiPluginResolvedOptions, y as __ΩPulumiPluginOptions } from "../plugin-DvMnsKB8.mjs";
|
|
2
|
+
import "../index-BgAdqTbb.mjs";
|
|
2
3
|
export { PulumiPluginBaseOptions, PulumiPluginContext, PulumiPluginCreateStackInlineOptions, PulumiPluginCreateStackLocalOptions, PulumiPluginCreateStackOptions, PulumiPluginDeployConfig, PulumiPluginExistingStackOptions, PulumiPluginOptions, PulumiPluginResolvedConfig, PulumiPluginResolvedOptions, PulumiPluginUserConfig, __ΩPulumiPluginBaseOptions, __ΩPulumiPluginContext, __ΩPulumiPluginCreateStackInlineOptions, __ΩPulumiPluginCreateStackLocalOptions, __ΩPulumiPluginCreateStackOptions, __ΩPulumiPluginDeployConfig, __ΩPulumiPluginExistingStackOptions, __ΩPulumiPluginOptions, __ΩPulumiPluginResolvedConfig, __ΩPulumiPluginResolvedOptions, __ΩPulumiPluginUserConfig };
|
package/dist/types/index.mjs
CHANGED
package/dist/types/plugin.cjs
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('../plugin-DHXHjv16.cjs');
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,83 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ResolvedConfig } from "../powerlines/src/types/resolved.cjs";
|
|
3
|
-
import { PluginContext } from "../powerlines/src/types/context.cjs";
|
|
4
|
-
import { LocalWorkspaceOptions, PulumiFn, Stack, StackSettings } from "@pulumi/pulumi/automation";
|
|
5
|
-
|
|
6
|
-
//#region src/types/plugin.d.ts
|
|
7
|
-
interface PulumiPluginBaseOptions {
|
|
8
|
-
/**
|
|
9
|
-
* Whether to destroy the stack during the `destroy` lifecycle phase.
|
|
10
|
-
*
|
|
11
|
-
* @defaultValue false
|
|
12
|
-
*/
|
|
13
|
-
destroy?: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* Additional stack settings.
|
|
16
|
-
*/
|
|
17
|
-
settings?: StackSettings;
|
|
18
|
-
}
|
|
19
|
-
interface PulumiPluginExistingStackOptions extends PulumiPluginBaseOptions {
|
|
20
|
-
/**
|
|
21
|
-
* The Pulumi Stack instance to use for deployment operations.
|
|
22
|
-
*/
|
|
23
|
-
stack?: Stack;
|
|
24
|
-
}
|
|
25
|
-
interface PulumiPluginCreateStackOptions extends PulumiPluginBaseOptions {
|
|
26
|
-
/**
|
|
27
|
-
* The associated stack name.
|
|
28
|
-
*/
|
|
29
|
-
stackName?: string;
|
|
30
|
-
/**
|
|
31
|
-
* Additional options for the Pulumi Workspace.
|
|
32
|
-
*/
|
|
33
|
-
options?: LocalWorkspaceOptions;
|
|
34
|
-
}
|
|
35
|
-
interface PulumiPluginExistingStackOptions {
|
|
36
|
-
/**
|
|
37
|
-
* The Pulumi Stack instance to use for deployment operations.
|
|
38
|
-
*/
|
|
39
|
-
stack?: Stack;
|
|
40
|
-
}
|
|
41
|
-
interface PulumiPluginCreateStackInlineOptions extends PulumiPluginCreateStackOptions {
|
|
42
|
-
/**
|
|
43
|
-
* The associated project name.
|
|
44
|
-
*/
|
|
45
|
-
projectName?: string;
|
|
46
|
-
/**
|
|
47
|
-
* The inline (in-process) Pulumi program to use with update and preview operations.
|
|
48
|
-
*/
|
|
49
|
-
program?: PulumiFn;
|
|
50
|
-
}
|
|
51
|
-
interface PulumiPluginCreateStackLocalOptions extends PulumiPluginCreateStackOptions {
|
|
52
|
-
/**
|
|
53
|
-
* The working directory of the program.
|
|
54
|
-
*
|
|
55
|
-
* @defaultValue "\{artifactsPath\}/infrastructure"
|
|
56
|
-
*/
|
|
57
|
-
workDir?: string;
|
|
58
|
-
}
|
|
59
|
-
type PulumiPluginOptions = PulumiPluginExistingStackOptions | PulumiPluginCreateStackInlineOptions | PulumiPluginCreateStackLocalOptions;
|
|
60
|
-
type PulumiPluginResolvedOptions = (Omit<PulumiPluginExistingStackOptions, "stack"> & Required<Pick<PulumiPluginExistingStackOptions, "stack">>) | (Omit<PulumiPluginCreateStackInlineOptions, "stackName" | "projectName" | "program"> & Required<Pick<PulumiPluginCreateStackInlineOptions, "stackName" | "projectName" | "program">>) | (Omit<PulumiPluginCreateStackLocalOptions, "stackName" | "workDir"> & Required<Pick<PulumiPluginCreateStackLocalOptions, "stackName" | "workDir">>);
|
|
61
|
-
interface PulumiPluginDeployConfig extends DeployConfig {
|
|
62
|
-
pulumi: PulumiPluginOptions;
|
|
63
|
-
}
|
|
64
|
-
interface PulumiPluginUserConfig extends UserConfig {
|
|
65
|
-
deploy: PulumiPluginDeployConfig;
|
|
66
|
-
}
|
|
67
|
-
interface PulumiPluginResolvedConfig extends ResolvedConfig {
|
|
68
|
-
deploy: PulumiPluginDeployConfig;
|
|
69
|
-
}
|
|
70
|
-
type PulumiPluginContext<TResolvedConfig extends PulumiPluginResolvedConfig = PulumiPluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
71
|
-
declare type __ΩPulumiPluginBaseOptions = any[];
|
|
72
|
-
declare type __ΩPulumiPluginExistingStackOptions = any[];
|
|
73
|
-
declare type __ΩPulumiPluginCreateStackOptions = any[];
|
|
74
|
-
declare type __ΩPulumiPluginCreateStackInlineOptions = any[];
|
|
75
|
-
declare type __ΩPulumiPluginCreateStackLocalOptions = any[];
|
|
76
|
-
declare type __ΩPulumiPluginOptions = any[];
|
|
77
|
-
declare type __ΩPulumiPluginResolvedOptions = any[];
|
|
78
|
-
declare type __ΩPulumiPluginDeployConfig = any[];
|
|
79
|
-
declare type __ΩPulumiPluginUserConfig = any[];
|
|
80
|
-
declare type __ΩPulumiPluginResolvedConfig = any[];
|
|
81
|
-
declare type __ΩPulumiPluginContext = any[];
|
|
82
|
-
//#endregion
|
|
1
|
+
import { S as __ΩPulumiPluginUserConfig, _ as __ΩPulumiPluginDeployConfig, a as PulumiPluginCreateStackOptions, b as __ΩPulumiPluginResolvedConfig, c as PulumiPluginOptions, d as PulumiPluginUserConfig, f as __ΩPulumiPluginBaseOptions, g as __ΩPulumiPluginCreateStackOptions, h as __ΩPulumiPluginCreateStackLocalOptions, i as PulumiPluginCreateStackLocalOptions, l as PulumiPluginResolvedConfig, m as __ΩPulumiPluginCreateStackInlineOptions, n as PulumiPluginContext, o as PulumiPluginDeployConfig, p as __ΩPulumiPluginContext, r as PulumiPluginCreateStackInlineOptions, s as PulumiPluginExistingStackOptions, t as PulumiPluginBaseOptions, u as PulumiPluginResolvedOptions, v as __ΩPulumiPluginExistingStackOptions, x as __ΩPulumiPluginResolvedOptions, y as __ΩPulumiPluginOptions } from "../plugin-Djy6GNKY.cjs";
|
|
83
2
|
export { PulumiPluginBaseOptions, PulumiPluginContext, PulumiPluginCreateStackInlineOptions, PulumiPluginCreateStackLocalOptions, PulumiPluginCreateStackOptions, PulumiPluginDeployConfig, PulumiPluginExistingStackOptions, PulumiPluginOptions, PulumiPluginResolvedConfig, PulumiPluginResolvedOptions, PulumiPluginUserConfig, __ΩPulumiPluginBaseOptions, __ΩPulumiPluginContext, __ΩPulumiPluginCreateStackInlineOptions, __ΩPulumiPluginCreateStackLocalOptions, __ΩPulumiPluginCreateStackOptions, __ΩPulumiPluginDeployConfig, __ΩPulumiPluginExistingStackOptions, __ΩPulumiPluginOptions, __ΩPulumiPluginResolvedConfig, __ΩPulumiPluginResolvedOptions, __ΩPulumiPluginUserConfig };
|
package/dist/types/plugin.d.mts
CHANGED
|
@@ -1,83 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ResolvedConfig } from "../powerlines/src/types/resolved.mjs";
|
|
3
|
-
import { PluginContext } from "../powerlines/src/types/context.mjs";
|
|
4
|
-
import { LocalWorkspaceOptions, PulumiFn, Stack, StackSettings } from "@pulumi/pulumi/automation";
|
|
5
|
-
|
|
6
|
-
//#region src/types/plugin.d.ts
|
|
7
|
-
interface PulumiPluginBaseOptions {
|
|
8
|
-
/**
|
|
9
|
-
* Whether to destroy the stack during the `destroy` lifecycle phase.
|
|
10
|
-
*
|
|
11
|
-
* @defaultValue false
|
|
12
|
-
*/
|
|
13
|
-
destroy?: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* Additional stack settings.
|
|
16
|
-
*/
|
|
17
|
-
settings?: StackSettings;
|
|
18
|
-
}
|
|
19
|
-
interface PulumiPluginExistingStackOptions extends PulumiPluginBaseOptions {
|
|
20
|
-
/**
|
|
21
|
-
* The Pulumi Stack instance to use for deployment operations.
|
|
22
|
-
*/
|
|
23
|
-
stack?: Stack;
|
|
24
|
-
}
|
|
25
|
-
interface PulumiPluginCreateStackOptions extends PulumiPluginBaseOptions {
|
|
26
|
-
/**
|
|
27
|
-
* The associated stack name.
|
|
28
|
-
*/
|
|
29
|
-
stackName?: string;
|
|
30
|
-
/**
|
|
31
|
-
* Additional options for the Pulumi Workspace.
|
|
32
|
-
*/
|
|
33
|
-
options?: LocalWorkspaceOptions;
|
|
34
|
-
}
|
|
35
|
-
interface PulumiPluginExistingStackOptions {
|
|
36
|
-
/**
|
|
37
|
-
* The Pulumi Stack instance to use for deployment operations.
|
|
38
|
-
*/
|
|
39
|
-
stack?: Stack;
|
|
40
|
-
}
|
|
41
|
-
interface PulumiPluginCreateStackInlineOptions extends PulumiPluginCreateStackOptions {
|
|
42
|
-
/**
|
|
43
|
-
* The associated project name.
|
|
44
|
-
*/
|
|
45
|
-
projectName?: string;
|
|
46
|
-
/**
|
|
47
|
-
* The inline (in-process) Pulumi program to use with update and preview operations.
|
|
48
|
-
*/
|
|
49
|
-
program?: PulumiFn;
|
|
50
|
-
}
|
|
51
|
-
interface PulumiPluginCreateStackLocalOptions extends PulumiPluginCreateStackOptions {
|
|
52
|
-
/**
|
|
53
|
-
* The working directory of the program.
|
|
54
|
-
*
|
|
55
|
-
* @defaultValue "\{artifactsPath\}/infrastructure"
|
|
56
|
-
*/
|
|
57
|
-
workDir?: string;
|
|
58
|
-
}
|
|
59
|
-
type PulumiPluginOptions = PulumiPluginExistingStackOptions | PulumiPluginCreateStackInlineOptions | PulumiPluginCreateStackLocalOptions;
|
|
60
|
-
type PulumiPluginResolvedOptions = (Omit<PulumiPluginExistingStackOptions, "stack"> & Required<Pick<PulumiPluginExistingStackOptions, "stack">>) | (Omit<PulumiPluginCreateStackInlineOptions, "stackName" | "projectName" | "program"> & Required<Pick<PulumiPluginCreateStackInlineOptions, "stackName" | "projectName" | "program">>) | (Omit<PulumiPluginCreateStackLocalOptions, "stackName" | "workDir"> & Required<Pick<PulumiPluginCreateStackLocalOptions, "stackName" | "workDir">>);
|
|
61
|
-
interface PulumiPluginDeployConfig extends DeployConfig {
|
|
62
|
-
pulumi: PulumiPluginOptions;
|
|
63
|
-
}
|
|
64
|
-
interface PulumiPluginUserConfig extends UserConfig {
|
|
65
|
-
deploy: PulumiPluginDeployConfig;
|
|
66
|
-
}
|
|
67
|
-
interface PulumiPluginResolvedConfig extends ResolvedConfig {
|
|
68
|
-
deploy: PulumiPluginDeployConfig;
|
|
69
|
-
}
|
|
70
|
-
type PulumiPluginContext<TResolvedConfig extends PulumiPluginResolvedConfig = PulumiPluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
71
|
-
declare type __ΩPulumiPluginBaseOptions = any[];
|
|
72
|
-
declare type __ΩPulumiPluginExistingStackOptions = any[];
|
|
73
|
-
declare type __ΩPulumiPluginCreateStackOptions = any[];
|
|
74
|
-
declare type __ΩPulumiPluginCreateStackInlineOptions = any[];
|
|
75
|
-
declare type __ΩPulumiPluginCreateStackLocalOptions = any[];
|
|
76
|
-
declare type __ΩPulumiPluginOptions = any[];
|
|
77
|
-
declare type __ΩPulumiPluginResolvedOptions = any[];
|
|
78
|
-
declare type __ΩPulumiPluginDeployConfig = any[];
|
|
79
|
-
declare type __ΩPulumiPluginUserConfig = any[];
|
|
80
|
-
declare type __ΩPulumiPluginResolvedConfig = any[];
|
|
81
|
-
declare type __ΩPulumiPluginContext = any[];
|
|
82
|
-
//#endregion
|
|
1
|
+
import { S as __ΩPulumiPluginUserConfig, _ as __ΩPulumiPluginDeployConfig, a as PulumiPluginCreateStackOptions, b as __ΩPulumiPluginResolvedConfig, c as PulumiPluginOptions, d as PulumiPluginUserConfig, f as __ΩPulumiPluginBaseOptions, g as __ΩPulumiPluginCreateStackOptions, h as __ΩPulumiPluginCreateStackLocalOptions, i as PulumiPluginCreateStackLocalOptions, l as PulumiPluginResolvedConfig, m as __ΩPulumiPluginCreateStackInlineOptions, n as PulumiPluginContext, o as PulumiPluginDeployConfig, p as __ΩPulumiPluginContext, r as PulumiPluginCreateStackInlineOptions, s as PulumiPluginExistingStackOptions, t as PulumiPluginBaseOptions, u as PulumiPluginResolvedOptions, v as __ΩPulumiPluginExistingStackOptions, x as __ΩPulumiPluginResolvedOptions, y as __ΩPulumiPluginOptions } from "../plugin-DvMnsKB8.mjs";
|
|
83
2
|
export { PulumiPluginBaseOptions, PulumiPluginContext, PulumiPluginCreateStackInlineOptions, PulumiPluginCreateStackLocalOptions, PulumiPluginCreateStackOptions, PulumiPluginDeployConfig, PulumiPluginExistingStackOptions, PulumiPluginOptions, PulumiPluginResolvedConfig, PulumiPluginResolvedOptions, PulumiPluginUserConfig, __ΩPulumiPluginBaseOptions, __ΩPulumiPluginContext, __ΩPulumiPluginCreateStackInlineOptions, __ΩPulumiPluginCreateStackLocalOptions, __ΩPulumiPluginCreateStackOptions, __ΩPulumiPluginDeployConfig, __ΩPulumiPluginExistingStackOptions, __ΩPulumiPluginOptions, __ΩPulumiPluginResolvedConfig, __ΩPulumiPluginResolvedOptions, __ΩPulumiPluginUserConfig };
|
package/dist/types/plugin.mjs
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-pulumi",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.103",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A Powerlines plugin to transform source code to be platform agnostic using pulumi.",
|
|
6
6
|
"repository": {
|
|
@@ -125,13 +125,13 @@
|
|
|
125
125
|
"@stryke/string-format": "^0.12.30",
|
|
126
126
|
"@pulumi/pulumi": "^3.214.0",
|
|
127
127
|
"defu": "^6.1.4",
|
|
128
|
-
"powerlines": "^0.36.
|
|
128
|
+
"powerlines": "^0.36.27",
|
|
129
129
|
"typescript": "^5.9.3"
|
|
130
130
|
},
|
|
131
131
|
"devDependencies": {
|
|
132
|
-
"@powerlines/nx": "^0.11.
|
|
132
|
+
"@powerlines/nx": "^0.11.53",
|
|
133
133
|
"@types/node": "^24.10.4"
|
|
134
134
|
},
|
|
135
135
|
"publishConfig": { "access": "public" },
|
|
136
|
-
"gitHead": "
|
|
136
|
+
"gitHead": "fbc59ce584fd0f78d90d2dbaa18f9c9267bd3b61"
|
|
137
137
|
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
//#region rolldown:runtime
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __copyProps = (to, from, except, desc) => {
|
|
9
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
10
|
-
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
11
|
-
key = keys[i];
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except) {
|
|
13
|
-
__defProp(to, key, {
|
|
14
|
-
get: ((k) => from[k]).bind(null, key),
|
|
15
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
return to;
|
|
21
|
-
};
|
|
22
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
23
|
-
value: mod,
|
|
24
|
-
enumerable: true
|
|
25
|
-
}) : target, mod));
|
|
26
|
-
|
|
27
|
-
//#endregion
|
|
28
|
-
|
|
29
|
-
exports.__toESM = __toESM;
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
const require_rolldown_runtime = require('../../../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
let __stryke_type_checks_is_set_object = require("@stryke/type-checks/is-set-object");
|
|
3
|
-
let __stryke_type_checks_is_set_string = require("@stryke/type-checks/is-set-string");
|
|
4
|
-
|
|
5
|
-
//#region ../powerlines/src/plugin-utils/context-helpers.ts
|
|
6
|
-
/**
|
|
7
|
-
* Get the organization name from the context
|
|
8
|
-
*
|
|
9
|
-
* @param context - The Powerlines plugin context.
|
|
10
|
-
* @returns The organization name or undefined if not found.
|
|
11
|
-
*/
|
|
12
|
-
function getOrganizationName(context) {
|
|
13
|
-
let result;
|
|
14
|
-
if ((0, __stryke_type_checks_is_set_object.isSetObject)(context.workspaceConfig.organization)) result = context.workspaceConfig.organization.name;
|
|
15
|
-
if (!result && (0, __stryke_type_checks_is_set_string.isSetString)(context.workspaceConfig.organization)) result = context.workspaceConfig.organization;
|
|
16
|
-
if (!result && Array.isArray(context.packageJson.maintainers) && context.packageJson.maintainers.length > 0) {
|
|
17
|
-
if ((0, __stryke_type_checks_is_set_object.isSetObject)(context.packageJson.maintainers[0])) result = context.packageJson.maintainers[0].name;
|
|
18
|
-
if (!result && (0, __stryke_type_checks_is_set_string.isSetString)(context.packageJson.maintainers[0])) result = context.packageJson.maintainers[0];
|
|
19
|
-
}
|
|
20
|
-
if (!result && Array.isArray(context.packageJson.author) && context.packageJson.author.length > 0) {
|
|
21
|
-
if ((0, __stryke_type_checks_is_set_object.isSetObject)(context.packageJson.author[0])) result = context.packageJson.author[0].name;
|
|
22
|
-
if (!result && (0, __stryke_type_checks_is_set_string.isSetString)(context.packageJson.author[0])) result = context.packageJson.author[0];
|
|
23
|
-
}
|
|
24
|
-
if (!result && Array.isArray(context.packageJson.contributors) && context.packageJson.contributors.length > 0) {
|
|
25
|
-
if ((0, __stryke_type_checks_is_set_object.isSetObject)(context.packageJson.contributors[0])) result = context.packageJson.contributors[0].name;
|
|
26
|
-
if (!result && (0, __stryke_type_checks_is_set_string.isSetString)(context.packageJson.contributors[0])) result = context.packageJson.contributors[0];
|
|
27
|
-
}
|
|
28
|
-
if (!result && (0, __stryke_type_checks_is_set_string.isSetString)(context.packageJson.namespace)) result = context.packageJson.namespace.replace(/^@/, "");
|
|
29
|
-
if (!result && (0, __stryke_type_checks_is_set_string.isSetString)(context.packageJson.name)) result = context.packageJson.name.replace(/^@/, "").replace(/\/.*$/, "");
|
|
30
|
-
return result;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Get the organization name from the context
|
|
34
|
-
*
|
|
35
|
-
* @param context - The Powerlines plugin context.
|
|
36
|
-
* @returns The organization name or undefined if not found.
|
|
37
|
-
*/
|
|
38
|
-
function getWorkspaceName(context) {
|
|
39
|
-
let result;
|
|
40
|
-
if ((0, __stryke_type_checks_is_set_string.isSetString)(context.workspaceConfig.name)) result = context.workspaceConfig.name;
|
|
41
|
-
if (!result && (0, __stryke_type_checks_is_set_string.isSetString)(context.workspaceConfig.namespace)) result = context.workspaceConfig.namespace.replace(/^@/, "");
|
|
42
|
-
if (!result && (0, __stryke_type_checks_is_set_string.isSetString)(context.packageJson.namespace)) result = context.packageJson.namespace.replace(/^@/, "");
|
|
43
|
-
if (!result && (0, __stryke_type_checks_is_set_string.isSetString)(context.packageJson.name)) result = context.packageJson.name.replace(/^@/, "").replace(/\/.*$/, "");
|
|
44
|
-
return result;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
//#endregion
|
|
48
|
-
exports.getOrganizationName = getOrganizationName;
|
|
49
|
-
exports.getWorkspaceName = getWorkspaceName;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { isSetObject } from "@stryke/type-checks/is-set-object";
|
|
2
|
-
import { isSetString } from "@stryke/type-checks/is-set-string";
|
|
3
|
-
|
|
4
|
-
//#region ../powerlines/src/plugin-utils/context-helpers.ts
|
|
5
|
-
/**
|
|
6
|
-
* Get the organization name from the context
|
|
7
|
-
*
|
|
8
|
-
* @param context - The Powerlines plugin context.
|
|
9
|
-
* @returns The organization name or undefined if not found.
|
|
10
|
-
*/
|
|
11
|
-
function getOrganizationName(context) {
|
|
12
|
-
let result;
|
|
13
|
-
if (isSetObject(context.workspaceConfig.organization)) result = context.workspaceConfig.organization.name;
|
|
14
|
-
if (!result && isSetString(context.workspaceConfig.organization)) result = context.workspaceConfig.organization;
|
|
15
|
-
if (!result && Array.isArray(context.packageJson.maintainers) && context.packageJson.maintainers.length > 0) {
|
|
16
|
-
if (isSetObject(context.packageJson.maintainers[0])) result = context.packageJson.maintainers[0].name;
|
|
17
|
-
if (!result && isSetString(context.packageJson.maintainers[0])) result = context.packageJson.maintainers[0];
|
|
18
|
-
}
|
|
19
|
-
if (!result && Array.isArray(context.packageJson.author) && context.packageJson.author.length > 0) {
|
|
20
|
-
if (isSetObject(context.packageJson.author[0])) result = context.packageJson.author[0].name;
|
|
21
|
-
if (!result && isSetString(context.packageJson.author[0])) result = context.packageJson.author[0];
|
|
22
|
-
}
|
|
23
|
-
if (!result && Array.isArray(context.packageJson.contributors) && context.packageJson.contributors.length > 0) {
|
|
24
|
-
if (isSetObject(context.packageJson.contributors[0])) result = context.packageJson.contributors[0].name;
|
|
25
|
-
if (!result && isSetString(context.packageJson.contributors[0])) result = context.packageJson.contributors[0];
|
|
26
|
-
}
|
|
27
|
-
if (!result && isSetString(context.packageJson.namespace)) result = context.packageJson.namespace.replace(/^@/, "");
|
|
28
|
-
if (!result && isSetString(context.packageJson.name)) result = context.packageJson.name.replace(/^@/, "").replace(/\/.*$/, "");
|
|
29
|
-
return result;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Get the organization name from the context
|
|
33
|
-
*
|
|
34
|
-
* @param context - The Powerlines plugin context.
|
|
35
|
-
* @returns The organization name or undefined if not found.
|
|
36
|
-
*/
|
|
37
|
-
function getWorkspaceName(context) {
|
|
38
|
-
let result;
|
|
39
|
-
if (isSetString(context.workspaceConfig.name)) result = context.workspaceConfig.name;
|
|
40
|
-
if (!result && isSetString(context.workspaceConfig.namespace)) result = context.workspaceConfig.namespace.replace(/^@/, "");
|
|
41
|
-
if (!result && isSetString(context.packageJson.namespace)) result = context.packageJson.namespace.replace(/^@/, "");
|
|
42
|
-
if (!result && isSetString(context.packageJson.name)) result = context.packageJson.name.replace(/^@/, "").replace(/\/.*$/, "");
|
|
43
|
-
return result;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
//#endregion
|
|
47
|
-
export { getOrganizationName, getWorkspaceName };
|
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
//#region ../powerlines/src/types/build.d.ts
|
|
2
|
-
|
|
3
|
-
type UnpluginBuildVariant = "rollup" | "webpack" | "rspack" | "vite" | "esbuild" | "farm" | "unloader" | "rolldown";
|
|
4
|
-
interface BuildConfig {
|
|
5
|
-
/**
|
|
6
|
-
* The platform to build the project for
|
|
7
|
-
*
|
|
8
|
-
* @defaultValue "neutral"
|
|
9
|
-
*/
|
|
10
|
-
platform?: "node" | "browser" | "neutral";
|
|
11
|
-
/**
|
|
12
|
-
* Array of strings indicating the polyfills to include for the build.
|
|
13
|
-
*
|
|
14
|
-
* @remarks
|
|
15
|
-
* This option allows you to specify which polyfills should be included in the build process to ensure compatibility with the target environment. The paths for the polyfills can use placeholder tokens (the `replacePathTokens` helper function will be used to resolve the actual values).
|
|
16
|
-
*
|
|
17
|
-
* @example
|
|
18
|
-
* ```ts
|
|
19
|
-
* {
|
|
20
|
-
* polyfill: ['{projectRoot}/custom-polyfill.ts']
|
|
21
|
-
* }
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
|
-
polyfill?: string[];
|
|
25
|
-
/**
|
|
26
|
-
* Array of strings indicating the order in which fields in a package.json file should be resolved to determine the entry point for a module.
|
|
27
|
-
*
|
|
28
|
-
* @defaultValue `['browser', 'module', 'jsnext:main', 'jsnext']`
|
|
29
|
-
*/
|
|
30
|
-
mainFields?: string[];
|
|
31
|
-
/**
|
|
32
|
-
* Array of strings indicating what conditions should be used for module resolution.
|
|
33
|
-
*/
|
|
34
|
-
conditions?: string[];
|
|
35
|
-
/**
|
|
36
|
-
* Array of strings indicating what file extensions should be used for module resolution.
|
|
37
|
-
*
|
|
38
|
-
* @defaultValue `['.mjs', '.js', '.mts', '.ts', '.jsx', '.tsx', '.json']`
|
|
39
|
-
*/
|
|
40
|
-
extensions?: string[];
|
|
41
|
-
/**
|
|
42
|
-
* Array of strings indicating what modules should be deduplicated to a single version in the build.
|
|
43
|
-
*
|
|
44
|
-
* @remarks
|
|
45
|
-
* This option is useful for ensuring that only one version of a module is included in the bundle, which can help reduce bundle size and avoid conflicts.
|
|
46
|
-
*/
|
|
47
|
-
dedupe?: string[];
|
|
48
|
-
/**
|
|
49
|
-
* Array of strings or regular expressions that indicate what modules are builtin for the environment.
|
|
50
|
-
*/
|
|
51
|
-
builtins?: (string | RegExp)[];
|
|
52
|
-
/**
|
|
53
|
-
* Define global variable replacements.
|
|
54
|
-
*
|
|
55
|
-
* @remarks
|
|
56
|
-
* This option allows you to specify global constants that will be replaced in the code during the build process. It is similar to the `define` option in esbuild and Vite, enabling you to replace specific identifiers with constant expressions at build time.
|
|
57
|
-
*
|
|
58
|
-
* @example
|
|
59
|
-
* ```ts
|
|
60
|
-
* {
|
|
61
|
-
* define: {
|
|
62
|
-
* __VERSION__: '"1.0.0"',
|
|
63
|
-
* __DEV__: 'process.env.NODE_ENV !== "production"'
|
|
64
|
-
* }
|
|
65
|
-
* }
|
|
66
|
-
* ```
|
|
67
|
-
*
|
|
68
|
-
* @see https://esbuild.github.io/api/#define
|
|
69
|
-
* @see https://vitejs.dev/config/build-options.html#define
|
|
70
|
-
* @see https://github.com/rollup/plugins/tree/master/packages/replace
|
|
71
|
-
*/
|
|
72
|
-
define?: Record<string, any>;
|
|
73
|
-
/**
|
|
74
|
-
* Global variables that will have import statements injected where necessary
|
|
75
|
-
*
|
|
76
|
-
* @remarks
|
|
77
|
-
* This option allows you to specify global variables that should be automatically imported from specified modules whenever they are used in the code. This is particularly useful for polyfilling Node.js globals in a browser environment.
|
|
78
|
-
*
|
|
79
|
-
* @example
|
|
80
|
-
* ```ts
|
|
81
|
-
* {
|
|
82
|
-
* inject: {
|
|
83
|
-
* process: 'process/browser',
|
|
84
|
-
* Buffer: ['buffer', 'Buffer'],
|
|
85
|
-
* }
|
|
86
|
-
* }
|
|
87
|
-
* ```
|
|
88
|
-
*
|
|
89
|
-
* @see https://github.com/rollup/plugins/tree/master/packages/inject
|
|
90
|
-
*/
|
|
91
|
-
inject?: Record<string, string | string[]>;
|
|
92
|
-
/**
|
|
93
|
-
* The alias mappings to use for module resolution during the build process.
|
|
94
|
-
*
|
|
95
|
-
* @remarks
|
|
96
|
-
* This option allows you to define custom path aliases for modules, which can be useful for simplifying imports and managing dependencies.
|
|
97
|
-
*
|
|
98
|
-
* @example
|
|
99
|
-
* ```ts
|
|
100
|
-
* {
|
|
101
|
-
* alias: {
|
|
102
|
-
* "@utils": "./src/utils",
|
|
103
|
-
* "@components": "./src/components"
|
|
104
|
-
* }
|
|
105
|
-
* }
|
|
106
|
-
* ```
|
|
107
|
-
*
|
|
108
|
-
* @see https://github.com/rollup/plugins/tree/master/packages/alias
|
|
109
|
-
*/
|
|
110
|
-
alias?: Record<string, string> | Array<{
|
|
111
|
-
find: string | RegExp;
|
|
112
|
-
replacement: string;
|
|
113
|
-
}>;
|
|
114
|
-
/**
|
|
115
|
-
* A list of modules that should not be bundled, even if they are external dependencies.
|
|
116
|
-
*
|
|
117
|
-
* @remarks
|
|
118
|
-
* This option is useful for excluding specific modules from the bundle, such as Node.js built-in modules or other libraries that should not be bundled.
|
|
119
|
-
*/
|
|
120
|
-
external?: (string | RegExp)[];
|
|
121
|
-
/**
|
|
122
|
-
* A list of modules that should always be bundled, even if they are external dependencies.
|
|
123
|
-
*/
|
|
124
|
-
noExternal?: (string | RegExp)[];
|
|
125
|
-
/**
|
|
126
|
-
* Should the Powerlines CLI processes skip bundling the `node_modules` directory?
|
|
127
|
-
*/
|
|
128
|
-
skipNodeModulesBundle?: boolean;
|
|
129
|
-
/**
|
|
130
|
-
* If true, `process.env` referenced in code will be preserved as-is and evaluated in runtime. Otherwise, it is statically replaced as an empty object.
|
|
131
|
-
*
|
|
132
|
-
* @defaultValue false
|
|
133
|
-
*/
|
|
134
|
-
keepProcessEnv?: boolean;
|
|
135
|
-
/**
|
|
136
|
-
* An optional set of override options to apply to the selected build variant.
|
|
137
|
-
*
|
|
138
|
-
* @remarks
|
|
139
|
-
* This option allows you to provide configuration options with the guarantee that they will **not** be overridden and will take precedence over other build configurations.
|
|
140
|
-
*/
|
|
141
|
-
override?: Record<string, any>;
|
|
142
|
-
}
|
|
143
|
-
type BuildResolvedConfig = Omit<BuildConfig, "override">;
|
|
144
|
-
//#endregion
|
|
145
|
-
export { BuildConfig, BuildResolvedConfig, UnpluginBuildVariant };
|
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
//#region ../powerlines/src/types/build.d.ts
|
|
2
|
-
|
|
3
|
-
type UnpluginBuildVariant = "rollup" | "webpack" | "rspack" | "vite" | "esbuild" | "farm" | "unloader" | "rolldown";
|
|
4
|
-
interface BuildConfig {
|
|
5
|
-
/**
|
|
6
|
-
* The platform to build the project for
|
|
7
|
-
*
|
|
8
|
-
* @defaultValue "neutral"
|
|
9
|
-
*/
|
|
10
|
-
platform?: "node" | "browser" | "neutral";
|
|
11
|
-
/**
|
|
12
|
-
* Array of strings indicating the polyfills to include for the build.
|
|
13
|
-
*
|
|
14
|
-
* @remarks
|
|
15
|
-
* This option allows you to specify which polyfills should be included in the build process to ensure compatibility with the target environment. The paths for the polyfills can use placeholder tokens (the `replacePathTokens` helper function will be used to resolve the actual values).
|
|
16
|
-
*
|
|
17
|
-
* @example
|
|
18
|
-
* ```ts
|
|
19
|
-
* {
|
|
20
|
-
* polyfill: ['{projectRoot}/custom-polyfill.ts']
|
|
21
|
-
* }
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
|
-
polyfill?: string[];
|
|
25
|
-
/**
|
|
26
|
-
* Array of strings indicating the order in which fields in a package.json file should be resolved to determine the entry point for a module.
|
|
27
|
-
*
|
|
28
|
-
* @defaultValue `['browser', 'module', 'jsnext:main', 'jsnext']`
|
|
29
|
-
*/
|
|
30
|
-
mainFields?: string[];
|
|
31
|
-
/**
|
|
32
|
-
* Array of strings indicating what conditions should be used for module resolution.
|
|
33
|
-
*/
|
|
34
|
-
conditions?: string[];
|
|
35
|
-
/**
|
|
36
|
-
* Array of strings indicating what file extensions should be used for module resolution.
|
|
37
|
-
*
|
|
38
|
-
* @defaultValue `['.mjs', '.js', '.mts', '.ts', '.jsx', '.tsx', '.json']`
|
|
39
|
-
*/
|
|
40
|
-
extensions?: string[];
|
|
41
|
-
/**
|
|
42
|
-
* Array of strings indicating what modules should be deduplicated to a single version in the build.
|
|
43
|
-
*
|
|
44
|
-
* @remarks
|
|
45
|
-
* This option is useful for ensuring that only one version of a module is included in the bundle, which can help reduce bundle size and avoid conflicts.
|
|
46
|
-
*/
|
|
47
|
-
dedupe?: string[];
|
|
48
|
-
/**
|
|
49
|
-
* Array of strings or regular expressions that indicate what modules are builtin for the environment.
|
|
50
|
-
*/
|
|
51
|
-
builtins?: (string | RegExp)[];
|
|
52
|
-
/**
|
|
53
|
-
* Define global variable replacements.
|
|
54
|
-
*
|
|
55
|
-
* @remarks
|
|
56
|
-
* This option allows you to specify global constants that will be replaced in the code during the build process. It is similar to the `define` option in esbuild and Vite, enabling you to replace specific identifiers with constant expressions at build time.
|
|
57
|
-
*
|
|
58
|
-
* @example
|
|
59
|
-
* ```ts
|
|
60
|
-
* {
|
|
61
|
-
* define: {
|
|
62
|
-
* __VERSION__: '"1.0.0"',
|
|
63
|
-
* __DEV__: 'process.env.NODE_ENV !== "production"'
|
|
64
|
-
* }
|
|
65
|
-
* }
|
|
66
|
-
* ```
|
|
67
|
-
*
|
|
68
|
-
* @see https://esbuild.github.io/api/#define
|
|
69
|
-
* @see https://vitejs.dev/config/build-options.html#define
|
|
70
|
-
* @see https://github.com/rollup/plugins/tree/master/packages/replace
|
|
71
|
-
*/
|
|
72
|
-
define?: Record<string, any>;
|
|
73
|
-
/**
|
|
74
|
-
* Global variables that will have import statements injected where necessary
|
|
75
|
-
*
|
|
76
|
-
* @remarks
|
|
77
|
-
* This option allows you to specify global variables that should be automatically imported from specified modules whenever they are used in the code. This is particularly useful for polyfilling Node.js globals in a browser environment.
|
|
78
|
-
*
|
|
79
|
-
* @example
|
|
80
|
-
* ```ts
|
|
81
|
-
* {
|
|
82
|
-
* inject: {
|
|
83
|
-
* process: 'process/browser',
|
|
84
|
-
* Buffer: ['buffer', 'Buffer'],
|
|
85
|
-
* }
|
|
86
|
-
* }
|
|
87
|
-
* ```
|
|
88
|
-
*
|
|
89
|
-
* @see https://github.com/rollup/plugins/tree/master/packages/inject
|
|
90
|
-
*/
|
|
91
|
-
inject?: Record<string, string | string[]>;
|
|
92
|
-
/**
|
|
93
|
-
* The alias mappings to use for module resolution during the build process.
|
|
94
|
-
*
|
|
95
|
-
* @remarks
|
|
96
|
-
* This option allows you to define custom path aliases for modules, which can be useful for simplifying imports and managing dependencies.
|
|
97
|
-
*
|
|
98
|
-
* @example
|
|
99
|
-
* ```ts
|
|
100
|
-
* {
|
|
101
|
-
* alias: {
|
|
102
|
-
* "@utils": "./src/utils",
|
|
103
|
-
* "@components": "./src/components"
|
|
104
|
-
* }
|
|
105
|
-
* }
|
|
106
|
-
* ```
|
|
107
|
-
*
|
|
108
|
-
* @see https://github.com/rollup/plugins/tree/master/packages/alias
|
|
109
|
-
*/
|
|
110
|
-
alias?: Record<string, string> | Array<{
|
|
111
|
-
find: string | RegExp;
|
|
112
|
-
replacement: string;
|
|
113
|
-
}>;
|
|
114
|
-
/**
|
|
115
|
-
* A list of modules that should not be bundled, even if they are external dependencies.
|
|
116
|
-
*
|
|
117
|
-
* @remarks
|
|
118
|
-
* This option is useful for excluding specific modules from the bundle, such as Node.js built-in modules or other libraries that should not be bundled.
|
|
119
|
-
*/
|
|
120
|
-
external?: (string | RegExp)[];
|
|
121
|
-
/**
|
|
122
|
-
* A list of modules that should always be bundled, even if they are external dependencies.
|
|
123
|
-
*/
|
|
124
|
-
noExternal?: (string | RegExp)[];
|
|
125
|
-
/**
|
|
126
|
-
* Should the Powerlines CLI processes skip bundling the `node_modules` directory?
|
|
127
|
-
*/
|
|
128
|
-
skipNodeModulesBundle?: boolean;
|
|
129
|
-
/**
|
|
130
|
-
* If true, `process.env` referenced in code will be preserved as-is and evaluated in runtime. Otherwise, it is statically replaced as an empty object.
|
|
131
|
-
*
|
|
132
|
-
* @defaultValue false
|
|
133
|
-
*/
|
|
134
|
-
keepProcessEnv?: boolean;
|
|
135
|
-
/**
|
|
136
|
-
* An optional set of override options to apply to the selected build variant.
|
|
137
|
-
*
|
|
138
|
-
* @remarks
|
|
139
|
-
* This option allows you to provide configuration options with the guarantee that they will **not** be overridden and will take precedence over other build configurations.
|
|
140
|
-
*/
|
|
141
|
-
override?: Record<string, any>;
|
|
142
|
-
}
|
|
143
|
-
type BuildResolvedConfig = Omit<BuildConfig, "override">;
|
|
144
|
-
//#endregion
|
|
145
|
-
export { BuildConfig, BuildResolvedConfig, UnpluginBuildVariant };
|