@shell-shock/nx 0.0.2
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/LICENSE +201 -0
- package/README.md +43 -0
- package/dist/chunk-2RWIKK2K.js +1 -0
- package/dist/chunk-4DF5MMDG.cjs +1 -0
- package/dist/chunk-5QOOID3A.js +1 -0
- package/dist/chunk-BQ6JGDCK.cjs +1 -0
- package/dist/chunk-C55D3UE2.js +1 -0
- package/dist/chunk-JL2WYYI2.cjs +1 -0
- package/dist/chunk-JLEWSDGU.js +1 -0
- package/dist/chunk-KDEQXNLK.cjs +1 -0
- package/dist/chunk-MJPKGB2J.js +1 -0
- package/dist/chunk-MOC37UWO.js +3 -0
- package/dist/chunk-NCXOX46C.cjs +1 -0
- package/dist/chunk-OGORC6MB.cjs +1 -0
- package/dist/chunk-PKDDOBUQ.cjs +5 -0
- package/dist/chunk-UR2OGNGK.cjs +1 -0
- package/dist/chunk-WNSAXKZ3.js +0 -0
- package/dist/chunk-YXZRI7BT.cjs +3 -0
- package/dist/chunk-ZD5Z5HMM.js +1 -0
- package/dist/chunk-ZJQUMHFI.js +5 -0
- package/dist/executors/build/executor.cjs +1 -0
- package/dist/executors/build/executor.js +1 -0
- package/dist/executors/build/schema.d.ts +84 -0
- package/dist/executors/build/schema.json +94 -0
- package/dist/executors/clean/executor.cjs +1 -0
- package/dist/executors/clean/executor.js +1 -0
- package/dist/executors/clean/schema.d.ts +74 -0
- package/dist/executors/clean/schema.json +75 -0
- package/dist/executors/docs/executor.cjs +1 -0
- package/dist/executors/docs/executor.js +1 -0
- package/dist/executors/docs/schema.d.ts +74 -0
- package/dist/executors/docs/schema.json +75 -0
- package/dist/executors/lint/executor.cjs +1 -0
- package/dist/executors/lint/executor.js +1 -0
- package/dist/executors/lint/schema.d.ts +74 -0
- package/dist/executors/lint/schema.json +75 -0
- package/dist/executors/prepare/executor.cjs +1 -0
- package/dist/executors/prepare/executor.js +1 -0
- package/dist/executors/prepare/schema.d.ts +74 -0
- package/dist/executors/prepare/schema.json +75 -0
- package/dist/executors.cjs +1 -0
- package/dist/executors.js +1 -0
- package/dist/index.cjs +1 -0
- package/dist/index.js +1 -0
- package/dist/plugin/index.cjs +1 -0
- package/dist/plugin/index.js +1 -0
- package/dist/src/base/base-executor.schema.d.ts +74 -0
- package/dist/src/base/base-executor.schema.json +75 -0
- package/dist/src/chunk-2RWIKK2K.js +1 -0
- package/dist/src/chunk-4DF5MMDG.cjs +1 -0
- package/dist/src/chunk-5QOOID3A.js +1 -0
- package/dist/src/chunk-BQ6JGDCK.cjs +1 -0
- package/dist/src/chunk-C55D3UE2.js +1 -0
- package/dist/src/chunk-JL2WYYI2.cjs +1 -0
- package/dist/src/chunk-JLEWSDGU.js +1 -0
- package/dist/src/chunk-KDEQXNLK.cjs +1 -0
- package/dist/src/chunk-MJPKGB2J.js +1 -0
- package/dist/src/chunk-MOC37UWO.js +3 -0
- package/dist/src/chunk-NCXOX46C.cjs +1 -0
- package/dist/src/chunk-OGORC6MB.cjs +1 -0
- package/dist/src/chunk-PKDDOBUQ.cjs +5 -0
- package/dist/src/chunk-UR2OGNGK.cjs +1 -0
- package/dist/src/chunk-WNSAXKZ3.js +0 -0
- package/dist/src/chunk-YXZRI7BT.cjs +3 -0
- package/dist/src/chunk-ZD5Z5HMM.js +1 -0
- package/dist/src/chunk-ZJQUMHFI.js +5 -0
- package/dist/src/executors/build/executor.cjs +1 -0
- package/dist/src/executors/build/executor.js +1 -0
- package/dist/src/executors/build/schema.d.ts +84 -0
- package/dist/src/executors/build/schema.json +94 -0
- package/dist/src/executors/clean/executor.cjs +1 -0
- package/dist/src/executors/clean/executor.js +1 -0
- package/dist/src/executors/clean/schema.d.ts +74 -0
- package/dist/src/executors/clean/schema.json +75 -0
- package/dist/src/executors/docs/executor.cjs +1 -0
- package/dist/src/executors/docs/executor.js +1 -0
- package/dist/src/executors/docs/schema.d.ts +74 -0
- package/dist/src/executors/docs/schema.json +75 -0
- package/dist/src/executors/lint/executor.cjs +1 -0
- package/dist/src/executors/lint/executor.js +1 -0
- package/dist/src/executors/lint/schema.d.ts +74 -0
- package/dist/src/executors/lint/schema.json +75 -0
- package/dist/src/executors/prepare/executor.cjs +1 -0
- package/dist/src/executors/prepare/executor.js +1 -0
- package/dist/src/executors/prepare/schema.d.ts +74 -0
- package/dist/src/executors/prepare/schema.json +75 -0
- package/dist/src/executors.cjs +1 -0
- package/dist/src/executors.js +1 -0
- package/dist/src/index.cjs +1 -0
- package/dist/src/index.js +1 -0
- package/dist/src/plugin/index.cjs +1 -0
- package/dist/src/plugin/index.js +1 -0
- package/docs/api/base-executor.schema.md +71 -0
- package/docs/api/build/schema.md +81 -0
- package/docs/api/clean/schema.md +71 -0
- package/docs/api/docs/schema.md +71 -0
- package/docs/api/lint/schema.md +71 -0
- package/docs/api/prepare/schema.md +71 -0
- package/executors.json +30 -0
- package/package.json +131 -0
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import {a}from'./chunk-ZJQUMHFI.js';import {ShellShockAPI}from'@shell-shock/core';import {writeError}from'@storm-software/config-tools/logger';import {withRunExecutor}from'@storm-software/workspace-tools/base/base-executor';import {isError}from'@stryke/type-checks/is-error';import n from'defu';function j(r,s){return withRunExecutor(`Shell Shock ${r} command executor`,async(e,o,m)=>{if(!o.projectName)throw new Error("The executor requires `projectName` on the context object.");if(!o.projectName||!o.projectsConfigurations?.projects||!o.projectsConfigurations.projects[o.projectName]||!o.projectsConfigurations.projects[o.projectName]?.root)throw new Error("The executor requires `projectsConfigurations` on the context object.");let t=o.projectsConfigurations.projects[o.projectName],a=await ShellShockAPI.from(n({root:t.root,type:t.projectType,sourceRoot:t.sourceRoot,tsconfig:e.tsconfig,logLevel:e.logLevel,mode:e.mode,skipCache:e.skipCache,output:{outputPath:e.outputPath??t.targets?.build?.options?.outputPath}},e));try{return await Promise.resolve(s(n({projectName:o.projectName,options:e,workspaceConfig:m,inlineConfig:{command:r,configFile:e.configFile},command:r},o),a))}catch(c){return writeError(`An error occurred while executing the Shell Shock ${r} command executor: ${isError(c)?`${c.message}
|
|
2
|
+
|
|
3
|
+
${c.stack}`:"Unknown error"}`),{success:false}}finally{await a.finalize();}},{skipReadingConfig:false,hooks:{applyDefaultOptions:a(e=>(e.mode!=="development"&&e.mode!=="test"&&(e.mode="production"),e.outputPath??="dist/{projectRoot}",e.configFile??="{projectRoot}/shell-shock.config.ts",e),"applyDefaultOptions")}})}a(j,"withExecutor");export{j as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var chunkYXZRI7BT_cjs=require('./chunk-YXZRI7BT.cjs'),chunkPKDDOBUQ_cjs=require('./chunk-PKDDOBUQ.cjs');async function i(o,r){return await r.lint(o.inlineConfig),{success:true}}chunkPKDDOBUQ_cjs.a(i,"executorFn");var c=chunkYXZRI7BT_cjs.a("lint",i),m=c;exports.a=i;exports.b=m;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var chunkYXZRI7BT_cjs=require('./chunk-YXZRI7BT.cjs'),chunkPKDDOBUQ_cjs=require('./chunk-PKDDOBUQ.cjs');async function r(t,c){return await c.docs(t.inlineConfig),{success:true}}chunkPKDDOBUQ_cjs.a(r,"executorFn");var s=chunkYXZRI7BT_cjs.a("docs",r),u=s;exports.a=r;exports.b=u;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var chunkYXZRI7BT_cjs=require('./chunk-YXZRI7BT.cjs'),chunkPKDDOBUQ_cjs=require('./chunk-PKDDOBUQ.cjs');async function c(t,r){return await r.clean(t.inlineConfig),{success:true}}chunkPKDDOBUQ_cjs.a(c,"executorFn");var n=chunkYXZRI7BT_cjs.a("clean",c),s=n;exports.a=c;exports.b=s;
|
|
File without changes
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
'use strict';var chunkPKDDOBUQ_cjs=require('./chunk-PKDDOBUQ.cjs'),core=require('@shell-shock/core'),logger=require('@storm-software/config-tools/logger'),baseExecutor=require('@storm-software/workspace-tools/base/base-executor'),isError=require('@stryke/type-checks/is-error'),n=require('defu');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var n__default=/*#__PURE__*/_interopDefault(n);function S(r,s){return baseExecutor.withRunExecutor(`Shell Shock ${r} command executor`,async(e,o,m)=>{if(!o.projectName)throw new Error("The executor requires `projectName` on the context object.");if(!o.projectName||!o.projectsConfigurations?.projects||!o.projectsConfigurations.projects[o.projectName]||!o.projectsConfigurations.projects[o.projectName]?.root)throw new Error("The executor requires `projectsConfigurations` on the context object.");let t=o.projectsConfigurations.projects[o.projectName],a=await core.ShellShockAPI.from(n__default.default({root:t.root,type:t.projectType,sourceRoot:t.sourceRoot,tsconfig:e.tsconfig,logLevel:e.logLevel,mode:e.mode,skipCache:e.skipCache,output:{outputPath:e.outputPath??t.targets?.build?.options?.outputPath}},e));try{return await Promise.resolve(s(n__default.default({projectName:o.projectName,options:e,workspaceConfig:m,inlineConfig:{command:r,configFile:e.configFile},command:r},o),a))}catch(c){return logger.writeError(`An error occurred while executing the Shell Shock ${r} command executor: ${isError.isError(c)?`${c.message}
|
|
2
|
+
|
|
3
|
+
${c.stack}`:"Unknown error"}`),{success:false}}finally{await a.finalize();}},{skipReadingConfig:false,hooks:{applyDefaultOptions:chunkPKDDOBUQ_cjs.a(e=>(e.mode!=="development"&&e.mode!=="test"&&(e.mode="production"),e.outputPath??="dist/{projectRoot}",e.configFile??="{projectRoot}/shell-shock.config.ts",e),"applyDefaultOptions")}})}chunkPKDDOBUQ_cjs.a(S,"withExecutor");exports.a=S;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {a as a$1}from'./chunk-MOC37UWO.js';import {a}from'./chunk-ZJQUMHFI.js';async function r(t,c){return await c.docs(t.inlineConfig),{success:true}}a(r,"executorFn");var s=a$1("docs",r),n=s;export{r as a,n as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';Object.defineProperty(exports,'__esModule',{value:true});var chunkJL2WYYI2_cjs=require('../../chunk-JL2WYYI2.cjs');require('../../chunk-YXZRI7BT.cjs'),require('../../chunk-PKDDOBUQ.cjs');Object.defineProperty(exports,"default",{enumerable:true,get:function(){return chunkJL2WYYI2_cjs.b}});Object.defineProperty(exports,"executorFn",{enumerable:true,get:function(){return chunkJL2WYYI2_cjs.a}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{b as default,a as executorFn}from'../../chunk-5QOOID3A.js';import'../../chunk-MOC37UWO.js';import'../../chunk-ZJQUMHFI.js';
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
|
|
2
|
+
// Generated by powerlines
|
|
3
|
+
// Do not edit this file directly
|
|
4
|
+
|
|
5
|
+
export interface BuildExecutorSchema {
|
|
6
|
+
/**
|
|
7
|
+
* Output Path
|
|
8
|
+
*
|
|
9
|
+
* The output path for the build
|
|
10
|
+
*
|
|
11
|
+
* @default "dist/{projectRoot}"
|
|
12
|
+
*
|
|
13
|
+
* @format path
|
|
14
|
+
*/
|
|
15
|
+
outputPath?: string,
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* TypeScript Configuration File
|
|
19
|
+
*
|
|
20
|
+
* The path to the tsconfig file
|
|
21
|
+
*
|
|
22
|
+
*
|
|
23
|
+
* @format path
|
|
24
|
+
*/
|
|
25
|
+
tsconfig?: string,
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Shell Shock Configuration File
|
|
29
|
+
*
|
|
30
|
+
* The path to the Shell Shock configuration file
|
|
31
|
+
*
|
|
32
|
+
* @default "{projectRoot}/shell-shock.config.ts"
|
|
33
|
+
*
|
|
34
|
+
* @format path
|
|
35
|
+
*/
|
|
36
|
+
configFile?: string,
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Mode
|
|
40
|
+
*
|
|
41
|
+
* The build mode
|
|
42
|
+
*
|
|
43
|
+
*
|
|
44
|
+
* @enum development,test,production
|
|
45
|
+
*/
|
|
46
|
+
mode?: string,
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Skip Installs
|
|
50
|
+
*
|
|
51
|
+
* Skip installing dependencies before building
|
|
52
|
+
*
|
|
53
|
+
*/
|
|
54
|
+
skipInstalls?: boolean,
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Skip Cache
|
|
58
|
+
*
|
|
59
|
+
* Skip the cache when building
|
|
60
|
+
*
|
|
61
|
+
*/
|
|
62
|
+
skipCache?: boolean,
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Log Level
|
|
66
|
+
*
|
|
67
|
+
* The log level to use for the build process
|
|
68
|
+
*
|
|
69
|
+
*
|
|
70
|
+
* @enum fatal,error,warn,success,info,debug,trace,silent
|
|
71
|
+
*/
|
|
72
|
+
logLevel?: string,
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Entry Path(s)
|
|
76
|
+
*
|
|
77
|
+
* The entry path(s) for the package
|
|
78
|
+
*
|
|
79
|
+
*
|
|
80
|
+
* @oneOf [object Object],[object Object]
|
|
81
|
+
*/
|
|
82
|
+
entry?: any,
|
|
83
|
+
}
|
|
84
|
+
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "#",
|
|
3
|
+
"title": "Build Executor",
|
|
4
|
+
"description": "A type definition for the Powerlines - Build executor schema",
|
|
5
|
+
"required": [],
|
|
6
|
+
"properties": {
|
|
7
|
+
"outputPath": {
|
|
8
|
+
"title": "Output Path",
|
|
9
|
+
"type": "string",
|
|
10
|
+
"format": "path",
|
|
11
|
+
"description": "The output path for the build",
|
|
12
|
+
"id": "#outputPath",
|
|
13
|
+
"default": "dist/{projectRoot}"
|
|
14
|
+
},
|
|
15
|
+
"tsconfig": {
|
|
16
|
+
"title": "TypeScript Configuration File",
|
|
17
|
+
"type": "string",
|
|
18
|
+
"format": "path",
|
|
19
|
+
"description": "The path to the tsconfig file",
|
|
20
|
+
"id": "#tsconfig"
|
|
21
|
+
},
|
|
22
|
+
"configFile": {
|
|
23
|
+
"title": "Shell Shock Configuration File",
|
|
24
|
+
"type": "string",
|
|
25
|
+
"format": "path",
|
|
26
|
+
"description": "The path to the Shell Shock configuration file",
|
|
27
|
+
"id": "#configFile",
|
|
28
|
+
"default": "{projectRoot}/shell-shock.config.ts"
|
|
29
|
+
},
|
|
30
|
+
"mode": {
|
|
31
|
+
"title": "Mode",
|
|
32
|
+
"type": "string",
|
|
33
|
+
"description": "The build mode",
|
|
34
|
+
"enum": [
|
|
35
|
+
"development",
|
|
36
|
+
"test",
|
|
37
|
+
"production"
|
|
38
|
+
],
|
|
39
|
+
"id": "#mode"
|
|
40
|
+
},
|
|
41
|
+
"skipInstalls": {
|
|
42
|
+
"title": "Skip Installs",
|
|
43
|
+
"type": "boolean",
|
|
44
|
+
"description": "Skip installing dependencies before building",
|
|
45
|
+
"id": "#skipInstalls"
|
|
46
|
+
},
|
|
47
|
+
"skipCache": {
|
|
48
|
+
"title": "Skip Cache",
|
|
49
|
+
"type": "boolean",
|
|
50
|
+
"description": "Skip the cache when building",
|
|
51
|
+
"id": "#skipCache"
|
|
52
|
+
},
|
|
53
|
+
"logLevel": {
|
|
54
|
+
"title": "Log Level",
|
|
55
|
+
"type": "string",
|
|
56
|
+
"description": "The log level to use for the build process",
|
|
57
|
+
"enum": [
|
|
58
|
+
"fatal",
|
|
59
|
+
"error",
|
|
60
|
+
"warn",
|
|
61
|
+
"success",
|
|
62
|
+
"info",
|
|
63
|
+
"debug",
|
|
64
|
+
"trace",
|
|
65
|
+
"silent"
|
|
66
|
+
],
|
|
67
|
+
"id": "#logLevel"
|
|
68
|
+
},
|
|
69
|
+
"entry": {
|
|
70
|
+
"title": "Entry Path(s)",
|
|
71
|
+
"description": "The entry path(s) for the package",
|
|
72
|
+
"oneOf": [
|
|
73
|
+
{
|
|
74
|
+
"type": "string"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"type": "array",
|
|
78
|
+
"items": {
|
|
79
|
+
"type": "string"
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
"id": "#entry",
|
|
84
|
+
"type": "any",
|
|
85
|
+
"default": {}
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"type": "object",
|
|
89
|
+
"default": {
|
|
90
|
+
"outputPath": "dist/{projectRoot}",
|
|
91
|
+
"configFile": "{projectRoot}/shell-shock.config.ts",
|
|
92
|
+
"entry": {}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';Object.defineProperty(exports,'__esModule',{value:true});var chunkUR2OGNGK_cjs=require('../../chunk-UR2OGNGK.cjs');require('../../chunk-YXZRI7BT.cjs'),require('../../chunk-PKDDOBUQ.cjs');Object.defineProperty(exports,"default",{enumerable:true,get:function(){return chunkUR2OGNGK_cjs.b}});Object.defineProperty(exports,"executorFn",{enumerable:true,get:function(){return chunkUR2OGNGK_cjs.a}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{b as default,a as executorFn}from'../../chunk-MJPKGB2J.js';import'../../chunk-MOC37UWO.js';import'../../chunk-ZJQUMHFI.js';
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
|
|
2
|
+
// Generated by powerlines
|
|
3
|
+
// Do not edit this file directly
|
|
4
|
+
|
|
5
|
+
export interface CleanExecutorSchema {
|
|
6
|
+
/**
|
|
7
|
+
* Output Path
|
|
8
|
+
*
|
|
9
|
+
* The output path for the build
|
|
10
|
+
*
|
|
11
|
+
* @default "dist/{projectRoot}"
|
|
12
|
+
*
|
|
13
|
+
* @format path
|
|
14
|
+
*/
|
|
15
|
+
outputPath?: string,
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* TypeScript Configuration File
|
|
19
|
+
*
|
|
20
|
+
* The path to the tsconfig file
|
|
21
|
+
*
|
|
22
|
+
*
|
|
23
|
+
* @format path
|
|
24
|
+
*/
|
|
25
|
+
tsconfig?: string,
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Shell Shock Configuration File
|
|
29
|
+
*
|
|
30
|
+
* The path to the Shell Shock configuration file
|
|
31
|
+
*
|
|
32
|
+
* @default "{projectRoot}/shell-shock.config.ts"
|
|
33
|
+
*
|
|
34
|
+
* @format path
|
|
35
|
+
*/
|
|
36
|
+
configFile?: string,
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Mode
|
|
40
|
+
*
|
|
41
|
+
* The build mode
|
|
42
|
+
*
|
|
43
|
+
*
|
|
44
|
+
* @enum development,test,production
|
|
45
|
+
*/
|
|
46
|
+
mode?: string,
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Skip Installs
|
|
50
|
+
*
|
|
51
|
+
* Skip installing dependencies during prepare stage
|
|
52
|
+
*
|
|
53
|
+
*/
|
|
54
|
+
skipInstalls?: boolean,
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Skip Cache
|
|
58
|
+
*
|
|
59
|
+
* Skip the caching mechanism during the build process (if required)
|
|
60
|
+
*
|
|
61
|
+
*/
|
|
62
|
+
skipCache?: boolean,
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Log Level
|
|
66
|
+
*
|
|
67
|
+
* The log level to use for the build process
|
|
68
|
+
*
|
|
69
|
+
*
|
|
70
|
+
* @enum fatal,error,warn,success,info,debug,trace,silent
|
|
71
|
+
*/
|
|
72
|
+
logLevel?: string,
|
|
73
|
+
}
|
|
74
|
+
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "#",
|
|
3
|
+
"title": "Clean Executor",
|
|
4
|
+
"description": "A type definition for the Powerlines - Clean executor schema",
|
|
5
|
+
"required": [],
|
|
6
|
+
"properties": {
|
|
7
|
+
"outputPath": {
|
|
8
|
+
"title": "Output Path",
|
|
9
|
+
"type": "string",
|
|
10
|
+
"format": "path",
|
|
11
|
+
"description": "The output path for the build",
|
|
12
|
+
"id": "#outputPath",
|
|
13
|
+
"default": "dist/{projectRoot}"
|
|
14
|
+
},
|
|
15
|
+
"tsconfig": {
|
|
16
|
+
"title": "TypeScript Configuration File",
|
|
17
|
+
"type": "string",
|
|
18
|
+
"format": "path",
|
|
19
|
+
"description": "The path to the tsconfig file",
|
|
20
|
+
"id": "#tsconfig"
|
|
21
|
+
},
|
|
22
|
+
"configFile": {
|
|
23
|
+
"title": "Shell Shock Configuration File",
|
|
24
|
+
"type": "string",
|
|
25
|
+
"format": "path",
|
|
26
|
+
"description": "The path to the Shell Shock configuration file",
|
|
27
|
+
"id": "#configFile",
|
|
28
|
+
"default": "{projectRoot}/shell-shock.config.ts"
|
|
29
|
+
},
|
|
30
|
+
"mode": {
|
|
31
|
+
"title": "Mode",
|
|
32
|
+
"type": "string",
|
|
33
|
+
"description": "The build mode",
|
|
34
|
+
"enum": [
|
|
35
|
+
"development",
|
|
36
|
+
"test",
|
|
37
|
+
"production"
|
|
38
|
+
],
|
|
39
|
+
"id": "#mode"
|
|
40
|
+
},
|
|
41
|
+
"skipInstalls": {
|
|
42
|
+
"title": "Skip Installs",
|
|
43
|
+
"type": "boolean",
|
|
44
|
+
"description": "Skip installing dependencies during prepare stage",
|
|
45
|
+
"id": "#skipInstalls"
|
|
46
|
+
},
|
|
47
|
+
"skipCache": {
|
|
48
|
+
"title": "Skip Cache",
|
|
49
|
+
"type": "boolean",
|
|
50
|
+
"description": "Skip the caching mechanism during the build process (if required)",
|
|
51
|
+
"id": "#skipCache"
|
|
52
|
+
},
|
|
53
|
+
"logLevel": {
|
|
54
|
+
"title": "Log Level",
|
|
55
|
+
"type": "string",
|
|
56
|
+
"description": "The log level to use for the build process",
|
|
57
|
+
"enum": [
|
|
58
|
+
"fatal",
|
|
59
|
+
"error",
|
|
60
|
+
"warn",
|
|
61
|
+
"success",
|
|
62
|
+
"info",
|
|
63
|
+
"debug",
|
|
64
|
+
"trace",
|
|
65
|
+
"silent"
|
|
66
|
+
],
|
|
67
|
+
"id": "#logLevel"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"type": "object",
|
|
71
|
+
"default": {
|
|
72
|
+
"outputPath": "dist/{projectRoot}",
|
|
73
|
+
"configFile": "{projectRoot}/shell-shock.config.ts"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';Object.defineProperty(exports,'__esModule',{value:true});var chunkOGORC6MB_cjs=require('../../chunk-OGORC6MB.cjs');require('../../chunk-YXZRI7BT.cjs'),require('../../chunk-PKDDOBUQ.cjs');Object.defineProperty(exports,"default",{enumerable:true,get:function(){return chunkOGORC6MB_cjs.b}});Object.defineProperty(exports,"executorFn",{enumerable:true,get:function(){return chunkOGORC6MB_cjs.a}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{b as default,a as executorFn}from'../../chunk-ZD5Z5HMM.js';import'../../chunk-MOC37UWO.js';import'../../chunk-ZJQUMHFI.js';
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
|
|
2
|
+
// Generated by powerlines
|
|
3
|
+
// Do not edit this file directly
|
|
4
|
+
|
|
5
|
+
export interface DocsExecutorSchema {
|
|
6
|
+
/**
|
|
7
|
+
* Output Path
|
|
8
|
+
*
|
|
9
|
+
* The output path for the build
|
|
10
|
+
*
|
|
11
|
+
* @default "dist/{projectRoot}"
|
|
12
|
+
*
|
|
13
|
+
* @format path
|
|
14
|
+
*/
|
|
15
|
+
outputPath?: string,
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* TypeScript Configuration File
|
|
19
|
+
*
|
|
20
|
+
* The path to the tsconfig file
|
|
21
|
+
*
|
|
22
|
+
*
|
|
23
|
+
* @format path
|
|
24
|
+
*/
|
|
25
|
+
tsconfig?: string,
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Shell Shock Configuration File
|
|
29
|
+
*
|
|
30
|
+
* The path to the Shell Shock configuration file
|
|
31
|
+
*
|
|
32
|
+
* @default "{projectRoot}/shell-shock.config.ts"
|
|
33
|
+
*
|
|
34
|
+
* @format path
|
|
35
|
+
*/
|
|
36
|
+
configFile?: string,
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Mode
|
|
40
|
+
*
|
|
41
|
+
* The build mode
|
|
42
|
+
*
|
|
43
|
+
*
|
|
44
|
+
* @enum development,test,production
|
|
45
|
+
*/
|
|
46
|
+
mode?: string,
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Skip Installs
|
|
50
|
+
*
|
|
51
|
+
* Skip installing dependencies before building
|
|
52
|
+
*
|
|
53
|
+
*/
|
|
54
|
+
skipInstalls?: boolean,
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Skip Cache
|
|
58
|
+
*
|
|
59
|
+
* Skip the cache when building
|
|
60
|
+
*
|
|
61
|
+
*/
|
|
62
|
+
skipCache?: boolean,
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Log Level
|
|
66
|
+
*
|
|
67
|
+
* The log level to use for the build process
|
|
68
|
+
*
|
|
69
|
+
*
|
|
70
|
+
* @enum fatal,error,warn,success,info,debug,trace,silent
|
|
71
|
+
*/
|
|
72
|
+
logLevel?: string,
|
|
73
|
+
}
|
|
74
|
+
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "#",
|
|
3
|
+
"title": "Docs Executor",
|
|
4
|
+
"description": "A type definition for the Powerlines - Docs executor schema",
|
|
5
|
+
"required": [],
|
|
6
|
+
"properties": {
|
|
7
|
+
"outputPath": {
|
|
8
|
+
"title": "Output Path",
|
|
9
|
+
"type": "string",
|
|
10
|
+
"format": "path",
|
|
11
|
+
"description": "The output path for the build",
|
|
12
|
+
"id": "#outputPath",
|
|
13
|
+
"default": "dist/{projectRoot}"
|
|
14
|
+
},
|
|
15
|
+
"tsconfig": {
|
|
16
|
+
"title": "TypeScript Configuration File",
|
|
17
|
+
"type": "string",
|
|
18
|
+
"format": "path",
|
|
19
|
+
"description": "The path to the tsconfig file",
|
|
20
|
+
"id": "#tsconfig"
|
|
21
|
+
},
|
|
22
|
+
"configFile": {
|
|
23
|
+
"title": "Shell Shock Configuration File",
|
|
24
|
+
"type": "string",
|
|
25
|
+
"format": "path",
|
|
26
|
+
"description": "The path to the Shell Shock configuration file",
|
|
27
|
+
"id": "#configFile",
|
|
28
|
+
"default": "{projectRoot}/shell-shock.config.ts"
|
|
29
|
+
},
|
|
30
|
+
"mode": {
|
|
31
|
+
"title": "Mode",
|
|
32
|
+
"type": "string",
|
|
33
|
+
"description": "The build mode",
|
|
34
|
+
"enum": [
|
|
35
|
+
"development",
|
|
36
|
+
"test",
|
|
37
|
+
"production"
|
|
38
|
+
],
|
|
39
|
+
"id": "#mode"
|
|
40
|
+
},
|
|
41
|
+
"skipInstalls": {
|
|
42
|
+
"title": "Skip Installs",
|
|
43
|
+
"type": "boolean",
|
|
44
|
+
"description": "Skip installing dependencies before building",
|
|
45
|
+
"id": "#skipInstalls"
|
|
46
|
+
},
|
|
47
|
+
"skipCache": {
|
|
48
|
+
"title": "Skip Cache",
|
|
49
|
+
"type": "boolean",
|
|
50
|
+
"description": "Skip the cache when building",
|
|
51
|
+
"id": "#skipCache"
|
|
52
|
+
},
|
|
53
|
+
"logLevel": {
|
|
54
|
+
"title": "Log Level",
|
|
55
|
+
"type": "string",
|
|
56
|
+
"description": "The log level to use for the build process",
|
|
57
|
+
"enum": [
|
|
58
|
+
"fatal",
|
|
59
|
+
"error",
|
|
60
|
+
"warn",
|
|
61
|
+
"success",
|
|
62
|
+
"info",
|
|
63
|
+
"debug",
|
|
64
|
+
"trace",
|
|
65
|
+
"silent"
|
|
66
|
+
],
|
|
67
|
+
"id": "#logLevel"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"type": "object",
|
|
71
|
+
"default": {
|
|
72
|
+
"outputPath": "dist/{projectRoot}",
|
|
73
|
+
"configFile": "{projectRoot}/shell-shock.config.ts"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';Object.defineProperty(exports,'__esModule',{value:true});var chunkNCXOX46C_cjs=require('../../chunk-NCXOX46C.cjs');require('../../chunk-YXZRI7BT.cjs'),require('../../chunk-PKDDOBUQ.cjs');Object.defineProperty(exports,"default",{enumerable:true,get:function(){return chunkNCXOX46C_cjs.b}});Object.defineProperty(exports,"executorFn",{enumerable:true,get:function(){return chunkNCXOX46C_cjs.a}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{b as default,a as executorFn}from'../../chunk-JLEWSDGU.js';import'../../chunk-MOC37UWO.js';import'../../chunk-ZJQUMHFI.js';
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
|
|
2
|
+
// Generated by powerlines
|
|
3
|
+
// Do not edit this file directly
|
|
4
|
+
|
|
5
|
+
export interface LintExecutorSchema {
|
|
6
|
+
/**
|
|
7
|
+
* Output Path
|
|
8
|
+
*
|
|
9
|
+
* The output path for the build
|
|
10
|
+
*
|
|
11
|
+
* @default "dist/{projectRoot}"
|
|
12
|
+
*
|
|
13
|
+
* @format path
|
|
14
|
+
*/
|
|
15
|
+
outputPath?: string,
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* TypeScript Configuration File
|
|
19
|
+
*
|
|
20
|
+
* The path to the tsconfig file
|
|
21
|
+
*
|
|
22
|
+
*
|
|
23
|
+
* @format path
|
|
24
|
+
*/
|
|
25
|
+
tsconfig?: string,
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Shell Shock Configuration File
|
|
29
|
+
*
|
|
30
|
+
* The path to the Shell Shock configuration file
|
|
31
|
+
*
|
|
32
|
+
* @default "{projectRoot}/shell-shock.config.ts"
|
|
33
|
+
*
|
|
34
|
+
* @format path
|
|
35
|
+
*/
|
|
36
|
+
configFile?: string,
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Mode
|
|
40
|
+
*
|
|
41
|
+
* The build mode
|
|
42
|
+
*
|
|
43
|
+
*
|
|
44
|
+
* @enum development,test,production
|
|
45
|
+
*/
|
|
46
|
+
mode?: string,
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Skip Installs
|
|
50
|
+
*
|
|
51
|
+
* Skip installing dependencies before building
|
|
52
|
+
*
|
|
53
|
+
*/
|
|
54
|
+
skipInstalls?: boolean,
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Skip Cache
|
|
58
|
+
*
|
|
59
|
+
* Skip the cache when building
|
|
60
|
+
*
|
|
61
|
+
*/
|
|
62
|
+
skipCache?: boolean,
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Log Level
|
|
66
|
+
*
|
|
67
|
+
* The log level to use for the build process
|
|
68
|
+
*
|
|
69
|
+
*
|
|
70
|
+
* @enum fatal,error,warn,success,info,debug,trace,silent
|
|
71
|
+
*/
|
|
72
|
+
logLevel?: string,
|
|
73
|
+
}
|
|
74
|
+
|