@powerlines/nx 0.11.221 → 0.11.223
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 +21 -0
- package/dist/{src/base/base-executor.d.ts → base-executor-BKuqWAnc.d.mts} +14 -12
- package/dist/base-executor-BKuqWAnc.d.mts.map +1 -0
- package/dist/base-executor-CL9md5FK.d.cts +28 -0
- package/dist/base-executor-CL9md5FK.d.cts.map +1 -0
- package/dist/base-executor-DIVmWt0_.mjs +76 -0
- package/dist/base-executor-DIVmWt0_.mjs.map +1 -0
- package/dist/base-executor-hfeykVFL.cjs +83 -0
- package/dist/base-executor.schema-CH9f7UZz.d.cts +131 -0
- package/dist/base-executor.schema-CH9f7UZz.d.cts.map +1 -0
- package/dist/base-executor.schema-LJ14f-QU.d.mts +131 -0
- package/dist/base-executor.schema-LJ14f-QU.d.mts.map +1 -0
- package/dist/base-executor.untyped-Bet42T8_.mjs +139 -0
- package/dist/base-executor.untyped-Bet42T8_.mjs.map +1 -0
- package/dist/base-executor.untyped-DUgXmZji.cjs +144 -0
- package/dist/chunk-CbDLau6x.cjs +34 -0
- package/dist/constants-BHT2TeEj.cjs +39 -0
- package/dist/constants-DPeeG_si.mjs +34 -0
- package/dist/constants-DPeeG_si.mjs.map +1 -0
- package/dist/executor-9aTY5L1O.d.mts +155 -0
- package/dist/executor-9aTY5L1O.d.mts.map +1 -0
- package/dist/executor-BA-Xvw_2.cjs +23 -0
- package/dist/executor-BDu-MfKS.d.cts +155 -0
- package/dist/executor-BDu-MfKS.d.cts.map +1 -0
- package/dist/executor-BaJuosQ2.d.cts +139 -0
- package/dist/executor-BaJuosQ2.d.cts.map +1 -0
- package/dist/executor-BerELzzO.d.cts +165 -0
- package/dist/executor-BerELzzO.d.cts.map +1 -0
- package/dist/executor-C12a2R2m.d.mts +165 -0
- package/dist/executor-C12a2R2m.d.mts.map +1 -0
- package/dist/executor-CQoHBvIx.d.mts +155 -0
- package/dist/executor-CQoHBvIx.d.mts.map +1 -0
- package/dist/executor-CR4F9h0Q.mjs +13 -0
- package/dist/executor-CR4F9h0Q.mjs.map +1 -0
- package/dist/executor-CmOJDW7i.cjs +30 -0
- package/dist/executor-CsYeTG7f.d.mts +155 -0
- package/dist/executor-CsYeTG7f.d.mts.map +1 -0
- package/dist/executor-DXs-DQDq.cjs +23 -0
- package/dist/executor-DY3Q5btA.mjs +18 -0
- package/dist/executor-DY3Q5btA.mjs.map +1 -0
- package/dist/executor-DaM4shEF.d.mts +139 -0
- package/dist/executor-DaM4shEF.d.mts.map +1 -0
- package/dist/executor-DriX4F9a.mjs +13 -0
- package/dist/executor-DriX4F9a.mjs.map +1 -0
- package/dist/executor-DupYdy7P.cjs +23 -0
- package/dist/executor-_6Wimayo.d.cts +155 -0
- package/dist/executor-_6Wimayo.d.cts.map +1 -0
- package/dist/executor-dakLe5jY.mjs +13 -0
- package/dist/executor-dakLe5jY.mjs.map +1 -0
- package/dist/executor-gauQV_Qs.mjs +18 -0
- package/dist/executor-gauQV_Qs.mjs.map +1 -0
- package/dist/executor-q94V36zQ.d.cts +155 -0
- package/dist/executor-q94V36zQ.d.cts.map +1 -0
- package/dist/executor-tEMakUYi.cjs +30 -0
- package/dist/executors-C15iG1sF.mjs +1 -0
- package/dist/executors-D7478W2S.cjs +0 -0
- package/dist/executors-YbcSXKr5.d.mts +1 -0
- package/dist/executors-hX1C9GbI.d.cts +1 -0
- package/dist/executors.cjs +13 -0
- package/dist/executors.d.cts +9 -0
- package/dist/executors.d.mts +9 -11
- package/dist/executors.mjs +9 -9
- package/dist/generator-DeiwVUqC.mjs +11 -0
- package/dist/generator-DeiwVUqC.mjs.map +1 -0
- package/dist/generator-Dv37nXlF.d.cts +8 -0
- package/dist/generator-Dv37nXlF.d.cts.map +1 -0
- package/dist/generator-Uu2ErkQj.cjs +22 -0
- package/dist/generator-aA0eb35E.d.mts +8 -0
- package/dist/generator-aA0eb35E.d.mts.map +1 -0
- package/dist/generators-B8_tB0mD.d.cts +17 -0
- package/dist/generators-B8_tB0mD.d.cts.map +1 -0
- package/dist/generators-Bi9wzfNx.mjs +1 -0
- package/dist/generators-DymCAfYw.d.mts +17 -0
- package/dist/generators-DymCAfYw.d.mts.map +1 -0
- package/dist/generators-q39_jUCw.cjs +0 -0
- package/dist/generators.cjs +5 -0
- package/dist/generators.d.cts +3 -0
- package/dist/generators.d.mts +3 -19
- package/dist/generators.mjs +4 -3
- package/dist/index-BAMQksFF.d.mts +8 -0
- package/dist/index-BAMQksFF.d.mts.map +1 -0
- package/dist/index-C5yJ9lGj.d.cts +8 -0
- package/dist/index-C5yJ9lGj.d.cts.map +1 -0
- package/dist/index.cjs +21 -0
- package/dist/index.d.cts +13 -0
- package/dist/index.d.mts +13 -16
- package/dist/index.mjs +14 -14
- package/dist/plugin-A9gAUguP.cjs +12 -0
- package/dist/plugin-CODFOru1.d.cts +243 -0
- package/dist/plugin-CODFOru1.d.cts.map +1 -0
- package/dist/plugin-Dbr_Q4yi.mjs +8 -0
- package/dist/plugin-Dbr_Q4yi.mjs.map +1 -0
- package/dist/plugin-DpjoI0QS.d.mts +243 -0
- package/dist/plugin-DpjoI0QS.d.mts.map +1 -0
- package/dist/plugin-utilities-Ci8AHf-K.mjs +347 -0
- package/dist/plugin-utilities-Ci8AHf-K.mjs.map +1 -0
- package/dist/plugin-utilities-Ddlc3SiI.cjs +366 -0
- package/dist/src/base/base-executor.cjs +3 -0
- package/dist/src/base/base-executor.d.cts +3 -0
- package/dist/src/base/base-executor.d.mts +3 -26
- package/dist/src/base/base-executor.mjs +3 -3
- package/dist/src/base/base-executor.schema.d.cjs +0 -0
- package/dist/src/base/base-executor.schema.d.cts +2 -0
- package/dist/src/base/base-executor.schema.d.mts +2 -0
- package/dist/src/base/base-executor.untyped.cjs +3 -0
- package/dist/src/base/base-executor.untyped.d.cts +6 -0
- package/dist/src/base/base-executor.untyped.d.cts.map +1 -0
- package/dist/src/base/base-executor.untyped.d.mts +5 -3
- package/dist/src/base/base-executor.untyped.d.mts.map +1 -0
- package/dist/src/base/base-executor.untyped.mjs +3 -2
- package/dist/src/executors/build/executor.cjs +6 -0
- package/dist/src/executors/build/executor.d.cts +4 -0
- package/dist/src/executors/build/executor.d.mts +4 -7
- package/dist/src/executors/build/executor.mjs +4 -4
- package/dist/src/executors/build/untyped.cjs +26 -0
- package/dist/src/executors/build/untyped.d.cts +6 -0
- package/dist/src/executors/build/untyped.d.cts.map +1 -0
- package/dist/src/executors/build/untyped.d.mts +5 -3
- package/dist/src/executors/build/untyped.d.mts.map +1 -0
- package/dist/src/executors/build/untyped.mjs +23 -30
- package/dist/src/executors/build/untyped.mjs.map +1 -0
- package/dist/src/executors/clean/executor.cjs +6 -0
- package/dist/src/executors/clean/executor.d.cts +4 -0
- package/dist/src/executors/clean/executor.d.mts +4 -7
- package/dist/src/executors/clean/executor.mjs +4 -4
- package/dist/src/executors/clean/untyped.cjs +17 -0
- package/dist/src/executors/clean/untyped.d.cts +6 -0
- package/dist/src/executors/clean/untyped.d.cts.map +1 -0
- package/dist/src/executors/clean/untyped.d.mts +5 -3
- package/dist/src/executors/clean/untyped.d.mts.map +1 -0
- package/dist/src/executors/clean/untyped.mjs +12 -10
- package/dist/src/executors/clean/untyped.mjs.map +1 -0
- package/dist/src/executors/docs/executor.cjs +6 -0
- package/dist/src/executors/docs/executor.d.cts +4 -0
- package/dist/src/executors/docs/executor.d.mts +4 -7
- package/dist/src/executors/docs/executor.mjs +4 -4
- package/dist/src/executors/docs/untyped.cjs +18 -0
- package/dist/src/executors/docs/untyped.d.cts +6 -0
- package/dist/src/executors/docs/untyped.d.cts.map +1 -0
- package/dist/src/executors/docs/untyped.d.mts +5 -3
- package/dist/src/executors/docs/untyped.d.mts.map +1 -0
- package/dist/src/executors/docs/untyped.mjs +15 -13
- package/dist/src/executors/docs/untyped.mjs.map +1 -0
- package/dist/src/executors/lint/executor.cjs +6 -0
- package/dist/src/executors/lint/executor.d.cts +4 -0
- package/dist/src/executors/lint/executor.d.mts +4 -7
- package/dist/src/executors/lint/executor.mjs +4 -4
- package/dist/src/executors/lint/untyped.cjs +18 -0
- package/dist/src/executors/lint/untyped.d.cts +6 -0
- package/dist/src/executors/lint/untyped.d.cts.map +1 -0
- package/dist/src/executors/lint/untyped.d.mts +5 -3
- package/dist/src/executors/lint/untyped.d.mts.map +1 -0
- package/dist/src/executors/lint/untyped.mjs +15 -13
- package/dist/src/executors/lint/untyped.mjs.map +1 -0
- package/dist/src/executors/prepare/executor.cjs +6 -0
- package/dist/src/executors/prepare/executor.d.cts +4 -0
- package/dist/src/executors/prepare/executor.d.mts +4 -7
- package/dist/src/executors/prepare/executor.mjs +4 -4
- package/dist/src/executors/prepare/untyped.cjs +4 -0
- package/dist/src/executors/prepare/untyped.d.cts +6 -0
- package/dist/src/executors/prepare/untyped.d.cts.map +1 -0
- package/dist/src/executors/prepare/untyped.d.mts +5 -3
- package/dist/src/executors/prepare/untyped.d.mts.map +1 -0
- package/dist/src/executors/prepare/untyped.mjs +4 -3
- package/dist/src/generators/sync/generator.cjs +5 -0
- package/dist/src/generators/sync/generator.d.cts +2 -0
- package/dist/src/generators/sync/generator.d.mts +2 -6
- package/dist/src/generators/sync/generator.mjs +3 -2
- package/dist/src/generators/sync/untyped.cjs +23 -0
- package/dist/src/generators/sync/untyped.d.cts +6 -0
- package/dist/src/generators/sync/untyped.d.cts.map +1 -0
- package/dist/src/generators/sync/untyped.d.mts +5 -3
- package/dist/src/generators/sync/untyped.d.mts.map +1 -0
- package/dist/src/generators/sync/untyped.mjs +18 -16
- package/dist/src/generators/sync/untyped.mjs.map +1 -0
- package/dist/src/helpers/constants.cjs +3 -0
- package/dist/src/helpers/{constants.d.ts → constants.d.cts} +3 -1
- package/dist/src/helpers/constants.d.cts.map +1 -0
- package/dist/src/helpers/constants.d.mts +3 -1
- package/dist/src/helpers/constants.d.mts.map +1 -0
- package/dist/src/helpers/constants.mjs +3 -2
- package/dist/src/helpers/plugin-utilities.cjs +6 -0
- package/dist/src/helpers/plugin-utilities.d.cts +58 -0
- package/dist/src/helpers/plugin-utilities.d.cts.map +1 -0
- package/dist/src/helpers/plugin-utilities.d.mts +34 -31
- package/dist/src/helpers/plugin-utilities.d.mts.map +1 -0
- package/dist/src/helpers/plugin-utilities.mjs +4 -4
- package/dist/src/plugin/index.cjs +5 -0
- package/dist/src/plugin/index.d.cts +3 -0
- package/dist/src/plugin/index.d.mts +3 -6
- package/dist/src/plugin/index.mjs +5 -5
- package/dist/src/types/plugin.cjs +0 -0
- package/dist/src/types/plugin.d.cts +2 -0
- package/dist/src/types/plugin.d.mts +2 -241
- package/dist/src/types/plugin.mjs +1 -1
- package/dist/untyped-BIEzjl_J.mjs +27 -0
- package/dist/untyped-BIEzjl_J.mjs.map +1 -0
- package/dist/untyped-DKPJSDgJ.cjs +32 -0
- package/executors.json +1 -1
- package/generators.json +1 -1
- package/package.json +117 -88
- package/dist/chunk-23KFTIT2.mjs +0 -1
- package/dist/chunk-326QB2VK.mjs +0 -14
- package/dist/chunk-3BI2YVJ3.js +0 -156
- package/dist/chunk-3D3MU5VP.js +0 -26
- package/dist/chunk-4OMPO3GC.mjs +0 -154
- package/dist/chunk-ADMWJVSB.js +0 -374
- package/dist/chunk-DXL4NVUO.js +0 -18
- package/dist/chunk-F4QJKUNK.js +0 -18
- package/dist/chunk-GCIPEE4T.mjs +0 -28
- package/dist/chunk-IC47MFKB.mjs +0 -29
- package/dist/chunk-IDXFQ2WL.mjs +0 -15
- package/dist/chunk-IOBDAGVL.js +0 -30
- package/dist/chunk-IQVSZEQ6.js +0 -31
- package/dist/chunk-N2YKXZ5R.js +0 -2
- package/dist/chunk-NB2KHU33.mjs +0 -19
- package/dist/chunk-NXR5JH7F.js +0 -10
- package/dist/chunk-O6YSETKJ.mjs +0 -4
- package/dist/chunk-P5X6KXLE.js +0 -26
- package/dist/chunk-PKGTRC56.mjs +0 -15
- package/dist/chunk-PMQ5YVLP.js +0 -18
- package/dist/chunk-R577MOZR.js +0 -4928
- package/dist/chunk-RBIHD4JS.mjs +0 -4900
- package/dist/chunk-RLODK6TM.js +0 -281
- package/dist/chunk-RLYU2FOM.mjs +0 -366
- package/dist/chunk-SHUYVCID.js +0 -6
- package/dist/chunk-SQV3SFA4.mjs +0 -8
- package/dist/chunk-UV4HQO3Y.mjs +0 -1
- package/dist/chunk-W75JGXP2.mjs +0 -260
- package/dist/chunk-WIPWBPB3.mjs +0 -19
- package/dist/chunk-WUJKJGEW.js +0 -17
- package/dist/chunk-XO62WWX4.js +0 -2
- package/dist/chunk-ZERXJ7S6.mjs +0 -15
- package/dist/executor-AQVlPFta.d.ts +0 -163
- package/dist/executor-BNmIhtpF.d.mts +0 -153
- package/dist/executor-C0A5mFLO.d.mts +0 -137
- package/dist/executor-Cep8-Y3A.d.mts +0 -153
- package/dist/executor-CkyahICv.d.ts +0 -137
- package/dist/executor-DOsxw-Ih.d.ts +0 -153
- package/dist/executor-DUQbjUVt.d.ts +0 -153
- package/dist/executor-O3MDQSFT.d.ts +0 -153
- package/dist/executor-U4mVkhQK.d.mts +0 -163
- package/dist/executor-Xt5qNzC5.d.mts +0 -153
- package/dist/executors.d.ts +0 -11
- package/dist/executors.js +0 -34
- package/dist/generators.d.ts +0 -19
- package/dist/generators.js +0 -16
- package/dist/index.d.ts +0 -16
- package/dist/index.js +0 -51
- package/dist/src/base/base-executor.js +0 -12
- package/dist/src/base/base-executor.schema.d.d.mts +0 -129
- package/dist/src/base/base-executor.schema.d.d.ts +0 -129
- package/dist/src/base/base-executor.schema.d.js +0 -2
- package/dist/src/base/base-executor.schema.d.mjs +0 -1
- package/dist/src/base/base-executor.untyped.d.ts +0 -5
- package/dist/src/base/base-executor.untyped.js +0 -10
- package/dist/src/executors/build/executor.d.ts +0 -7
- package/dist/src/executors/build/executor.js +0 -19
- package/dist/src/executors/build/untyped.d.ts +0 -5
- package/dist/src/executors/build/untyped.js +0 -37
- package/dist/src/executors/clean/executor.d.ts +0 -7
- package/dist/src/executors/clean/executor.js +0 -19
- package/dist/src/executors/clean/untyped.d.ts +0 -5
- package/dist/src/executors/clean/untyped.js +0 -19
- package/dist/src/executors/docs/executor.d.ts +0 -7
- package/dist/src/executors/docs/executor.js +0 -19
- package/dist/src/executors/docs/untyped.d.ts +0 -5
- package/dist/src/executors/docs/untyped.js +0 -20
- package/dist/src/executors/lint/executor.d.ts +0 -7
- package/dist/src/executors/lint/executor.js +0 -19
- package/dist/src/executors/lint/untyped.d.ts +0 -5
- package/dist/src/executors/lint/untyped.js +0 -20
- package/dist/src/executors/prepare/executor.d.ts +0 -7
- package/dist/src/executors/prepare/executor.js +0 -19
- package/dist/src/executors/prepare/untyped.d.ts +0 -5
- package/dist/src/executors/prepare/untyped.js +0 -11
- package/dist/src/generators/sync/generator.d.ts +0 -6
- package/dist/src/generators/sync/generator.js +0 -17
- package/dist/src/generators/sync/untyped.d.ts +0 -5
- package/dist/src/generators/sync/untyped.js +0 -25
- package/dist/src/helpers/constants.js +0 -11
- package/dist/src/helpers/plugin-utilities.d.ts +0 -55
- package/dist/src/helpers/plugin-utilities.js +0 -21
- package/dist/src/plugin/index.d.ts +0 -6
- package/dist/src/plugin/index.js +0 -14
- package/dist/src/types/plugin.d.ts +0 -241
- package/dist/src/types/plugin.js +0 -2
package/dist/chunk-W75JGXP2.mjs
DELETED
|
@@ -1,260 +0,0 @@
|
|
|
1
|
-
import { __name } from './chunk-O6YSETKJ.mjs';
|
|
2
|
-
import { parseTypeDefinition } from '@stryke/convert/parse-type-definition';
|
|
3
|
-
import { toArray } from '@stryke/convert/to-array';
|
|
4
|
-
import { murmurhash } from '@stryke/hash/murmurhash';
|
|
5
|
-
import { getUniqueBy } from '@stryke/helpers/get-unique';
|
|
6
|
-
import { appendPath } from '@stryke/path/append';
|
|
7
|
-
import { isAbsolutePath } from '@stryke/path/is-type';
|
|
8
|
-
import { joinPaths as joinPaths$1 } from '@stryke/path/join-paths';
|
|
9
|
-
import { replacePath, replaceExtension } from '@stryke/path/replace';
|
|
10
|
-
import { isObject } from '@stryke/type-checks/is-object';
|
|
11
|
-
import { isRegExp } from '@stryke/type-checks/is-regexp';
|
|
12
|
-
import { isSetString } from '@stryke/type-checks/is-set-string';
|
|
13
|
-
import { isString } from '@stryke/type-checks/is-string';
|
|
14
|
-
import { joinPaths } from '@stryke/path/join';
|
|
15
|
-
import { getLogFn, getLogLevel } from '@storm-software/config-tools/logger';
|
|
16
|
-
import { LogLevelLabel } from '@storm-software/config-tools/types';
|
|
17
|
-
import { getColor } from '@storm-software/config-tools/utilities/colors';
|
|
18
|
-
import { noop } from '@stryke/helpers/noop';
|
|
19
|
-
import { kebabCase } from '@stryke/string-format/kebab-case';
|
|
20
|
-
import { titleCase } from '@stryke/string-format/title-case';
|
|
21
|
-
import chalk from 'chalk';
|
|
22
|
-
import { listFiles } from '@stryke/fs/list-files';
|
|
23
|
-
import { isParentPath } from '@stryke/path/is-parent-path';
|
|
24
|
-
import { resolveConfig, format as format$1 } from 'prettier';
|
|
25
|
-
import '@stryke/fs/read-file';
|
|
26
|
-
import { isSetObject } from '@stryke/type-checks/is-set-object';
|
|
27
|
-
import 'magic-string';
|
|
28
|
-
import Diff from 'diff-match-patch';
|
|
29
|
-
import '@stryke/fs/write-file';
|
|
30
|
-
import { getWorkspaceConfig } from '@storm-software/config-tools/get-config';
|
|
31
|
-
import { existsSync } from '@stryke/fs/exists';
|
|
32
|
-
import { isFunction } from '@stryke/type-checks/is-function';
|
|
33
|
-
import { loadConfig } from 'c12';
|
|
34
|
-
import defu from 'defu';
|
|
35
|
-
|
|
36
|
-
// ../core/src/lib/constants/meta.ts
|
|
37
|
-
var ROOT_HASH_LENGTH = 45;
|
|
38
|
-
var CACHE_HASH_LENGTH = 62;
|
|
39
|
-
|
|
40
|
-
// ../core/src/lib/constants/environments.ts
|
|
41
|
-
var DEFAULT_ENVIRONMENT = "default";
|
|
42
|
-
var GLOBAL_ENVIRONMENT = "__global__";
|
|
43
|
-
function replacePathTokens(context, path) {
|
|
44
|
-
if (!path) {
|
|
45
|
-
return path;
|
|
46
|
-
}
|
|
47
|
-
return path.replaceAll("{workspaceRoot}", context.workspaceConfig.workspaceRoot).replaceAll("{root}", context.config.root).replaceAll("{projectRoot}", context.config.root).replaceAll("{sourceRoot}", joinPaths(context.config.root, "src")).replaceAll("{powerlinesPath}", context.powerlinesPath).replaceAll("{cachePath}", context.cachePath).replaceAll("{dataPath}", context.dataPath).replaceAll("{logPath}", context.envPaths.log).replaceAll("{tempPath}", context.envPaths.temp).replaceAll("{configPath}", context.envPaths.config).replaceAll("{outputPath}", context.config.output.outputPath).replaceAll("{buildPath}", context.config.output.buildPath).replaceAll("{artifactsPath}", replacePath(context.artifactsPath, context.workspaceConfig.workspaceRoot)).replaceAll("{builtinPath}", replacePath(context.builtinsPath, context.workspaceConfig.workspaceRoot)).replaceAll("{entryPath}", replacePath(context.entryPath, context.workspaceConfig.workspaceRoot));
|
|
48
|
-
}
|
|
49
|
-
__name(replacePathTokens, "replacePathTokens");
|
|
50
|
-
|
|
51
|
-
// ../core/src/lib/entry.ts
|
|
52
|
-
function resolveEntryOutput(context, typeDefinition) {
|
|
53
|
-
return replaceExtension(replacePath(replacePath(replacePath(replacePath(replacePath(typeDefinition.file, joinPaths$1(context.workspaceConfig.workspaceRoot, context.config.root, "src")), joinPaths$1(context.workspaceConfig.workspaceRoot, context.config.root)), joinPaths$1(context.config.root, "src")), context.config.root), "src"));
|
|
54
|
-
}
|
|
55
|
-
__name(resolveEntryOutput, "resolveEntryOutput");
|
|
56
|
-
function resolveEntry(context, typeDefinition, input, output) {
|
|
57
|
-
return {
|
|
58
|
-
...typeDefinition,
|
|
59
|
-
input: isSetString(input) || isRegExp(input) ? {
|
|
60
|
-
file: String(input)
|
|
61
|
-
} : typeDefinition,
|
|
62
|
-
output: output || resolveEntryOutput(context, typeDefinition)
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
__name(resolveEntry, "resolveEntry");
|
|
66
|
-
function isTypeDefinition(entry) {
|
|
67
|
-
return !isString(entry) && entry.file !== void 0;
|
|
68
|
-
}
|
|
69
|
-
__name(isTypeDefinition, "isTypeDefinition");
|
|
70
|
-
function isResolvedEntryTypeDefinition(entry) {
|
|
71
|
-
return !isRegExp(entry) && isTypeDefinition(entry) && entry.output !== void 0;
|
|
72
|
-
}
|
|
73
|
-
__name(isResolvedEntryTypeDefinition, "isResolvedEntryTypeDefinition");
|
|
74
|
-
function resolveEntriesSync(context, typeDefinitions) {
|
|
75
|
-
return (isObject(typeDefinitions) ? Object.values(typeDefinitions).flat() : toArray(typeDefinitions)).map((entry) => {
|
|
76
|
-
if (isResolvedEntryTypeDefinition(entry)) {
|
|
77
|
-
return {
|
|
78
|
-
...entry,
|
|
79
|
-
output: entry.output ? replacePathTokens(context, entry.output) : void 0,
|
|
80
|
-
file: replacePathTokens(context, entry.file)
|
|
81
|
-
};
|
|
82
|
-
}
|
|
83
|
-
let typeDefinition;
|
|
84
|
-
if (isString(entry)) {
|
|
85
|
-
typeDefinition = parseTypeDefinition(replacePathTokens(context, entry));
|
|
86
|
-
} else if (isRegExp(entry)) {
|
|
87
|
-
typeDefinition = {
|
|
88
|
-
file: replacePathTokens(context, entry.source)
|
|
89
|
-
};
|
|
90
|
-
} else {
|
|
91
|
-
typeDefinition = entry;
|
|
92
|
-
typeDefinition.file = replacePathTokens(context, typeDefinition.file);
|
|
93
|
-
}
|
|
94
|
-
const filePath = isAbsolutePath(typeDefinition.file) ? typeDefinition.file : appendPath(typeDefinition.file, context.config.root);
|
|
95
|
-
if (context.fs.isFileSync(filePath)) {
|
|
96
|
-
return resolveEntry(context, {
|
|
97
|
-
file: appendPath(filePath, context.workspaceConfig.workspaceRoot),
|
|
98
|
-
name: typeDefinition.name
|
|
99
|
-
});
|
|
100
|
-
}
|
|
101
|
-
return context.fs.globSync(appendPath(filePath, context.workspaceConfig.workspaceRoot)).map((file) => resolveEntry(context, {
|
|
102
|
-
file,
|
|
103
|
-
name: typeDefinition.name
|
|
104
|
-
}));
|
|
105
|
-
}).flat().filter(Boolean);
|
|
106
|
-
}
|
|
107
|
-
__name(resolveEntriesSync, "resolveEntriesSync");
|
|
108
|
-
function getUniqueInputs(inputs = []) {
|
|
109
|
-
return isObject(inputs) ? inputs : getUniqueBy(toArray(inputs), (item) => isSetString(item) ? item : murmurhash(item ?? {}, {
|
|
110
|
-
maxLength: 24
|
|
111
|
-
}));
|
|
112
|
-
}
|
|
113
|
-
__name(getUniqueInputs, "getUniqueInputs");
|
|
114
|
-
var createLog = /* @__PURE__ */ __name((name, options = {}) => {
|
|
115
|
-
const logLevel = options.logLevel === null ? LogLevelLabel.SILENT : options.logLevel || LogLevelLabel.INFO;
|
|
116
|
-
if (logLevel === LogLevelLabel.SILENT) {
|
|
117
|
-
return noop;
|
|
118
|
-
}
|
|
119
|
-
if (options.customLogger) {
|
|
120
|
-
return options.customLogger;
|
|
121
|
-
}
|
|
122
|
-
return (type, ...args) => getLogFn(getLogLevel(type), {
|
|
123
|
-
...options,
|
|
124
|
-
logLevel
|
|
125
|
-
})(`${chalk.bold.hex(getColor("brand", options))(`${name ? kebabCase(name) : ""}${options.name ? `${name ? chalk.gray(" > ") : ""}${kebabCase(options.name)}` : ""}${chalk.gray(" > ")}`)}${args.join(" ")} `.trim());
|
|
126
|
-
}, "createLog");
|
|
127
|
-
var BADGE_COLORS = [
|
|
128
|
-
"#00A0DD",
|
|
129
|
-
"#6FCE4E",
|
|
130
|
-
"#FBBF24",
|
|
131
|
-
"#F43F5E",
|
|
132
|
-
"#3B82F6",
|
|
133
|
-
"#A855F7",
|
|
134
|
-
"#469592",
|
|
135
|
-
"#288EDF",
|
|
136
|
-
"#D8B4FE",
|
|
137
|
-
"#10B981",
|
|
138
|
-
"#EF4444",
|
|
139
|
-
"#F0EC56",
|
|
140
|
-
"#F472B6",
|
|
141
|
-
"#22D3EE",
|
|
142
|
-
"#EAB308",
|
|
143
|
-
"#84CC16",
|
|
144
|
-
"#F87171",
|
|
145
|
-
"#0EA5E9",
|
|
146
|
-
"#D946EF",
|
|
147
|
-
"#FACC15",
|
|
148
|
-
"#34D399",
|
|
149
|
-
"#8B5CF6"
|
|
150
|
-
];
|
|
151
|
-
var extendLog = /* @__PURE__ */ __name((logFn, name) => {
|
|
152
|
-
return (type, ...args) => logFn(type, ` ${chalk.inverse.hex(BADGE_COLORS[name.split("").map((char) => char.charCodeAt(0)).reduce((ret, charCode) => ret + charCode, 0) % BADGE_COLORS.length] || BADGE_COLORS[0])(` ${titleCase(name)} `)} ${args.join(" ")} `);
|
|
153
|
-
}, "extendLog");
|
|
154
|
-
function getBaseFileHeader(context) {
|
|
155
|
-
return `
|
|
156
|
-
// Generated with ${titleCase(context.config.framework)}
|
|
157
|
-
// Note: Do not edit this file manually - it will be overwritten automatically
|
|
158
|
-
`;
|
|
159
|
-
}
|
|
160
|
-
__name(getBaseFileHeader, "getBaseFileHeader");
|
|
161
|
-
function getFileHeader(context, options = {}) {
|
|
162
|
-
const { directive = null, prettierIgnore = false } = options;
|
|
163
|
-
return `/* eslint-disable */
|
|
164
|
-
// biome-ignore lint: disable
|
|
165
|
-
${prettierIgnore ? `// prettier-ignore` : ""}${directive ? `
|
|
166
|
-
|
|
167
|
-
${directive}
|
|
168
|
-
` : "\n"}
|
|
169
|
-
${getBaseFileHeader(context)}
|
|
170
|
-
|
|
171
|
-
`;
|
|
172
|
-
}
|
|
173
|
-
__name(getFileHeader, "getFileHeader");
|
|
174
|
-
async function format(context, path, data, force = false) {
|
|
175
|
-
if (!force && (isParentPath(path, appendPath(context.config.output.outputPath, context.workspaceConfig.workspaceRoot)) || isParentPath(path, appendPath(context.config.output.buildPath, context.workspaceConfig.workspaceRoot)))) {
|
|
176
|
-
return data;
|
|
177
|
-
}
|
|
178
|
-
let code = data;
|
|
179
|
-
const resolvedConfig = await resolveConfig(path);
|
|
180
|
-
if (resolvedConfig) {
|
|
181
|
-
code = await format$1(data, {
|
|
182
|
-
absolutePath: path,
|
|
183
|
-
...resolvedConfig
|
|
184
|
-
});
|
|
185
|
-
}
|
|
186
|
-
return code;
|
|
187
|
-
}
|
|
188
|
-
__name(format, "format");
|
|
189
|
-
async function formatFolder(context, path) {
|
|
190
|
-
if (!isParentPath(path, appendPath(context.config.output.outputPath, context.workspaceConfig.workspaceRoot)) && !isParentPath(path, appendPath(context.config.output.buildPath, context.workspaceConfig.workspaceRoot))) {
|
|
191
|
-
await Promise.allSettled((await listFiles(path)).map(async (file) => {
|
|
192
|
-
if (!isParentPath(file, appendPath(context.config.output.outputPath, context.workspaceConfig.workspaceRoot)) && !isParentPath(file, appendPath(context.config.output.buildPath, context.workspaceConfig.workspaceRoot))) {
|
|
193
|
-
const data = await context.fs.read(file);
|
|
194
|
-
if (data) {
|
|
195
|
-
const formatted = await format(context, file, data);
|
|
196
|
-
return context.fs.write(file, formatted);
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
}));
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
__name(formatFolder, "formatFolder");
|
|
203
|
-
new Diff();
|
|
204
|
-
async function loadWorkspaceConfig(workspaceRoot, cwd) {
|
|
205
|
-
return defu({
|
|
206
|
-
workspaceRoot
|
|
207
|
-
}, await getWorkspaceConfig(true, {
|
|
208
|
-
cwd,
|
|
209
|
-
workspaceRoot,
|
|
210
|
-
useDefault: true
|
|
211
|
-
}));
|
|
212
|
-
}
|
|
213
|
-
__name(loadWorkspaceConfig, "loadWorkspaceConfig");
|
|
214
|
-
async function loadUserConfigFile(projectRoot, workspaceRoot, jiti, command, mode = "production", configFile, framework = "powerlines") {
|
|
215
|
-
let resolvedUserConfig = {};
|
|
216
|
-
let resolvedUserConfigFile;
|
|
217
|
-
if (configFile) {
|
|
218
|
-
resolvedUserConfigFile = existsSync(replacePath(configFile, projectRoot)) ? replacePath(configFile, projectRoot) : existsSync(joinPaths$1(appendPath(projectRoot, workspaceRoot), replacePath(configFile, projectRoot))) ? joinPaths$1(appendPath(projectRoot, workspaceRoot), replacePath(configFile, projectRoot)) : existsSync(joinPaths$1(appendPath(projectRoot, workspaceRoot), configFile)) ? joinPaths$1(appendPath(projectRoot, workspaceRoot), configFile) : void 0;
|
|
219
|
-
}
|
|
220
|
-
if (!resolvedUserConfigFile) {
|
|
221
|
-
resolvedUserConfigFile = existsSync(joinPaths$1(appendPath(projectRoot, workspaceRoot), `${framework}.${mode}.config.ts`)) ? joinPaths$1(appendPath(projectRoot, workspaceRoot), `${framework}.${mode}.config.ts`) : existsSync(joinPaths$1(appendPath(projectRoot, workspaceRoot), `${framework}.${mode}.config.js`)) ? joinPaths$1(appendPath(projectRoot, workspaceRoot), `${framework}.${mode}.config.js`) : existsSync(joinPaths$1(appendPath(projectRoot, workspaceRoot), `${framework}.${mode}.config.mts`)) ? joinPaths$1(appendPath(projectRoot, workspaceRoot), `${framework}.${mode}.config.mts`) : existsSync(joinPaths$1(appendPath(projectRoot, workspaceRoot), `${framework}.${mode}.config.mjs`)) ? joinPaths$1(appendPath(projectRoot, workspaceRoot), `${framework}.${mode}.config.mjs`) : existsSync(joinPaths$1(appendPath(projectRoot, workspaceRoot), `${framework}.config.ts`)) ? joinPaths$1(appendPath(projectRoot, workspaceRoot), `${framework}.config.ts`) : existsSync(joinPaths$1(appendPath(projectRoot, workspaceRoot), `${framework}.config.js`)) ? joinPaths$1(appendPath(projectRoot, workspaceRoot), `${framework}.config.js`) : existsSync(joinPaths$1(appendPath(projectRoot, workspaceRoot), `${framework}.config.mts`)) ? joinPaths$1(appendPath(projectRoot, workspaceRoot), `${framework}.config.mts`) : existsSync(joinPaths$1(appendPath(projectRoot, workspaceRoot), `${framework}.config.mjs`)) ? joinPaths$1(appendPath(projectRoot, workspaceRoot), `${framework}.config.mjs`) : void 0;
|
|
222
|
-
}
|
|
223
|
-
if (resolvedUserConfigFile) {
|
|
224
|
-
const resolved = await jiti.import(jiti.esmResolve(resolvedUserConfigFile));
|
|
225
|
-
if (resolved) {
|
|
226
|
-
let config = {};
|
|
227
|
-
if (isFunction(resolved)) {
|
|
228
|
-
config = await Promise.resolve(resolved({
|
|
229
|
-
command,
|
|
230
|
-
mode,
|
|
231
|
-
isSsrBuild: false,
|
|
232
|
-
isPreview: false
|
|
233
|
-
}));
|
|
234
|
-
}
|
|
235
|
-
if (isSetObject(config)) {
|
|
236
|
-
resolvedUserConfig = {
|
|
237
|
-
...config,
|
|
238
|
-
config,
|
|
239
|
-
configFile: resolvedUserConfigFile
|
|
240
|
-
};
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
const result = await loadConfig({
|
|
245
|
-
cwd: projectRoot,
|
|
246
|
-
name: framework,
|
|
247
|
-
envName: mode,
|
|
248
|
-
globalRc: true,
|
|
249
|
-
packageJson: true,
|
|
250
|
-
dotenv: true,
|
|
251
|
-
jiti
|
|
252
|
-
});
|
|
253
|
-
return defu(resolvedUserConfig, isSetObject(result?.config) ? {
|
|
254
|
-
...result.config,
|
|
255
|
-
...result
|
|
256
|
-
} : {});
|
|
257
|
-
}
|
|
258
|
-
__name(loadUserConfigFile, "loadUserConfigFile");
|
|
259
|
-
|
|
260
|
-
export { CACHE_HASH_LENGTH, DEFAULT_ENVIRONMENT, GLOBAL_ENVIRONMENT, ROOT_HASH_LENGTH, createLog, extendLog, format, formatFolder, getFileHeader, getUniqueInputs, loadUserConfigFile, loadWorkspaceConfig, replacePathTokens, resolveEntriesSync };
|
package/dist/chunk-WIPWBPB3.mjs
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { withExecutor } from './chunk-RBIHD4JS.mjs';
|
|
2
|
-
import { __name } from './chunk-O6YSETKJ.mjs';
|
|
3
|
-
import defu from 'defu';
|
|
4
|
-
|
|
5
|
-
async function executorFn(context, api) {
|
|
6
|
-
await api.prepare(defu({
|
|
7
|
-
command: "prepare",
|
|
8
|
-
skipCache: context.options.skipCache,
|
|
9
|
-
autoInstall: context.options.autoInstall
|
|
10
|
-
}, context.inlineConfig));
|
|
11
|
-
return {
|
|
12
|
-
success: true
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
__name(executorFn, "executorFn");
|
|
16
|
-
var executor = withExecutor("prepare", executorFn);
|
|
17
|
-
var executor_default = executor;
|
|
18
|
-
|
|
19
|
-
export { executorFn, executor_default };
|
package/dist/chunk-WUJKJGEW.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
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;
|
package/dist/chunk-XO62WWX4.js
DELETED
package/dist/chunk-ZERXJ7S6.mjs
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { withExecutor } from './chunk-RBIHD4JS.mjs';
|
|
2
|
-
import { __name } from './chunk-O6YSETKJ.mjs';
|
|
3
|
-
|
|
4
|
-
// src/executors/clean/executor.ts
|
|
5
|
-
async function executorFn(context, api) {
|
|
6
|
-
await api.clean(context.inlineConfig);
|
|
7
|
-
return {
|
|
8
|
-
success: true
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
__name(executorFn, "executorFn");
|
|
12
|
-
var executor = withExecutor("clean", executorFn);
|
|
13
|
-
var executor_default = executor;
|
|
14
|
-
|
|
15
|
-
export { executorFn, executor_default };
|
|
@@ -1,163 +0,0 @@
|
|
|
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
|
-
* Powerlines Configuration File
|
|
12
|
-
*
|
|
13
|
-
* The path to the Powerlines configuration file
|
|
14
|
-
*
|
|
15
|
-
* @default "{projectRoot}/powerlines.config.ts"
|
|
16
|
-
*
|
|
17
|
-
* @format path
|
|
18
|
-
*/
|
|
19
|
-
configFile?: string,
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Input Entry File(s)
|
|
23
|
-
*
|
|
24
|
-
* The entry file(s) that serve as the input for the project
|
|
25
|
-
*
|
|
26
|
-
* @default ["{sourceRoot}/index.ts"]
|
|
27
|
-
*
|
|
28
|
-
* @format path
|
|
29
|
-
*/
|
|
30
|
-
input?: Array<string>,
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* TSConfig Path
|
|
34
|
-
*
|
|
35
|
-
* The path to the tsconfig file
|
|
36
|
-
*
|
|
37
|
-
* @default "{projectRoot}/tsconfig.json"
|
|
38
|
-
*
|
|
39
|
-
* @format path
|
|
40
|
-
*/
|
|
41
|
-
tsconfig?: string,
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* Output Path
|
|
45
|
-
*
|
|
46
|
-
* The path to the output directory for the build artifacts
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
* @format path
|
|
50
|
-
*/
|
|
51
|
-
outputPath?: string,
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* Sourcemap
|
|
55
|
-
*
|
|
56
|
-
* Generate a sourcemap
|
|
57
|
-
*
|
|
58
|
-
*/
|
|
59
|
-
sourceMap?: boolean,
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* Format
|
|
63
|
-
*
|
|
64
|
-
* The format to build
|
|
65
|
-
*
|
|
66
|
-
* @default ["cjs","esm"]
|
|
67
|
-
*/
|
|
68
|
-
format?: Array<string>,
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* Platform
|
|
72
|
-
*
|
|
73
|
-
* The platform to build
|
|
74
|
-
*
|
|
75
|
-
* @default "neutral"
|
|
76
|
-
*
|
|
77
|
-
* @enum neutral,node,browser
|
|
78
|
-
*/
|
|
79
|
-
platform?: string,
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* External
|
|
83
|
-
*
|
|
84
|
-
* The external dependencies
|
|
85
|
-
*
|
|
86
|
-
*/
|
|
87
|
-
external?: Array<any>,
|
|
88
|
-
|
|
89
|
-
/**
|
|
90
|
-
* No External
|
|
91
|
-
*
|
|
92
|
-
* The dependencies that should not be treated as external
|
|
93
|
-
*
|
|
94
|
-
*/
|
|
95
|
-
noExternal?: Array<any>,
|
|
96
|
-
|
|
97
|
-
/**
|
|
98
|
-
* Skip Node Modules Bundle
|
|
99
|
-
*
|
|
100
|
-
* Skip bundling node_modules during the build process (if required)
|
|
101
|
-
*
|
|
102
|
-
*/
|
|
103
|
-
skipNodeModulesBundle?: boolean,
|
|
104
|
-
|
|
105
|
-
/**
|
|
106
|
-
* Mode
|
|
107
|
-
*
|
|
108
|
-
* The build mode
|
|
109
|
-
*
|
|
110
|
-
*
|
|
111
|
-
* @enum development,test,production
|
|
112
|
-
*/
|
|
113
|
-
mode?: string,
|
|
114
|
-
|
|
115
|
-
/**
|
|
116
|
-
* Log Level
|
|
117
|
-
*
|
|
118
|
-
* The log level to use for the build process
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
* @enum fatal,error,warn,success,info,debug,trace,silent
|
|
122
|
-
*/
|
|
123
|
-
logLevel?: string,
|
|
124
|
-
|
|
125
|
-
/**
|
|
126
|
-
* Define
|
|
127
|
-
*
|
|
128
|
-
* The `define` values
|
|
129
|
-
*
|
|
130
|
-
*/
|
|
131
|
-
define?: Record<string, string>,
|
|
132
|
-
|
|
133
|
-
/**
|
|
134
|
-
* Auto Install
|
|
135
|
-
*
|
|
136
|
-
* Automatically install dependencies during prepare stage
|
|
137
|
-
*
|
|
138
|
-
*/
|
|
139
|
-
autoInstall?: boolean,
|
|
140
|
-
|
|
141
|
-
/**
|
|
142
|
-
* Skip Cache
|
|
143
|
-
*
|
|
144
|
-
* Skip the caching mechanism during the build process (if required)
|
|
145
|
-
*
|
|
146
|
-
*/
|
|
147
|
-
skipCache?: boolean,
|
|
148
|
-
|
|
149
|
-
/**
|
|
150
|
-
* Entry Path(s)
|
|
151
|
-
*
|
|
152
|
-
* The entry path(s) for the package
|
|
153
|
-
*
|
|
154
|
-
*
|
|
155
|
-
* @oneOf [object Object],[object Object]
|
|
156
|
-
*/
|
|
157
|
-
entry?: any,
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
declare function executorFn(context: PowerlinesExecutorContext<"build", BuildExecutorSchema>, api: PowerlinesAPI): Promise<BaseExecutorResult>;
|
|
161
|
-
declare const executor: PromiseExecutor<BuildExecutorSchema>;
|
|
162
|
-
|
|
163
|
-
export { type BuildExecutorSchema as B, executorFn as a, executor as e };
|
|
@@ -1,153 +0,0 @@
|
|
|
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 DocsExecutorSchema {
|
|
10
|
-
/**
|
|
11
|
-
* Powerlines Configuration File
|
|
12
|
-
*
|
|
13
|
-
* The path to the Powerlines configuration file
|
|
14
|
-
*
|
|
15
|
-
* @default "{projectRoot}/powerlines.config.ts"
|
|
16
|
-
*
|
|
17
|
-
* @format path
|
|
18
|
-
*/
|
|
19
|
-
configFile?: string,
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Input Entry File(s)
|
|
23
|
-
*
|
|
24
|
-
* The entry file(s) that serve as the input for the project
|
|
25
|
-
*
|
|
26
|
-
* @default ["{sourceRoot}/index.ts"]
|
|
27
|
-
*
|
|
28
|
-
* @format path
|
|
29
|
-
*/
|
|
30
|
-
input?: Array<string>,
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* TSConfig Path
|
|
34
|
-
*
|
|
35
|
-
* The path to the tsconfig file
|
|
36
|
-
*
|
|
37
|
-
* @default "{projectRoot}/tsconfig.json"
|
|
38
|
-
*
|
|
39
|
-
* @format path
|
|
40
|
-
*/
|
|
41
|
-
tsconfig?: string,
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* Output Path
|
|
45
|
-
*
|
|
46
|
-
* The path to the output directory for the build artifacts
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
* @format path
|
|
50
|
-
*/
|
|
51
|
-
outputPath?: string,
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* Sourcemap
|
|
55
|
-
*
|
|
56
|
-
* Generate a sourcemap
|
|
57
|
-
*
|
|
58
|
-
*/
|
|
59
|
-
sourceMap?: boolean,
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* Format
|
|
63
|
-
*
|
|
64
|
-
* The format to build
|
|
65
|
-
*
|
|
66
|
-
* @default ["cjs","esm"]
|
|
67
|
-
*/
|
|
68
|
-
format?: Array<string>,
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* Platform
|
|
72
|
-
*
|
|
73
|
-
* The platform to build
|
|
74
|
-
*
|
|
75
|
-
* @default "neutral"
|
|
76
|
-
*
|
|
77
|
-
* @enum neutral,node,browser
|
|
78
|
-
*/
|
|
79
|
-
platform?: string,
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* External
|
|
83
|
-
*
|
|
84
|
-
* The external dependencies
|
|
85
|
-
*
|
|
86
|
-
*/
|
|
87
|
-
external?: Array<any>,
|
|
88
|
-
|
|
89
|
-
/**
|
|
90
|
-
* No External
|
|
91
|
-
*
|
|
92
|
-
* The dependencies that should not be treated as external
|
|
93
|
-
*
|
|
94
|
-
*/
|
|
95
|
-
noExternal?: Array<any>,
|
|
96
|
-
|
|
97
|
-
/**
|
|
98
|
-
* Skip Node Modules Bundle
|
|
99
|
-
*
|
|
100
|
-
* Skip bundling node_modules during the build process (if required)
|
|
101
|
-
*
|
|
102
|
-
*/
|
|
103
|
-
skipNodeModulesBundle?: boolean,
|
|
104
|
-
|
|
105
|
-
/**
|
|
106
|
-
* Mode
|
|
107
|
-
*
|
|
108
|
-
* The build mode
|
|
109
|
-
*
|
|
110
|
-
*
|
|
111
|
-
* @enum development,test,production
|
|
112
|
-
*/
|
|
113
|
-
mode?: string,
|
|
114
|
-
|
|
115
|
-
/**
|
|
116
|
-
* Log Level
|
|
117
|
-
*
|
|
118
|
-
* The log level to use for the build process
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
* @enum fatal,error,warn,success,info,debug,trace,silent
|
|
122
|
-
*/
|
|
123
|
-
logLevel?: string,
|
|
124
|
-
|
|
125
|
-
/**
|
|
126
|
-
* Define
|
|
127
|
-
*
|
|
128
|
-
* The `define` values
|
|
129
|
-
*
|
|
130
|
-
*/
|
|
131
|
-
define?: Record<string, string>,
|
|
132
|
-
|
|
133
|
-
/**
|
|
134
|
-
* Auto Install
|
|
135
|
-
*
|
|
136
|
-
* Automatically install dependencies during prepare stage
|
|
137
|
-
*
|
|
138
|
-
*/
|
|
139
|
-
autoInstall?: boolean,
|
|
140
|
-
|
|
141
|
-
/**
|
|
142
|
-
* Skip Cache
|
|
143
|
-
*
|
|
144
|
-
* Skip the caching mechanism during the build process (if required)
|
|
145
|
-
*
|
|
146
|
-
*/
|
|
147
|
-
skipCache?: boolean,
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
declare function executorFn(context: PowerlinesExecutorContext<"docs", DocsExecutorSchema>, api: PowerlinesAPI): Promise<BaseExecutorResult>;
|
|
151
|
-
declare const executor: PromiseExecutor<DocsExecutorSchema>;
|
|
152
|
-
|
|
153
|
-
export { type DocsExecutorSchema as D, executorFn as a, executor as e };
|