@shell-shock/nx 0.0.41 → 0.0.43
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 +28 -0
- package/dist/{base-executor-FX7YJl7f.d.ts → base-executor-5IKYZdSK.d.mts} +1 -13
- package/dist/base-executor-5IKYZdSK.d.mts.map +1 -0
- package/dist/{src/base-executor-CkaF97Xd.js → base-executor-B_1n4Nst.js} +6 -6
- package/dist/{src/base-executor-FX7YJl7f.d.ts → base-executor-D8wAP52R.d.ts} +1 -13
- package/dist/base-executor-D8wAP52R.d.ts.map +1 -0
- package/dist/{src/base-executor-DUf5AdoE.mjs → base-executor-Tb7NcSc4.mjs} +1 -1
- package/dist/{base-executor-DUf5AdoE.mjs.map → base-executor-Tb7NcSc4.mjs.map} +1 -1
- package/dist/executors/build/executor.d.mts +1 -15
- package/dist/executors/build/executor.d.mts.map +1 -1
- package/dist/executors/build/executor.d.ts +1 -15
- package/dist/executors/build/executor.d.ts.map +1 -1
- package/dist/executors/build/executor.js +3 -4
- package/dist/executors/build/executor.mjs +2 -3
- package/dist/executors/build/executor.mjs.map +1 -1
- package/dist/executors/build/schema.d.ts +144 -0
- package/dist/executors/build/schema.json +163 -0
- package/dist/executors/clean/executor.d.mts +1 -15
- package/dist/executors/clean/executor.d.mts.map +1 -1
- package/dist/executors/clean/executor.d.ts +1 -15
- package/dist/executors/clean/executor.d.ts.map +1 -1
- package/dist/executors/clean/executor.js +3 -4
- package/dist/executors/clean/executor.mjs +2 -3
- package/dist/executors/clean/executor.mjs.map +1 -1
- package/dist/executors/clean/schema.d.ts +144 -0
- package/dist/executors/clean/schema.json +163 -0
- package/dist/executors/docs/executor.d.mts +1 -15
- package/dist/executors/docs/executor.d.mts.map +1 -1
- package/dist/executors/docs/executor.d.ts +1 -15
- package/dist/executors/docs/executor.d.ts.map +1 -1
- package/dist/executors/docs/executor.js +3 -4
- package/dist/executors/docs/executor.mjs +2 -3
- package/dist/executors/docs/executor.mjs.map +1 -1
- package/dist/executors/docs/schema.d.ts +144 -0
- package/dist/executors/docs/schema.json +163 -0
- package/dist/executors/lint/executor.d.mts +1 -15
- package/dist/executors/lint/executor.d.mts.map +1 -1
- package/dist/executors/lint/executor.d.ts +1 -15
- package/dist/executors/lint/executor.d.ts.map +1 -1
- package/dist/executors/lint/executor.js +3 -4
- package/dist/executors/lint/executor.mjs +2 -3
- package/dist/executors/lint/executor.mjs.map +1 -1
- package/dist/executors/lint/schema.d.ts +144 -0
- package/dist/executors/lint/schema.json +163 -0
- package/dist/executors/prepare/executor.d.mts +1 -15
- package/dist/executors/prepare/executor.d.mts.map +1 -1
- package/dist/executors/prepare/executor.d.ts +1 -15
- package/dist/executors/prepare/executor.d.ts.map +1 -1
- package/dist/executors/prepare/executor.js +3 -4
- package/dist/executors/prepare/executor.mjs +2 -3
- package/dist/executors/prepare/executor.mjs.map +1 -1
- package/dist/executors/prepare/schema.d.ts +144 -0
- package/dist/executors/prepare/schema.json +163 -0
- package/dist/index.d.mts +1 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +5 -4
- package/dist/index.mjs +1 -1
- package/dist/plugin/index.d.mts.map +1 -1
- package/dist/plugin/index.d.ts.map +1 -1
- package/dist/plugin/index.js +4 -3
- package/dist/plugin/index.mjs.map +1 -1
- package/dist/{base-executor-BkNTl-jk.d.mts → src/base-executor-5IKYZdSK.d.mts} +1 -13
- package/dist/src/base-executor-5IKYZdSK.d.mts.map +1 -0
- package/dist/{base-executor-CkaF97Xd.js → src/base-executor-B_1n4Nst.js} +6 -6
- package/dist/src/{base-executor-BkNTl-jk.d.mts → base-executor-D8wAP52R.d.ts} +1 -13
- package/dist/src/base-executor-D8wAP52R.d.ts.map +1 -0
- package/dist/{base-executor-DUf5AdoE.mjs → src/base-executor-Tb7NcSc4.mjs} +1 -1
- package/dist/src/{base-executor-DUf5AdoE.mjs.map → base-executor-Tb7NcSc4.mjs.map} +1 -1
- package/dist/src/executors/build/executor.d.mts +1 -15
- package/dist/src/executors/build/executor.d.mts.map +1 -1
- package/dist/src/executors/build/executor.d.ts +1 -15
- package/dist/src/executors/build/executor.d.ts.map +1 -1
- package/dist/src/executors/build/executor.js +3 -4
- package/dist/src/executors/build/executor.mjs +2 -3
- package/dist/src/executors/build/executor.mjs.map +1 -1
- package/dist/src/executors/clean/executor.d.mts +1 -15
- package/dist/src/executors/clean/executor.d.mts.map +1 -1
- package/dist/src/executors/clean/executor.d.ts +1 -15
- package/dist/src/executors/clean/executor.d.ts.map +1 -1
- package/dist/src/executors/clean/executor.js +3 -4
- package/dist/src/executors/clean/executor.mjs +2 -3
- package/dist/src/executors/clean/executor.mjs.map +1 -1
- package/dist/src/executors/docs/executor.d.mts +1 -15
- package/dist/src/executors/docs/executor.d.mts.map +1 -1
- package/dist/src/executors/docs/executor.d.ts +1 -15
- package/dist/src/executors/docs/executor.d.ts.map +1 -1
- package/dist/src/executors/docs/executor.js +3 -4
- package/dist/src/executors/docs/executor.mjs +2 -3
- package/dist/src/executors/docs/executor.mjs.map +1 -1
- package/dist/src/executors/lint/executor.d.mts +1 -15
- package/dist/src/executors/lint/executor.d.mts.map +1 -1
- package/dist/src/executors/lint/executor.d.ts +1 -15
- package/dist/src/executors/lint/executor.d.ts.map +1 -1
- package/dist/src/executors/lint/executor.js +3 -4
- package/dist/src/executors/lint/executor.mjs +2 -3
- package/dist/src/executors/lint/executor.mjs.map +1 -1
- package/dist/src/executors/prepare/executor.d.mts +1 -15
- package/dist/src/executors/prepare/executor.d.mts.map +1 -1
- package/dist/src/executors/prepare/executor.d.ts +1 -15
- package/dist/src/executors/prepare/executor.d.ts.map +1 -1
- package/dist/src/executors/prepare/executor.js +3 -4
- package/dist/src/executors/prepare/executor.mjs +2 -3
- package/dist/src/executors/prepare/executor.mjs.map +1 -1
- package/dist/src/index.d.mts +1 -2
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.js +5 -4
- package/dist/src/index.mjs +1 -1
- package/dist/src/plugin/index.d.mts.map +1 -1
- package/dist/src/plugin/index.d.ts.map +1 -1
- package/dist/src/plugin/index.js +4 -3
- package/dist/src/plugin/index.mjs.map +1 -1
- package/package.json +13 -13
- package/dist/base-executor-BkNTl-jk.d.mts.map +0 -1
- package/dist/base-executor-FX7YJl7f.d.ts.map +0 -1
- package/dist/src/base-executor-BkNTl-jk.d.mts.map +0 -1
- package/dist/src/base-executor-FX7YJl7f.d.ts.map +0 -1
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
|
|
2
|
+
// Generated by powerlines
|
|
3
|
+
// Do not edit this file directly
|
|
4
|
+
|
|
5
|
+
export interface DocsExecutorSchema {
|
|
6
|
+
/**
|
|
7
|
+
* Powerlines Configuration File
|
|
8
|
+
*
|
|
9
|
+
* The path to the Powerlines configuration file
|
|
10
|
+
*
|
|
11
|
+
* @default "{projectRoot}/powerlines.config.ts"
|
|
12
|
+
*
|
|
13
|
+
* @format path
|
|
14
|
+
*/
|
|
15
|
+
configFile?: string,
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Input Entry File(s)
|
|
19
|
+
*
|
|
20
|
+
* The entry file(s) that serve as the input for the project
|
|
21
|
+
*
|
|
22
|
+
*
|
|
23
|
+
* @format path
|
|
24
|
+
*/
|
|
25
|
+
input?: Array<string>,
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* TSConfig Path
|
|
29
|
+
*
|
|
30
|
+
* The path to the tsconfig file
|
|
31
|
+
*
|
|
32
|
+
* @default "{projectRoot}/tsconfig.json"
|
|
33
|
+
*
|
|
34
|
+
* @format path
|
|
35
|
+
*/
|
|
36
|
+
tsconfig?: string,
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Output Path
|
|
40
|
+
*
|
|
41
|
+
* The path to the output directory for the build artifacts
|
|
42
|
+
*
|
|
43
|
+
*
|
|
44
|
+
* @format path
|
|
45
|
+
*/
|
|
46
|
+
outputPath?: string,
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Sourcemap
|
|
50
|
+
*
|
|
51
|
+
* Generate a sourcemap
|
|
52
|
+
*
|
|
53
|
+
*/
|
|
54
|
+
sourceMap?: boolean,
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Format
|
|
58
|
+
*
|
|
59
|
+
* The format to build
|
|
60
|
+
*
|
|
61
|
+
* @default ["cjs","esm"]
|
|
62
|
+
*/
|
|
63
|
+
format?: Array<string>,
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Platform
|
|
67
|
+
*
|
|
68
|
+
* The platform to build
|
|
69
|
+
*
|
|
70
|
+
* @default "neutral"
|
|
71
|
+
*
|
|
72
|
+
* @enum neutral,node,browser
|
|
73
|
+
*/
|
|
74
|
+
platform?: string,
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* External
|
|
78
|
+
*
|
|
79
|
+
* The external dependencies
|
|
80
|
+
*
|
|
81
|
+
*/
|
|
82
|
+
external?: Array<any>,
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* No External
|
|
86
|
+
*
|
|
87
|
+
* The dependencies that should not be treated as external
|
|
88
|
+
*
|
|
89
|
+
*/
|
|
90
|
+
noExternal?: Array<any>,
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Skip Node Modules Bundle
|
|
94
|
+
*
|
|
95
|
+
* Skip bundling node_modules during the build process (if required)
|
|
96
|
+
*
|
|
97
|
+
*/
|
|
98
|
+
skipNodeModulesBundle?: boolean,
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Mode
|
|
102
|
+
*
|
|
103
|
+
* The build mode
|
|
104
|
+
*
|
|
105
|
+
*
|
|
106
|
+
* @enum development,test,production
|
|
107
|
+
*/
|
|
108
|
+
mode?: string,
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Log Level
|
|
112
|
+
*
|
|
113
|
+
* The log level to use for the build process
|
|
114
|
+
*
|
|
115
|
+
*
|
|
116
|
+
* @enum fatal,error,warn,success,info,debug,trace,silent
|
|
117
|
+
*/
|
|
118
|
+
logLevel?: string,
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Define
|
|
122
|
+
*
|
|
123
|
+
* The `define` values
|
|
124
|
+
*
|
|
125
|
+
*/
|
|
126
|
+
define?: Record<string, string>,
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Auto Install
|
|
130
|
+
*
|
|
131
|
+
* Automatically install dependencies during prepare stage
|
|
132
|
+
*
|
|
133
|
+
*/
|
|
134
|
+
autoInstall?: boolean,
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* Skip Cache
|
|
138
|
+
*
|
|
139
|
+
* Skip the caching mechanism during the build process (if required)
|
|
140
|
+
*
|
|
141
|
+
*/
|
|
142
|
+
skipCache?: boolean,
|
|
143
|
+
}
|
|
144
|
+
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "#",
|
|
3
|
+
"title": "Docs Executor",
|
|
4
|
+
"description": "A type definition for the Powerlines - Docs executor schema",
|
|
5
|
+
"required": [],
|
|
6
|
+
"properties": {
|
|
7
|
+
"configFile": {
|
|
8
|
+
"title": "Powerlines Configuration File",
|
|
9
|
+
"type": "string",
|
|
10
|
+
"format": "path",
|
|
11
|
+
"description": "The path to the Powerlines configuration file",
|
|
12
|
+
"id": "#configFile",
|
|
13
|
+
"default": "{projectRoot}/powerlines.config.ts"
|
|
14
|
+
},
|
|
15
|
+
"input": {
|
|
16
|
+
"title": "Input Entry File(s)",
|
|
17
|
+
"format": "path",
|
|
18
|
+
"type": "array",
|
|
19
|
+
"description": "The entry file(s) that serve as the input for the project",
|
|
20
|
+
"items": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
},
|
|
23
|
+
"id": "#input"
|
|
24
|
+
},
|
|
25
|
+
"tsconfig": {
|
|
26
|
+
"title": "TSConfig Path",
|
|
27
|
+
"type": "string",
|
|
28
|
+
"format": "path",
|
|
29
|
+
"description": "The path to the tsconfig file",
|
|
30
|
+
"id": "#tsconfig",
|
|
31
|
+
"default": "{projectRoot}/tsconfig.json"
|
|
32
|
+
},
|
|
33
|
+
"outputPath": {
|
|
34
|
+
"title": "Output Path",
|
|
35
|
+
"type": "string",
|
|
36
|
+
"format": "path",
|
|
37
|
+
"description": "The path to the output directory for the build artifacts",
|
|
38
|
+
"id": "#outputPath"
|
|
39
|
+
},
|
|
40
|
+
"sourceMap": {
|
|
41
|
+
"title": "Sourcemap",
|
|
42
|
+
"type": "boolean",
|
|
43
|
+
"description": "Generate a sourcemap",
|
|
44
|
+
"id": "#sourceMap"
|
|
45
|
+
},
|
|
46
|
+
"format": {
|
|
47
|
+
"title": "Format",
|
|
48
|
+
"type": "array",
|
|
49
|
+
"description": "The format to build",
|
|
50
|
+
"items": {
|
|
51
|
+
"type": "string",
|
|
52
|
+
"enum": [
|
|
53
|
+
"cjs",
|
|
54
|
+
"esm",
|
|
55
|
+
"iife"
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
"id": "#format",
|
|
59
|
+
"default": [
|
|
60
|
+
"cjs",
|
|
61
|
+
"esm"
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
"platform": {
|
|
65
|
+
"title": "Platform",
|
|
66
|
+
"type": "string",
|
|
67
|
+
"description": "The platform to build",
|
|
68
|
+
"enum": [
|
|
69
|
+
"neutral",
|
|
70
|
+
"node",
|
|
71
|
+
"browser"
|
|
72
|
+
],
|
|
73
|
+
"id": "#platform",
|
|
74
|
+
"default": "neutral"
|
|
75
|
+
},
|
|
76
|
+
"external": {
|
|
77
|
+
"title": "External",
|
|
78
|
+
"type": "array",
|
|
79
|
+
"description": "The external dependencies",
|
|
80
|
+
"id": "#external",
|
|
81
|
+
"default": [],
|
|
82
|
+
"items": {
|
|
83
|
+
"type": "any"
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"noExternal": {
|
|
87
|
+
"title": "No External",
|
|
88
|
+
"type": "array",
|
|
89
|
+
"description": "The dependencies that should not be treated as external",
|
|
90
|
+
"id": "#noExternal",
|
|
91
|
+
"default": [],
|
|
92
|
+
"items": {
|
|
93
|
+
"type": "any"
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"skipNodeModulesBundle": {
|
|
97
|
+
"title": "Skip Node Modules Bundle",
|
|
98
|
+
"type": "boolean",
|
|
99
|
+
"description": "Skip bundling node_modules during the build process (if required)",
|
|
100
|
+
"id": "#skipNodeModulesBundle"
|
|
101
|
+
},
|
|
102
|
+
"mode": {
|
|
103
|
+
"title": "Mode",
|
|
104
|
+
"type": "string",
|
|
105
|
+
"description": "The build mode",
|
|
106
|
+
"enum": [
|
|
107
|
+
"development",
|
|
108
|
+
"test",
|
|
109
|
+
"production"
|
|
110
|
+
],
|
|
111
|
+
"id": "#mode"
|
|
112
|
+
},
|
|
113
|
+
"logLevel": {
|
|
114
|
+
"title": "Log Level",
|
|
115
|
+
"type": "string",
|
|
116
|
+
"description": "The log level to use for the build process",
|
|
117
|
+
"enum": [
|
|
118
|
+
"fatal",
|
|
119
|
+
"error",
|
|
120
|
+
"warn",
|
|
121
|
+
"success",
|
|
122
|
+
"info",
|
|
123
|
+
"debug",
|
|
124
|
+
"trace",
|
|
125
|
+
"silent"
|
|
126
|
+
],
|
|
127
|
+
"id": "#logLevel"
|
|
128
|
+
},
|
|
129
|
+
"define": {
|
|
130
|
+
"title": "Define",
|
|
131
|
+
"type": "object",
|
|
132
|
+
"tsType": "Record<string, string>",
|
|
133
|
+
"description": "The `define` values",
|
|
134
|
+
"id": "#define",
|
|
135
|
+
"default": {}
|
|
136
|
+
},
|
|
137
|
+
"autoInstall": {
|
|
138
|
+
"title": "Auto Install",
|
|
139
|
+
"type": "boolean",
|
|
140
|
+
"description": "Automatically install dependencies during prepare stage",
|
|
141
|
+
"id": "#autoInstall"
|
|
142
|
+
},
|
|
143
|
+
"skipCache": {
|
|
144
|
+
"title": "Skip Cache",
|
|
145
|
+
"type": "boolean",
|
|
146
|
+
"description": "Skip the caching mechanism during the build process (if required)",
|
|
147
|
+
"id": "#skipCache"
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"type": "object",
|
|
151
|
+
"default": {
|
|
152
|
+
"configFile": "{projectRoot}/powerlines.config.ts",
|
|
153
|
+
"tsconfig": "{projectRoot}/tsconfig.json",
|
|
154
|
+
"format": [
|
|
155
|
+
"cjs",
|
|
156
|
+
"esm"
|
|
157
|
+
],
|
|
158
|
+
"platform": "neutral",
|
|
159
|
+
"external": [],
|
|
160
|
+
"noExternal": [],
|
|
161
|
+
"define": {}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as ShellShockExecutorContext } from "../../base-executor-
|
|
1
|
+
import { t as ShellShockExecutorContext } from "../../base-executor-5IKYZdSK.mjs";
|
|
2
2
|
import { PromiseExecutor } from "@nx/devkit";
|
|
3
3
|
import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
|
|
4
4
|
import { ShellShockAPI } from "@shell-shock/core";
|
|
@@ -17,7 +17,6 @@ interface LintExecutorSchema {
|
|
|
17
17
|
* @format path
|
|
18
18
|
*/
|
|
19
19
|
configFile?: string;
|
|
20
|
-
|
|
21
20
|
/**
|
|
22
21
|
* Input Entry File(s)
|
|
23
22
|
*
|
|
@@ -27,7 +26,6 @@ interface LintExecutorSchema {
|
|
|
27
26
|
* @format path
|
|
28
27
|
*/
|
|
29
28
|
input?: Array<string>;
|
|
30
|
-
|
|
31
29
|
/**
|
|
32
30
|
* TSConfig Path
|
|
33
31
|
*
|
|
@@ -38,7 +36,6 @@ interface LintExecutorSchema {
|
|
|
38
36
|
* @format path
|
|
39
37
|
*/
|
|
40
38
|
tsconfig?: string;
|
|
41
|
-
|
|
42
39
|
/**
|
|
43
40
|
* Output Path
|
|
44
41
|
*
|
|
@@ -48,7 +45,6 @@ interface LintExecutorSchema {
|
|
|
48
45
|
* @format path
|
|
49
46
|
*/
|
|
50
47
|
outputPath?: string;
|
|
51
|
-
|
|
52
48
|
/**
|
|
53
49
|
* Sourcemap
|
|
54
50
|
*
|
|
@@ -56,7 +52,6 @@ interface LintExecutorSchema {
|
|
|
56
52
|
*
|
|
57
53
|
*/
|
|
58
54
|
sourceMap?: boolean;
|
|
59
|
-
|
|
60
55
|
/**
|
|
61
56
|
* Format
|
|
62
57
|
*
|
|
@@ -65,7 +60,6 @@ interface LintExecutorSchema {
|
|
|
65
60
|
* @default ["cjs","esm"]
|
|
66
61
|
*/
|
|
67
62
|
format?: Array<string>;
|
|
68
|
-
|
|
69
63
|
/**
|
|
70
64
|
* Platform
|
|
71
65
|
*
|
|
@@ -76,7 +70,6 @@ interface LintExecutorSchema {
|
|
|
76
70
|
* @enum neutral,node,browser
|
|
77
71
|
*/
|
|
78
72
|
platform?: string;
|
|
79
|
-
|
|
80
73
|
/**
|
|
81
74
|
* External
|
|
82
75
|
*
|
|
@@ -84,7 +77,6 @@ interface LintExecutorSchema {
|
|
|
84
77
|
*
|
|
85
78
|
*/
|
|
86
79
|
external?: Array<any>;
|
|
87
|
-
|
|
88
80
|
/**
|
|
89
81
|
* No External
|
|
90
82
|
*
|
|
@@ -92,7 +84,6 @@ interface LintExecutorSchema {
|
|
|
92
84
|
*
|
|
93
85
|
*/
|
|
94
86
|
noExternal?: Array<any>;
|
|
95
|
-
|
|
96
87
|
/**
|
|
97
88
|
* Skip Node Modules Bundle
|
|
98
89
|
*
|
|
@@ -100,7 +91,6 @@ interface LintExecutorSchema {
|
|
|
100
91
|
*
|
|
101
92
|
*/
|
|
102
93
|
skipNodeModulesBundle?: boolean;
|
|
103
|
-
|
|
104
94
|
/**
|
|
105
95
|
* Mode
|
|
106
96
|
*
|
|
@@ -110,7 +100,6 @@ interface LintExecutorSchema {
|
|
|
110
100
|
* @enum development,test,production
|
|
111
101
|
*/
|
|
112
102
|
mode?: string;
|
|
113
|
-
|
|
114
103
|
/**
|
|
115
104
|
* Log Level
|
|
116
105
|
*
|
|
@@ -120,7 +109,6 @@ interface LintExecutorSchema {
|
|
|
120
109
|
* @enum fatal,error,warn,success,info,debug,trace,silent
|
|
121
110
|
*/
|
|
122
111
|
logLevel?: string;
|
|
123
|
-
|
|
124
112
|
/**
|
|
125
113
|
* Define
|
|
126
114
|
*
|
|
@@ -128,7 +116,6 @@ interface LintExecutorSchema {
|
|
|
128
116
|
*
|
|
129
117
|
*/
|
|
130
118
|
define?: Record<string, string>;
|
|
131
|
-
|
|
132
119
|
/**
|
|
133
120
|
* Auto Install
|
|
134
121
|
*
|
|
@@ -136,7 +123,6 @@ interface LintExecutorSchema {
|
|
|
136
123
|
*
|
|
137
124
|
*/
|
|
138
125
|
autoInstall?: boolean;
|
|
139
|
-
|
|
140
126
|
/**
|
|
141
127
|
* Skip Cache
|
|
142
128
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executor.d.mts","names":["LintExecutorSchema","Array","Record"],"sources":["../../../../src/executors/lint/schema.d.ts","../../../../src/executors/lint/executor.ts"],"
|
|
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":["../../../../src/executors/lint/schema.d.ts","../../../../src/executors/lint/executor.ts"],"mappings":";;;;;;;;UAIiBA,kBAAAA;;AAAjB;;;;;;;;EAUCG,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQH,KAAAA;;;;;;;;;;EAWRI,QAAAA;EA0GS;;;;AClHV;;;;EDkBCC,UAAAA;;;;;;;EAQAC,SAAAA;;;;;;ACVA;;EDmBAC,MAAAA,GAASP,KAAAA;ECjBwC;;;;;;;;;ED4BjDQ,QAAAA;;;;;;;EAQAC,QAAAA,GAAWT,KAAAA;;;;;;;EAQXU,UAAAA,GAAaV,KAAAA;;;;;;;EAQbW,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAASb,MAAAA;;;;;;;EAQTc,WAAAA;;;;;;;EAQAC,SAAAA;AAAAA;;;iBClHqB,UAAA,CACpB,OAAA,EAAS,yBAAA,SAAkC,kBAAA,GAC3C,GAAA,EAAK,aAAA,GACJ,OAAA,CAAQ,kBAAA;AAAA,cAeL,QAAA,EAAU,eAAA,CAAgB,kBAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as ShellShockExecutorContext } from "../../base-executor-
|
|
1
|
+
import { t as ShellShockExecutorContext } from "../../base-executor-D8wAP52R.js";
|
|
2
2
|
import { PromiseExecutor } from "@nx/devkit";
|
|
3
3
|
import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
|
|
4
4
|
import { ShellShockAPI } from "@shell-shock/core";
|
|
@@ -17,7 +17,6 @@ interface LintExecutorSchema {
|
|
|
17
17
|
* @format path
|
|
18
18
|
*/
|
|
19
19
|
configFile?: string;
|
|
20
|
-
|
|
21
20
|
/**
|
|
22
21
|
* Input Entry File(s)
|
|
23
22
|
*
|
|
@@ -27,7 +26,6 @@ interface LintExecutorSchema {
|
|
|
27
26
|
* @format path
|
|
28
27
|
*/
|
|
29
28
|
input?: Array<string>;
|
|
30
|
-
|
|
31
29
|
/**
|
|
32
30
|
* TSConfig Path
|
|
33
31
|
*
|
|
@@ -38,7 +36,6 @@ interface LintExecutorSchema {
|
|
|
38
36
|
* @format path
|
|
39
37
|
*/
|
|
40
38
|
tsconfig?: string;
|
|
41
|
-
|
|
42
39
|
/**
|
|
43
40
|
* Output Path
|
|
44
41
|
*
|
|
@@ -48,7 +45,6 @@ interface LintExecutorSchema {
|
|
|
48
45
|
* @format path
|
|
49
46
|
*/
|
|
50
47
|
outputPath?: string;
|
|
51
|
-
|
|
52
48
|
/**
|
|
53
49
|
* Sourcemap
|
|
54
50
|
*
|
|
@@ -56,7 +52,6 @@ interface LintExecutorSchema {
|
|
|
56
52
|
*
|
|
57
53
|
*/
|
|
58
54
|
sourceMap?: boolean;
|
|
59
|
-
|
|
60
55
|
/**
|
|
61
56
|
* Format
|
|
62
57
|
*
|
|
@@ -65,7 +60,6 @@ interface LintExecutorSchema {
|
|
|
65
60
|
* @default ["cjs","esm"]
|
|
66
61
|
*/
|
|
67
62
|
format?: Array<string>;
|
|
68
|
-
|
|
69
63
|
/**
|
|
70
64
|
* Platform
|
|
71
65
|
*
|
|
@@ -76,7 +70,6 @@ interface LintExecutorSchema {
|
|
|
76
70
|
* @enum neutral,node,browser
|
|
77
71
|
*/
|
|
78
72
|
platform?: string;
|
|
79
|
-
|
|
80
73
|
/**
|
|
81
74
|
* External
|
|
82
75
|
*
|
|
@@ -84,7 +77,6 @@ interface LintExecutorSchema {
|
|
|
84
77
|
*
|
|
85
78
|
*/
|
|
86
79
|
external?: Array<any>;
|
|
87
|
-
|
|
88
80
|
/**
|
|
89
81
|
* No External
|
|
90
82
|
*
|
|
@@ -92,7 +84,6 @@ interface LintExecutorSchema {
|
|
|
92
84
|
*
|
|
93
85
|
*/
|
|
94
86
|
noExternal?: Array<any>;
|
|
95
|
-
|
|
96
87
|
/**
|
|
97
88
|
* Skip Node Modules Bundle
|
|
98
89
|
*
|
|
@@ -100,7 +91,6 @@ interface LintExecutorSchema {
|
|
|
100
91
|
*
|
|
101
92
|
*/
|
|
102
93
|
skipNodeModulesBundle?: boolean;
|
|
103
|
-
|
|
104
94
|
/**
|
|
105
95
|
* Mode
|
|
106
96
|
*
|
|
@@ -110,7 +100,6 @@ interface LintExecutorSchema {
|
|
|
110
100
|
* @enum development,test,production
|
|
111
101
|
*/
|
|
112
102
|
mode?: string;
|
|
113
|
-
|
|
114
103
|
/**
|
|
115
104
|
* Log Level
|
|
116
105
|
*
|
|
@@ -120,7 +109,6 @@ interface LintExecutorSchema {
|
|
|
120
109
|
* @enum fatal,error,warn,success,info,debug,trace,silent
|
|
121
110
|
*/
|
|
122
111
|
logLevel?: string;
|
|
123
|
-
|
|
124
112
|
/**
|
|
125
113
|
* Define
|
|
126
114
|
*
|
|
@@ -128,7 +116,6 @@ interface LintExecutorSchema {
|
|
|
128
116
|
*
|
|
129
117
|
*/
|
|
130
118
|
define?: Record<string, string>;
|
|
131
|
-
|
|
132
119
|
/**
|
|
133
120
|
* Auto Install
|
|
134
121
|
*
|
|
@@ -136,7 +123,6 @@ interface LintExecutorSchema {
|
|
|
136
123
|
*
|
|
137
124
|
*/
|
|
138
125
|
autoInstall?: boolean;
|
|
139
|
-
|
|
140
126
|
/**
|
|
141
127
|
* Skip Cache
|
|
142
128
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executor.d.ts","names":["LintExecutorSchema","Array","Record"],"sources":["../../../../src/executors/lint/schema.d.ts","../../../../src/executors/lint/executor.ts"],"
|
|
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":["../../../../src/executors/lint/schema.d.ts","../../../../src/executors/lint/executor.ts"],"mappings":";;;;;;;;UAIiBA,kBAAAA;;AAAjB;;;;;;;;EAUCG,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQH,KAAAA;;;;;;;;;;EAWRI,QAAAA;EA0GS;;;;AClHV;;;;EDkBCC,UAAAA;;;;;;;EAQAC,SAAAA;;;;;;ACVA;;EDmBAC,MAAAA,GAASP,KAAAA;ECjBwC;;;;;;;;;ED4BjDQ,QAAAA;;;;;;;EAQAC,QAAAA,GAAWT,KAAAA;;;;;;;EAQXU,UAAAA,GAAaV,KAAAA;;;;;;;EAQbW,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAASb,MAAAA;;;;;;;EAQTc,WAAAA;;;;;;;EAQAC,SAAAA;AAAAA;;;iBClHqB,UAAA,CACpB,OAAA,EAAS,yBAAA,SAAkC,kBAAA,GAC3C,GAAA,EAAK,aAAA,GACJ,OAAA,CAAQ,kBAAA;AAAA,cAeL,QAAA,EAAU,eAAA,CAAgB,kBAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
Object.
|
|
2
|
-
const require_base_executor = require('../../base-executor-
|
|
1
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
2
|
+
const require_base_executor = require('../../base-executor-B_1n4Nst.js');
|
|
3
3
|
let defu = require("defu");
|
|
4
4
|
defu = require_base_executor.__toESM(defu);
|
|
5
5
|
|
|
@@ -9,8 +9,7 @@ async function executorFn(context, api) {
|
|
|
9
9
|
return { success: true };
|
|
10
10
|
}
|
|
11
11
|
const executor = require_base_executor.withExecutor("lint", executorFn);
|
|
12
|
-
var executor_default = executor;
|
|
13
12
|
|
|
14
13
|
//#endregion
|
|
15
|
-
exports.default =
|
|
14
|
+
exports.default = executor;
|
|
16
15
|
exports.executorFn = executorFn;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as withExecutor } from "../../base-executor-
|
|
1
|
+
import { t as withExecutor } from "../../base-executor-Tb7NcSc4.mjs";
|
|
2
2
|
import defu from "defu";
|
|
3
3
|
|
|
4
4
|
//#region src/executors/lint/executor.ts
|
|
@@ -7,8 +7,7 @@ async function executorFn(context, api) {
|
|
|
7
7
|
return { success: true };
|
|
8
8
|
}
|
|
9
9
|
const executor = withExecutor("lint", executorFn);
|
|
10
|
-
var executor_default = executor;
|
|
11
10
|
|
|
12
11
|
//#endregion
|
|
13
|
-
export {
|
|
12
|
+
export { executor as default, executorFn };
|
|
14
13
|
//# sourceMappingURL=executor.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executor.mjs","names":[
|
|
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\nexport async 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,eAAsB,WACpB,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"}
|