@powerlines/nx 0.1.0
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 +490 -0
- package/dist/chunk-23KFTIT2.mjs +1 -0
- package/dist/chunk-2IKNOV7W.mjs +305 -0
- package/dist/chunk-326QB2VK.mjs +14 -0
- package/dist/chunk-3QPPK4K2.js +18 -0
- package/dist/chunk-5K7DMFAV.mjs +15 -0
- package/dist/chunk-6UG6SXHV.js +4307 -0
- package/dist/chunk-6ZABD5GY.js +18 -0
- package/dist/chunk-AKX3TTDA.js +18 -0
- package/dist/chunk-CQP2LCFV.mjs +19 -0
- package/dist/chunk-CYWOTYVX.mjs +108 -0
- package/dist/chunk-E6VIOC6R.mjs +19 -0
- package/dist/chunk-ED7GH5H4.js +30 -0
- package/dist/chunk-ESI25Y6Y.mjs +15 -0
- package/dist/chunk-FK3VJFET.mjs +28 -0
- package/dist/chunk-FXCIWWXO.mjs +15 -0
- package/dist/chunk-HHPODCTP.js +126 -0
- package/dist/chunk-N2YKXZ5R.js +2 -0
- package/dist/chunk-O6BSKBJP.js +26 -0
- package/dist/chunk-O6YSETKJ.mjs +4 -0
- package/dist/chunk-OOERKIVS.js +312 -0
- package/dist/chunk-OZMYXUES.mjs +4276 -0
- package/dist/chunk-SHUYVCID.js +6 -0
- package/dist/chunk-TCSCYVA7.mjs +76 -0
- package/dist/chunk-UV4HQO3Y.mjs +1 -0
- package/dist/chunk-WKH7IEJU.js +26 -0
- package/dist/chunk-WUJKJGEW.js +17 -0
- package/dist/chunk-XO62WWX4.js +2 -0
- package/dist/chunk-XPEFTYN7.js +82 -0
- package/dist/executor-B2Y0F4JC.d.ts +83 -0
- package/dist/executor-BAcpDLQu.d.ts +83 -0
- package/dist/executor-BHIUeaip.d.ts +93 -0
- package/dist/executor-BYGMOBlU.d.mts +83 -0
- package/dist/executor-Ba95I3EK.d.mts +93 -0
- package/dist/executor-CIEyQL42.d.mts +83 -0
- package/dist/executor-CkqLFUNx.d.ts +83 -0
- package/dist/executor-D055lNr2.d.ts +83 -0
- package/dist/executor-D0PJOQkn.d.mts +83 -0
- package/dist/executor-DsRaA9mk.d.mts +83 -0
- package/dist/executors.d.mts +12 -0
- package/dist/executors.d.ts +12 -0
- package/dist/executors.js +34 -0
- package/dist/executors.mjs +9 -0
- package/dist/generators.d.mts +19 -0
- package/dist/generators.d.ts +19 -0
- package/dist/generators.js +16 -0
- package/dist/generators.mjs +3 -0
- package/dist/index.d.mts +16 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.js +53 -0
- package/dist/index.mjs +12 -0
- package/dist/src/base/base-executor.d.mts +27 -0
- package/dist/src/base/base-executor.d.ts +27 -0
- package/dist/src/base/base-executor.js +12 -0
- package/dist/src/base/base-executor.mjs +3 -0
- package/dist/src/base/base-executor.schema.d.d.mts +75 -0
- package/dist/src/base/base-executor.schema.d.d.ts +75 -0
- package/dist/src/base/base-executor.schema.d.js +2 -0
- package/dist/src/base/base-executor.schema.d.mjs +1 -0
- package/dist/src/base/base-executor.schema.d.ts +75 -0
- package/dist/src/base/base-executor.schema.json +77 -0
- package/dist/src/base/base-executor.untyped.d.mts +5 -0
- package/dist/src/base/base-executor.untyped.d.ts +5 -0
- package/dist/src/base/base-executor.untyped.js +10 -0
- package/dist/src/base/base-executor.untyped.mjs +2 -0
- package/dist/src/executors/build/executor.d.mts +8 -0
- package/dist/src/executors/build/executor.d.ts +8 -0
- package/dist/src/executors/build/executor.js +19 -0
- package/dist/src/executors/build/executor.mjs +4 -0
- package/dist/src/executors/build/untyped.d.mts +5 -0
- package/dist/src/executors/build/untyped.d.ts +5 -0
- package/dist/src/executors/build/untyped.js +37 -0
- package/dist/src/executors/build/untyped.mjs +33 -0
- package/dist/src/executors/clean/executor.d.mts +8 -0
- package/dist/src/executors/clean/executor.d.ts +8 -0
- package/dist/src/executors/clean/executor.js +19 -0
- package/dist/src/executors/clean/executor.mjs +4 -0
- package/dist/src/executors/clean/untyped.d.mts +5 -0
- package/dist/src/executors/clean/untyped.d.ts +5 -0
- package/dist/src/executors/clean/untyped.js +19 -0
- package/dist/src/executors/clean/untyped.mjs +15 -0
- package/dist/src/executors/docs/executor.d.mts +8 -0
- package/dist/src/executors/docs/executor.d.ts +8 -0
- package/dist/src/executors/docs/executor.js +19 -0
- package/dist/src/executors/docs/executor.mjs +4 -0
- package/dist/src/executors/docs/untyped.d.mts +5 -0
- package/dist/src/executors/docs/untyped.d.ts +5 -0
- package/dist/src/executors/docs/untyped.js +20 -0
- package/dist/src/executors/docs/untyped.mjs +16 -0
- package/dist/src/executors/lint/executor.d.mts +8 -0
- package/dist/src/executors/lint/executor.d.ts +8 -0
- package/dist/src/executors/lint/executor.js +19 -0
- package/dist/src/executors/lint/executor.mjs +4 -0
- package/dist/src/executors/lint/untyped.d.mts +5 -0
- package/dist/src/executors/lint/untyped.d.ts +5 -0
- package/dist/src/executors/lint/untyped.js +20 -0
- package/dist/src/executors/lint/untyped.mjs +16 -0
- package/dist/src/executors/prepare/executor.d.mts +8 -0
- package/dist/src/executors/prepare/executor.d.ts +8 -0
- package/dist/src/executors/prepare/executor.js +19 -0
- package/dist/src/executors/prepare/executor.mjs +4 -0
- package/dist/src/executors/prepare/untyped.d.mts +5 -0
- package/dist/src/executors/prepare/untyped.d.ts +5 -0
- package/dist/src/executors/prepare/untyped.js +11 -0
- package/dist/src/executors/prepare/untyped.mjs +3 -0
- package/dist/src/generators/sync/generator.d.mts +6 -0
- package/dist/src/generators/sync/generator.d.ts +6 -0
- package/dist/src/generators/sync/generator.js +17 -0
- package/dist/src/generators/sync/generator.mjs +2 -0
- package/dist/src/generators/sync/untyped.d.mts +5 -0
- package/dist/src/generators/sync/untyped.d.ts +5 -0
- package/dist/src/generators/sync/untyped.js +25 -0
- package/dist/src/generators/sync/untyped.mjs +21 -0
- package/dist/src/plugin/index.d.mts +8 -0
- package/dist/src/plugin/index.d.ts +8 -0
- package/dist/src/plugin/index.js +16 -0
- package/dist/src/plugin/index.mjs +3 -0
- package/docs/api/base-executor.schema.md +72 -0
- package/docs/api/build/schema.md +82 -0
- package/docs/api/clean/schema.md +72 -0
- package/docs/api/docs/schema.md +72 -0
- package/docs/api/lint/schema.md +72 -0
- package/docs/api/prepare/schema.md +72 -0
- package/docs/api/sync/schema.md +16 -0
- package/executors.json +30 -0
- package/generators.json +14 -0
- package/package.json +172 -0
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import baseExecutorSchema from '@storm-software/workspace-tools/base/base-executor.untyped';
|
|
2
|
+
import { defineUntypedSchema } from 'untyped';
|
|
3
|
+
|
|
4
|
+
// src/base/base-executor.untyped.ts
|
|
5
|
+
var base_executor_untyped_default = defineUntypedSchema({
|
|
6
|
+
...baseExecutorSchema,
|
|
7
|
+
$schema: {
|
|
8
|
+
id: "BaseExecutorSchema",
|
|
9
|
+
title: "Base Executor",
|
|
10
|
+
description: "A shared/base schema type definition for Powerlines executors",
|
|
11
|
+
required: []
|
|
12
|
+
},
|
|
13
|
+
tsconfig: {
|
|
14
|
+
$schema: {
|
|
15
|
+
title: "TypeScript Configuration File",
|
|
16
|
+
type: "string",
|
|
17
|
+
format: "path",
|
|
18
|
+
description: "The path to the tsconfig file"
|
|
19
|
+
},
|
|
20
|
+
$default: "{projectRoot}/tsconfig.json"
|
|
21
|
+
},
|
|
22
|
+
configFile: {
|
|
23
|
+
$schema: {
|
|
24
|
+
title: "Powerlines Configuration File",
|
|
25
|
+
type: "string",
|
|
26
|
+
format: "path",
|
|
27
|
+
description: "The path to the Powerlines configuration file"
|
|
28
|
+
},
|
|
29
|
+
$default: "{projectRoot}/powerlines.config.ts"
|
|
30
|
+
},
|
|
31
|
+
mode: {
|
|
32
|
+
$schema: {
|
|
33
|
+
title: "Mode",
|
|
34
|
+
type: "string",
|
|
35
|
+
description: "The build mode",
|
|
36
|
+
enum: [
|
|
37
|
+
"development",
|
|
38
|
+
"test",
|
|
39
|
+
"production"
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
skipInstalls: {
|
|
44
|
+
$schema: {
|
|
45
|
+
title: "Skip Installs",
|
|
46
|
+
type: "boolean",
|
|
47
|
+
description: "Skip installing dependencies during prepare stage"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
skipCache: {
|
|
51
|
+
$schema: {
|
|
52
|
+
title: "Skip Cache",
|
|
53
|
+
type: "boolean",
|
|
54
|
+
description: "Skip the caching mechanism during the build process (if required)"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
logLevel: {
|
|
58
|
+
$schema: {
|
|
59
|
+
title: "Log Level",
|
|
60
|
+
type: "string",
|
|
61
|
+
description: "The log level to use for the build process",
|
|
62
|
+
enum: [
|
|
63
|
+
"fatal",
|
|
64
|
+
"error",
|
|
65
|
+
"warn",
|
|
66
|
+
"success",
|
|
67
|
+
"info",
|
|
68
|
+
"debug",
|
|
69
|
+
"trace",
|
|
70
|
+
"silent"
|
|
71
|
+
]
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
});
|
|
75
|
+
|
|
76
|
+
export { base_executor_untyped_default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk6UG6SXHV_js = require('./chunk-6UG6SXHV.js');
|
|
4
|
+
var chunkSHUYVCID_js = require('./chunk-SHUYVCID.js');
|
|
5
|
+
var defu = require('defu');
|
|
6
|
+
|
|
7
|
+
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
8
|
+
|
|
9
|
+
var defu__default = /*#__PURE__*/_interopDefault(defu);
|
|
10
|
+
|
|
11
|
+
async function executorFn(context, api) {
|
|
12
|
+
await api.prepare(defu__default.default({
|
|
13
|
+
command: "prepare",
|
|
14
|
+
skipCache: context.options.skipCache,
|
|
15
|
+
skipInstalls: context.options.skipInstalls
|
|
16
|
+
}, context.inlineConfig));
|
|
17
|
+
return {
|
|
18
|
+
success: true
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
chunkSHUYVCID_js.__name(executorFn, "executorFn");
|
|
22
|
+
var executor = chunk6UG6SXHV_js.withExecutor("prepare", executorFn);
|
|
23
|
+
var executor_default = executor;
|
|
24
|
+
|
|
25
|
+
exports.executorFn = executorFn;
|
|
26
|
+
exports.executor_default = executor_default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkSHUYVCID_js = require('./chunk-SHUYVCID.js');
|
|
4
|
+
var devkit = require('@nx/devkit');
|
|
5
|
+
|
|
6
|
+
async function generatorFn(tree) {
|
|
7
|
+
const nxJson = devkit.readNxJson(tree);
|
|
8
|
+
const userOptions = nxJson?.sync?.generatorOptions?.["@powerlines/nx:sync"];
|
|
9
|
+
return {
|
|
10
|
+
outOfSyncMessage: userOptions?.outOfSyncMessage || "The legal-message.txt file needs to be created"
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
chunkSHUYVCID_js.__name(generatorFn, "generatorFn");
|
|
14
|
+
var generator_default = generatorFn;
|
|
15
|
+
|
|
16
|
+
exports.generatorFn = generatorFn;
|
|
17
|
+
exports.generator_default = generator_default;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var baseExecutorSchema = require('@storm-software/workspace-tools/base/base-executor.untyped');
|
|
4
|
+
var untyped = require('untyped');
|
|
5
|
+
|
|
6
|
+
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
7
|
+
|
|
8
|
+
var baseExecutorSchema__default = /*#__PURE__*/_interopDefault(baseExecutorSchema);
|
|
9
|
+
|
|
10
|
+
// src/base/base-executor.untyped.ts
|
|
11
|
+
var base_executor_untyped_default = untyped.defineUntypedSchema({
|
|
12
|
+
...baseExecutorSchema__default.default,
|
|
13
|
+
$schema: {
|
|
14
|
+
id: "BaseExecutorSchema",
|
|
15
|
+
title: "Base Executor",
|
|
16
|
+
description: "A shared/base schema type definition for Powerlines executors",
|
|
17
|
+
required: []
|
|
18
|
+
},
|
|
19
|
+
tsconfig: {
|
|
20
|
+
$schema: {
|
|
21
|
+
title: "TypeScript Configuration File",
|
|
22
|
+
type: "string",
|
|
23
|
+
format: "path",
|
|
24
|
+
description: "The path to the tsconfig file"
|
|
25
|
+
},
|
|
26
|
+
$default: "{projectRoot}/tsconfig.json"
|
|
27
|
+
},
|
|
28
|
+
configFile: {
|
|
29
|
+
$schema: {
|
|
30
|
+
title: "Powerlines Configuration File",
|
|
31
|
+
type: "string",
|
|
32
|
+
format: "path",
|
|
33
|
+
description: "The path to the Powerlines configuration file"
|
|
34
|
+
},
|
|
35
|
+
$default: "{projectRoot}/powerlines.config.ts"
|
|
36
|
+
},
|
|
37
|
+
mode: {
|
|
38
|
+
$schema: {
|
|
39
|
+
title: "Mode",
|
|
40
|
+
type: "string",
|
|
41
|
+
description: "The build mode",
|
|
42
|
+
enum: [
|
|
43
|
+
"development",
|
|
44
|
+
"test",
|
|
45
|
+
"production"
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
skipInstalls: {
|
|
50
|
+
$schema: {
|
|
51
|
+
title: "Skip Installs",
|
|
52
|
+
type: "boolean",
|
|
53
|
+
description: "Skip installing dependencies during prepare stage"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
skipCache: {
|
|
57
|
+
$schema: {
|
|
58
|
+
title: "Skip Cache",
|
|
59
|
+
type: "boolean",
|
|
60
|
+
description: "Skip the caching mechanism during the build process (if required)"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
logLevel: {
|
|
64
|
+
$schema: {
|
|
65
|
+
title: "Log Level",
|
|
66
|
+
type: "string",
|
|
67
|
+
description: "The log level to use for the build process",
|
|
68
|
+
enum: [
|
|
69
|
+
"fatal",
|
|
70
|
+
"error",
|
|
71
|
+
"warn",
|
|
72
|
+
"success",
|
|
73
|
+
"info",
|
|
74
|
+
"debug",
|
|
75
|
+
"trace",
|
|
76
|
+
"silent"
|
|
77
|
+
]
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
});
|
|
81
|
+
|
|
82
|
+
exports.base_executor_untyped_default = base_executor_untyped_default;
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { PromiseExecutor } from '@nx/devkit';
|
|
2
|
+
import { BaseExecutorResult } from '@storm-software/workspace-tools/types';
|
|
3
|
+
import PowerlinesAPI from 'powerlines';
|
|
4
|
+
import { PowerlinesExecutorContext } from './src/base/base-executor.js';
|
|
5
|
+
|
|
6
|
+
// Generated by @storm-software/untyped
|
|
7
|
+
// Do not edit this file directly
|
|
8
|
+
|
|
9
|
+
interface CleanExecutorSchema {
|
|
10
|
+
/**
|
|
11
|
+
* Output Path
|
|
12
|
+
*
|
|
13
|
+
* The output path for the build
|
|
14
|
+
*
|
|
15
|
+
* @default "dist/{projectRoot}"
|
|
16
|
+
*
|
|
17
|
+
* @format path
|
|
18
|
+
*/
|
|
19
|
+
outputPath?: string,
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* TypeScript Configuration File
|
|
23
|
+
*
|
|
24
|
+
* The path to the tsconfig file
|
|
25
|
+
*
|
|
26
|
+
* @default "{projectRoot}/tsconfig.json"
|
|
27
|
+
*
|
|
28
|
+
* @format path
|
|
29
|
+
*/
|
|
30
|
+
tsconfig?: string,
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Powerlines Configuration File
|
|
34
|
+
*
|
|
35
|
+
* The path to the Powerlines configuration file
|
|
36
|
+
*
|
|
37
|
+
* @default "{projectRoot}/powerlines.config.ts"
|
|
38
|
+
*
|
|
39
|
+
* @format path
|
|
40
|
+
*/
|
|
41
|
+
configFile?: string,
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Mode
|
|
45
|
+
*
|
|
46
|
+
* The build mode
|
|
47
|
+
*
|
|
48
|
+
*
|
|
49
|
+
* @enum development,test,production
|
|
50
|
+
*/
|
|
51
|
+
mode?: string,
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Skip Installs
|
|
55
|
+
*
|
|
56
|
+
* Skip installing dependencies during prepare stage
|
|
57
|
+
*
|
|
58
|
+
*/
|
|
59
|
+
skipInstalls?: boolean,
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Skip Cache
|
|
63
|
+
*
|
|
64
|
+
* Skip the caching mechanism during the build process (if required)
|
|
65
|
+
*
|
|
66
|
+
*/
|
|
67
|
+
skipCache?: boolean,
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Log Level
|
|
71
|
+
*
|
|
72
|
+
* The log level to use for the build process
|
|
73
|
+
*
|
|
74
|
+
*
|
|
75
|
+
* @enum fatal,error,warn,success,info,debug,trace,silent
|
|
76
|
+
*/
|
|
77
|
+
logLevel?: string,
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
declare function executorFn(context: PowerlinesExecutorContext<"clean", CleanExecutorSchema>, api: PowerlinesAPI): Promise<BaseExecutorResult>;
|
|
81
|
+
declare const executor: PromiseExecutor<CleanExecutorSchema>;
|
|
82
|
+
|
|
83
|
+
export { type CleanExecutorSchema as C, executorFn as a, executor as e };
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { PromiseExecutor } from '@nx/devkit';
|
|
2
|
+
import { BaseExecutorResult } from '@storm-software/workspace-tools/types';
|
|
3
|
+
import PowerlinesAPI from 'powerlines';
|
|
4
|
+
import { PowerlinesExecutorContext } from './src/base/base-executor.js';
|
|
5
|
+
|
|
6
|
+
// Generated by @storm-software/untyped
|
|
7
|
+
// Do not edit this file directly
|
|
8
|
+
|
|
9
|
+
interface LintExecutorSchema {
|
|
10
|
+
/**
|
|
11
|
+
* Output Path
|
|
12
|
+
*
|
|
13
|
+
* The output path for the build
|
|
14
|
+
*
|
|
15
|
+
* @default "dist/{projectRoot}"
|
|
16
|
+
*
|
|
17
|
+
* @format path
|
|
18
|
+
*/
|
|
19
|
+
outputPath?: string,
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* TypeScript Configuration File
|
|
23
|
+
*
|
|
24
|
+
* The path to the tsconfig file
|
|
25
|
+
*
|
|
26
|
+
* @default "{projectRoot}/tsconfig.json"
|
|
27
|
+
*
|
|
28
|
+
* @format path
|
|
29
|
+
*/
|
|
30
|
+
tsconfig?: string,
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Powerlines Configuration File
|
|
34
|
+
*
|
|
35
|
+
* The path to the Powerlines configuration file
|
|
36
|
+
*
|
|
37
|
+
* @default "{projectRoot}/powerlines.config.ts"
|
|
38
|
+
*
|
|
39
|
+
* @format path
|
|
40
|
+
*/
|
|
41
|
+
configFile?: string,
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Mode
|
|
45
|
+
*
|
|
46
|
+
* The build mode
|
|
47
|
+
*
|
|
48
|
+
*
|
|
49
|
+
* @enum development,test,production
|
|
50
|
+
*/
|
|
51
|
+
mode?: string,
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Skip Installs
|
|
55
|
+
*
|
|
56
|
+
* Skip installing dependencies before building
|
|
57
|
+
*
|
|
58
|
+
*/
|
|
59
|
+
skipInstalls?: boolean,
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Skip Cache
|
|
63
|
+
*
|
|
64
|
+
* Skip the cache when building
|
|
65
|
+
*
|
|
66
|
+
*/
|
|
67
|
+
skipCache?: boolean,
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Log Level
|
|
71
|
+
*
|
|
72
|
+
* The log level to use for the build process
|
|
73
|
+
*
|
|
74
|
+
*
|
|
75
|
+
* @enum fatal,error,warn,success,info,debug,trace,silent
|
|
76
|
+
*/
|
|
77
|
+
logLevel?: string,
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
declare function executorFn(context: PowerlinesExecutorContext<"lint", LintExecutorSchema>, api: PowerlinesAPI): Promise<BaseExecutorResult>;
|
|
81
|
+
declare const executor: PromiseExecutor<LintExecutorSchema>;
|
|
82
|
+
|
|
83
|
+
export { type LintExecutorSchema as L, executorFn as a, executor as e };
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { PromiseExecutor } from '@nx/devkit';
|
|
2
|
+
import { BaseExecutorResult } from '@storm-software/workspace-tools/types';
|
|
3
|
+
import PowerlinesAPI from 'powerlines';
|
|
4
|
+
import { PowerlinesExecutorContext } from './src/base/base-executor.js';
|
|
5
|
+
|
|
6
|
+
// Generated by @storm-software/untyped
|
|
7
|
+
// Do not edit this file directly
|
|
8
|
+
|
|
9
|
+
interface BuildExecutorSchema {
|
|
10
|
+
/**
|
|
11
|
+
* Output Path
|
|
12
|
+
*
|
|
13
|
+
* The output path for the build
|
|
14
|
+
*
|
|
15
|
+
* @default "dist/{projectRoot}"
|
|
16
|
+
*
|
|
17
|
+
* @format path
|
|
18
|
+
*/
|
|
19
|
+
outputPath?: string,
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* TypeScript Configuration File
|
|
23
|
+
*
|
|
24
|
+
* The path to the tsconfig file
|
|
25
|
+
*
|
|
26
|
+
* @default "{projectRoot}/tsconfig.json"
|
|
27
|
+
*
|
|
28
|
+
* @format path
|
|
29
|
+
*/
|
|
30
|
+
tsconfig?: string,
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Powerlines Configuration File
|
|
34
|
+
*
|
|
35
|
+
* The path to the Powerlines configuration file
|
|
36
|
+
*
|
|
37
|
+
* @default "{projectRoot}/powerlines.config.ts"
|
|
38
|
+
*
|
|
39
|
+
* @format path
|
|
40
|
+
*/
|
|
41
|
+
configFile?: string,
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Mode
|
|
45
|
+
*
|
|
46
|
+
* The build mode
|
|
47
|
+
*
|
|
48
|
+
*
|
|
49
|
+
* @enum development,test,production
|
|
50
|
+
*/
|
|
51
|
+
mode?: string,
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Skip Installs
|
|
55
|
+
*
|
|
56
|
+
* Skip installing dependencies before building
|
|
57
|
+
*
|
|
58
|
+
*/
|
|
59
|
+
skipInstalls?: boolean,
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Skip Cache
|
|
63
|
+
*
|
|
64
|
+
* Skip the cache when building
|
|
65
|
+
*
|
|
66
|
+
*/
|
|
67
|
+
skipCache?: boolean,
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Log Level
|
|
71
|
+
*
|
|
72
|
+
* The log level to use for the build process
|
|
73
|
+
*
|
|
74
|
+
*
|
|
75
|
+
* @enum fatal,error,warn,success,info,debug,trace,silent
|
|
76
|
+
*/
|
|
77
|
+
logLevel?: string,
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Entry Path(s)
|
|
81
|
+
*
|
|
82
|
+
* The entry path(s) for the package
|
|
83
|
+
*
|
|
84
|
+
*
|
|
85
|
+
* @oneOf [object Object],[object Object]
|
|
86
|
+
*/
|
|
87
|
+
entry?: any,
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
declare function executorFn(context: PowerlinesExecutorContext<"build", BuildExecutorSchema>, api: PowerlinesAPI): Promise<BaseExecutorResult>;
|
|
91
|
+
declare const executor: PromiseExecutor<BuildExecutorSchema>;
|
|
92
|
+
|
|
93
|
+
export { type BuildExecutorSchema as B, executorFn as a, executor as e };
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { PromiseExecutor } from '@nx/devkit';
|
|
2
|
+
import { BaseExecutorResult } from '@storm-software/workspace-tools/types';
|
|
3
|
+
import PowerlinesAPI from 'powerlines';
|
|
4
|
+
import { PowerlinesExecutorContext } from './src/base/base-executor.mjs';
|
|
5
|
+
|
|
6
|
+
// Generated by @storm-software/untyped
|
|
7
|
+
// Do not edit this file directly
|
|
8
|
+
|
|
9
|
+
interface CleanExecutorSchema {
|
|
10
|
+
/**
|
|
11
|
+
* Output Path
|
|
12
|
+
*
|
|
13
|
+
* The output path for the build
|
|
14
|
+
*
|
|
15
|
+
* @default "dist/{projectRoot}"
|
|
16
|
+
*
|
|
17
|
+
* @format path
|
|
18
|
+
*/
|
|
19
|
+
outputPath?: string,
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* TypeScript Configuration File
|
|
23
|
+
*
|
|
24
|
+
* The path to the tsconfig file
|
|
25
|
+
*
|
|
26
|
+
* @default "{projectRoot}/tsconfig.json"
|
|
27
|
+
*
|
|
28
|
+
* @format path
|
|
29
|
+
*/
|
|
30
|
+
tsconfig?: string,
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Powerlines Configuration File
|
|
34
|
+
*
|
|
35
|
+
* The path to the Powerlines configuration file
|
|
36
|
+
*
|
|
37
|
+
* @default "{projectRoot}/powerlines.config.ts"
|
|
38
|
+
*
|
|
39
|
+
* @format path
|
|
40
|
+
*/
|
|
41
|
+
configFile?: string,
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Mode
|
|
45
|
+
*
|
|
46
|
+
* The build mode
|
|
47
|
+
*
|
|
48
|
+
*
|
|
49
|
+
* @enum development,test,production
|
|
50
|
+
*/
|
|
51
|
+
mode?: string,
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Skip Installs
|
|
55
|
+
*
|
|
56
|
+
* Skip installing dependencies during prepare stage
|
|
57
|
+
*
|
|
58
|
+
*/
|
|
59
|
+
skipInstalls?: boolean,
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Skip Cache
|
|
63
|
+
*
|
|
64
|
+
* Skip the caching mechanism during the build process (if required)
|
|
65
|
+
*
|
|
66
|
+
*/
|
|
67
|
+
skipCache?: boolean,
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Log Level
|
|
71
|
+
*
|
|
72
|
+
* The log level to use for the build process
|
|
73
|
+
*
|
|
74
|
+
*
|
|
75
|
+
* @enum fatal,error,warn,success,info,debug,trace,silent
|
|
76
|
+
*/
|
|
77
|
+
logLevel?: string,
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
declare function executorFn(context: PowerlinesExecutorContext<"clean", CleanExecutorSchema>, api: PowerlinesAPI): Promise<BaseExecutorResult>;
|
|
81
|
+
declare const executor: PromiseExecutor<CleanExecutorSchema>;
|
|
82
|
+
|
|
83
|
+
export { type CleanExecutorSchema as C, executorFn as a, executor as e };
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { PromiseExecutor } from '@nx/devkit';
|
|
2
|
+
import { BaseExecutorResult } from '@storm-software/workspace-tools/types';
|
|
3
|
+
import PowerlinesAPI from 'powerlines';
|
|
4
|
+
import { PowerlinesExecutorContext } from './src/base/base-executor.mjs';
|
|
5
|
+
|
|
6
|
+
// Generated by @storm-software/untyped
|
|
7
|
+
// Do not edit this file directly
|
|
8
|
+
|
|
9
|
+
interface BuildExecutorSchema {
|
|
10
|
+
/**
|
|
11
|
+
* Output Path
|
|
12
|
+
*
|
|
13
|
+
* The output path for the build
|
|
14
|
+
*
|
|
15
|
+
* @default "dist/{projectRoot}"
|
|
16
|
+
*
|
|
17
|
+
* @format path
|
|
18
|
+
*/
|
|
19
|
+
outputPath?: string,
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* TypeScript Configuration File
|
|
23
|
+
*
|
|
24
|
+
* The path to the tsconfig file
|
|
25
|
+
*
|
|
26
|
+
* @default "{projectRoot}/tsconfig.json"
|
|
27
|
+
*
|
|
28
|
+
* @format path
|
|
29
|
+
*/
|
|
30
|
+
tsconfig?: string,
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Powerlines Configuration File
|
|
34
|
+
*
|
|
35
|
+
* The path to the Powerlines configuration file
|
|
36
|
+
*
|
|
37
|
+
* @default "{projectRoot}/powerlines.config.ts"
|
|
38
|
+
*
|
|
39
|
+
* @format path
|
|
40
|
+
*/
|
|
41
|
+
configFile?: string,
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Mode
|
|
45
|
+
*
|
|
46
|
+
* The build mode
|
|
47
|
+
*
|
|
48
|
+
*
|
|
49
|
+
* @enum development,test,production
|
|
50
|
+
*/
|
|
51
|
+
mode?: string,
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Skip Installs
|
|
55
|
+
*
|
|
56
|
+
* Skip installing dependencies before building
|
|
57
|
+
*
|
|
58
|
+
*/
|
|
59
|
+
skipInstalls?: boolean,
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Skip Cache
|
|
63
|
+
*
|
|
64
|
+
* Skip the cache when building
|
|
65
|
+
*
|
|
66
|
+
*/
|
|
67
|
+
skipCache?: boolean,
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Log Level
|
|
71
|
+
*
|
|
72
|
+
* The log level to use for the build process
|
|
73
|
+
*
|
|
74
|
+
*
|
|
75
|
+
* @enum fatal,error,warn,success,info,debug,trace,silent
|
|
76
|
+
*/
|
|
77
|
+
logLevel?: string,
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Entry Path(s)
|
|
81
|
+
*
|
|
82
|
+
* The entry path(s) for the package
|
|
83
|
+
*
|
|
84
|
+
*
|
|
85
|
+
* @oneOf [object Object],[object Object]
|
|
86
|
+
*/
|
|
87
|
+
entry?: any,
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
declare function executorFn(context: PowerlinesExecutorContext<"build", BuildExecutorSchema>, api: PowerlinesAPI): Promise<BaseExecutorResult>;
|
|
91
|
+
declare const executor: PromiseExecutor<BuildExecutorSchema>;
|
|
92
|
+
|
|
93
|
+
export { type BuildExecutorSchema as B, executorFn as a, executor as e };
|