@powerlines/nx 0.11.291 → 0.11.294
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/src/base/base-executor.js +4 -1
- package/dist/src/base/base-executor.mjs +4 -1
- package/dist/src/base/base-executor.mjs.map +1 -1
- package/dist/src/base/base-executor.schema.d.mts +16 -3
- package/dist/src/base/base-executor.schema.d.mts.map +1 -1
- package/dist/src/base/base-executor.schema.d.ts +16 -3
- package/dist/src/base/base-executor.schema.d.ts.map +1 -1
- package/dist/src/base/base-executor.schema.json +15 -6
- package/dist/src/base/base-executor.untyped.js +10 -4
- package/dist/src/base/base-executor.untyped.mjs +10 -4
- package/dist/src/base/base-executor.untyped.mjs.map +1 -1
- package/dist/src/executors/build/executor.d.mts +16 -3
- package/dist/src/executors/build/executor.d.mts.map +1 -1
- package/dist/src/executors/build/executor.d.ts +16 -3
- package/dist/src/executors/build/executor.d.ts.map +1 -1
- package/dist/src/executors/build/schema.d.ts +11 -3
- package/dist/src/executors/build/schema.json +14 -5
- package/dist/src/executors/clean/executor.d.mts +16 -3
- package/dist/src/executors/clean/executor.d.mts.map +1 -1
- package/dist/src/executors/clean/executor.d.ts +16 -3
- package/dist/src/executors/clean/executor.d.ts.map +1 -1
- package/dist/src/executors/clean/schema.d.ts +11 -3
- package/dist/src/executors/clean/schema.json +15 -6
- package/dist/src/executors/docs/executor.d.mts +16 -3
- package/dist/src/executors/docs/executor.d.mts.map +1 -1
- package/dist/src/executors/docs/executor.d.ts +16 -3
- package/dist/src/executors/docs/executor.d.ts.map +1 -1
- package/dist/src/executors/docs/schema.d.ts +11 -3
- package/dist/src/executors/docs/schema.json +15 -6
- package/dist/src/executors/lint/executor.d.mts +16 -3
- package/dist/src/executors/lint/executor.d.mts.map +1 -1
- package/dist/src/executors/lint/executor.d.ts +16 -3
- package/dist/src/executors/lint/executor.d.ts.map +1 -1
- package/dist/src/executors/lint/schema.d.ts +11 -3
- package/dist/src/executors/lint/schema.json +15 -6
- package/dist/src/executors/prepare/executor.d.mts +16 -3
- package/dist/src/executors/prepare/executor.d.mts.map +1 -1
- package/dist/src/executors/prepare/executor.d.ts +16 -3
- package/dist/src/executors/prepare/executor.d.ts.map +1 -1
- package/dist/src/executors/prepare/schema.d.ts +11 -3
- package/dist/src/executors/prepare/schema.json +15 -6
- package/dist/src/helpers/plugin-utilities.js +6 -6
- package/dist/src/helpers/plugin-utilities.mjs +6 -6
- package/dist/src/helpers/plugin-utilities.mjs.map +1 -1
- package/package.json +10 -10
|
@@ -28,7 +28,10 @@ function withExecutor(command, executorFn) {
|
|
|
28
28
|
configFile: options.configFile ?? options.config,
|
|
29
29
|
output: {
|
|
30
30
|
path: options.outputPath,
|
|
31
|
-
|
|
31
|
+
copy: {
|
|
32
|
+
path: options.copyPath,
|
|
33
|
+
assets: options.assets
|
|
34
|
+
},
|
|
32
35
|
format: options.format,
|
|
33
36
|
sourceMap: options.sourceMap
|
|
34
37
|
},
|
|
@@ -24,7 +24,10 @@ function withExecutor(command, executorFn) {
|
|
|
24
24
|
configFile: options.configFile ?? options.config,
|
|
25
25
|
output: {
|
|
26
26
|
path: options.outputPath,
|
|
27
|
-
|
|
27
|
+
copy: {
|
|
28
|
+
path: options.copyPath,
|
|
29
|
+
assets: options.assets
|
|
30
|
+
},
|
|
28
31
|
format: options.format,
|
|
29
32
|
sourceMap: options.sourceMap
|
|
30
33
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-executor.mjs","names":[],"sources":["../../../src/base/base-executor.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\nimport { ExecutorContext, PromiseExecutor } from \"@nx/devkit\";\nimport { writeError } from \"@storm-software/config-tools/logger\";\nimport { StormWorkspaceConfig } from \"@storm-software/config/types\";\nimport { withRunExecutor } from \"@storm-software/workspace-tools/base/base-executor\";\nimport { BaseExecutorResult } from \"@storm-software/workspace-tools/types\";\nimport { isError } from \"@stryke/type-checks/is-error\";\nimport defu from \"defu\";\nimport type {\n InitialUserConfig,\n InlineConfig,\n PowerlinesCommand\n} from \"powerlines\";\nimport PowerlinesAPI from \"powerlines\";\nimport { BaseExecutorSchema } from \"./base-executor.schema\";\n\nexport type PowerlinesExecutorContext<\n TCommand extends PowerlinesCommand = PowerlinesCommand,\n TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema\n> = ExecutorContext & {\n projectName: string;\n command: TCommand;\n options: TExecutorSchema;\n inlineConfig: InlineConfig;\n workspaceConfig: StormWorkspaceConfig;\n};\n\n/**\n * A utility function to create a Powerlines executor that can be used with the `withRunExecutor` function.\n *\n * @remarks\n * This function is designed to simplify the creation of Powerlines executors by providing a consistent interface and error handling.\n *\n * @param command - The command that the executor will handle (e.g., \"new\", \"prepare\", \"build\", etc.).\n * @param executorFn - The function that will be executed when the command is run.\n * @returns A Promise that resolves to the result of the executor function.\n */\nexport function withExecutor<\n TCommand extends PowerlinesCommand = PowerlinesCommand,\n TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema\n>(\n command: TCommand,\n executorFn: (\n context: PowerlinesExecutorContext<TCommand, TExecutorSchema>,\n api: PowerlinesAPI\n ) =>\n | Promise<BaseExecutorResult | null | undefined>\n | BaseExecutorResult\n | null\n | undefined\n): PromiseExecutor<TExecutorSchema> {\n return withRunExecutor(\n `Powerlines ${command} command executor`,\n async (\n options: TExecutorSchema,\n context: ExecutorContext,\n workspaceConfig: StormWorkspaceConfig\n ): Promise<BaseExecutorResult | null | undefined> => {\n if (!context.projectName) {\n throw new Error(\n \"The executor requires `projectName` on the context object.\"\n );\n }\n\n if (\n !context.projectName ||\n !context.projectsConfigurations?.projects ||\n !context.projectsConfigurations.projects[context.projectName] ||\n !context.projectsConfigurations.projects[context.projectName]?.root\n ) {\n throw new Error(\n \"The executor requires `projectsConfigurations` on the context object.\"\n );\n }\n\n const projectConfig =\n context.projectsConfigurations.projects[context.projectName]!;\n\n const api = await PowerlinesAPI.from(\n workspaceConfig.workspaceRoot,\n defu(\n {\n configFile: options.configFile ?? options.config,\n output: {\n path: options.outputPath,\n
|
|
1
|
+
{"version":3,"file":"base-executor.mjs","names":[],"sources":["../../../src/base/base-executor.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\nimport { ExecutorContext, PromiseExecutor } from \"@nx/devkit\";\nimport { writeError } from \"@storm-software/config-tools/logger\";\nimport { StormWorkspaceConfig } from \"@storm-software/config/types\";\nimport { withRunExecutor } from \"@storm-software/workspace-tools/base/base-executor\";\nimport { BaseExecutorResult } from \"@storm-software/workspace-tools/types\";\nimport { isError } from \"@stryke/type-checks/is-error\";\nimport defu from \"defu\";\nimport type {\n InitialUserConfig,\n InlineConfig,\n PowerlinesCommand\n} from \"powerlines\";\nimport PowerlinesAPI from \"powerlines\";\nimport { BaseExecutorSchema } from \"./base-executor.schema\";\n\nexport type PowerlinesExecutorContext<\n TCommand extends PowerlinesCommand = PowerlinesCommand,\n TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema\n> = ExecutorContext & {\n projectName: string;\n command: TCommand;\n options: TExecutorSchema;\n inlineConfig: InlineConfig;\n workspaceConfig: StormWorkspaceConfig;\n};\n\n/**\n * A utility function to create a Powerlines executor that can be used with the `withRunExecutor` function.\n *\n * @remarks\n * This function is designed to simplify the creation of Powerlines executors by providing a consistent interface and error handling.\n *\n * @param command - The command that the executor will handle (e.g., \"new\", \"prepare\", \"build\", etc.).\n * @param executorFn - The function that will be executed when the command is run.\n * @returns A Promise that resolves to the result of the executor function.\n */\nexport function withExecutor<\n TCommand extends PowerlinesCommand = PowerlinesCommand,\n TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema\n>(\n command: TCommand,\n executorFn: (\n context: PowerlinesExecutorContext<TCommand, TExecutorSchema>,\n api: PowerlinesAPI\n ) =>\n | Promise<BaseExecutorResult | null | undefined>\n | BaseExecutorResult\n | null\n | undefined\n): PromiseExecutor<TExecutorSchema> {\n return withRunExecutor(\n `Powerlines ${command} command executor`,\n async (\n options: TExecutorSchema,\n context: ExecutorContext,\n workspaceConfig: StormWorkspaceConfig\n ): Promise<BaseExecutorResult | null | undefined> => {\n if (!context.projectName) {\n throw new Error(\n \"The executor requires `projectName` on the context object.\"\n );\n }\n\n if (\n !context.projectName ||\n !context.projectsConfigurations?.projects ||\n !context.projectsConfigurations.projects[context.projectName] ||\n !context.projectsConfigurations.projects[context.projectName]?.root\n ) {\n throw new Error(\n \"The executor requires `projectsConfigurations` on the context object.\"\n );\n }\n\n const projectConfig =\n context.projectsConfigurations.projects[context.projectName]!;\n\n const api = await PowerlinesAPI.from(\n workspaceConfig.workspaceRoot,\n defu(\n {\n configFile: options.configFile ?? options.config,\n output: {\n path: options.outputPath,\n copy: { path: options.copyPath, assets: options.assets },\n format: options.format,\n sourceMap: options.sourceMap\n },\n resolve: {\n external: options.external,\n noExternal: options.noExternal,\n skipNodeModulesBundle: options.skipNodeModulesBundle\n },\n root: projectConfig.root,\n projectType: projectConfig.projectType,\n sourceRoot: projectConfig.sourceRoot\n },\n options,\n {\n name: context.projectName\n }\n ) as InitialUserConfig\n );\n\n try {\n return await Promise.resolve(\n executorFn(\n defu(\n {\n projectName: context.projectName,\n options,\n workspaceConfig,\n inlineConfig: {\n command,\n configFile: options.configFile || options.config\n },\n command\n },\n context\n ),\n api\n )\n );\n } catch (error) {\n writeError(\n `An error occurred while executing the Powerlines ${\n command\n } command executor: ${\n isError(error)\n ? `${error.message}\n\n${error.stack}`\n : \"Unknown error\"\n }`\n );\n\n return { success: false };\n } finally {\n await api.finalize();\n }\n },\n {\n skipReadingConfig: false,\n hooks: {\n applyDefaultOptions: (options: Partial<TExecutorSchema>) => {\n return options as TExecutorSchema;\n }\n }\n }\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;AAsDA,SAAgB,aAId,SACA,YAQkC;AAClC,QAAO,gBACL,cAAc,QAAQ,oBACtB,OACE,SACA,SACA,oBACmD;AACnD,MAAI,CAAC,QAAQ,YACX,OAAM,IAAI,MACR,6DACD;AAGH,MACE,CAAC,QAAQ,eACT,CAAC,QAAQ,wBAAwB,YACjC,CAAC,QAAQ,uBAAuB,SAAS,QAAQ,gBACjD,CAAC,QAAQ,uBAAuB,SAAS,QAAQ,cAAc,KAE/D,OAAM,IAAI,MACR,wEACD;EAGH,MAAM,gBACJ,QAAQ,uBAAuB,SAAS,QAAQ;EAElD,MAAM,MAAM,MAAM,cAAc,KAC9B,gBAAgB,eAChB,KACE;GACE,YAAY,QAAQ,cAAc,QAAQ;GAC1C,QAAQ;IACN,MAAM,QAAQ;IACd,MAAM;KAAE,MAAM,QAAQ;KAAU,QAAQ,QAAQ;KAAQ;IACxD,QAAQ,QAAQ;IAChB,WAAW,QAAQ;IACpB;GACD,SAAS;IACP,UAAU,QAAQ;IAClB,YAAY,QAAQ;IACpB,uBAAuB,QAAQ;IAChC;GACD,MAAM,cAAc;GACpB,aAAa,cAAc;GAC3B,YAAY,cAAc;GAC3B,EACD,SACA,EACE,MAAM,QAAQ,aACf,CACF,CACF;AAED,MAAI;AACF,UAAO,MAAM,QAAQ,QACnB,WACE,KACE;IACE,aAAa,QAAQ;IACrB;IACA;IACA,cAAc;KACZ;KACA,YAAY,QAAQ,cAAc,QAAQ;KAC3C;IACD;IACD,EACD,QACD,EACD,IACD,CACF;WACM,OAAO;AACd,cACE,oDACE,QACD,qBACC,QAAQ,MAAM,GACV,GAAG,MAAM,QAAQ;;EAE/B,MAAM,UACQ,kBAEP;AAED,UAAO,EAAE,SAAS,OAAO;YACjB;AACR,SAAM,IAAI,UAAU;;IAGxB;EACE,mBAAmB;EACnB,OAAO,EACL,sBAAsB,YAAsC;AAC1D,UAAO;KAEV;EACF,CACF"}
|
|
@@ -51,14 +51,14 @@ interface BaseExecutorSchema {
|
|
|
51
51
|
*/
|
|
52
52
|
outputPath?: string;
|
|
53
53
|
/**
|
|
54
|
-
*
|
|
54
|
+
* Copy Path
|
|
55
55
|
*
|
|
56
|
-
*
|
|
56
|
+
* A directory path to copy the build artifacts into
|
|
57
57
|
*
|
|
58
58
|
*
|
|
59
59
|
* @oneOf [object Object],[object Object]
|
|
60
60
|
*/
|
|
61
|
-
|
|
61
|
+
copyPath?: any;
|
|
62
62
|
/**
|
|
63
63
|
* Sourcemap
|
|
64
64
|
*
|
|
@@ -130,6 +130,19 @@ interface BaseExecutorSchema {
|
|
|
130
130
|
*
|
|
131
131
|
*/
|
|
132
132
|
define?: Record<string, string>;
|
|
133
|
+
/**
|
|
134
|
+
* Assets
|
|
135
|
+
*
|
|
136
|
+
* The `assets` values
|
|
137
|
+
*
|
|
138
|
+
*/
|
|
139
|
+
assets?: Array<{
|
|
140
|
+
input?: string;
|
|
141
|
+
output?: string;
|
|
142
|
+
glob: string;
|
|
143
|
+
ignore?: string[];
|
|
144
|
+
dot?: boolean;
|
|
145
|
+
}>;
|
|
133
146
|
}
|
|
134
147
|
//#endregion
|
|
135
148
|
export { BaseExecutorSchema };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-executor.schema.d.mts","names":["BaseExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","
|
|
1
|
+
{"version":3,"file":"base-executor.schema.d.mts","names":["BaseExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","copyPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","assets","output","glob","ignore","dot"],"sources":["../../../src/base/base-executor.schema.d.ts"],"mappings":";;;UAIiBA,kBAAAA;;;;;;;;;;EAUhBG,MAAAA;;;;;;;;;;EAWAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;;EAWRK,QAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,SAAAA;;;;;;;;EASAC,MAAAA,GAAST,KAAAA;;;;;;;;;;EAWTU,QAAAA;;;;;;;EAQAC,QAAAA,GAAWX,KAAAA;;;;;;;EAQXY,UAAAA,GAAaZ,KAAAA;;;;;;;EAQba,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAASf,MAAAA;;;;;;;EAQTgB,MAAAA,GAASjB,KAAAA;IAAQI,KAAAA;IAAgBc,MAAAA;IAAiBC,IAAAA;IAAcC,MAAAA;IAAmBC,GAAAA;EAAAA;AAAAA"}
|
|
@@ -51,14 +51,14 @@ interface BaseExecutorSchema {
|
|
|
51
51
|
*/
|
|
52
52
|
outputPath?: string;
|
|
53
53
|
/**
|
|
54
|
-
*
|
|
54
|
+
* Copy Path
|
|
55
55
|
*
|
|
56
|
-
*
|
|
56
|
+
* A directory path to copy the build artifacts into
|
|
57
57
|
*
|
|
58
58
|
*
|
|
59
59
|
* @oneOf [object Object],[object Object]
|
|
60
60
|
*/
|
|
61
|
-
|
|
61
|
+
copyPath?: any;
|
|
62
62
|
/**
|
|
63
63
|
* Sourcemap
|
|
64
64
|
*
|
|
@@ -130,6 +130,19 @@ interface BaseExecutorSchema {
|
|
|
130
130
|
*
|
|
131
131
|
*/
|
|
132
132
|
define?: Record<string, string>;
|
|
133
|
+
/**
|
|
134
|
+
* Assets
|
|
135
|
+
*
|
|
136
|
+
* The `assets` values
|
|
137
|
+
*
|
|
138
|
+
*/
|
|
139
|
+
assets?: Array<{
|
|
140
|
+
input?: string;
|
|
141
|
+
output?: string;
|
|
142
|
+
glob: string;
|
|
143
|
+
ignore?: string[];
|
|
144
|
+
dot?: boolean;
|
|
145
|
+
}>;
|
|
133
146
|
}
|
|
134
147
|
//#endregion
|
|
135
148
|
export { BaseExecutorSchema };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-executor.schema.d.ts","names":["BaseExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","
|
|
1
|
+
{"version":3,"file":"base-executor.schema.d.ts","names":["BaseExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","copyPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","assets","output","glob","ignore","dot"],"sources":["../../../src/base/base-executor.schema.d.ts"],"mappings":";;;UAIiBA,kBAAAA;;;;;;;;;;EAUhBG,MAAAA;;;;;;;;;;EAWAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;;EAWRK,QAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,SAAAA;;;;;;;;EASAC,MAAAA,GAAST,KAAAA;;;;;;;;;;EAWTU,QAAAA;;;;;;;EAQAC,QAAAA,GAAWX,KAAAA;;;;;;;EAQXY,UAAAA,GAAaZ,KAAAA;;;;;;;EAQba,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAASf,MAAAA;;;;;;;EAQTgB,MAAAA,GAASjB,KAAAA;IAAQI,KAAAA;IAAgBc,MAAAA;IAAiBC,IAAAA;IAAcC,MAAAA;IAAmBC,GAAAA;EAAAA;AAAAA"}
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
"description": "The path to the output directory for the build artifacts",
|
|
46
46
|
"id": "#outputPath"
|
|
47
47
|
},
|
|
48
|
-
"
|
|
49
|
-
"title": "
|
|
50
|
-
"description": "
|
|
48
|
+
"copyPath": {
|
|
49
|
+
"title": "Copy Path",
|
|
50
|
+
"description": "A directory path to copy the build artifacts into",
|
|
51
51
|
"oneOf": [
|
|
52
52
|
{
|
|
53
53
|
"type": "string",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
]
|
|
61
61
|
}
|
|
62
62
|
],
|
|
63
|
-
"id": "#
|
|
63
|
+
"id": "#copyPath",
|
|
64
64
|
"type": "any",
|
|
65
65
|
"default": {}
|
|
66
66
|
},
|
|
@@ -160,6 +160,14 @@
|
|
|
160
160
|
"description": "The `define` values",
|
|
161
161
|
"id": "#define",
|
|
162
162
|
"default": {}
|
|
163
|
+
},
|
|
164
|
+
"assets": {
|
|
165
|
+
"title": "Assets",
|
|
166
|
+
"type": "any",
|
|
167
|
+
"tsType": "Array<{ input?: string; output?: string; glob: string; ignore?: string[]; dot?: boolean; }>",
|
|
168
|
+
"description": "The `assets` values",
|
|
169
|
+
"id": "#assets",
|
|
170
|
+
"default": {}
|
|
163
171
|
}
|
|
164
172
|
},
|
|
165
173
|
"type": "object",
|
|
@@ -167,7 +175,7 @@
|
|
|
167
175
|
"config": "{projectRoot}/powerlines.config.ts",
|
|
168
176
|
"configFile": "{projectRoot}/powerlines.config.ts",
|
|
169
177
|
"tsconfig": "{projectRoot}/tsconfig.json",
|
|
170
|
-
"
|
|
178
|
+
"copyPath": {},
|
|
171
179
|
"format": [
|
|
172
180
|
"cjs",
|
|
173
181
|
"esm"
|
|
@@ -175,6 +183,7 @@
|
|
|
175
183
|
"platform": "neutral",
|
|
176
184
|
"external": [],
|
|
177
185
|
"noExternal": [],
|
|
178
|
-
"define": {}
|
|
186
|
+
"define": {},
|
|
187
|
+
"assets": {}
|
|
179
188
|
}
|
|
180
189
|
}
|
|
@@ -49,9 +49,9 @@ var base_executor_untyped_default = (0, untyped.defineUntypedSchema)({
|
|
|
49
49
|
format: "path",
|
|
50
50
|
description: "The path to the output directory for the build artifacts"
|
|
51
51
|
} },
|
|
52
|
-
|
|
53
|
-
title: "
|
|
54
|
-
description: "
|
|
52
|
+
copyPath: { $schema: {
|
|
53
|
+
title: "Copy Path",
|
|
54
|
+
description: "A directory path to copy the build artifacts into",
|
|
55
55
|
oneOf: [{
|
|
56
56
|
type: "string",
|
|
57
57
|
format: "path"
|
|
@@ -149,7 +149,13 @@ var base_executor_untyped_default = (0, untyped.defineUntypedSchema)({
|
|
|
149
149
|
},
|
|
150
150
|
$resolve: (val = {}) => val,
|
|
151
151
|
$default: {}
|
|
152
|
-
}
|
|
152
|
+
},
|
|
153
|
+
assets: { $schema: {
|
|
154
|
+
title: "Assets",
|
|
155
|
+
type: "any",
|
|
156
|
+
tsType: "Array<{ input?: string; output?: string; glob: string; ignore?: string[]; dot?: boolean; }>",
|
|
157
|
+
description: "The `assets` values"
|
|
158
|
+
} }
|
|
153
159
|
});
|
|
154
160
|
|
|
155
161
|
//#endregion
|
|
@@ -48,9 +48,9 @@ var base_executor_untyped_default = defineUntypedSchema({
|
|
|
48
48
|
format: "path",
|
|
49
49
|
description: "The path to the output directory for the build artifacts"
|
|
50
50
|
} },
|
|
51
|
-
|
|
52
|
-
title: "
|
|
53
|
-
description: "
|
|
51
|
+
copyPath: { $schema: {
|
|
52
|
+
title: "Copy Path",
|
|
53
|
+
description: "A directory path to copy the build artifacts into",
|
|
54
54
|
oneOf: [{
|
|
55
55
|
type: "string",
|
|
56
56
|
format: "path"
|
|
@@ -148,7 +148,13 @@ var base_executor_untyped_default = defineUntypedSchema({
|
|
|
148
148
|
},
|
|
149
149
|
$resolve: (val = {}) => val,
|
|
150
150
|
$default: {}
|
|
151
|
-
}
|
|
151
|
+
},
|
|
152
|
+
assets: { $schema: {
|
|
153
|
+
title: "Assets",
|
|
154
|
+
type: "any",
|
|
155
|
+
tsType: "Array<{ input?: string; output?: string; glob: string; ignore?: string[]; dot?: boolean; }>",
|
|
156
|
+
description: "The `assets` values"
|
|
157
|
+
} }
|
|
152
158
|
});
|
|
153
159
|
|
|
154
160
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-executor.untyped.mjs","names":[],"sources":["../../../src/base/base-executor.untyped.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\nimport { defineUntypedSchema } from \"untyped\";\n\nexport default defineUntypedSchema({\n $schema: {\n id: \"BaseExecutorSchema\",\n title: \"Base Executor\",\n description:\n \"A shared/base schema type definition for Powerlines executors\",\n required: []\n },\n config: {\n $schema: {\n title: \"Powerlines Configuration File\",\n type: \"string\",\n format: \"path\",\n description:\n \"The path to the Powerlines configuration file. Alias for `configFile`.\"\n },\n $default: \"{projectRoot}/powerlines.config.ts\"\n },\n configFile: {\n $schema: {\n title: \"Powerlines Configuration File\",\n type: \"string\",\n format: \"path\",\n description:\n \"The path to the Powerlines configuration file. Alias for `config`.\"\n },\n $default: \"{projectRoot}/powerlines.config.ts\"\n },\n input: {\n $schema: {\n title: \"Input Entry File(s)\",\n format: \"path\",\n type: \"array\",\n description: \"The entry file(s) that serve as the input for the project\",\n items: { type: \"string\" }\n }\n },\n tsconfig: {\n $schema: {\n title: \"TSConfig Path\",\n type: \"string\",\n format: \"path\",\n description: \"The path to the tsconfig file\"\n },\n $default: \"{projectRoot}/tsconfig.json\"\n },\n outputPath: {\n $schema: {\n title: \"Output Path\",\n type: \"string\",\n format: \"path\",\n description: \"The path to the output directory for the build artifacts\"\n }\n },\n
|
|
1
|
+
{"version":3,"file":"base-executor.untyped.mjs","names":[],"sources":["../../../src/base/base-executor.untyped.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\nimport { defineUntypedSchema } from \"untyped\";\n\nexport default defineUntypedSchema({\n $schema: {\n id: \"BaseExecutorSchema\",\n title: \"Base Executor\",\n description:\n \"A shared/base schema type definition for Powerlines executors\",\n required: []\n },\n config: {\n $schema: {\n title: \"Powerlines Configuration File\",\n type: \"string\",\n format: \"path\",\n description:\n \"The path to the Powerlines configuration file. Alias for `configFile`.\"\n },\n $default: \"{projectRoot}/powerlines.config.ts\"\n },\n configFile: {\n $schema: {\n title: \"Powerlines Configuration File\",\n type: \"string\",\n format: \"path\",\n description:\n \"The path to the Powerlines configuration file. Alias for `config`.\"\n },\n $default: \"{projectRoot}/powerlines.config.ts\"\n },\n input: {\n $schema: {\n title: \"Input Entry File(s)\",\n format: \"path\",\n type: \"array\",\n description: \"The entry file(s) that serve as the input for the project\",\n items: { type: \"string\" }\n }\n },\n tsconfig: {\n $schema: {\n title: \"TSConfig Path\",\n type: \"string\",\n format: \"path\",\n description: \"The path to the tsconfig file\"\n },\n $default: \"{projectRoot}/tsconfig.json\"\n },\n outputPath: {\n $schema: {\n title: \"Output Path\",\n type: \"string\",\n format: \"path\",\n description: \"The path to the output directory for the build artifacts\"\n }\n },\n copyPath: {\n $schema: {\n title: \"Copy Path\",\n description: \"A directory path to copy the build artifacts into\",\n oneOf: [\n { type: \"string\", format: \"path\" },\n { type: \"boolean\", enum: [false] }\n ]\n }\n },\n sourceMap: {\n $schema: {\n title: \"Sourcemap\",\n type: \"boolean\",\n description: \"Generate a sourcemap\"\n }\n },\n format: {\n $schema: {\n title: \"Format\",\n type: \"array\",\n description: \"The format to build\",\n items: {\n type: \"string\",\n enum: [\"cjs\", \"esm\", \"iife\"]\n }\n },\n $resolve: (val: string[] = [\"cjs\", \"esm\"]) => ([] as string[]).concat(val)\n },\n platform: {\n $schema: {\n title: \"Platform\",\n type: \"string\",\n description: \"The platform to build\",\n enum: [\"neutral\", \"node\", \"browser\"]\n },\n $default: \"neutral\"\n },\n external: {\n $schema: {\n title: \"External\",\n type: \"array\",\n description: \"The external dependencies\"\n },\n $resolve: (val: string[] = []) => ([] as string[]).concat(val)\n },\n noExternal: {\n $schema: {\n title: \"No External\",\n type: \"array\",\n description: \"The dependencies that should not be treated as external\"\n },\n $resolve: (val: string[] = []) => ([] as string[]).concat(val)\n },\n skipNodeModulesBundle: {\n $schema: {\n title: \"Skip Node Modules Bundle\",\n type: \"boolean\",\n description:\n \"Skip bundling node_modules during the build process (if required)\"\n }\n },\n mode: {\n $schema: {\n title: \"Mode\",\n type: \"string\",\n description: \"The build mode\",\n enum: [\"development\", \"test\", \"production\"]\n }\n },\n logLevel: {\n $schema: {\n title: \"Log Level\",\n type: \"string\",\n description: \"The log level to use for the build process\",\n enum: [\n \"fatal\",\n \"error\",\n \"warn\",\n \"success\",\n \"info\",\n \"debug\",\n \"trace\",\n \"silent\"\n ]\n }\n },\n define: {\n $schema: {\n title: \"Define\",\n type: \"object\",\n tsType: \"Record<string, string>\",\n description: \"The `define` values\"\n },\n $resolve: (val: Record<string, string> = {}) => val,\n $default: {}\n },\n assets: {\n $schema: {\n title: \"Assets\",\n type: \"any\",\n tsType:\n \"Array<{ input?: string; output?: string; glob: string; ignore?: string[]; dot?: boolean; }>\",\n description: \"The `assets` values\"\n }\n }\n});\n"],"mappings":";;;AAoBA,oCAAe,oBAAoB;CACjC,SAAS;EACP,IAAI;EACJ,OAAO;EACP,aACE;EACF,UAAU,EAAE;EACb;CACD,QAAQ;EACN,SAAS;GACP,OAAO;GACP,MAAM;GACN,QAAQ;GACR,aACE;GACH;EACD,UAAU;EACX;CACD,YAAY;EACV,SAAS;GACP,OAAO;GACP,MAAM;GACN,QAAQ;GACR,aACE;GACH;EACD,UAAU;EACX;CACD,OAAO,EACL,SAAS;EACP,OAAO;EACP,QAAQ;EACR,MAAM;EACN,aAAa;EACb,OAAO,EAAE,MAAM,UAAU;EAC1B,EACF;CACD,UAAU;EACR,SAAS;GACP,OAAO;GACP,MAAM;GACN,QAAQ;GACR,aAAa;GACd;EACD,UAAU;EACX;CACD,YAAY,EACV,SAAS;EACP,OAAO;EACP,MAAM;EACN,QAAQ;EACR,aAAa;EACd,EACF;CACD,UAAU,EACR,SAAS;EACP,OAAO;EACP,aAAa;EACb,OAAO,CACL;GAAE,MAAM;GAAU,QAAQ;GAAQ,EAClC;GAAE,MAAM;GAAW,MAAM,CAAC,MAAM;GAAE,CACnC;EACF,EACF;CACD,WAAW,EACT,SAAS;EACP,OAAO;EACP,MAAM;EACN,aAAa;EACd,EACF;CACD,QAAQ;EACN,SAAS;GACP,OAAO;GACP,MAAM;GACN,aAAa;GACb,OAAO;IACL,MAAM;IACN,MAAM;KAAC;KAAO;KAAO;KAAO;IAC7B;GACF;EACD,WAAW,MAAgB,CAAC,OAAO,MAAM,KAAM,EAAE,CAAc,OAAO,IAAI;EAC3E;CACD,UAAU;EACR,SAAS;GACP,OAAO;GACP,MAAM;GACN,aAAa;GACb,MAAM;IAAC;IAAW;IAAQ;IAAU;GACrC;EACD,UAAU;EACX;CACD,UAAU;EACR,SAAS;GACP,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACD,WAAW,MAAgB,EAAE,KAAM,EAAE,CAAc,OAAO,IAAI;EAC/D;CACD,YAAY;EACV,SAAS;GACP,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACD,WAAW,MAAgB,EAAE,KAAM,EAAE,CAAc,OAAO,IAAI;EAC/D;CACD,uBAAuB,EACrB,SAAS;EACP,OAAO;EACP,MAAM;EACN,aACE;EACH,EACF;CACD,MAAM,EACJ,SAAS;EACP,OAAO;EACP,MAAM;EACN,aAAa;EACb,MAAM;GAAC;GAAe;GAAQ;GAAa;EAC5C,EACF;CACD,UAAU,EACR,SAAS;EACP,OAAO;EACP,MAAM;EACN,aAAa;EACb,MAAM;GACJ;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACD;EACF,EACF;CACD,QAAQ;EACN,SAAS;GACP,OAAO;GACP,MAAM;GACN,QAAQ;GACR,aAAa;GACd;EACD,WAAW,MAA8B,EAAE,KAAK;EAChD,UAAU,EAAE;EACb;CACD,QAAQ,EACN,SAAS;EACP,OAAO;EACP,MAAM;EACN,QACE;EACF,aAAa;EACd,EACF;CACF,CAAC"}
|
|
@@ -56,14 +56,14 @@ interface BuildExecutorSchema {
|
|
|
56
56
|
*/
|
|
57
57
|
outputPath?: string;
|
|
58
58
|
/**
|
|
59
|
-
*
|
|
59
|
+
* Copy Path
|
|
60
60
|
*
|
|
61
|
-
*
|
|
61
|
+
* A directory path to copy the build artifacts into
|
|
62
62
|
*
|
|
63
63
|
*
|
|
64
64
|
* @oneOf [object Object],[object Object]
|
|
65
65
|
*/
|
|
66
|
-
|
|
66
|
+
copyPath?: any;
|
|
67
67
|
/**
|
|
68
68
|
* Sourcemap
|
|
69
69
|
*
|
|
@@ -135,6 +135,19 @@ interface BuildExecutorSchema {
|
|
|
135
135
|
*
|
|
136
136
|
*/
|
|
137
137
|
define?: Record<string, string>;
|
|
138
|
+
/**
|
|
139
|
+
* Assets
|
|
140
|
+
*
|
|
141
|
+
* The `assets` values
|
|
142
|
+
*
|
|
143
|
+
*/
|
|
144
|
+
assets?: Array<{
|
|
145
|
+
input?: string;
|
|
146
|
+
output?: string;
|
|
147
|
+
glob: string;
|
|
148
|
+
ignore?: string[];
|
|
149
|
+
dot?: boolean;
|
|
150
|
+
}>;
|
|
138
151
|
/**
|
|
139
152
|
* Auto Install
|
|
140
153
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executor.d.mts","names":["BuildExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","
|
|
1
|
+
{"version":3,"file":"executor.d.mts","names":["BuildExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","copyPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","assets","output","glob","ignore","dot","autoInstall","skipCache","entry"],"sources":["../../../../src/executors/build/schema.d.ts","../../../../src/executors/build/executor.ts"],"mappings":";;;;;;;;UAIiBA,mBAAAA;;AAAjB;;;;;;;;EAUCG,MAAAA;EA4Ic;;;;;;;;;EAjIdC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;;EAWRK,QAAAA;EAsIK;;;;ACvJN;;;;ED2BCC,UAAAA;;;;;;;;;EAUAC,QAAAA;;;;ACnBA;;;ED2BAC,SAAAA;;;;;;;;EASAC,MAAAA,GAAST,KAAAA;;;;;;;;;;EAWTU,QAAAA;;;;;;;EAQAC,QAAAA,GAAWX,KAAAA;;;;;;;EAQXY,UAAAA,GAAaZ,KAAAA;;;;;;;EAQba,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAASf,MAAAA;;;;;;;EAQTgB,MAAAA,GAASjB,KAAAA;IAAQI,KAAAA;IAAgBc,MAAAA;IAAiBC,IAAAA;IAAcC,MAAAA;IAAmBC,GAAAA;EAAAA;;;;;;;EAQnFC,WAAAA;;;;;;;EAQAC,SAAAA;;;;;;;;;EAUAC,KAAAA;AAAAA;;;iBCvJqB,UAAA,CACpB,OAAA,EAAS,yBAAA,UAAmC,mBAAA,GAC5C,GAAA,EAAK,aAAA,GACJ,OAAA,CAAQ,kBAAA;AAAA,cAiBL,QAAA,EAAU,eAAA,CAAgB,mBAAA"}
|
|
@@ -56,14 +56,14 @@ interface BuildExecutorSchema {
|
|
|
56
56
|
*/
|
|
57
57
|
outputPath?: string;
|
|
58
58
|
/**
|
|
59
|
-
*
|
|
59
|
+
* Copy Path
|
|
60
60
|
*
|
|
61
|
-
*
|
|
61
|
+
* A directory path to copy the build artifacts into
|
|
62
62
|
*
|
|
63
63
|
*
|
|
64
64
|
* @oneOf [object Object],[object Object]
|
|
65
65
|
*/
|
|
66
|
-
|
|
66
|
+
copyPath?: any;
|
|
67
67
|
/**
|
|
68
68
|
* Sourcemap
|
|
69
69
|
*
|
|
@@ -135,6 +135,19 @@ interface BuildExecutorSchema {
|
|
|
135
135
|
*
|
|
136
136
|
*/
|
|
137
137
|
define?: Record<string, string>;
|
|
138
|
+
/**
|
|
139
|
+
* Assets
|
|
140
|
+
*
|
|
141
|
+
* The `assets` values
|
|
142
|
+
*
|
|
143
|
+
*/
|
|
144
|
+
assets?: Array<{
|
|
145
|
+
input?: string;
|
|
146
|
+
output?: string;
|
|
147
|
+
glob: string;
|
|
148
|
+
ignore?: string[];
|
|
149
|
+
dot?: boolean;
|
|
150
|
+
}>;
|
|
138
151
|
/**
|
|
139
152
|
* Auto Install
|
|
140
153
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executor.d.ts","names":["BuildExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","
|
|
1
|
+
{"version":3,"file":"executor.d.ts","names":["BuildExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","copyPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","assets","output","glob","ignore","dot","autoInstall","skipCache","entry"],"sources":["../../../../src/executors/build/schema.d.ts","../../../../src/executors/build/executor.ts"],"mappings":";;;;;;;;UAIiBA,mBAAAA;;AAAjB;;;;;;;;EAUCG,MAAAA;EA4Ic;;;;;;;;;EAjIdC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;;EAWRK,QAAAA;EAsIK;;;;ACvJN;;;;ED2BCC,UAAAA;;;;;;;;;EAUAC,QAAAA;;;;ACnBA;;;ED2BAC,SAAAA;;;;;;;;EASAC,MAAAA,GAAST,KAAAA;;;;;;;;;;EAWTU,QAAAA;;;;;;;EAQAC,QAAAA,GAAWX,KAAAA;;;;;;;EAQXY,UAAAA,GAAaZ,KAAAA;;;;;;;EAQba,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAASf,MAAAA;;;;;;;EAQTgB,MAAAA,GAASjB,KAAAA;IAAQI,KAAAA;IAAgBc,MAAAA;IAAiBC,IAAAA;IAAcC,MAAAA;IAAmBC,GAAAA;EAAAA;;;;;;;EAQnFC,WAAAA;;;;;;;EAQAC,SAAAA;;;;;;;;;EAUAC,KAAAA;AAAAA;;;iBCvJqB,UAAA,CACpB,OAAA,EAAS,yBAAA,UAAmC,mBAAA,GAC5C,GAAA,EAAK,aAAA,GACJ,OAAA,CAAQ,kBAAA;AAAA,cAiBL,QAAA,EAAU,eAAA,CAAgB,mBAAA"}
|
|
@@ -57,14 +57,14 @@ export interface BuildExecutorSchema {
|
|
|
57
57
|
outputPath?: string,
|
|
58
58
|
|
|
59
59
|
/**
|
|
60
|
-
*
|
|
60
|
+
* Copy Path
|
|
61
61
|
*
|
|
62
|
-
*
|
|
62
|
+
* A directory path to copy the build artifacts into
|
|
63
63
|
*
|
|
64
64
|
*
|
|
65
65
|
* @oneOf [object Object],[object Object]
|
|
66
66
|
*/
|
|
67
|
-
|
|
67
|
+
copyPath?: any,
|
|
68
68
|
|
|
69
69
|
/**
|
|
70
70
|
* Sourcemap
|
|
@@ -146,6 +146,14 @@ export interface BuildExecutorSchema {
|
|
|
146
146
|
*/
|
|
147
147
|
define?: Record<string, string>,
|
|
148
148
|
|
|
149
|
+
/**
|
|
150
|
+
* Assets
|
|
151
|
+
*
|
|
152
|
+
* The `assets` values
|
|
153
|
+
*
|
|
154
|
+
*/
|
|
155
|
+
assets?: Array<{ input?: string; output?: string; glob: string; ignore?: string[]; dot?: boolean; }>,
|
|
156
|
+
|
|
149
157
|
/**
|
|
150
158
|
* Auto Install
|
|
151
159
|
*
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
"description": "The path to the output directory for the build artifacts",
|
|
46
46
|
"id": "#outputPath"
|
|
47
47
|
},
|
|
48
|
-
"
|
|
49
|
-
"title": "
|
|
50
|
-
"description": "
|
|
48
|
+
"copyPath": {
|
|
49
|
+
"title": "Copy Path",
|
|
50
|
+
"description": "A directory path to copy the build artifacts into",
|
|
51
51
|
"oneOf": [
|
|
52
52
|
{
|
|
53
53
|
"type": "string",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
]
|
|
61
61
|
}
|
|
62
62
|
],
|
|
63
|
-
"id": "#
|
|
63
|
+
"id": "#copyPath",
|
|
64
64
|
"type": "any",
|
|
65
65
|
"default": {}
|
|
66
66
|
},
|
|
@@ -161,6 +161,14 @@
|
|
|
161
161
|
"id": "#define",
|
|
162
162
|
"default": {}
|
|
163
163
|
},
|
|
164
|
+
"assets": {
|
|
165
|
+
"title": "Assets",
|
|
166
|
+
"type": "any",
|
|
167
|
+
"tsType": "Array<{ input?: string; output?: string; glob: string; ignore?: string[]; dot?: boolean; }>",
|
|
168
|
+
"description": "The `assets` values",
|
|
169
|
+
"id": "#assets",
|
|
170
|
+
"default": {}
|
|
171
|
+
},
|
|
164
172
|
"autoInstall": {
|
|
165
173
|
"title": "Auto Install",
|
|
166
174
|
"type": "boolean",
|
|
@@ -197,7 +205,7 @@
|
|
|
197
205
|
"config": "{projectRoot}/powerlines.config.ts",
|
|
198
206
|
"configFile": "{projectRoot}/powerlines.config.ts",
|
|
199
207
|
"tsconfig": "{projectRoot}/tsconfig.json",
|
|
200
|
-
"
|
|
208
|
+
"copyPath": {},
|
|
201
209
|
"format": [
|
|
202
210
|
"cjs",
|
|
203
211
|
"esm"
|
|
@@ -206,6 +214,7 @@
|
|
|
206
214
|
"external": [],
|
|
207
215
|
"noExternal": [],
|
|
208
216
|
"define": {},
|
|
217
|
+
"assets": {},
|
|
209
218
|
"entry": {}
|
|
210
219
|
}
|
|
211
220
|
}
|
|
@@ -56,14 +56,14 @@ interface CleanExecutorSchema {
|
|
|
56
56
|
*/
|
|
57
57
|
outputPath?: string;
|
|
58
58
|
/**
|
|
59
|
-
*
|
|
59
|
+
* Copy Path
|
|
60
60
|
*
|
|
61
|
-
*
|
|
61
|
+
* A directory path to copy the build artifacts into
|
|
62
62
|
*
|
|
63
63
|
*
|
|
64
64
|
* @oneOf [object Object],[object Object]
|
|
65
65
|
*/
|
|
66
|
-
|
|
66
|
+
copyPath?: any;
|
|
67
67
|
/**
|
|
68
68
|
* Sourcemap
|
|
69
69
|
*
|
|
@@ -135,6 +135,19 @@ interface CleanExecutorSchema {
|
|
|
135
135
|
*
|
|
136
136
|
*/
|
|
137
137
|
define?: Record<string, string>;
|
|
138
|
+
/**
|
|
139
|
+
* Assets
|
|
140
|
+
*
|
|
141
|
+
* The `assets` values
|
|
142
|
+
*
|
|
143
|
+
*/
|
|
144
|
+
assets?: Array<{
|
|
145
|
+
input?: string;
|
|
146
|
+
output?: string;
|
|
147
|
+
glob: string;
|
|
148
|
+
ignore?: string[];
|
|
149
|
+
dot?: boolean;
|
|
150
|
+
}>;
|
|
138
151
|
}
|
|
139
152
|
//#endregion
|
|
140
153
|
//#region src/executors/clean/executor.d.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executor.d.mts","names":["CleanExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","
|
|
1
|
+
{"version":3,"file":"executor.d.mts","names":["CleanExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","copyPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","assets","output","glob","ignore","dot"],"sources":["../../../../src/executors/clean/schema.d.ts","../../../../src/executors/clean/executor.ts"],"mappings":";;;;;;;;UAIiBA,mBAAAA;;AAAjB;;;;;;;;EAUCG,MAAAA;EA4Ic;;;;;;;;;EAjIdC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;;EAWRK,QAAAA;;AClBD;;;;;;;ED4BCC,UAAAA;ECzBS;;;;;;;;EDmCTC,QAAAA;EC7BA;;;;;;EDqCAC,SAAAA;;;;;;;;EASAC,MAAAA,GAAST,KAAAA;;;;;;;;;;EAWTU,QAAAA;;;;;;;EAQAC,QAAAA,GAAWX,KAAAA;;;;;;;EAQXY,UAAAA,GAAaZ,KAAAA;;;;;;;EAQba,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAASf,MAAAA;;;;;;;EAQTgB,MAAAA,GAASjB,KAAAA;IAAQI,KAAAA;IAAgBc,MAAAA;IAAiBC,IAAAA;IAAcC,MAAAA;IAAmBC,GAAAA;EAAAA;AAAAA;;;iBC9H9D,UAAA,CACpB,OAAA,EAAS,yBAAA,UAAmC,mBAAA,GAC5C,GAAA,EAAK,aAAA,GACJ,OAAA,CAAQ,kBAAA;AAAA,cAQL,QAAA,EAAU,eAAA,CAAgB,mBAAA"}
|
|
@@ -56,14 +56,14 @@ interface CleanExecutorSchema {
|
|
|
56
56
|
*/
|
|
57
57
|
outputPath?: string;
|
|
58
58
|
/**
|
|
59
|
-
*
|
|
59
|
+
* Copy Path
|
|
60
60
|
*
|
|
61
|
-
*
|
|
61
|
+
* A directory path to copy the build artifacts into
|
|
62
62
|
*
|
|
63
63
|
*
|
|
64
64
|
* @oneOf [object Object],[object Object]
|
|
65
65
|
*/
|
|
66
|
-
|
|
66
|
+
copyPath?: any;
|
|
67
67
|
/**
|
|
68
68
|
* Sourcemap
|
|
69
69
|
*
|
|
@@ -135,6 +135,19 @@ interface CleanExecutorSchema {
|
|
|
135
135
|
*
|
|
136
136
|
*/
|
|
137
137
|
define?: Record<string, string>;
|
|
138
|
+
/**
|
|
139
|
+
* Assets
|
|
140
|
+
*
|
|
141
|
+
* The `assets` values
|
|
142
|
+
*
|
|
143
|
+
*/
|
|
144
|
+
assets?: Array<{
|
|
145
|
+
input?: string;
|
|
146
|
+
output?: string;
|
|
147
|
+
glob: string;
|
|
148
|
+
ignore?: string[];
|
|
149
|
+
dot?: boolean;
|
|
150
|
+
}>;
|
|
138
151
|
}
|
|
139
152
|
//#endregion
|
|
140
153
|
//#region src/executors/clean/executor.d.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executor.d.ts","names":["CleanExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","
|
|
1
|
+
{"version":3,"file":"executor.d.ts","names":["CleanExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","copyPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","assets","output","glob","ignore","dot"],"sources":["../../../../src/executors/clean/schema.d.ts","../../../../src/executors/clean/executor.ts"],"mappings":";;;;;;;;UAIiBA,mBAAAA;;AAAjB;;;;;;;;EAUCG,MAAAA;EA4Ic;;;;;;;;;EAjIdC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;;EAWRK,QAAAA;;AClBD;;;;;;;ED4BCC,UAAAA;ECzBS;;;;;;;;EDmCTC,QAAAA;EC7BA;;;;;;EDqCAC,SAAAA;;;;;;;;EASAC,MAAAA,GAAST,KAAAA;;;;;;;;;;EAWTU,QAAAA;;;;;;;EAQAC,QAAAA,GAAWX,KAAAA;;;;;;;EAQXY,UAAAA,GAAaZ,KAAAA;;;;;;;EAQba,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAASf,MAAAA;;;;;;;EAQTgB,MAAAA,GAASjB,KAAAA;IAAQI,KAAAA;IAAgBc,MAAAA;IAAiBC,IAAAA;IAAcC,MAAAA;IAAmBC,GAAAA;EAAAA;AAAAA;;;iBC9H9D,UAAA,CACpB,OAAA,EAAS,yBAAA,UAAmC,mBAAA,GAC5C,GAAA,EAAK,aAAA,GACJ,OAAA,CAAQ,kBAAA;AAAA,cAQL,QAAA,EAAU,eAAA,CAAgB,mBAAA"}
|
|
@@ -57,14 +57,14 @@ export interface CleanExecutorSchema {
|
|
|
57
57
|
outputPath?: string,
|
|
58
58
|
|
|
59
59
|
/**
|
|
60
|
-
*
|
|
60
|
+
* Copy Path
|
|
61
61
|
*
|
|
62
|
-
*
|
|
62
|
+
* A directory path to copy the build artifacts into
|
|
63
63
|
*
|
|
64
64
|
*
|
|
65
65
|
* @oneOf [object Object],[object Object]
|
|
66
66
|
*/
|
|
67
|
-
|
|
67
|
+
copyPath?: any,
|
|
68
68
|
|
|
69
69
|
/**
|
|
70
70
|
* Sourcemap
|
|
@@ -145,5 +145,13 @@ export interface CleanExecutorSchema {
|
|
|
145
145
|
*
|
|
146
146
|
*/
|
|
147
147
|
define?: Record<string, string>,
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Assets
|
|
151
|
+
*
|
|
152
|
+
* The `assets` values
|
|
153
|
+
*
|
|
154
|
+
*/
|
|
155
|
+
assets?: Array<{ input?: string; output?: string; glob: string; ignore?: string[]; dot?: boolean; }>,
|
|
148
156
|
}
|
|
149
157
|
|