@powerlines/nx 0.12.29 → 0.12.31
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.d.mts.map +1 -1
- package/dist/src/base/base-executor.d.ts.map +1 -1
- package/dist/src/base/base-executor.js +6 -5
- package/dist/src/base/base-executor.mjs +6 -5
- package/dist/src/base/base-executor.mjs.map +1 -1
- package/dist/src/base/base-executor.schema.d.mts +0 -4
- package/dist/src/base/base-executor.schema.d.mts.map +1 -1
- package/dist/src/base/base-executor.schema.d.ts +0 -4
- package/dist/src/base/base-executor.schema.d.ts.map +1 -1
- package/dist/src/base/base-executor.schema.json +4 -12
- package/dist/src/base/base-executor.untyped.js +28 -40
- package/dist/src/base/base-executor.untyped.mjs +28 -40
- package/dist/src/base/base-executor.untyped.mjs.map +1 -1
- package/dist/src/{base-executor-tBEl5AWE.js → base-executor-BNRPo3ZJ.js} +6 -5
- package/dist/src/{base-executor-iHU-fU0G.d.ts → base-executor-C6crUvpJ.d.mts} +1 -5
- package/dist/src/base-executor-C6crUvpJ.d.mts.map +1 -0
- package/dist/src/{base-executor-LiCOQirA.d.mts → base-executor-ChK_tQvQ.d.ts} +1 -5
- package/dist/src/base-executor-ChK_tQvQ.d.ts.map +1 -0
- package/dist/src/{base-executor-Chnlp8E6.mjs → base-executor-P8R4MeC_.mjs} +7 -6
- package/dist/src/base-executor-P8R4MeC_.mjs.map +1 -0
- package/dist/src/{base-executor.untyped-CWwiE6fo.mjs → base-executor.untyped-CLAuFeBO.mjs} +29 -41
- package/dist/src/base-executor.untyped-CLAuFeBO.mjs.map +1 -0
- package/dist/src/{base-executor.untyped-DwcuTgJP.js → base-executor.untyped-Ck6Mm8fr.js} +28 -40
- package/dist/src/executors/build/executor.d.mts +1 -5
- package/dist/src/executors/build/executor.d.mts.map +1 -1
- package/dist/src/executors/build/executor.d.ts +1 -5
- package/dist/src/executors/build/executor.d.ts.map +1 -1
- package/dist/src/executors/build/executor.js +1 -1
- package/dist/src/executors/build/executor.mjs +1 -1
- package/dist/src/executors/build/schema.d.ts +0 -4
- package/dist/src/executors/build/schema.json +4 -12
- package/dist/src/executors/clean/executor.d.mts +1 -5
- package/dist/src/executors/clean/executor.d.mts.map +1 -1
- package/dist/src/executors/clean/executor.d.ts +1 -5
- package/dist/src/executors/clean/executor.d.ts.map +1 -1
- package/dist/src/executors/clean/executor.js +1 -1
- package/dist/src/executors/clean/executor.mjs +1 -1
- package/dist/src/executors/clean/schema.d.ts +0 -4
- package/dist/src/executors/clean/schema.json +4 -12
- package/dist/src/executors/clean/untyped.js +1 -1
- package/dist/src/executors/clean/untyped.mjs +1 -1
- package/dist/src/executors/docs/executor.d.mts +1 -5
- package/dist/src/executors/docs/executor.d.mts.map +1 -1
- package/dist/src/executors/docs/executor.d.ts +1 -5
- package/dist/src/executors/docs/executor.d.ts.map +1 -1
- package/dist/src/executors/docs/executor.js +1 -1
- package/dist/src/executors/docs/executor.mjs +1 -1
- package/dist/src/executors/docs/schema.d.ts +0 -4
- package/dist/src/executors/docs/schema.json +4 -12
- package/dist/src/executors/lint/executor.d.mts +1 -5
- package/dist/src/executors/lint/executor.d.mts.map +1 -1
- package/dist/src/executors/lint/executor.d.ts +1 -5
- package/dist/src/executors/lint/executor.d.ts.map +1 -1
- package/dist/src/executors/lint/executor.js +1 -1
- package/dist/src/executors/lint/executor.mjs +1 -1
- package/dist/src/executors/lint/schema.d.ts +0 -4
- package/dist/src/executors/lint/schema.json +4 -12
- package/dist/src/executors/prepare/executor.d.mts +1 -5
- package/dist/src/executors/prepare/executor.d.mts.map +1 -1
- package/dist/src/executors/prepare/executor.d.ts +1 -5
- package/dist/src/executors/prepare/executor.d.ts.map +1 -1
- package/dist/src/executors/prepare/executor.js +1 -1
- package/dist/src/executors/prepare/executor.mjs +1 -1
- package/dist/src/executors/prepare/executor.mjs.map +1 -1
- package/dist/src/executors/prepare/schema.d.ts +0 -4
- package/dist/src/executors/prepare/schema.json +4 -12
- package/dist/src/executors/prepare/untyped.js +1 -1
- package/dist/src/executors/prepare/untyped.mjs +1 -1
- package/package.json +3 -3
- package/dist/src/base-executor-Chnlp8E6.mjs.map +0 -1
- package/dist/src/base-executor-LiCOQirA.d.mts.map +0 -1
- package/dist/src/base-executor-iHU-fU0G.d.ts.map +0 -1
- package/dist/src/base-executor.untyped-CWwiE6fo.mjs.map +0 -1
|
@@ -9,16 +9,14 @@
|
|
|
9
9
|
"type": "string",
|
|
10
10
|
"format": "path",
|
|
11
11
|
"description": "The path to the Powerlines configuration file. Alias for `configFile`.",
|
|
12
|
-
"id": "#config"
|
|
13
|
-
"default": "{projectRoot}/powerlines.config.ts"
|
|
12
|
+
"id": "#config"
|
|
14
13
|
},
|
|
15
14
|
"configFile": {
|
|
16
15
|
"title": "Powerlines Configuration File",
|
|
17
16
|
"type": "string",
|
|
18
17
|
"format": "path",
|
|
19
18
|
"description": "The path to the Powerlines configuration file. Alias for `config`.",
|
|
20
|
-
"id": "#configFile"
|
|
21
|
-
"default": "{projectRoot}/powerlines.config.ts"
|
|
19
|
+
"id": "#configFile"
|
|
22
20
|
},
|
|
23
21
|
"input": {
|
|
24
22
|
"title": "Input Entry File(s)",
|
|
@@ -35,8 +33,7 @@
|
|
|
35
33
|
"type": "string",
|
|
36
34
|
"format": "path",
|
|
37
35
|
"description": "The path to the tsconfig file",
|
|
38
|
-
"id": "#tsconfig"
|
|
39
|
-
"default": "{projectRoot}/tsconfig.json"
|
|
36
|
+
"id": "#tsconfig"
|
|
40
37
|
},
|
|
41
38
|
"outputPath": {
|
|
42
39
|
"title": "Output Path",
|
|
@@ -97,8 +94,7 @@
|
|
|
97
94
|
"node",
|
|
98
95
|
"browser"
|
|
99
96
|
],
|
|
100
|
-
"id": "#platform"
|
|
101
|
-
"default": "neutral"
|
|
97
|
+
"id": "#platform"
|
|
102
98
|
},
|
|
103
99
|
"external": {
|
|
104
100
|
"title": "External",
|
|
@@ -172,15 +168,11 @@
|
|
|
172
168
|
},
|
|
173
169
|
"type": "object",
|
|
174
170
|
"default": {
|
|
175
|
-
"config": "{projectRoot}/powerlines.config.ts",
|
|
176
|
-
"configFile": "{projectRoot}/powerlines.config.ts",
|
|
177
|
-
"tsconfig": "{projectRoot}/tsconfig.json",
|
|
178
171
|
"copyPath": {},
|
|
179
172
|
"format": [
|
|
180
173
|
"cjs",
|
|
181
174
|
"esm"
|
|
182
175
|
],
|
|
183
|
-
"platform": "neutral",
|
|
184
176
|
"external": [],
|
|
185
177
|
"noExternal": [],
|
|
186
178
|
"define": {},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require('../../chunk-BE-pF4vm.js');
|
|
2
|
-
const require_base_executor_untyped = require('../../base-executor.untyped-
|
|
2
|
+
const require_base_executor_untyped = require('../../base-executor.untyped-Ck6Mm8fr.js');
|
|
3
3
|
let untyped = require("untyped");
|
|
4
4
|
|
|
5
5
|
//#region src/executors/clean/untyped.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as base_executor_untyped_default } from "../../base-executor.untyped-
|
|
1
|
+
import { t as base_executor_untyped_default } from "../../base-executor.untyped-CLAuFeBO.mjs";
|
|
2
2
|
import { defineUntypedSchema } from "untyped";
|
|
3
3
|
|
|
4
4
|
//#region src/executors/clean/untyped.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as PowerlinesExecutorContext } from "../../base-executor-
|
|
1
|
+
import { t as PowerlinesExecutorContext } from "../../base-executor-C6crUvpJ.mjs";
|
|
2
2
|
import { PromiseExecutor } from "@nx/devkit";
|
|
3
3
|
import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
|
|
4
4
|
import { PowerlinesEngine } from "powerlines";
|
|
@@ -12,7 +12,6 @@ interface DocsExecutorSchema {
|
|
|
12
12
|
*
|
|
13
13
|
* The path to the Powerlines configuration file. Alias for `configFile`.
|
|
14
14
|
*
|
|
15
|
-
* @default "{projectRoot}/powerlines.config.ts"
|
|
16
15
|
*
|
|
17
16
|
* @format path
|
|
18
17
|
*/
|
|
@@ -22,7 +21,6 @@ interface DocsExecutorSchema {
|
|
|
22
21
|
*
|
|
23
22
|
* The path to the Powerlines configuration file. Alias for `config`.
|
|
24
23
|
*
|
|
25
|
-
* @default "{projectRoot}/powerlines.config.ts"
|
|
26
24
|
*
|
|
27
25
|
* @format path
|
|
28
26
|
*/
|
|
@@ -41,7 +39,6 @@ interface DocsExecutorSchema {
|
|
|
41
39
|
*
|
|
42
40
|
* The path to the tsconfig file
|
|
43
41
|
*
|
|
44
|
-
* @default "{projectRoot}/tsconfig.json"
|
|
45
42
|
*
|
|
46
43
|
* @format path
|
|
47
44
|
*/
|
|
@@ -84,7 +81,6 @@ interface DocsExecutorSchema {
|
|
|
84
81
|
*
|
|
85
82
|
* The platform to build
|
|
86
83
|
*
|
|
87
|
-
* @default "neutral"
|
|
88
84
|
*
|
|
89
85
|
* @enum neutral,node,browser
|
|
90
86
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executor.d.mts","names":["DocsExecutorSchema","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/docs/schema.d.ts","../../../../src/executors/docs/executor.ts"],"mappings":";;;;;;;;UAIiBA,kBAAAA;;AAAjB
|
|
1
|
+
{"version":3,"file":"executor.d.mts","names":["DocsExecutorSchema","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/docs/schema.d.ts","../../../../src/executors/docs/executor.ts"],"mappings":";;;;;;;;UAIiBA,kBAAAA;;AAAjB;;;;;;;EASCG,MAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;EAURK,QAAAA;;;;;;;AChBD;;ED0BCC,UAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;AC3BA;EDmCAC,SAAAA;ECjC8B;;;;;;;ED0C9BC,MAAAA,GAAST,KAAAA;;;;;;;;;EAUTU,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;;;iBC3IqB,UAAA,CACpB,OAAA,EAAS,yBAAA,SAAkC,kBAAA,GAC3C,GAAA,EAAK,gBAAA,GACJ,OAAA,CAAQ,kBAAA;AAAA,cAQL,QAAA,EAAU,eAAA,CAAgB,kBAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as PowerlinesExecutorContext } from "../../base-executor-
|
|
1
|
+
import { t as PowerlinesExecutorContext } from "../../base-executor-ChK_tQvQ.js";
|
|
2
2
|
import { PromiseExecutor } from "@nx/devkit";
|
|
3
3
|
import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
|
|
4
4
|
import { PowerlinesEngine } from "powerlines";
|
|
@@ -12,7 +12,6 @@ interface DocsExecutorSchema {
|
|
|
12
12
|
*
|
|
13
13
|
* The path to the Powerlines configuration file. Alias for `configFile`.
|
|
14
14
|
*
|
|
15
|
-
* @default "{projectRoot}/powerlines.config.ts"
|
|
16
15
|
*
|
|
17
16
|
* @format path
|
|
18
17
|
*/
|
|
@@ -22,7 +21,6 @@ interface DocsExecutorSchema {
|
|
|
22
21
|
*
|
|
23
22
|
* The path to the Powerlines configuration file. Alias for `config`.
|
|
24
23
|
*
|
|
25
|
-
* @default "{projectRoot}/powerlines.config.ts"
|
|
26
24
|
*
|
|
27
25
|
* @format path
|
|
28
26
|
*/
|
|
@@ -41,7 +39,6 @@ interface DocsExecutorSchema {
|
|
|
41
39
|
*
|
|
42
40
|
* The path to the tsconfig file
|
|
43
41
|
*
|
|
44
|
-
* @default "{projectRoot}/tsconfig.json"
|
|
45
42
|
*
|
|
46
43
|
* @format path
|
|
47
44
|
*/
|
|
@@ -84,7 +81,6 @@ interface DocsExecutorSchema {
|
|
|
84
81
|
*
|
|
85
82
|
* The platform to build
|
|
86
83
|
*
|
|
87
|
-
* @default "neutral"
|
|
88
84
|
*
|
|
89
85
|
* @enum neutral,node,browser
|
|
90
86
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executor.d.ts","names":["DocsExecutorSchema","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/docs/schema.d.ts","../../../../src/executors/docs/executor.ts"],"mappings":";;;;;;;;UAIiBA,kBAAAA;;AAAjB
|
|
1
|
+
{"version":3,"file":"executor.d.ts","names":["DocsExecutorSchema","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/docs/schema.d.ts","../../../../src/executors/docs/executor.ts"],"mappings":";;;;;;;;UAIiBA,kBAAAA;;AAAjB;;;;;;;EASCG,MAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;EAURK,QAAAA;;;;;;;AChBD;;ED0BCC,UAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;AC3BA;EDmCAC,SAAAA;ECjC8B;;;;;;;ED0C9BC,MAAAA,GAAST,KAAAA;;;;;;;;;EAUTU,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;;;iBC3IqB,UAAA,CACpB,OAAA,EAAS,yBAAA,SAAkC,kBAAA,GAC3C,GAAA,EAAK,gBAAA,GACJ,OAAA,CAAQ,kBAAA;AAAA,cAQL,QAAA,EAAU,eAAA,CAAgB,kBAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
2
|
-
const require_base_executor = require('../../base-executor-
|
|
2
|
+
const require_base_executor = require('../../base-executor-BNRPo3ZJ.js');
|
|
3
3
|
|
|
4
4
|
//#region src/executors/docs/executor.ts
|
|
5
5
|
async function executorFn(context, api) {
|
|
@@ -8,7 +8,6 @@ export interface DocsExecutorSchema {
|
|
|
8
8
|
*
|
|
9
9
|
* The path to the Powerlines configuration file. Alias for `configFile`.
|
|
10
10
|
*
|
|
11
|
-
* @default "{projectRoot}/powerlines.config.ts"
|
|
12
11
|
*
|
|
13
12
|
* @format path
|
|
14
13
|
*/
|
|
@@ -19,7 +18,6 @@ export interface DocsExecutorSchema {
|
|
|
19
18
|
*
|
|
20
19
|
* The path to the Powerlines configuration file. Alias for `config`.
|
|
21
20
|
*
|
|
22
|
-
* @default "{projectRoot}/powerlines.config.ts"
|
|
23
21
|
*
|
|
24
22
|
* @format path
|
|
25
23
|
*/
|
|
@@ -40,7 +38,6 @@ export interface DocsExecutorSchema {
|
|
|
40
38
|
*
|
|
41
39
|
* The path to the tsconfig file
|
|
42
40
|
*
|
|
43
|
-
* @default "{projectRoot}/tsconfig.json"
|
|
44
41
|
*
|
|
45
42
|
* @format path
|
|
46
43
|
*/
|
|
@@ -88,7 +85,6 @@ export interface DocsExecutorSchema {
|
|
|
88
85
|
*
|
|
89
86
|
* The platform to build
|
|
90
87
|
*
|
|
91
|
-
* @default "neutral"
|
|
92
88
|
*
|
|
93
89
|
* @enum neutral,node,browser
|
|
94
90
|
*/
|
|
@@ -9,16 +9,14 @@
|
|
|
9
9
|
"type": "string",
|
|
10
10
|
"format": "path",
|
|
11
11
|
"description": "The path to the Powerlines configuration file. Alias for `configFile`.",
|
|
12
|
-
"id": "#config"
|
|
13
|
-
"default": "{projectRoot}/powerlines.config.ts"
|
|
12
|
+
"id": "#config"
|
|
14
13
|
},
|
|
15
14
|
"configFile": {
|
|
16
15
|
"title": "Powerlines Configuration File",
|
|
17
16
|
"type": "string",
|
|
18
17
|
"format": "path",
|
|
19
18
|
"description": "The path to the Powerlines configuration file. Alias for `config`.",
|
|
20
|
-
"id": "#configFile"
|
|
21
|
-
"default": "{projectRoot}/powerlines.config.ts"
|
|
19
|
+
"id": "#configFile"
|
|
22
20
|
},
|
|
23
21
|
"input": {
|
|
24
22
|
"title": "Input Entry File(s)",
|
|
@@ -35,8 +33,7 @@
|
|
|
35
33
|
"type": "string",
|
|
36
34
|
"format": "path",
|
|
37
35
|
"description": "The path to the tsconfig file",
|
|
38
|
-
"id": "#tsconfig"
|
|
39
|
-
"default": "{projectRoot}/tsconfig.json"
|
|
36
|
+
"id": "#tsconfig"
|
|
40
37
|
},
|
|
41
38
|
"outputPath": {
|
|
42
39
|
"title": "Output Path",
|
|
@@ -97,8 +94,7 @@
|
|
|
97
94
|
"node",
|
|
98
95
|
"browser"
|
|
99
96
|
],
|
|
100
|
-
"id": "#platform"
|
|
101
|
-
"default": "neutral"
|
|
97
|
+
"id": "#platform"
|
|
102
98
|
},
|
|
103
99
|
"external": {
|
|
104
100
|
"title": "External",
|
|
@@ -184,15 +180,11 @@
|
|
|
184
180
|
},
|
|
185
181
|
"type": "object",
|
|
186
182
|
"default": {
|
|
187
|
-
"config": "{projectRoot}/powerlines.config.ts",
|
|
188
|
-
"configFile": "{projectRoot}/powerlines.config.ts",
|
|
189
|
-
"tsconfig": "{projectRoot}/tsconfig.json",
|
|
190
183
|
"copyPath": {},
|
|
191
184
|
"format": [
|
|
192
185
|
"cjs",
|
|
193
186
|
"esm"
|
|
194
187
|
],
|
|
195
|
-
"platform": "neutral",
|
|
196
188
|
"external": [],
|
|
197
189
|
"noExternal": [],
|
|
198
190
|
"define": {},
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as PowerlinesExecutorContext } from "../../base-executor-
|
|
1
|
+
import { t as PowerlinesExecutorContext } from "../../base-executor-C6crUvpJ.mjs";
|
|
2
2
|
import { PromiseExecutor } from "@nx/devkit";
|
|
3
3
|
import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
|
|
4
4
|
import { PowerlinesEngine } from "powerlines";
|
|
@@ -12,7 +12,6 @@ interface LintExecutorSchema {
|
|
|
12
12
|
*
|
|
13
13
|
* The path to the Powerlines configuration file. Alias for `configFile`.
|
|
14
14
|
*
|
|
15
|
-
* @default "{projectRoot}/powerlines.config.ts"
|
|
16
15
|
*
|
|
17
16
|
* @format path
|
|
18
17
|
*/
|
|
@@ -22,7 +21,6 @@ interface LintExecutorSchema {
|
|
|
22
21
|
*
|
|
23
22
|
* The path to the Powerlines configuration file. Alias for `config`.
|
|
24
23
|
*
|
|
25
|
-
* @default "{projectRoot}/powerlines.config.ts"
|
|
26
24
|
*
|
|
27
25
|
* @format path
|
|
28
26
|
*/
|
|
@@ -41,7 +39,6 @@ interface LintExecutorSchema {
|
|
|
41
39
|
*
|
|
42
40
|
* The path to the tsconfig file
|
|
43
41
|
*
|
|
44
|
-
* @default "{projectRoot}/tsconfig.json"
|
|
45
42
|
*
|
|
46
43
|
* @format path
|
|
47
44
|
*/
|
|
@@ -84,7 +81,6 @@ interface LintExecutorSchema {
|
|
|
84
81
|
*
|
|
85
82
|
* The platform to build
|
|
86
83
|
*
|
|
87
|
-
* @default "neutral"
|
|
88
84
|
*
|
|
89
85
|
* @enum neutral,node,browser
|
|
90
86
|
*/
|
|
@@ -1 +1 @@
|
|
|
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;;AAAjB
|
|
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;;AAAjB;;;;;;;EASCG,MAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;EAURK,QAAAA;;;;;;;AChBD;;ED0BCC,UAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;AC3BA;EDmCAC,SAAAA;ECjC8B;;;;;;;ED0C9BC,MAAAA,GAAST,KAAAA;;;;;;;;;EAUTU,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;;;iBC3IqB,UAAA,CACpB,OAAA,EAAS,yBAAA,SAAkC,kBAAA,GAC3C,GAAA,EAAK,gBAAA,GACJ,OAAA,CAAQ,kBAAA;AAAA,cAQL,QAAA,EAAU,eAAA,CAAgB,kBAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as PowerlinesExecutorContext } from "../../base-executor-
|
|
1
|
+
import { t as PowerlinesExecutorContext } from "../../base-executor-ChK_tQvQ.js";
|
|
2
2
|
import { PromiseExecutor } from "@nx/devkit";
|
|
3
3
|
import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
|
|
4
4
|
import { PowerlinesEngine } from "powerlines";
|
|
@@ -12,7 +12,6 @@ interface LintExecutorSchema {
|
|
|
12
12
|
*
|
|
13
13
|
* The path to the Powerlines configuration file. Alias for `configFile`.
|
|
14
14
|
*
|
|
15
|
-
* @default "{projectRoot}/powerlines.config.ts"
|
|
16
15
|
*
|
|
17
16
|
* @format path
|
|
18
17
|
*/
|
|
@@ -22,7 +21,6 @@ interface LintExecutorSchema {
|
|
|
22
21
|
*
|
|
23
22
|
* The path to the Powerlines configuration file. Alias for `config`.
|
|
24
23
|
*
|
|
25
|
-
* @default "{projectRoot}/powerlines.config.ts"
|
|
26
24
|
*
|
|
27
25
|
* @format path
|
|
28
26
|
*/
|
|
@@ -41,7 +39,6 @@ interface LintExecutorSchema {
|
|
|
41
39
|
*
|
|
42
40
|
* The path to the tsconfig file
|
|
43
41
|
*
|
|
44
|
-
* @default "{projectRoot}/tsconfig.json"
|
|
45
42
|
*
|
|
46
43
|
* @format path
|
|
47
44
|
*/
|
|
@@ -84,7 +81,6 @@ interface LintExecutorSchema {
|
|
|
84
81
|
*
|
|
85
82
|
* The platform to build
|
|
86
83
|
*
|
|
87
|
-
* @default "neutral"
|
|
88
84
|
*
|
|
89
85
|
* @enum neutral,node,browser
|
|
90
86
|
*/
|
|
@@ -1 +1 @@
|
|
|
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;;AAAjB
|
|
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;;AAAjB;;;;;;;EASCG,MAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;EAURK,QAAAA;;;;;;;AChBD;;ED0BCC,UAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;AC3BA;EDmCAC,SAAAA;ECjC8B;;;;;;;ED0C9BC,MAAAA,GAAST,KAAAA;;;;;;;;;EAUTU,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;;;iBC3IqB,UAAA,CACpB,OAAA,EAAS,yBAAA,SAAkC,kBAAA,GAC3C,GAAA,EAAK,gBAAA,GACJ,OAAA,CAAQ,kBAAA;AAAA,cAQL,QAAA,EAAU,eAAA,CAAgB,kBAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
2
|
-
const require_base_executor = require('../../base-executor-
|
|
2
|
+
const require_base_executor = require('../../base-executor-BNRPo3ZJ.js');
|
|
3
3
|
|
|
4
4
|
//#region src/executors/lint/executor.ts
|
|
5
5
|
async function executorFn(context, api) {
|
|
@@ -8,7 +8,6 @@ export interface LintExecutorSchema {
|
|
|
8
8
|
*
|
|
9
9
|
* The path to the Powerlines configuration file. Alias for `configFile`.
|
|
10
10
|
*
|
|
11
|
-
* @default "{projectRoot}/powerlines.config.ts"
|
|
12
11
|
*
|
|
13
12
|
* @format path
|
|
14
13
|
*/
|
|
@@ -19,7 +18,6 @@ export interface LintExecutorSchema {
|
|
|
19
18
|
*
|
|
20
19
|
* The path to the Powerlines configuration file. Alias for `config`.
|
|
21
20
|
*
|
|
22
|
-
* @default "{projectRoot}/powerlines.config.ts"
|
|
23
21
|
*
|
|
24
22
|
* @format path
|
|
25
23
|
*/
|
|
@@ -40,7 +38,6 @@ export interface LintExecutorSchema {
|
|
|
40
38
|
*
|
|
41
39
|
* The path to the tsconfig file
|
|
42
40
|
*
|
|
43
|
-
* @default "{projectRoot}/tsconfig.json"
|
|
44
41
|
*
|
|
45
42
|
* @format path
|
|
46
43
|
*/
|
|
@@ -88,7 +85,6 @@ export interface LintExecutorSchema {
|
|
|
88
85
|
*
|
|
89
86
|
* The platform to build
|
|
90
87
|
*
|
|
91
|
-
* @default "neutral"
|
|
92
88
|
*
|
|
93
89
|
* @enum neutral,node,browser
|
|
94
90
|
*/
|
|
@@ -9,16 +9,14 @@
|
|
|
9
9
|
"type": "string",
|
|
10
10
|
"format": "path",
|
|
11
11
|
"description": "The path to the Powerlines configuration file. Alias for `configFile`.",
|
|
12
|
-
"id": "#config"
|
|
13
|
-
"default": "{projectRoot}/powerlines.config.ts"
|
|
12
|
+
"id": "#config"
|
|
14
13
|
},
|
|
15
14
|
"configFile": {
|
|
16
15
|
"title": "Powerlines Configuration File",
|
|
17
16
|
"type": "string",
|
|
18
17
|
"format": "path",
|
|
19
18
|
"description": "The path to the Powerlines configuration file. Alias for `config`.",
|
|
20
|
-
"id": "#configFile"
|
|
21
|
-
"default": "{projectRoot}/powerlines.config.ts"
|
|
19
|
+
"id": "#configFile"
|
|
22
20
|
},
|
|
23
21
|
"input": {
|
|
24
22
|
"title": "Input Entry File(s)",
|
|
@@ -35,8 +33,7 @@
|
|
|
35
33
|
"type": "string",
|
|
36
34
|
"format": "path",
|
|
37
35
|
"description": "The path to the tsconfig file",
|
|
38
|
-
"id": "#tsconfig"
|
|
39
|
-
"default": "{projectRoot}/tsconfig.json"
|
|
36
|
+
"id": "#tsconfig"
|
|
40
37
|
},
|
|
41
38
|
"outputPath": {
|
|
42
39
|
"title": "Output Path",
|
|
@@ -97,8 +94,7 @@
|
|
|
97
94
|
"node",
|
|
98
95
|
"browser"
|
|
99
96
|
],
|
|
100
|
-
"id": "#platform"
|
|
101
|
-
"default": "neutral"
|
|
97
|
+
"id": "#platform"
|
|
102
98
|
},
|
|
103
99
|
"external": {
|
|
104
100
|
"title": "External",
|
|
@@ -184,15 +180,11 @@
|
|
|
184
180
|
},
|
|
185
181
|
"type": "object",
|
|
186
182
|
"default": {
|
|
187
|
-
"config": "{projectRoot}/powerlines.config.ts",
|
|
188
|
-
"configFile": "{projectRoot}/powerlines.config.ts",
|
|
189
|
-
"tsconfig": "{projectRoot}/tsconfig.json",
|
|
190
183
|
"copyPath": {},
|
|
191
184
|
"format": [
|
|
192
185
|
"cjs",
|
|
193
186
|
"esm"
|
|
194
187
|
],
|
|
195
|
-
"platform": "neutral",
|
|
196
188
|
"external": [],
|
|
197
189
|
"noExternal": [],
|
|
198
190
|
"define": {},
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as PowerlinesExecutorContext } from "../../base-executor-
|
|
1
|
+
import { t as PowerlinesExecutorContext } from "../../base-executor-C6crUvpJ.mjs";
|
|
2
2
|
import { PromiseExecutor } from "@nx/devkit";
|
|
3
3
|
import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
|
|
4
4
|
import { PowerlinesEngine } from "powerlines";
|
|
@@ -12,7 +12,6 @@ interface PrepareExecutorSchema {
|
|
|
12
12
|
*
|
|
13
13
|
* The path to the Powerlines configuration file. Alias for `configFile`.
|
|
14
14
|
*
|
|
15
|
-
* @default "{projectRoot}/powerlines.config.ts"
|
|
16
15
|
*
|
|
17
16
|
* @format path
|
|
18
17
|
*/
|
|
@@ -22,7 +21,6 @@ interface PrepareExecutorSchema {
|
|
|
22
21
|
*
|
|
23
22
|
* The path to the Powerlines configuration file. Alias for `config`.
|
|
24
23
|
*
|
|
25
|
-
* @default "{projectRoot}/powerlines.config.ts"
|
|
26
24
|
*
|
|
27
25
|
* @format path
|
|
28
26
|
*/
|
|
@@ -41,7 +39,6 @@ interface PrepareExecutorSchema {
|
|
|
41
39
|
*
|
|
42
40
|
* The path to the tsconfig file
|
|
43
41
|
*
|
|
44
|
-
* @default "{projectRoot}/tsconfig.json"
|
|
45
42
|
*
|
|
46
43
|
* @format path
|
|
47
44
|
*/
|
|
@@ -84,7 +81,6 @@ interface PrepareExecutorSchema {
|
|
|
84
81
|
*
|
|
85
82
|
* The platform to build
|
|
86
83
|
*
|
|
87
|
-
* @default "neutral"
|
|
88
84
|
*
|
|
89
85
|
* @enum neutral,node,browser
|
|
90
86
|
*/
|
|
@@ -1 +1 @@
|
|
|
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;;AAAjB
|
|
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;;AAAjB;;;;;;;EASCG,MAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;EAURK,QAAAA;;;;;;;ACfD;;EDyBCC,UAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;ACjBA;EDyBAC,SAAAA;ECvB8B;;;;;;;EDgC9BC,MAAAA,GAAST,KAAAA;;;;;;;;;EAUTU,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;;;iBC1IqB,UAAA,CACpB,OAAA,EAAS,yBAAA,YAAqC,qBAAA,GAC9C,GAAA,EAAK,gBAAA,GACJ,OAAA,CAAQ,kBAAA;AAAA,cAiBL,QAAA,EAAU,eAAA,CAAgB,qBAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as PowerlinesExecutorContext } from "../../base-executor-
|
|
1
|
+
import { t as PowerlinesExecutorContext } from "../../base-executor-ChK_tQvQ.js";
|
|
2
2
|
import { PromiseExecutor } from "@nx/devkit";
|
|
3
3
|
import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
|
|
4
4
|
import { PowerlinesEngine } from "powerlines";
|
|
@@ -12,7 +12,6 @@ interface PrepareExecutorSchema {
|
|
|
12
12
|
*
|
|
13
13
|
* The path to the Powerlines configuration file. Alias for `configFile`.
|
|
14
14
|
*
|
|
15
|
-
* @default "{projectRoot}/powerlines.config.ts"
|
|
16
15
|
*
|
|
17
16
|
* @format path
|
|
18
17
|
*/
|
|
@@ -22,7 +21,6 @@ interface PrepareExecutorSchema {
|
|
|
22
21
|
*
|
|
23
22
|
* The path to the Powerlines configuration file. Alias for `config`.
|
|
24
23
|
*
|
|
25
|
-
* @default "{projectRoot}/powerlines.config.ts"
|
|
26
24
|
*
|
|
27
25
|
* @format path
|
|
28
26
|
*/
|
|
@@ -41,7 +39,6 @@ interface PrepareExecutorSchema {
|
|
|
41
39
|
*
|
|
42
40
|
* The path to the tsconfig file
|
|
43
41
|
*
|
|
44
|
-
* @default "{projectRoot}/tsconfig.json"
|
|
45
42
|
*
|
|
46
43
|
* @format path
|
|
47
44
|
*/
|
|
@@ -84,7 +81,6 @@ interface PrepareExecutorSchema {
|
|
|
84
81
|
*
|
|
85
82
|
* The platform to build
|
|
86
83
|
*
|
|
87
|
-
* @default "neutral"
|
|
88
84
|
*
|
|
89
85
|
* @enum neutral,node,browser
|
|
90
86
|
*/
|
|
@@ -1 +1 @@
|
|
|
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;;AAAjB
|
|
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;;AAAjB;;;;;;;EASCG,MAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;EAURK,QAAAA;;;;;;;ACfD;;EDyBCC,UAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;ACjBA;EDyBAC,SAAAA;ECvB8B;;;;;;;EDgC9BC,MAAAA,GAAST,KAAAA;;;;;;;;;EAUTU,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;;;iBC1IqB,UAAA,CACpB,OAAA,EAAS,yBAAA,YAAqC,qBAAA,GAC9C,GAAA,EAAK,gBAAA,GACJ,OAAA,CAAQ,kBAAA;AAAA,cAiBL,QAAA,EAAU,eAAA,CAAgB,qBAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
2
2
|
const require_chunk = require('../../chunk-BE-pF4vm.js');
|
|
3
|
-
const require_base_executor = require('../../base-executor-
|
|
3
|
+
const require_base_executor = require('../../base-executor-BNRPo3ZJ.js');
|
|
4
4
|
let defu = require("defu");
|
|
5
5
|
defu = require_chunk.__toESM(defu);
|
|
6
6
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executor.mjs","names":[],"sources":["../../../../src/executors/prepare/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 { PromiseExecutor } from \"@nx/devkit\";\nimport { BaseExecutorResult } from \"@storm-software/workspace-tools/types\";\nimport defu from \"defu\";\nimport type { PowerlinesEngine } from \"powerlines\";\nimport {\n PowerlinesExecutorContext,\n withExecutor\n} from \"../../base/base-executor\";\nimport { PrepareExecutorSchema } from \"./schema\";\n\nexport async function executorFn(\n context: PowerlinesExecutorContext<\"prepare\", PrepareExecutorSchema>,\n api: PowerlinesEngine\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 )\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":";;;;AA4BA,eAAsB,WACpB,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"}
|
|
1
|
+
{"version":3,"file":"executor.mjs","names":[],"sources":["../../../../src/executors/prepare/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 { PromiseExecutor } from \"@nx/devkit\";\nimport { BaseExecutorResult } from \"@storm-software/workspace-tools/types\";\nimport defu from \"defu\";\nimport type { PowerlinesEngine } from \"powerlines\";\nimport {\n PowerlinesExecutorContext,\n withExecutor\n} from \"../../base/base-executor\";\nimport { PrepareExecutorSchema } from \"./schema\";\n\nexport async function executorFn(\n context: PowerlinesExecutorContext<\"prepare\", PrepareExecutorSchema>,\n api: PowerlinesEngine\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 Parameters<PowerlinesEngine[\"prepare\"]>[0]\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":";;;;AA4BA,eAAsB,WACpB,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"}
|
|
@@ -8,7 +8,6 @@ export interface PrepareExecutorSchema {
|
|
|
8
8
|
*
|
|
9
9
|
* The path to the Powerlines configuration file. Alias for `configFile`.
|
|
10
10
|
*
|
|
11
|
-
* @default "{projectRoot}/powerlines.config.ts"
|
|
12
11
|
*
|
|
13
12
|
* @format path
|
|
14
13
|
*/
|
|
@@ -19,7 +18,6 @@ export interface PrepareExecutorSchema {
|
|
|
19
18
|
*
|
|
20
19
|
* The path to the Powerlines configuration file. Alias for `config`.
|
|
21
20
|
*
|
|
22
|
-
* @default "{projectRoot}/powerlines.config.ts"
|
|
23
21
|
*
|
|
24
22
|
* @format path
|
|
25
23
|
*/
|
|
@@ -40,7 +38,6 @@ export interface PrepareExecutorSchema {
|
|
|
40
38
|
*
|
|
41
39
|
* The path to the tsconfig file
|
|
42
40
|
*
|
|
43
|
-
* @default "{projectRoot}/tsconfig.json"
|
|
44
41
|
*
|
|
45
42
|
* @format path
|
|
46
43
|
*/
|
|
@@ -88,7 +85,6 @@ export interface PrepareExecutorSchema {
|
|
|
88
85
|
*
|
|
89
86
|
* The platform to build
|
|
90
87
|
*
|
|
91
|
-
* @default "neutral"
|
|
92
88
|
*
|
|
93
89
|
* @enum neutral,node,browser
|
|
94
90
|
*/
|