@shell-shock/nx 0.0.43 → 0.0.47
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/CHANGELOG.md +36 -0
- package/README.md +1 -1
- package/dist/{src/executors/lint/schema.d.ts → base/base-executor.schema.d.ts} +26 -13
- package/dist/{src/base → base}/base-executor.schema.json +40 -2
- package/dist/{base-executor-Tb7NcSc4.mjs → base-executor-DojAZA0w.mjs} +2 -2
- package/dist/base-executor-DojAZA0w.mjs.map +1 -0
- package/dist/{src/base-executor-B_1n4Nst.js → base-executor-KUL9jD5R.js} +1 -1
- package/dist/chunk-BCHjMept.mjs +3 -0
- package/dist/executors/build/executor.d.mts +34 -6
- package/dist/executors/build/executor.d.mts.map +1 -1
- package/dist/executors/build/executor.d.ts +34 -7
- package/dist/executors/build/executor.d.ts.map +1 -1
- package/dist/executors/build/executor.js +2 -4
- package/dist/executors/build/executor.mjs +2 -2
- package/dist/executors/build/executor.mjs.map +1 -1
- package/dist/executors/build/schema.d.ts +30 -1
- package/dist/executors/build/schema.json +40 -2
- package/dist/executors/clean/executor.d.mts +34 -6
- package/dist/executors/clean/executor.d.mts.map +1 -1
- package/dist/executors/clean/executor.d.ts +34 -7
- package/dist/executors/clean/executor.d.ts.map +1 -1
- package/dist/executors/clean/executor.js +2 -4
- package/dist/executors/clean/executor.mjs +2 -2
- package/dist/executors/clean/executor.mjs.map +1 -1
- package/dist/executors/clean/schema.d.ts +30 -1
- package/dist/executors/clean/schema.json +40 -2
- package/dist/executors/docs/executor.d.mts +34 -6
- package/dist/executors/docs/executor.d.mts.map +1 -1
- package/dist/executors/docs/executor.d.ts +34 -7
- package/dist/executors/docs/executor.d.ts.map +1 -1
- package/dist/executors/docs/executor.js +2 -4
- package/dist/executors/docs/executor.mjs +2 -2
- package/dist/executors/docs/executor.mjs.map +1 -1
- package/dist/executors/docs/schema.d.ts +30 -1
- package/dist/executors/docs/schema.json +40 -2
- package/dist/executors/lint/executor.d.mts +34 -6
- package/dist/executors/lint/executor.d.mts.map +1 -1
- package/dist/executors/lint/executor.d.ts +34 -7
- package/dist/executors/lint/executor.d.ts.map +1 -1
- package/dist/executors/lint/executor.js +2 -4
- package/dist/executors/lint/executor.mjs +2 -2
- package/dist/executors/lint/executor.mjs.map +1 -1
- package/dist/executors/lint/schema.d.ts +30 -1
- package/dist/executors/lint/schema.json +40 -2
- package/dist/executors/prepare/executor.d.mts +34 -6
- package/dist/executors/prepare/executor.d.mts.map +1 -1
- package/dist/executors/prepare/executor.d.ts +34 -7
- package/dist/executors/prepare/executor.d.ts.map +1 -1
- package/dist/executors/prepare/executor.js +2 -4
- package/dist/executors/prepare/executor.mjs +2 -2
- package/dist/executors/prepare/executor.mjs.map +1 -1
- package/dist/executors/prepare/schema.d.ts +30 -1
- package/dist/executors/prepare/schema.json +40 -2
- package/dist/index.d.mts +175 -2
- package/dist/index.d.mts.map +1 -0
- package/dist/index.d.ts +175 -2
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/plugin/index.d.mts +242 -1
- package/dist/plugin/index.d.mts.map +1 -1
- package/dist/plugin/index.d.ts +242 -1
- package/dist/plugin/index.d.ts.map +1 -1
- package/dist/plugin/index.js +1221 -3
- package/dist/plugin/index.mjs +1191 -1
- package/dist/plugin/index.mjs.map +1 -1
- package/docs/api/base-executor.schema.md +31 -1
- package/docs/api/build/schema.md +31 -1
- package/docs/api/clean/schema.md +31 -1
- package/docs/api/docs/schema.md +31 -1
- package/docs/api/lint/schema.md +31 -1
- package/docs/api/prepare/schema.md +31 -1
- package/executors.json +10 -10
- package/package.json +49 -57
- package/dist/base-executor-5IKYZdSK.d.mts +0 -143
- package/dist/base-executor-5IKYZdSK.d.mts.map +0 -1
- package/dist/base-executor-B_1n4Nst.js +0 -104
- package/dist/base-executor-D8wAP52R.d.ts +0 -143
- package/dist/base-executor-D8wAP52R.d.ts.map +0 -1
- package/dist/base-executor-Tb7NcSc4.mjs.map +0 -1
- package/dist/src/base/base-executor.schema.d.ts +0 -128
- package/dist/src/base-executor-5IKYZdSK.d.mts +0 -143
- package/dist/src/base-executor-5IKYZdSK.d.mts.map +0 -1
- package/dist/src/base-executor-D8wAP52R.d.ts +0 -143
- package/dist/src/base-executor-D8wAP52R.d.ts.map +0 -1
- package/dist/src/base-executor-Tb7NcSc4.mjs +0 -66
- package/dist/src/base-executor-Tb7NcSc4.mjs.map +0 -1
- package/dist/src/executors/build/executor.d.mts +0 -140
- package/dist/src/executors/build/executor.d.mts.map +0 -1
- package/dist/src/executors/build/executor.d.ts +0 -140
- package/dist/src/executors/build/executor.d.ts.map +0 -1
- package/dist/src/executors/build/executor.js +0 -19
- package/dist/src/executors/build/executor.mjs +0 -17
- package/dist/src/executors/build/executor.mjs.map +0 -1
- package/dist/src/executors/build/schema.d.ts +0 -144
- package/dist/src/executors/build/schema.json +0 -163
- package/dist/src/executors/clean/executor.d.mts +0 -140
- package/dist/src/executors/clean/executor.d.mts.map +0 -1
- package/dist/src/executors/clean/executor.d.ts +0 -140
- package/dist/src/executors/clean/executor.d.ts.map +0 -1
- package/dist/src/executors/clean/executor.js +0 -14
- package/dist/src/executors/clean/executor.mjs +0 -13
- package/dist/src/executors/clean/executor.mjs.map +0 -1
- package/dist/src/executors/clean/schema.d.ts +0 -144
- package/dist/src/executors/clean/schema.json +0 -163
- package/dist/src/executors/docs/executor.d.mts +0 -140
- package/dist/src/executors/docs/executor.d.mts.map +0 -1
- package/dist/src/executors/docs/executor.d.ts +0 -140
- package/dist/src/executors/docs/executor.d.ts.map +0 -1
- package/dist/src/executors/docs/executor.js +0 -15
- package/dist/src/executors/docs/executor.mjs +0 -13
- package/dist/src/executors/docs/executor.mjs.map +0 -1
- package/dist/src/executors/docs/schema.d.ts +0 -144
- package/dist/src/executors/docs/schema.json +0 -163
- package/dist/src/executors/lint/executor.d.mts +0 -140
- package/dist/src/executors/lint/executor.d.mts.map +0 -1
- package/dist/src/executors/lint/executor.d.ts +0 -140
- package/dist/src/executors/lint/executor.d.ts.map +0 -1
- package/dist/src/executors/lint/executor.js +0 -15
- package/dist/src/executors/lint/executor.mjs +0 -13
- package/dist/src/executors/lint/executor.mjs.map +0 -1
- package/dist/src/executors/lint/schema.json +0 -163
- package/dist/src/executors/prepare/executor.d.mts +0 -140
- package/dist/src/executors/prepare/executor.d.mts.map +0 -1
- package/dist/src/executors/prepare/executor.d.ts +0 -140
- package/dist/src/executors/prepare/executor.d.ts.map +0 -1
- package/dist/src/executors/prepare/executor.js +0 -19
- package/dist/src/executors/prepare/executor.mjs +0 -17
- package/dist/src/executors/prepare/executor.mjs.map +0 -1
- package/dist/src/executors/prepare/schema.d.ts +0 -144
- package/dist/src/executors/prepare/schema.json +0 -163
- package/dist/src/index.d.mts +0 -2
- package/dist/src/index.d.ts +0 -2
- package/dist/src/index.js +0 -19
- package/dist/src/index.mjs +0 -18
- package/dist/src/index.mjs.map +0 -1
- package/dist/src/plugin/index.d.mts +0 -8
- package/dist/src/plugin/index.d.mts.map +0 -1
- package/dist/src/plugin/index.d.ts +0 -8
- package/dist/src/plugin/index.d.ts.map +0 -1
- package/dist/src/plugin/index.js +0 -9
- package/dist/src/plugin/index.mjs +0 -8
- package/dist/src/plugin/index.mjs.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executor.d.mts","names":["LintExecutorSchema","Array","Record","configFile","input","tsconfig","outputPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","autoInstall","skipCache"],"sources":["
|
|
1
|
+
{"version":3,"file":"executor.d.mts","names":["LintExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","copyPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","assets","output","glob","ignore","dot","autoInstall","skipCache"],"sources":["../../../src/executors/lint/schema.d.ts","../../../src/executors/lint/executor.ts"],"mappings":";;;;;UAIiBA,kBAAAA;;;;;;;;;;EAUhBG,MAAAA;;;;;;;;;;EAWAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;;EAWRK,QAAAA;ECrBkD;;;;;;;;ED+BlDC,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;;;;;;;EAQnFC,WAAAA;;;;;;;EAQAC,SAAAA;AAAAA;;;cC7HK,QAAA,EAAU,eAAA,CAAgB,kBAAA"}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import { t as ShellShockExecutorContext } from "../../base-executor-D8wAP52R.js";
|
|
2
1
|
import { PromiseExecutor } from "@nx/devkit";
|
|
3
|
-
import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
|
|
4
|
-
import { ShellShockAPI } from "@shell-shock/core";
|
|
5
2
|
|
|
6
3
|
//#region src/executors/lint/schema.d.ts
|
|
7
4
|
// Generated by powerlines
|
|
@@ -10,7 +7,17 @@ interface LintExecutorSchema {
|
|
|
10
7
|
/**
|
|
11
8
|
* Powerlines Configuration File
|
|
12
9
|
*
|
|
13
|
-
* The path to the Powerlines configuration file
|
|
10
|
+
* The path to the Powerlines configuration file. Alias for `configFile`.
|
|
11
|
+
*
|
|
12
|
+
* @default "{projectRoot}/powerlines.config.ts"
|
|
13
|
+
*
|
|
14
|
+
* @format path
|
|
15
|
+
*/
|
|
16
|
+
config?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Powerlines Configuration File
|
|
19
|
+
*
|
|
20
|
+
* The path to the Powerlines configuration file. Alias for `config`.
|
|
14
21
|
*
|
|
15
22
|
* @default "{projectRoot}/powerlines.config.ts"
|
|
16
23
|
*
|
|
@@ -45,6 +52,15 @@ interface LintExecutorSchema {
|
|
|
45
52
|
* @format path
|
|
46
53
|
*/
|
|
47
54
|
outputPath?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Copy Path
|
|
57
|
+
*
|
|
58
|
+
* A directory path to copy the build artifacts into
|
|
59
|
+
*
|
|
60
|
+
*
|
|
61
|
+
* @oneOf [object Object],[object Object]
|
|
62
|
+
*/
|
|
63
|
+
copyPath?: any;
|
|
48
64
|
/**
|
|
49
65
|
* Sourcemap
|
|
50
66
|
*
|
|
@@ -116,6 +132,19 @@ interface LintExecutorSchema {
|
|
|
116
132
|
*
|
|
117
133
|
*/
|
|
118
134
|
define?: Record<string, string>;
|
|
135
|
+
/**
|
|
136
|
+
* Assets
|
|
137
|
+
*
|
|
138
|
+
* The `assets` values
|
|
139
|
+
*
|
|
140
|
+
*/
|
|
141
|
+
assets?: Array<{
|
|
142
|
+
input?: string;
|
|
143
|
+
output?: string;
|
|
144
|
+
glob: string;
|
|
145
|
+
ignore?: string[];
|
|
146
|
+
dot?: boolean;
|
|
147
|
+
}>;
|
|
119
148
|
/**
|
|
120
149
|
* Auto Install
|
|
121
150
|
*
|
|
@@ -133,8 +162,6 @@ interface LintExecutorSchema {
|
|
|
133
162
|
}
|
|
134
163
|
//#endregion
|
|
135
164
|
//#region src/executors/lint/executor.d.ts
|
|
136
|
-
declare function executorFn(context: ShellShockExecutorContext<"lint", LintExecutorSchema>, api: ShellShockAPI): Promise<BaseExecutorResult>;
|
|
137
165
|
declare const executor: PromiseExecutor<LintExecutorSchema>;
|
|
138
|
-
|
|
139
|
-
export { executor as default, executorFn };
|
|
166
|
+
export = executor;
|
|
140
167
|
//# sourceMappingURL=executor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executor.d.ts","names":["LintExecutorSchema","Array","Record","configFile","input","tsconfig","outputPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","autoInstall","skipCache"],"sources":["
|
|
1
|
+
{"version":3,"file":"executor.d.ts","names":["LintExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","copyPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","assets","output","glob","ignore","dot","autoInstall","skipCache"],"sources":["../../../src/executors/lint/schema.d.ts","../../../src/executors/lint/executor.ts"],"mappings":";;;;;UAIiBA,kBAAAA;;;;;;;;;;EAUhBG,MAAAA;;;;;;;;;;EAWAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;;EAWRK,QAAAA;ECrBkD;;;;;;;;ED+BlDC,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;;;;;;;EAQnFC,WAAAA;;;;;;;EAQAC,SAAAA;AAAAA;;;cC7HK,QAAA,EAAU,eAAA,CAAgB,kBAAA;AAAA"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
const require_base_executor = require('../../base-executor-B_1n4Nst.js');
|
|
1
|
+
const require_base_executor = require('../../base-executor-KUL9jD5R.js');
|
|
3
2
|
let defu = require("defu");
|
|
4
3
|
defu = require_base_executor.__toESM(defu);
|
|
5
4
|
|
|
@@ -11,5 +10,4 @@ async function executorFn(context, api) {
|
|
|
11
10
|
const executor = require_base_executor.withExecutor("lint", executorFn);
|
|
12
11
|
|
|
13
12
|
//#endregion
|
|
14
|
-
exports
|
|
15
|
-
exports.executorFn = executorFn;
|
|
13
|
+
module.exports = executor;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as withExecutor } from "../../base-executor-
|
|
1
|
+
import { t as withExecutor } from "../../base-executor-DojAZA0w.mjs";
|
|
2
2
|
import defu from "defu";
|
|
3
3
|
|
|
4
4
|
//#region src/executors/lint/executor.ts
|
|
@@ -9,5 +9,5 @@ async function executorFn(context, api) {
|
|
|
9
9
|
const executor = withExecutor("lint", executorFn);
|
|
10
10
|
|
|
11
11
|
//#endregion
|
|
12
|
-
export { executor as default
|
|
12
|
+
export { executor as default };
|
|
13
13
|
//# sourceMappingURL=executor.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executor.mjs","names":[],"sources":["
|
|
1
|
+
{"version":3,"file":"executor.mjs","names":[],"sources":["../../../src/executors/lint/executor.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Shell Shock\n\n This code was released as part of the Shell Shock project. Shell Shock\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/shell-shock.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/shell-shock\n Documentation: https://docs.stormsoftware.com/projects/shell-shock\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport type { PromiseExecutor } from \"@nx/devkit\";\nimport type { ShellShockAPI } from \"@shell-shock/core\";\nimport type { BaseExecutorResult } from \"@storm-software/workspace-tools/types\";\nimport defu from \"defu\";\nimport type { LintInlineConfig } from \"powerlines\";\nimport type { ShellShockExecutorContext } from \"../../base/base-executor\";\nimport { withExecutor } from \"../../base/base-executor\";\nimport type { LintExecutorSchema } from \"./schema\";\n\nasync function executorFn(\n context: ShellShockExecutorContext<\"lint\", LintExecutorSchema>,\n api: ShellShockAPI\n): Promise<BaseExecutorResult> {\n await api.lint(\n defu(\n {\n command: \"lint\"\n },\n context.inlineConfig\n ) as LintInlineConfig\n );\n\n return {\n success: true\n };\n}\n\nconst executor: PromiseExecutor<LintExecutorSchema> = withExecutor<\n \"lint\",\n LintExecutorSchema\n>(\"lint\", executorFn);\n\nexport default executor;\n"],"mappings":";;;;AA2BA,eAAe,WACb,SACA,KAC6B;AAC7B,OAAM,IAAI,KACR,KACE,EACE,SAAS,QACV,EACD,QAAQ,aACT,CACF;AAED,QAAO,EACL,SAAS,MACV;;AAGH,MAAM,WAAgD,aAGpD,QAAQ,WAAW"}
|
|
@@ -6,7 +6,18 @@ export interface LintExecutorSchema {
|
|
|
6
6
|
/**
|
|
7
7
|
* Powerlines Configuration File
|
|
8
8
|
*
|
|
9
|
-
* The path to the Powerlines configuration file
|
|
9
|
+
* The path to the Powerlines configuration file. Alias for `configFile`.
|
|
10
|
+
*
|
|
11
|
+
* @default "{projectRoot}/powerlines.config.ts"
|
|
12
|
+
*
|
|
13
|
+
* @format path
|
|
14
|
+
*/
|
|
15
|
+
config?: string,
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Powerlines Configuration File
|
|
19
|
+
*
|
|
20
|
+
* The path to the Powerlines configuration file. Alias for `config`.
|
|
10
21
|
*
|
|
11
22
|
* @default "{projectRoot}/powerlines.config.ts"
|
|
12
23
|
*
|
|
@@ -45,6 +56,16 @@ export interface LintExecutorSchema {
|
|
|
45
56
|
*/
|
|
46
57
|
outputPath?: string,
|
|
47
58
|
|
|
59
|
+
/**
|
|
60
|
+
* Copy Path
|
|
61
|
+
*
|
|
62
|
+
* A directory path to copy the build artifacts into
|
|
63
|
+
*
|
|
64
|
+
*
|
|
65
|
+
* @oneOf [object Object],[object Object]
|
|
66
|
+
*/
|
|
67
|
+
copyPath?: any,
|
|
68
|
+
|
|
48
69
|
/**
|
|
49
70
|
* Sourcemap
|
|
50
71
|
*
|
|
@@ -125,6 +146,14 @@ export interface LintExecutorSchema {
|
|
|
125
146
|
*/
|
|
126
147
|
define?: Record<string, string>,
|
|
127
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
|
+
|
|
128
157
|
/**
|
|
129
158
|
* Auto Install
|
|
130
159
|
*
|
|
@@ -4,11 +4,19 @@
|
|
|
4
4
|
"description": "A type definition for the Powerlines - Lint executor schema",
|
|
5
5
|
"required": [],
|
|
6
6
|
"properties": {
|
|
7
|
+
"config": {
|
|
8
|
+
"title": "Powerlines Configuration File",
|
|
9
|
+
"type": "string",
|
|
10
|
+
"format": "path",
|
|
11
|
+
"description": "The path to the Powerlines configuration file. Alias for `configFile`.",
|
|
12
|
+
"id": "#config",
|
|
13
|
+
"default": "{projectRoot}/powerlines.config.ts"
|
|
14
|
+
},
|
|
7
15
|
"configFile": {
|
|
8
16
|
"title": "Powerlines Configuration File",
|
|
9
17
|
"type": "string",
|
|
10
18
|
"format": "path",
|
|
11
|
-
"description": "The path to the Powerlines configuration file",
|
|
19
|
+
"description": "The path to the Powerlines configuration file. Alias for `config`.",
|
|
12
20
|
"id": "#configFile",
|
|
13
21
|
"default": "{projectRoot}/powerlines.config.ts"
|
|
14
22
|
},
|
|
@@ -37,6 +45,25 @@
|
|
|
37
45
|
"description": "The path to the output directory for the build artifacts",
|
|
38
46
|
"id": "#outputPath"
|
|
39
47
|
},
|
|
48
|
+
"copyPath": {
|
|
49
|
+
"title": "Copy Path",
|
|
50
|
+
"description": "A directory path to copy the build artifacts into",
|
|
51
|
+
"oneOf": [
|
|
52
|
+
{
|
|
53
|
+
"type": "string",
|
|
54
|
+
"format": "path"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"type": "boolean",
|
|
58
|
+
"enum": [
|
|
59
|
+
false
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"id": "#copyPath",
|
|
64
|
+
"type": "any",
|
|
65
|
+
"default": {}
|
|
66
|
+
},
|
|
40
67
|
"sourceMap": {
|
|
41
68
|
"title": "Sourcemap",
|
|
42
69
|
"type": "boolean",
|
|
@@ -134,6 +161,14 @@
|
|
|
134
161
|
"id": "#define",
|
|
135
162
|
"default": {}
|
|
136
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
|
+
},
|
|
137
172
|
"autoInstall": {
|
|
138
173
|
"title": "Auto Install",
|
|
139
174
|
"type": "boolean",
|
|
@@ -149,8 +184,10 @@
|
|
|
149
184
|
},
|
|
150
185
|
"type": "object",
|
|
151
186
|
"default": {
|
|
187
|
+
"config": "{projectRoot}/powerlines.config.ts",
|
|
152
188
|
"configFile": "{projectRoot}/powerlines.config.ts",
|
|
153
189
|
"tsconfig": "{projectRoot}/tsconfig.json",
|
|
190
|
+
"copyPath": {},
|
|
154
191
|
"format": [
|
|
155
192
|
"cjs",
|
|
156
193
|
"esm"
|
|
@@ -158,6 +195,7 @@
|
|
|
158
195
|
"platform": "neutral",
|
|
159
196
|
"external": [],
|
|
160
197
|
"noExternal": [],
|
|
161
|
-
"define": {}
|
|
198
|
+
"define": {},
|
|
199
|
+
"assets": {}
|
|
162
200
|
}
|
|
163
201
|
}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import { t as ShellShockExecutorContext } from "../../base-executor-5IKYZdSK.mjs";
|
|
2
1
|
import { PromiseExecutor } from "@nx/devkit";
|
|
3
|
-
import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
|
|
4
|
-
import { ShellShockAPI } from "@shell-shock/core";
|
|
5
2
|
|
|
6
3
|
//#region src/executors/prepare/schema.d.ts
|
|
7
4
|
// Generated by powerlines
|
|
@@ -10,7 +7,17 @@ interface PrepareExecutorSchema {
|
|
|
10
7
|
/**
|
|
11
8
|
* Powerlines Configuration File
|
|
12
9
|
*
|
|
13
|
-
* The path to the Powerlines configuration file
|
|
10
|
+
* The path to the Powerlines configuration file. Alias for `configFile`.
|
|
11
|
+
*
|
|
12
|
+
* @default "{projectRoot}/powerlines.config.ts"
|
|
13
|
+
*
|
|
14
|
+
* @format path
|
|
15
|
+
*/
|
|
16
|
+
config?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Powerlines Configuration File
|
|
19
|
+
*
|
|
20
|
+
* The path to the Powerlines configuration file. Alias for `config`.
|
|
14
21
|
*
|
|
15
22
|
* @default "{projectRoot}/powerlines.config.ts"
|
|
16
23
|
*
|
|
@@ -45,6 +52,15 @@ interface PrepareExecutorSchema {
|
|
|
45
52
|
* @format path
|
|
46
53
|
*/
|
|
47
54
|
outputPath?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Copy Path
|
|
57
|
+
*
|
|
58
|
+
* A directory path to copy the build artifacts into
|
|
59
|
+
*
|
|
60
|
+
*
|
|
61
|
+
* @oneOf [object Object],[object Object]
|
|
62
|
+
*/
|
|
63
|
+
copyPath?: any;
|
|
48
64
|
/**
|
|
49
65
|
* Sourcemap
|
|
50
66
|
*
|
|
@@ -116,6 +132,19 @@ interface PrepareExecutorSchema {
|
|
|
116
132
|
*
|
|
117
133
|
*/
|
|
118
134
|
define?: Record<string, string>;
|
|
135
|
+
/**
|
|
136
|
+
* Assets
|
|
137
|
+
*
|
|
138
|
+
* The `assets` values
|
|
139
|
+
*
|
|
140
|
+
*/
|
|
141
|
+
assets?: Array<{
|
|
142
|
+
input?: string;
|
|
143
|
+
output?: string;
|
|
144
|
+
glob: string;
|
|
145
|
+
ignore?: string[];
|
|
146
|
+
dot?: boolean;
|
|
147
|
+
}>;
|
|
119
148
|
/**
|
|
120
149
|
* Auto Install
|
|
121
150
|
*
|
|
@@ -133,8 +162,7 @@ interface PrepareExecutorSchema {
|
|
|
133
162
|
}
|
|
134
163
|
//#endregion
|
|
135
164
|
//#region src/executors/prepare/executor.d.ts
|
|
136
|
-
declare function executorFn(context: ShellShockExecutorContext<"prepare", PrepareExecutorSchema>, api: ShellShockAPI): Promise<BaseExecutorResult>;
|
|
137
165
|
declare const executor: PromiseExecutor<PrepareExecutorSchema>;
|
|
138
166
|
//#endregion
|
|
139
|
-
export { executor as default
|
|
167
|
+
export { executor as default };
|
|
140
168
|
//# sourceMappingURL=executor.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executor.d.mts","names":["PrepareExecutorSchema","Array","Record","configFile","input","tsconfig","outputPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","autoInstall","skipCache"],"sources":["
|
|
1
|
+
{"version":3,"file":"executor.d.mts","names":["PrepareExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","copyPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","assets","output","glob","ignore","dot","autoInstall","skipCache"],"sources":["../../../src/executors/prepare/schema.d.ts","../../../src/executors/prepare/executor.ts"],"mappings":";;;;;UAIiBA,qBAAAA;;;;;;;;;;EAUhBG,MAAAA;;;;;;;;;;EAWAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;;EAWRK,QAAAA;ECrBqD;;;;;;;;ED+BrDC,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;;;;;;;EAQnFC,WAAAA;;;;;;;EAQAC,SAAAA;AAAAA;;;cC3HK,QAAA,EAAU,eAAA,CAAgB,qBAAA"}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import { t as ShellShockExecutorContext } from "../../base-executor-D8wAP52R.js";
|
|
2
1
|
import { PromiseExecutor } from "@nx/devkit";
|
|
3
|
-
import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
|
|
4
|
-
import { ShellShockAPI } from "@shell-shock/core";
|
|
5
2
|
|
|
6
3
|
//#region src/executors/prepare/schema.d.ts
|
|
7
4
|
// Generated by powerlines
|
|
@@ -10,7 +7,17 @@ interface PrepareExecutorSchema {
|
|
|
10
7
|
/**
|
|
11
8
|
* Powerlines Configuration File
|
|
12
9
|
*
|
|
13
|
-
* The path to the Powerlines configuration file
|
|
10
|
+
* The path to the Powerlines configuration file. Alias for `configFile`.
|
|
11
|
+
*
|
|
12
|
+
* @default "{projectRoot}/powerlines.config.ts"
|
|
13
|
+
*
|
|
14
|
+
* @format path
|
|
15
|
+
*/
|
|
16
|
+
config?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Powerlines Configuration File
|
|
19
|
+
*
|
|
20
|
+
* The path to the Powerlines configuration file. Alias for `config`.
|
|
14
21
|
*
|
|
15
22
|
* @default "{projectRoot}/powerlines.config.ts"
|
|
16
23
|
*
|
|
@@ -45,6 +52,15 @@ interface PrepareExecutorSchema {
|
|
|
45
52
|
* @format path
|
|
46
53
|
*/
|
|
47
54
|
outputPath?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Copy Path
|
|
57
|
+
*
|
|
58
|
+
* A directory path to copy the build artifacts into
|
|
59
|
+
*
|
|
60
|
+
*
|
|
61
|
+
* @oneOf [object Object],[object Object]
|
|
62
|
+
*/
|
|
63
|
+
copyPath?: any;
|
|
48
64
|
/**
|
|
49
65
|
* Sourcemap
|
|
50
66
|
*
|
|
@@ -116,6 +132,19 @@ interface PrepareExecutorSchema {
|
|
|
116
132
|
*
|
|
117
133
|
*/
|
|
118
134
|
define?: Record<string, string>;
|
|
135
|
+
/**
|
|
136
|
+
* Assets
|
|
137
|
+
*
|
|
138
|
+
* The `assets` values
|
|
139
|
+
*
|
|
140
|
+
*/
|
|
141
|
+
assets?: Array<{
|
|
142
|
+
input?: string;
|
|
143
|
+
output?: string;
|
|
144
|
+
glob: string;
|
|
145
|
+
ignore?: string[];
|
|
146
|
+
dot?: boolean;
|
|
147
|
+
}>;
|
|
119
148
|
/**
|
|
120
149
|
* Auto Install
|
|
121
150
|
*
|
|
@@ -133,8 +162,6 @@ interface PrepareExecutorSchema {
|
|
|
133
162
|
}
|
|
134
163
|
//#endregion
|
|
135
164
|
//#region src/executors/prepare/executor.d.ts
|
|
136
|
-
declare function executorFn(context: ShellShockExecutorContext<"prepare", PrepareExecutorSchema>, api: ShellShockAPI): Promise<BaseExecutorResult>;
|
|
137
165
|
declare const executor: PromiseExecutor<PrepareExecutorSchema>;
|
|
138
|
-
|
|
139
|
-
export { executor as default, executorFn };
|
|
166
|
+
export = executor;
|
|
140
167
|
//# sourceMappingURL=executor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executor.d.ts","names":["PrepareExecutorSchema","Array","Record","configFile","input","tsconfig","outputPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","autoInstall","skipCache"],"sources":["
|
|
1
|
+
{"version":3,"file":"executor.d.ts","names":["PrepareExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","copyPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","assets","output","glob","ignore","dot","autoInstall","skipCache"],"sources":["../../../src/executors/prepare/schema.d.ts","../../../src/executors/prepare/executor.ts"],"mappings":";;;;;UAIiBA,qBAAAA;;;;;;;;;;EAUhBG,MAAAA;;;;;;;;;;EAWAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;;EAWRK,QAAAA;ECrBqD;;;;;;;;ED+BrDC,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;;;;;;;EAQnFC,WAAAA;;;;;;;EAQAC,SAAAA;AAAAA;;;cC3HK,QAAA,EAAU,eAAA,CAAgB,qBAAA;AAAA"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
const require_base_executor = require('../../base-executor-B_1n4Nst.js');
|
|
1
|
+
const require_base_executor = require('../../base-executor-KUL9jD5R.js');
|
|
3
2
|
let defu = require("defu");
|
|
4
3
|
defu = require_base_executor.__toESM(defu);
|
|
5
4
|
|
|
@@ -15,5 +14,4 @@ async function executorFn(context, api) {
|
|
|
15
14
|
const executor = require_base_executor.withExecutor("prepare", executorFn);
|
|
16
15
|
|
|
17
16
|
//#endregion
|
|
18
|
-
exports
|
|
19
|
-
exports.executorFn = executorFn;
|
|
17
|
+
module.exports = executor;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as withExecutor } from "../../base-executor-
|
|
1
|
+
import { t as withExecutor } from "../../base-executor-DojAZA0w.mjs";
|
|
2
2
|
import defu from "defu";
|
|
3
3
|
|
|
4
4
|
//#region src/executors/prepare/executor.ts
|
|
@@ -13,5 +13,5 @@ async function executorFn(context, api) {
|
|
|
13
13
|
const executor = withExecutor("prepare", executorFn);
|
|
14
14
|
|
|
15
15
|
//#endregion
|
|
16
|
-
export { executor as default
|
|
16
|
+
export { executor as default };
|
|
17
17
|
//# sourceMappingURL=executor.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executor.mjs","names":[],"sources":["
|
|
1
|
+
{"version":3,"file":"executor.mjs","names":[],"sources":["../../../src/executors/prepare/executor.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Shell Shock\n\n This code was released as part of the Shell Shock project. Shell Shock\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/shell-shock.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/shell-shock\n Documentation: https://docs.stormsoftware.com/projects/shell-shock\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport type { PromiseExecutor } from \"@nx/devkit\";\nimport type { ShellShockAPI } from \"@shell-shock/core\";\nimport type { BaseExecutorResult } from \"@storm-software/workspace-tools/types\";\nimport defu from \"defu\";\nimport type { PrepareInlineConfig } from \"powerlines\";\nimport type { ShellShockExecutorContext } from \"../../base/base-executor\";\nimport { withExecutor } from \"../../base/base-executor\";\nimport type { PrepareExecutorSchema } from \"./schema\";\n\nasync function executorFn(\n context: ShellShockExecutorContext<\"prepare\", PrepareExecutorSchema>,\n api: ShellShockAPI\n): Promise<BaseExecutorResult> {\n await api.prepare(\n defu(\n {\n command: \"prepare\",\n skipCache: context.options.skipCache,\n autoInstall: context.options.autoInstall\n },\n context.inlineConfig\n ) as PrepareInlineConfig\n );\n\n return {\n success: true\n };\n}\n\nconst executor: PromiseExecutor<PrepareExecutorSchema> = withExecutor<\n \"prepare\",\n PrepareExecutorSchema\n>(\"prepare\", executorFn);\n\nexport default executor;\n"],"mappings":";;;;AA2BA,eAAe,WACb,SACA,KAC6B;AAC7B,OAAM,IAAI,QACR,KACE;EACE,SAAS;EACT,WAAW,QAAQ,QAAQ;EAC3B,aAAa,QAAQ,QAAQ;EAC9B,EACD,QAAQ,aACT,CACF;AAED,QAAO,EACL,SAAS,MACV;;AAGH,MAAM,WAAmD,aAGvD,WAAW,WAAW"}
|
|
@@ -6,7 +6,18 @@ export interface PrepareExecutorSchema {
|
|
|
6
6
|
/**
|
|
7
7
|
* Powerlines Configuration File
|
|
8
8
|
*
|
|
9
|
-
* The path to the Powerlines configuration file
|
|
9
|
+
* The path to the Powerlines configuration file. Alias for `configFile`.
|
|
10
|
+
*
|
|
11
|
+
* @default "{projectRoot}/powerlines.config.ts"
|
|
12
|
+
*
|
|
13
|
+
* @format path
|
|
14
|
+
*/
|
|
15
|
+
config?: string,
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Powerlines Configuration File
|
|
19
|
+
*
|
|
20
|
+
* The path to the Powerlines configuration file. Alias for `config`.
|
|
10
21
|
*
|
|
11
22
|
* @default "{projectRoot}/powerlines.config.ts"
|
|
12
23
|
*
|
|
@@ -45,6 +56,16 @@ export interface PrepareExecutorSchema {
|
|
|
45
56
|
*/
|
|
46
57
|
outputPath?: string,
|
|
47
58
|
|
|
59
|
+
/**
|
|
60
|
+
* Copy Path
|
|
61
|
+
*
|
|
62
|
+
* A directory path to copy the build artifacts into
|
|
63
|
+
*
|
|
64
|
+
*
|
|
65
|
+
* @oneOf [object Object],[object Object]
|
|
66
|
+
*/
|
|
67
|
+
copyPath?: any,
|
|
68
|
+
|
|
48
69
|
/**
|
|
49
70
|
* Sourcemap
|
|
50
71
|
*
|
|
@@ -125,6 +146,14 @@ export interface PrepareExecutorSchema {
|
|
|
125
146
|
*/
|
|
126
147
|
define?: Record<string, string>,
|
|
127
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
|
+
|
|
128
157
|
/**
|
|
129
158
|
* Auto Install
|
|
130
159
|
*
|
|
@@ -4,11 +4,19 @@
|
|
|
4
4
|
"description": "A type definition for the Powerlines - Prepare executor schema",
|
|
5
5
|
"required": [],
|
|
6
6
|
"properties": {
|
|
7
|
+
"config": {
|
|
8
|
+
"title": "Powerlines Configuration File",
|
|
9
|
+
"type": "string",
|
|
10
|
+
"format": "path",
|
|
11
|
+
"description": "The path to the Powerlines configuration file. Alias for `configFile`.",
|
|
12
|
+
"id": "#config",
|
|
13
|
+
"default": "{projectRoot}/powerlines.config.ts"
|
|
14
|
+
},
|
|
7
15
|
"configFile": {
|
|
8
16
|
"title": "Powerlines Configuration File",
|
|
9
17
|
"type": "string",
|
|
10
18
|
"format": "path",
|
|
11
|
-
"description": "The path to the Powerlines configuration file",
|
|
19
|
+
"description": "The path to the Powerlines configuration file. Alias for `config`.",
|
|
12
20
|
"id": "#configFile",
|
|
13
21
|
"default": "{projectRoot}/powerlines.config.ts"
|
|
14
22
|
},
|
|
@@ -37,6 +45,25 @@
|
|
|
37
45
|
"description": "The path to the output directory for the build artifacts",
|
|
38
46
|
"id": "#outputPath"
|
|
39
47
|
},
|
|
48
|
+
"copyPath": {
|
|
49
|
+
"title": "Copy Path",
|
|
50
|
+
"description": "A directory path to copy the build artifacts into",
|
|
51
|
+
"oneOf": [
|
|
52
|
+
{
|
|
53
|
+
"type": "string",
|
|
54
|
+
"format": "path"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"type": "boolean",
|
|
58
|
+
"enum": [
|
|
59
|
+
false
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"id": "#copyPath",
|
|
64
|
+
"type": "any",
|
|
65
|
+
"default": {}
|
|
66
|
+
},
|
|
40
67
|
"sourceMap": {
|
|
41
68
|
"title": "Sourcemap",
|
|
42
69
|
"type": "boolean",
|
|
@@ -134,6 +161,14 @@
|
|
|
134
161
|
"id": "#define",
|
|
135
162
|
"default": {}
|
|
136
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
|
+
},
|
|
137
172
|
"autoInstall": {
|
|
138
173
|
"title": "Auto Install",
|
|
139
174
|
"type": "boolean",
|
|
@@ -149,8 +184,10 @@
|
|
|
149
184
|
},
|
|
150
185
|
"type": "object",
|
|
151
186
|
"default": {
|
|
187
|
+
"config": "{projectRoot}/powerlines.config.ts",
|
|
152
188
|
"configFile": "{projectRoot}/powerlines.config.ts",
|
|
153
189
|
"tsconfig": "{projectRoot}/tsconfig.json",
|
|
190
|
+
"copyPath": {},
|
|
154
191
|
"format": [
|
|
155
192
|
"cjs",
|
|
156
193
|
"esm"
|
|
@@ -158,6 +195,7 @@
|
|
|
158
195
|
"platform": "neutral",
|
|
159
196
|
"external": [],
|
|
160
197
|
"noExternal": [],
|
|
161
|
-
"define": {}
|
|
198
|
+
"define": {},
|
|
199
|
+
"assets": {}
|
|
162
200
|
}
|
|
163
201
|
}
|