@powerlines/nx 0.13.231 → 0.13.233
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.schema.d.ts +175 -164
- package/package.json +28 -18
- package/dist/src/_virtual/_rolldown/runtime.js +0 -28
- package/dist/src/base/base-executor.d.mts +0 -60
- package/dist/src/base/base-executor.d.mts.map +0 -1
- package/dist/src/base/base-executor.d.ts +0 -60
- package/dist/src/base/base-executor.d.ts.map +0 -1
- package/dist/src/base/base-executor.js +0 -118
- package/dist/src/base/base-executor.mjs +0 -116
- package/dist/src/base/base-executor.mjs.map +0 -1
- package/dist/src/base/base-executor.schema.d.js +0 -0
- package/dist/src/base/base-executor.schema.d.mts +0 -167
- package/dist/src/base/base-executor.schema.d.mts.map +0 -1
- package/dist/src/base/base-executor.schema.d.ts.map +0 -1
- package/dist/src/base/base-executor.untyped.d.mts +0 -5
- package/dist/src/base/base-executor.untyped.d.mts.map +0 -1
- package/dist/src/base/base-executor.untyped.d.ts +0 -4
- package/dist/src/base/base-executor.untyped.d.ts.map +0 -1
- package/dist/src/base/base-executor.untyped.js +0 -176
- package/dist/src/base/base-executor.untyped.mjs +0 -177
- package/dist/src/base/base-executor.untyped.mjs.map +0 -1
- package/dist/src/base/index.d.mts +0 -2
- package/dist/src/base/index.d.ts +0 -2
- package/dist/src/base/index.js +0 -5
- package/dist/src/base/index.mjs +0 -4
- package/dist/src/base-executor-BTwUZeOz.js +0 -122
- package/dist/src/base-executor-HCD7M10I.mjs +0 -116
- package/dist/src/base-executor-HCD7M10I.mjs.map +0 -1
- package/dist/src/base-executor.untyped-B9Vk-kJC.mjs +0 -177
- package/dist/src/base-executor.untyped-B9Vk-kJC.mjs.map +0 -1
- package/dist/src/base-executor.untyped-DZhWL1zT.js +0 -181
- package/dist/src/executors/build/executor.d.mts +0 -194
- package/dist/src/executors/build/executor.d.mts.map +0 -1
- package/dist/src/executors/build/executor.d.ts +0 -193
- package/dist/src/executors/build/executor.d.ts.map +0 -1
- package/dist/src/executors/build/executor.js +0 -11
- package/dist/src/executors/build/executor.mjs +0 -12
- package/dist/src/executors/build/executor.mjs.map +0 -1
- package/dist/src/executors/build/untyped.d.mts +0 -5
- package/dist/src/executors/build/untyped.d.mts.map +0 -1
- package/dist/src/executors/build/untyped.d.ts +0 -4
- package/dist/src/executors/build/untyped.d.ts.map +0 -1
- package/dist/src/executors/build/untyped.js +0 -24
- package/dist/src/executors/build/untyped.mjs +0 -25
- package/dist/src/executors/build/untyped.mjs.map +0 -1
- package/dist/src/executors/clean/executor.d.mts +0 -171
- package/dist/src/executors/clean/executor.d.mts.map +0 -1
- package/dist/src/executors/clean/executor.d.ts +0 -170
- package/dist/src/executors/clean/executor.d.ts.map +0 -1
- package/dist/src/executors/clean/executor.js +0 -11
- package/dist/src/executors/clean/executor.mjs +0 -12
- package/dist/src/executors/clean/executor.mjs.map +0 -1
- package/dist/src/executors/clean/untyped.d.mts +0 -5
- package/dist/src/executors/clean/untyped.d.mts.map +0 -1
- package/dist/src/executors/clean/untyped.d.ts +0 -4
- package/dist/src/executors/clean/untyped.d.ts.map +0 -1
- package/dist/src/executors/clean/untyped.js +0 -16
- package/dist/src/executors/clean/untyped.mjs +0 -17
- package/dist/src/executors/clean/untyped.mjs.map +0 -1
- package/dist/src/executors/docs/executor.d.mts +0 -185
- package/dist/src/executors/docs/executor.d.mts.map +0 -1
- package/dist/src/executors/docs/executor.d.ts +0 -184
- package/dist/src/executors/docs/executor.d.ts.map +0 -1
- package/dist/src/executors/docs/executor.js +0 -11
- package/dist/src/executors/docs/executor.mjs +0 -12
- package/dist/src/executors/docs/executor.mjs.map +0 -1
- package/dist/src/executors/docs/untyped.d.mts +0 -5
- package/dist/src/executors/docs/untyped.d.mts.map +0 -1
- package/dist/src/executors/docs/untyped.d.ts +0 -4
- package/dist/src/executors/docs/untyped.d.ts.map +0 -1
- package/dist/src/executors/docs/untyped.js +0 -16
- package/dist/src/executors/docs/untyped.mjs +0 -17
- package/dist/src/executors/docs/untyped.mjs.map +0 -1
- package/dist/src/executors/lint/executor.d.mts +0 -185
- package/dist/src/executors/lint/executor.d.mts.map +0 -1
- package/dist/src/executors/lint/executor.d.ts +0 -184
- package/dist/src/executors/lint/executor.d.ts.map +0 -1
- package/dist/src/executors/lint/executor.js +0 -11
- package/dist/src/executors/lint/executor.mjs +0 -12
- package/dist/src/executors/lint/executor.mjs.map +0 -1
- package/dist/src/executors/lint/untyped.d.mts +0 -5
- package/dist/src/executors/lint/untyped.d.mts.map +0 -1
- package/dist/src/executors/lint/untyped.d.ts +0 -4
- package/dist/src/executors/lint/untyped.d.ts.map +0 -1
- package/dist/src/executors/lint/untyped.js +0 -16
- package/dist/src/executors/lint/untyped.mjs +0 -17
- package/dist/src/executors/lint/untyped.mjs.map +0 -1
- package/dist/src/executors/prepare/executor.d.mts +0 -185
- package/dist/src/executors/prepare/executor.d.mts.map +0 -1
- package/dist/src/executors/prepare/executor.d.ts +0 -184
- package/dist/src/executors/prepare/executor.d.ts.map +0 -1
- package/dist/src/executors/prepare/executor.js +0 -11
- package/dist/src/executors/prepare/executor.mjs +0 -12
- package/dist/src/executors/prepare/executor.mjs.map +0 -1
- package/dist/src/executors/prepare/untyped.d.mts +0 -5
- package/dist/src/executors/prepare/untyped.d.mts.map +0 -1
- package/dist/src/executors/prepare/untyped.d.ts +0 -4
- package/dist/src/executors/prepare/untyped.d.ts.map +0 -1
- package/dist/src/executors/prepare/untyped.js +0 -26
- package/dist/src/executors/prepare/untyped.mjs +0 -27
- package/dist/src/executors/prepare/untyped.mjs.map +0 -1
- package/dist/src/generators/sync/generator.d.mts +0 -7
- package/dist/src/generators/sync/generator.d.mts.map +0 -1
- package/dist/src/generators/sync/generator.d.ts +0 -7
- package/dist/src/generators/sync/generator.d.ts.map +0 -1
- package/dist/src/generators/sync/generator.js +0 -11
- package/dist/src/generators/sync/generator.mjs +0 -10
- package/dist/src/generators/sync/generator.mjs.map +0 -1
- package/dist/src/generators/sync/untyped.d.mts +0 -5
- package/dist/src/generators/sync/untyped.d.mts.map +0 -1
- package/dist/src/generators/sync/untyped.d.ts +0 -4
- package/dist/src/generators/sync/untyped.d.ts.map +0 -1
- package/dist/src/generators/sync/untyped.js +0 -22
- package/dist/src/generators/sync/untyped.mjs +0 -23
- package/dist/src/generators/sync/untyped.mjs.map +0 -1
- package/dist/src/helpers/constants.d.mts +0 -8
- package/dist/src/helpers/constants.d.mts.map +0 -1
- package/dist/src/helpers/constants.d.ts +0 -8
- package/dist/src/helpers/constants.d.ts.map +0 -1
- package/dist/src/helpers/constants.js +0 -34
- package/dist/src/helpers/constants.mjs +0 -34
- package/dist/src/helpers/constants.mjs.map +0 -1
- package/dist/src/helpers/index.d.mts +0 -3
- package/dist/src/helpers/index.d.ts +0 -3
- package/dist/src/helpers/index.js +0 -8
- package/dist/src/helpers/index.mjs +0 -4
- package/dist/src/helpers/plugin-utilities.d.mts +0 -56
- package/dist/src/helpers/plugin-utilities.d.mts.map +0 -1
- package/dist/src/helpers/plugin-utilities.d.ts +0 -56
- package/dist/src/helpers/plugin-utilities.d.ts.map +0 -1
- package/dist/src/helpers/plugin-utilities.js +0 -255
- package/dist/src/helpers/plugin-utilities.mjs +0 -251
- package/dist/src/helpers/plugin-utilities.mjs.map +0 -1
- package/dist/src/index.d.mts +0 -7
- package/dist/src/index.d.ts +0 -7
- package/dist/src/index.js +0 -12
- package/dist/src/index.mjs +0 -7
- package/dist/src/plugin/index.d.mts +0 -291
- package/dist/src/plugin/index.d.mts.map +0 -1
- package/dist/src/plugin/index.d.ts +0 -291
- package/dist/src/plugin/index.d.ts.map +0 -1
- package/dist/src/plugin/index.js +0 -288
- package/dist/src/plugin/index.mjs +0 -286
- package/dist/src/plugin/index.mjs.map +0 -1
- package/dist/src/rolldown-runtime-C24Yb2bl.js +0 -33
- package/dist/src/types/index.d.mts +0 -2
- package/dist/src/types/index.d.ts +0 -2
- package/dist/src/types/index.js +0 -0
- package/dist/src/types/index.mjs +0 -1
- package/dist/src/types/plugin.d.mts +0 -288
- package/dist/src/types/plugin.d.mts.map +0 -1
- package/dist/src/types/plugin.d.ts +0 -288
- package/dist/src/types/plugin.d.ts.map +0 -1
- package/dist/src/types/plugin.js +0 -0
- package/dist/src/types/plugin.mjs +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"untyped.d.ts","names":[],"sources":["../../../../src/executors/lint/untyped.ts"],"mappings":""}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
const require_executors_prepare_untyped = require('../prepare/untyped.js');
|
|
2
|
-
let untyped = require("untyped");
|
|
3
|
-
|
|
4
|
-
//#region src/executors/lint/untyped.ts
|
|
5
|
-
var untyped_default = (0, untyped.defineUntypedSchema)({
|
|
6
|
-
...require_executors_prepare_untyped,
|
|
7
|
-
$schema: {
|
|
8
|
-
id: "LintExecutorSchema",
|
|
9
|
-
title: "Lint Executor",
|
|
10
|
-
description: "A type definition for the Powerlines - Lint executor schema",
|
|
11
|
-
required: []
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
|
|
15
|
-
//#endregion
|
|
16
|
-
module.exports = untyped_default;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import untyped_default$1 from "../prepare/untyped.mjs";
|
|
2
|
-
import { defineUntypedSchema } from "untyped";
|
|
3
|
-
|
|
4
|
-
//#region src/executors/lint/untyped.ts
|
|
5
|
-
var untyped_default = defineUntypedSchema({
|
|
6
|
-
...untyped_default$1,
|
|
7
|
-
$schema: {
|
|
8
|
-
id: "LintExecutorSchema",
|
|
9
|
-
title: "Lint Executor",
|
|
10
|
-
description: "A type definition for the Powerlines - Lint executor schema",
|
|
11
|
-
required: []
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
|
|
15
|
-
//#endregion
|
|
16
|
-
export { untyped_default as default };
|
|
17
|
-
//# sourceMappingURL=untyped.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"untyped.mjs","names":["prepareExecutorSchema"],"sources":["../../../../src/executors/lint/untyped.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 { defineUntypedSchema } from \"untyped\";\nimport prepareExecutorSchema from \"../prepare/untyped\";\n\nexport default defineUntypedSchema({\n ...prepareExecutorSchema,\n $schema: {\n id: \"LintExecutorSchema\",\n title: \"Lint Executor\",\n description: \"A type definition for the Powerlines - Lint executor schema\",\n required: []\n }\n});\n"],"mappings":";;;;AAqBA,sBAAe,oBAAoB;CACjC,GAAGA;CACH,SAAS;EACP,IAAI;EACJ,OAAO;EACP,aAAa;EACb,UAAU,CAAC;CACb;AACF,CAAC"}
|
|
@@ -1,185 +0,0 @@
|
|
|
1
|
-
import { PromiseExecutor } from "@nx/devkit";
|
|
2
|
-
//#region src/executors/prepare/schema.d.ts
|
|
3
|
-
// Generated by @storm-software/untyped
|
|
4
|
-
// Do not edit this file directly
|
|
5
|
-
interface PrepareExecutorSchema {
|
|
6
|
-
/**
|
|
7
|
-
* Powerlines Configuration File
|
|
8
|
-
*
|
|
9
|
-
* The path to the Powerlines configuration file. Alias for `configFile`.
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
* @format path
|
|
13
|
-
*/
|
|
14
|
-
config?: string;
|
|
15
|
-
/**
|
|
16
|
-
* Powerlines Configuration File
|
|
17
|
-
*
|
|
18
|
-
* The path to the Powerlines configuration file. Alias for `config`.
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
* @format path
|
|
22
|
-
*/
|
|
23
|
-
configFile?: string;
|
|
24
|
-
/**
|
|
25
|
-
* Powerlines Configuration Index
|
|
26
|
-
*
|
|
27
|
-
* The index in the Powerlines configuration file to use (if an array of configurations are provided).
|
|
28
|
-
*
|
|
29
|
-
* @default 0
|
|
30
|
-
*/
|
|
31
|
-
configIndex?: number;
|
|
32
|
-
/**
|
|
33
|
-
* Input Entry File(s)
|
|
34
|
-
*
|
|
35
|
-
* The entry file(s) that serve as the input for the project
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
* @format path
|
|
39
|
-
*/
|
|
40
|
-
input?: Array<string>;
|
|
41
|
-
/**
|
|
42
|
-
* TSConfig Path
|
|
43
|
-
*
|
|
44
|
-
* The path to the tsconfig file
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
* @format path
|
|
48
|
-
*/
|
|
49
|
-
tsconfig?: string;
|
|
50
|
-
/**
|
|
51
|
-
* Output Path
|
|
52
|
-
*
|
|
53
|
-
* The path to the output directory for the build artifacts
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
* @format path
|
|
57
|
-
*/
|
|
58
|
-
outputPath?: string;
|
|
59
|
-
/**
|
|
60
|
-
* Copy Path
|
|
61
|
-
*
|
|
62
|
-
* A directory path to copy the build artifacts into
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
* @oneOf [object Object],[object Object]
|
|
66
|
-
*/
|
|
67
|
-
copyPath?: any;
|
|
68
|
-
/**
|
|
69
|
-
* Sourcemap
|
|
70
|
-
*
|
|
71
|
-
* Generate a sourcemap
|
|
72
|
-
*
|
|
73
|
-
*/
|
|
74
|
-
sourceMap?: boolean;
|
|
75
|
-
/**
|
|
76
|
-
* Minify
|
|
77
|
-
*
|
|
78
|
-
* Minify the output
|
|
79
|
-
*
|
|
80
|
-
*/
|
|
81
|
-
minify?: boolean;
|
|
82
|
-
/**
|
|
83
|
-
* Format
|
|
84
|
-
*
|
|
85
|
-
* The format to build
|
|
86
|
-
*
|
|
87
|
-
* @default ["cjs","esm"]
|
|
88
|
-
*/
|
|
89
|
-
format?: Array<string>;
|
|
90
|
-
/**
|
|
91
|
-
* Platform
|
|
92
|
-
*
|
|
93
|
-
* The platform to build
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
* @enum neutral,node,browser
|
|
97
|
-
*/
|
|
98
|
-
platform?: string;
|
|
99
|
-
/**
|
|
100
|
-
* External
|
|
101
|
-
*
|
|
102
|
-
* The external dependencies
|
|
103
|
-
*
|
|
104
|
-
*/
|
|
105
|
-
external?: Array<any>;
|
|
106
|
-
/**
|
|
107
|
-
* No External
|
|
108
|
-
*
|
|
109
|
-
* The dependencies that should not be treated as external
|
|
110
|
-
*
|
|
111
|
-
*/
|
|
112
|
-
noExternal?: Array<any>;
|
|
113
|
-
/**
|
|
114
|
-
* Skip Node Modules Bundle
|
|
115
|
-
*
|
|
116
|
-
* Skip bundling node_modules during the build process (if required)
|
|
117
|
-
*
|
|
118
|
-
*/
|
|
119
|
-
skipNodeModulesBundle?: boolean;
|
|
120
|
-
/**
|
|
121
|
-
* Mode
|
|
122
|
-
*
|
|
123
|
-
* The build mode
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
* @enum development,test,production
|
|
127
|
-
*/
|
|
128
|
-
mode?: string;
|
|
129
|
-
/**
|
|
130
|
-
* Log Level
|
|
131
|
-
*
|
|
132
|
-
* The log level to use for the build process
|
|
133
|
-
*
|
|
134
|
-
*
|
|
135
|
-
* @enum fatal,error,warn,success,info,debug,trace,silent
|
|
136
|
-
*/
|
|
137
|
-
logLevel?: string;
|
|
138
|
-
/**
|
|
139
|
-
* Define
|
|
140
|
-
*
|
|
141
|
-
* The `define` values
|
|
142
|
-
*
|
|
143
|
-
*/
|
|
144
|
-
define?: Record<string, string>;
|
|
145
|
-
/**
|
|
146
|
-
* Assets
|
|
147
|
-
*
|
|
148
|
-
* The `assets` values
|
|
149
|
-
*
|
|
150
|
-
*/
|
|
151
|
-
assets?: Array<{
|
|
152
|
-
input?: string;
|
|
153
|
-
output?: string;
|
|
154
|
-
glob: string;
|
|
155
|
-
ignore?: string[];
|
|
156
|
-
dot?: boolean;
|
|
157
|
-
}>;
|
|
158
|
-
/**
|
|
159
|
-
* Additional Arguments
|
|
160
|
-
*
|
|
161
|
-
* The additional arguments provided during execution of the command
|
|
162
|
-
*
|
|
163
|
-
*/
|
|
164
|
-
additionalArgs?: Record<string, string>;
|
|
165
|
-
/**
|
|
166
|
-
* Auto Install
|
|
167
|
-
*
|
|
168
|
-
* Automatically install dependencies during prepare stage
|
|
169
|
-
*
|
|
170
|
-
*/
|
|
171
|
-
autoInstall?: boolean;
|
|
172
|
-
/**
|
|
173
|
-
* Skip Cache
|
|
174
|
-
*
|
|
175
|
-
* Skip the caching mechanism during the build process (if required)
|
|
176
|
-
*
|
|
177
|
-
*/
|
|
178
|
-
skipCache?: boolean;
|
|
179
|
-
}
|
|
180
|
-
//#endregion
|
|
181
|
-
//#region src/executors/prepare/executor.d.ts
|
|
182
|
-
declare const executor: PromiseExecutor<PrepareExecutorSchema>;
|
|
183
|
-
//#endregion
|
|
184
|
-
export { executor as default };
|
|
185
|
-
//# sourceMappingURL=executor.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"executor.d.mts","names":[],"sources":["../../../../src/executors/prepare/schema.d.ts","../../../../src/executors/prepare/executor.ts"],"mappings":";;;;UAIiB;;;;;;;;;EAShB;;;;;;;;;EAUA;;;;;;;;EASA;;;;;;;;;EAUA,QAAQ;;;;;;;;;EAUR;;;;;;;;;EAUA;;;;;;;;;EAUA;;;;;;;EAQA;;;;;;;EAQA;;;;;;;;EASA,SAAS;;;;;;;;;EAUT;;;;;;;EAQA,WAAW;;;;;;;EAQX,aAAa;;;;;;;EAQb;;;;;;;;;EAUA;;;;;;;;;EAUA;;;;;;;EAQA,SAAS;;;;;;;EAQT,SAAS;IAAQ;IAAgB;IAAiB;IAAc;IAAmB;;;;;;;;EAQnF,iBAAiB;;;;;;;EAQjB;;;;;;;EAQA;;;;cCzJK,UAAU,gBAAgB"}
|
|
@@ -1,184 +0,0 @@
|
|
|
1
|
-
import { PromiseExecutor } from "@nx/devkit";
|
|
2
|
-
//#region src/executors/prepare/schema.d.ts
|
|
3
|
-
// Generated by @storm-software/untyped
|
|
4
|
-
// Do not edit this file directly
|
|
5
|
-
interface PrepareExecutorSchema {
|
|
6
|
-
/**
|
|
7
|
-
* Powerlines Configuration File
|
|
8
|
-
*
|
|
9
|
-
* The path to the Powerlines configuration file. Alias for `configFile`.
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
* @format path
|
|
13
|
-
*/
|
|
14
|
-
config?: string;
|
|
15
|
-
/**
|
|
16
|
-
* Powerlines Configuration File
|
|
17
|
-
*
|
|
18
|
-
* The path to the Powerlines configuration file. Alias for `config`.
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
* @format path
|
|
22
|
-
*/
|
|
23
|
-
configFile?: string;
|
|
24
|
-
/**
|
|
25
|
-
* Powerlines Configuration Index
|
|
26
|
-
*
|
|
27
|
-
* The index in the Powerlines configuration file to use (if an array of configurations are provided).
|
|
28
|
-
*
|
|
29
|
-
* @default 0
|
|
30
|
-
*/
|
|
31
|
-
configIndex?: number;
|
|
32
|
-
/**
|
|
33
|
-
* Input Entry File(s)
|
|
34
|
-
*
|
|
35
|
-
* The entry file(s) that serve as the input for the project
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
* @format path
|
|
39
|
-
*/
|
|
40
|
-
input?: Array<string>;
|
|
41
|
-
/**
|
|
42
|
-
* TSConfig Path
|
|
43
|
-
*
|
|
44
|
-
* The path to the tsconfig file
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
* @format path
|
|
48
|
-
*/
|
|
49
|
-
tsconfig?: string;
|
|
50
|
-
/**
|
|
51
|
-
* Output Path
|
|
52
|
-
*
|
|
53
|
-
* The path to the output directory for the build artifacts
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
* @format path
|
|
57
|
-
*/
|
|
58
|
-
outputPath?: string;
|
|
59
|
-
/**
|
|
60
|
-
* Copy Path
|
|
61
|
-
*
|
|
62
|
-
* A directory path to copy the build artifacts into
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
* @oneOf [object Object],[object Object]
|
|
66
|
-
*/
|
|
67
|
-
copyPath?: any;
|
|
68
|
-
/**
|
|
69
|
-
* Sourcemap
|
|
70
|
-
*
|
|
71
|
-
* Generate a sourcemap
|
|
72
|
-
*
|
|
73
|
-
*/
|
|
74
|
-
sourceMap?: boolean;
|
|
75
|
-
/**
|
|
76
|
-
* Minify
|
|
77
|
-
*
|
|
78
|
-
* Minify the output
|
|
79
|
-
*
|
|
80
|
-
*/
|
|
81
|
-
minify?: boolean;
|
|
82
|
-
/**
|
|
83
|
-
* Format
|
|
84
|
-
*
|
|
85
|
-
* The format to build
|
|
86
|
-
*
|
|
87
|
-
* @default ["cjs","esm"]
|
|
88
|
-
*/
|
|
89
|
-
format?: Array<string>;
|
|
90
|
-
/**
|
|
91
|
-
* Platform
|
|
92
|
-
*
|
|
93
|
-
* The platform to build
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
* @enum neutral,node,browser
|
|
97
|
-
*/
|
|
98
|
-
platform?: string;
|
|
99
|
-
/**
|
|
100
|
-
* External
|
|
101
|
-
*
|
|
102
|
-
* The external dependencies
|
|
103
|
-
*
|
|
104
|
-
*/
|
|
105
|
-
external?: Array<any>;
|
|
106
|
-
/**
|
|
107
|
-
* No External
|
|
108
|
-
*
|
|
109
|
-
* The dependencies that should not be treated as external
|
|
110
|
-
*
|
|
111
|
-
*/
|
|
112
|
-
noExternal?: Array<any>;
|
|
113
|
-
/**
|
|
114
|
-
* Skip Node Modules Bundle
|
|
115
|
-
*
|
|
116
|
-
* Skip bundling node_modules during the build process (if required)
|
|
117
|
-
*
|
|
118
|
-
*/
|
|
119
|
-
skipNodeModulesBundle?: boolean;
|
|
120
|
-
/**
|
|
121
|
-
* Mode
|
|
122
|
-
*
|
|
123
|
-
* The build mode
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
* @enum development,test,production
|
|
127
|
-
*/
|
|
128
|
-
mode?: string;
|
|
129
|
-
/**
|
|
130
|
-
* Log Level
|
|
131
|
-
*
|
|
132
|
-
* The log level to use for the build process
|
|
133
|
-
*
|
|
134
|
-
*
|
|
135
|
-
* @enum fatal,error,warn,success,info,debug,trace,silent
|
|
136
|
-
*/
|
|
137
|
-
logLevel?: string;
|
|
138
|
-
/**
|
|
139
|
-
* Define
|
|
140
|
-
*
|
|
141
|
-
* The `define` values
|
|
142
|
-
*
|
|
143
|
-
*/
|
|
144
|
-
define?: Record<string, string>;
|
|
145
|
-
/**
|
|
146
|
-
* Assets
|
|
147
|
-
*
|
|
148
|
-
* The `assets` values
|
|
149
|
-
*
|
|
150
|
-
*/
|
|
151
|
-
assets?: Array<{
|
|
152
|
-
input?: string;
|
|
153
|
-
output?: string;
|
|
154
|
-
glob: string;
|
|
155
|
-
ignore?: string[];
|
|
156
|
-
dot?: boolean;
|
|
157
|
-
}>;
|
|
158
|
-
/**
|
|
159
|
-
* Additional Arguments
|
|
160
|
-
*
|
|
161
|
-
* The additional arguments provided during execution of the command
|
|
162
|
-
*
|
|
163
|
-
*/
|
|
164
|
-
additionalArgs?: Record<string, string>;
|
|
165
|
-
/**
|
|
166
|
-
* Auto Install
|
|
167
|
-
*
|
|
168
|
-
* Automatically install dependencies during prepare stage
|
|
169
|
-
*
|
|
170
|
-
*/
|
|
171
|
-
autoInstall?: boolean;
|
|
172
|
-
/**
|
|
173
|
-
* Skip Cache
|
|
174
|
-
*
|
|
175
|
-
* Skip the caching mechanism during the build process (if required)
|
|
176
|
-
*
|
|
177
|
-
*/
|
|
178
|
-
skipCache?: boolean;
|
|
179
|
-
}
|
|
180
|
-
//#endregion
|
|
181
|
-
//#region src/executors/prepare/executor.d.ts
|
|
182
|
-
declare const executor: PromiseExecutor<PrepareExecutorSchema>;
|
|
183
|
-
export = executor;
|
|
184
|
-
//# sourceMappingURL=executor.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"executor.d.ts","names":[],"sources":["../../../../src/executors/prepare/schema.d.ts","../../../../src/executors/prepare/executor.ts"],"mappings":";;;;UAIiB;;;;;;;;;EAShB;;;;;;;;;EAUA;;;;;;;;EASA;;;;;;;;;EAUA,QAAQ;;;;;;;;;EAUR;;;;;;;;;EAUA;;;;;;;;;EAUA;;;;;;;EAQA;;;;;;;EAQA;;;;;;;;EASA,SAAS;;;;;;;;;EAUT;;;;;;;EAQA,WAAW;;;;;;;EAQX,aAAa;;;;;;;EAQb;;;;;;;;;EAUA;;;;;;;;;EAUA;;;;;;;EAQA,SAAS;;;;;;;EAQT,SAAS;IAAQ;IAAgB;IAAiB;IAAc;IAAmB;;;;;;;;EAQnF,iBAAiB;;;;;;;EAQjB;;;;;;;EAQA;;;;cCzJK,UAAU,gBAAgB"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
const require_base_executor = require('../../base-executor-BTwUZeOz.js');
|
|
2
|
-
|
|
3
|
-
//#region src/executors/prepare/executor.ts
|
|
4
|
-
async function executorFn(context, api) {
|
|
5
|
-
await api(context.inlineConfig);
|
|
6
|
-
return { success: true };
|
|
7
|
-
}
|
|
8
|
-
const executor = require_base_executor.withExecutor("prepare", executorFn);
|
|
9
|
-
|
|
10
|
-
//#endregion
|
|
11
|
-
module.exports = executor;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { t as withExecutor } from "../../base-executor-HCD7M10I.mjs";
|
|
2
|
-
|
|
3
|
-
//#region src/executors/prepare/executor.ts
|
|
4
|
-
async function executorFn(context, api) {
|
|
5
|
-
await api(context.inlineConfig);
|
|
6
|
-
return { success: true };
|
|
7
|
-
}
|
|
8
|
-
const executor = withExecutor("prepare", executorFn);
|
|
9
|
-
|
|
10
|
-
//#endregion
|
|
11
|
-
export { executor as default };
|
|
12
|
-
//# sourceMappingURL=executor.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
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 {\n PowerlinesExecutorApi,\n PowerlinesExecutorContext,\n withExecutor\n} from \"../../base/base-executor\";\nimport { PrepareExecutorSchema } from \"./schema\";\n\nasync function executorFn(\n context: PowerlinesExecutorContext<PrepareExecutorSchema>,\n api: PowerlinesExecutorApi\n): Promise<BaseExecutorResult> {\n await api(context.inlineConfig);\n\n return {\n success: true\n };\n}\n\nconst executor: PromiseExecutor<PrepareExecutorSchema> =\n withExecutor<PrepareExecutorSchema>(\"prepare\", executorFn);\n\nexport default executor;\n"],"mappings":";;;AA2BA,eAAe,WACb,SACA,KAC6B;CAC7B,MAAM,IAAI,QAAQ,YAAY;CAE9B,OAAO,EACL,SAAS,KACX;AACF;AAEA,MAAM,WACJ,aAAoC,WAAW,UAAU"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"untyped.d.mts","names":[],"sources":["../../../../src/executors/prepare/untyped.ts"],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"untyped.d.ts","names":[],"sources":["../../../../src/executors/prepare/untyped.ts"],"mappings":""}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
const require_base_executor_untyped = require('../../base-executor.untyped-DZhWL1zT.js');
|
|
2
|
-
let untyped = require("untyped");
|
|
3
|
-
|
|
4
|
-
//#region src/executors/prepare/untyped.ts
|
|
5
|
-
var untyped_default = (0, untyped.defineUntypedSchema)({
|
|
6
|
-
...require_base_executor_untyped.base_executor_untyped_default,
|
|
7
|
-
$schema: {
|
|
8
|
-
id: "PrepareExecutorSchema",
|
|
9
|
-
title: "Prepare Executor",
|
|
10
|
-
description: "A type definition for the Powerlines - Prepare executor schema",
|
|
11
|
-
required: []
|
|
12
|
-
},
|
|
13
|
-
autoInstall: { $schema: {
|
|
14
|
-
title: "Auto Install",
|
|
15
|
-
type: "boolean",
|
|
16
|
-
description: "Automatically install dependencies during prepare stage"
|
|
17
|
-
} },
|
|
18
|
-
skipCache: { $schema: {
|
|
19
|
-
title: "Skip Cache",
|
|
20
|
-
type: "boolean",
|
|
21
|
-
description: "Skip the caching mechanism during the build process (if required)"
|
|
22
|
-
} }
|
|
23
|
-
});
|
|
24
|
-
|
|
25
|
-
//#endregion
|
|
26
|
-
module.exports = untyped_default;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { t as base_executor_untyped_default } from "../../base-executor.untyped-B9Vk-kJC.mjs";
|
|
2
|
-
import { defineUntypedSchema } from "untyped";
|
|
3
|
-
|
|
4
|
-
//#region src/executors/prepare/untyped.ts
|
|
5
|
-
var untyped_default = defineUntypedSchema({
|
|
6
|
-
...base_executor_untyped_default,
|
|
7
|
-
$schema: {
|
|
8
|
-
id: "PrepareExecutorSchema",
|
|
9
|
-
title: "Prepare Executor",
|
|
10
|
-
description: "A type definition for the Powerlines - Prepare executor schema",
|
|
11
|
-
required: []
|
|
12
|
-
},
|
|
13
|
-
autoInstall: { $schema: {
|
|
14
|
-
title: "Auto Install",
|
|
15
|
-
type: "boolean",
|
|
16
|
-
description: "Automatically install dependencies during prepare stage"
|
|
17
|
-
} },
|
|
18
|
-
skipCache: { $schema: {
|
|
19
|
-
title: "Skip Cache",
|
|
20
|
-
type: "boolean",
|
|
21
|
-
description: "Skip the caching mechanism during the build process (if required)"
|
|
22
|
-
} }
|
|
23
|
-
});
|
|
24
|
-
|
|
25
|
-
//#endregion
|
|
26
|
-
export { untyped_default as default };
|
|
27
|
-
//# sourceMappingURL=untyped.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"untyped.mjs","names":["baseExecutorSchema"],"sources":["../../../../src/executors/prepare/untyped.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 { defineUntypedSchema } from \"untyped\";\nimport baseExecutorSchema from \"../../base/base-executor.untyped\";\n\nexport default defineUntypedSchema({\n ...baseExecutorSchema,\n $schema: {\n id: \"PrepareExecutorSchema\",\n title: \"Prepare Executor\",\n description:\n \"A type definition for the Powerlines - Prepare executor schema\",\n required: []\n },\n autoInstall: {\n $schema: {\n title: \"Auto Install\",\n type: \"boolean\",\n description: \"Automatically install dependencies during prepare stage\"\n }\n },\n skipCache: {\n $schema: {\n title: \"Skip Cache\",\n type: \"boolean\",\n description:\n \"Skip the caching mechanism during the build process (if required)\"\n }\n }\n});\n"],"mappings":";;;;AAqBA,sBAAe,oBAAoB;CACjC,GAAGA;CACH,SAAS;EACP,IAAI;EACJ,OAAO;EACP,aACE;EACF,UAAU,CAAC;CACb;CACA,aAAa,EACX,SAAS;EACP,OAAO;EACP,MAAM;EACN,aAAa;CACf,EACF;CACA,WAAW,EACT,SAAS;EACP,OAAO;EACP,MAAM;EACN,aACE;CACJ,EACF;AACF,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Tree } from "@nx/devkit";
|
|
2
|
-
import { SyncGeneratorResult } from "nx/src/utils/sync-generators";
|
|
3
|
-
//#region src/generators/sync/generator.d.ts
|
|
4
|
-
declare function generatorFn(tree: Tree): Promise<SyncGeneratorResult>;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { generatorFn as default, generatorFn };
|
|
7
|
-
//# sourceMappingURL=generator.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generator.d.mts","names":[],"sources":["../../../../src/generators/sync/generator.ts"],"mappings":";;;iBAsBsB,YAAY,MAAM,OAAO,QAAQ"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Tree } from "@nx/devkit";
|
|
2
|
-
import { SyncGeneratorResult } from "nx/src/utils/sync-generators";
|
|
3
|
-
//#region src/generators/sync/generator.d.ts
|
|
4
|
-
declare function generatorFn(tree: Tree): Promise<SyncGeneratorResult>;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { generatorFn as default, generatorFn };
|
|
7
|
-
//# sourceMappingURL=generator.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generator.d.ts","names":[],"sources":["../../../../src/generators/sync/generator.ts"],"mappings":";;;iBAsBsB,YAAY,MAAM,OAAO,QAAQ"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
2
|
-
let _nx_devkit = require("@nx/devkit");
|
|
3
|
-
|
|
4
|
-
//#region src/generators/sync/generator.ts
|
|
5
|
-
async function generatorFn(tree) {
|
|
6
|
-
return { outOfSyncMessage: ((0, _nx_devkit.readNxJson)(tree)?.sync?.generatorOptions?.["@powerlines/nx:sync"])?.outOfSyncMessage || "The legal-message.txt file needs to be created" };
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
//#endregion
|
|
10
|
-
exports.default = generatorFn;
|
|
11
|
-
exports.generatorFn = generatorFn;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { readNxJson } from "@nx/devkit";
|
|
2
|
-
|
|
3
|
-
//#region src/generators/sync/generator.ts
|
|
4
|
-
async function generatorFn(tree) {
|
|
5
|
-
return { outOfSyncMessage: (readNxJson(tree)?.sync?.generatorOptions?.["@powerlines/nx:sync"])?.outOfSyncMessage || "The legal-message.txt file needs to be created" };
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
//#endregion
|
|
9
|
-
export { generatorFn as default, generatorFn };
|
|
10
|
-
//# sourceMappingURL=generator.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generator.mjs","names":[],"sources":["../../../../src/generators/sync/generator.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 { readNxJson, Tree } from \"@nx/devkit\";\nimport { SyncGeneratorResult } from \"nx/src/utils/sync-generators\";\nimport type { SyncGeneratorSchema } from \"./schema\";\n\nexport async function generatorFn(tree: Tree): Promise<SyncGeneratorResult> {\n // if (\n // !tree.exists(\"/legal-message.txt\") ||\n // tree.read(\"/legal-message.txt\").toString() !==\n // \"This is an important legal message.\"\n // ) {\n // tree.write(\"/legal-message.txt\", \"This is an important legal message.\");\n // }\n\n // const persistedMeta = await getPersistedMeta(this.context);\n // const checksum = await getChecksum(this.context.options.projectRoot);\n\n // const projectGraph = await createProjectGraphAsync();\n // Object.values(projectGraph.nodes).forEach(project => {\n // tree.write(\n // joinPathFragments(project.data.root, \"license.txt\"),\n // `${project.name} uses the Acme Corp license.`\n // );\n // });\n\n const nxJson = readNxJson(tree);\n const userOptions = nxJson?.sync?.generatorOptions?.[\n \"@powerlines/nx:sync\"\n ] as SyncGeneratorSchema;\n\n // const projectGraph = await createProjectGraphAsync();\n // const projectRoots = new Set<string>();\n\n return {\n outOfSyncMessage:\n userOptions?.outOfSyncMessage ||\n \"The legal-message.txt file needs to be created\"\n };\n}\n\nexport default generatorFn;\n\n// export default withRunGenerator(\"Powerlines sync generator\", generatorFn, {\n// skipReadingConfig: true\n// });\n"],"mappings":";;;AAsBA,eAAsB,YAAY,MAA0C;CA4B1E,OAAO,EACL,mBATa,WAAW,IACD,CAAC,EAAE,MAAM,mBAChC,uBAQa,EAAE,oBACb,iDACJ;AACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"untyped.d.mts","names":[],"sources":["../../../../src/generators/sync/untyped.ts"],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"untyped.d.ts","names":[],"sources":["../../../../src/generators/sync/untyped.ts"],"mappings":""}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
let untyped = require("untyped");
|
|
2
|
-
|
|
3
|
-
//#region src/generators/sync/untyped.ts
|
|
4
|
-
var untyped_default = (0, untyped.defineUntypedSchema)({
|
|
5
|
-
$schema: {
|
|
6
|
-
id: "SyncGeneratorSchema",
|
|
7
|
-
title: "Sync Generator",
|
|
8
|
-
description: "A type definition for the Powerlines - Sync generator's options",
|
|
9
|
-
required: []
|
|
10
|
-
},
|
|
11
|
-
outOfSyncMessage: {
|
|
12
|
-
$schema: {
|
|
13
|
-
title: "Out of Sync Message",
|
|
14
|
-
type: "string",
|
|
15
|
-
description: "The message to display when the project is out of sync with the legal-message.txt file"
|
|
16
|
-
},
|
|
17
|
-
$default: "The legal-message.txt file needs to be created"
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
|
|
21
|
-
//#endregion
|
|
22
|
-
module.exports = untyped_default;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { defineUntypedSchema } from "untyped";
|
|
2
|
-
|
|
3
|
-
//#region src/generators/sync/untyped.ts
|
|
4
|
-
var untyped_default = defineUntypedSchema({
|
|
5
|
-
$schema: {
|
|
6
|
-
id: "SyncGeneratorSchema",
|
|
7
|
-
title: "Sync Generator",
|
|
8
|
-
description: "A type definition for the Powerlines - Sync generator's options",
|
|
9
|
-
required: []
|
|
10
|
-
},
|
|
11
|
-
outOfSyncMessage: {
|
|
12
|
-
$schema: {
|
|
13
|
-
title: "Out of Sync Message",
|
|
14
|
-
type: "string",
|
|
15
|
-
description: "The message to display when the project is out of sync with the legal-message.txt file"
|
|
16
|
-
},
|
|
17
|
-
$default: "The legal-message.txt file needs to be created"
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
|
|
21
|
-
//#endregion
|
|
22
|
-
export { untyped_default as default };
|
|
23
|
-
//# sourceMappingURL=untyped.mjs.map
|