@powerlines/nx 0.11.216 → 0.11.218
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 +12 -0
- package/dist/{chunk-Q6ARGUEG.js → chunk-2VN57DMC.js} +2 -2
- package/dist/chunk-3BI2YVJ3.js +156 -0
- package/dist/{chunk-LQ6NEJBJ.js → chunk-3TZVQPPH.js} +2 -2
- package/dist/chunk-4OMPO3GC.mjs +154 -0
- package/dist/{chunk-QZQ42FLG.mjs → chunk-5NHMBXXZ.mjs} +1 -1
- package/dist/{chunk-NJFLBZ5O.mjs → chunk-CINC3R52.mjs} +1 -1
- package/dist/{chunk-HXG555M5.mjs → chunk-EFG2AWKX.mjs} +220 -388
- package/dist/{chunk-TWOXCXFE.js → chunk-EQMUIUSF.js} +16 -16
- package/dist/{chunk-DPLLKEJ7.mjs → chunk-ETYR57U3.mjs} +2 -2
- package/dist/chunk-FSGRYCTL.js +281 -0
- package/dist/{chunk-2YJP4HRC.mjs → chunk-GCIPEE4T.mjs} +7 -7
- package/dist/{chunk-ELBUYWVF.mjs → chunk-GKRW32W2.mjs} +1 -1
- package/dist/{chunk-D4FP3KIU.mjs → chunk-H7FXL53F.mjs} +1 -1
- package/dist/{chunk-VSMLSWBT.js → chunk-IOBDAGVL.js} +8 -8
- package/dist/{chunk-POEOITLM.js → chunk-JCB2SUGI.js} +2 -2
- package/dist/{chunk-2W2T5G3F.js → chunk-JFLVE4R6.js} +2 -2
- package/dist/chunk-JL4HQ7ZD.mjs +260 -0
- package/dist/{chunk-WJP3FWAH.js → chunk-MDVQOPYK.js} +2 -2
- package/dist/{chunk-ZYOL33SX.mjs → chunk-RQR4JLRG.mjs} +15 -15
- package/dist/{chunk-ELR7ZJ3T.js → chunk-VNEJ2D4E.js} +3 -3
- package/dist/{chunk-T36V4JK7.mjs → chunk-XX6ZLY4D.mjs} +1 -1
- package/dist/{chunk-MV4TOX46.js → chunk-ZVVHO24E.js} +244 -412
- package/dist/{executor-Bb8vGV8C.d.ts → executor-AQVlPFta.d.ts} +90 -19
- package/dist/{executor-CQzw0-So.d.mts → executor-BNmIhtpF.d.mts} +90 -19
- package/dist/{executor-DwTFXSVb.d.mts → executor-C0A5mFLO.d.mts} +74 -19
- package/dist/{executor-u-vw0Uzf.d.mts → executor-Cep8-Y3A.d.mts} +90 -19
- package/dist/{executor-DY7vA66P.d.ts → executor-CkyahICv.d.ts} +74 -19
- package/dist/{executor-C2WSCUOW.d.ts → executor-DOsxw-Ih.d.ts} +90 -19
- package/dist/{executor-C5rCem7d.d.ts → executor-DUQbjUVt.d.ts} +90 -19
- package/dist/{executor-C9MI57kJ.d.ts → executor-O3MDQSFT.d.ts} +90 -19
- package/dist/{executor-fccJAIjg.d.mts → executor-U4mVkhQK.d.mts} +90 -19
- package/dist/{executor-DXaEo8YG.d.mts → executor-Xt5qNzC5.d.mts} +90 -19
- package/dist/executors.d.mts +5 -6
- package/dist/executors.d.ts +5 -6
- package/dist/executors.js +12 -12
- package/dist/executors.mjs +7 -7
- package/dist/index.d.mts +5 -6
- package/dist/index.d.ts +5 -6
- package/dist/index.js +15 -15
- package/dist/index.mjs +9 -9
- package/dist/src/base/base-executor.d.mts +1 -2
- package/dist/src/base/base-executor.d.ts +1 -2
- package/dist/src/base/base-executor.js +3 -3
- package/dist/src/base/base-executor.mjs +2 -2
- package/dist/src/base/base-executor.schema.d.d.mts +74 -19
- package/dist/src/base/base-executor.schema.d.d.ts +74 -19
- package/dist/src/base/base-executor.schema.d.ts +74 -19
- package/dist/src/base/base-executor.schema.json +108 -26
- package/dist/src/base/base-executor.untyped.js +2 -2
- package/dist/src/base/base-executor.untyped.mjs +1 -1
- package/dist/src/executors/build/executor.d.mts +1 -2
- package/dist/src/executors/build/executor.d.ts +1 -2
- package/dist/src/executors/build/executor.js +5 -5
- package/dist/src/executors/build/executor.mjs +3 -3
- package/dist/src/executors/build/schema.d.ts +90 -19
- package/dist/src/executors/build/schema.json +119 -25
- package/dist/src/executors/build/untyped.js +3 -3
- package/dist/src/executors/build/untyped.mjs +2 -2
- package/dist/src/executors/clean/executor.d.mts +1 -2
- package/dist/src/executors/clean/executor.d.ts +1 -2
- package/dist/src/executors/clean/executor.js +5 -5
- package/dist/src/executors/clean/executor.mjs +3 -3
- package/dist/src/executors/clean/schema.d.ts +74 -19
- package/dist/src/executors/clean/schema.json +108 -26
- package/dist/src/executors/clean/untyped.js +2 -2
- package/dist/src/executors/clean/untyped.mjs +1 -1
- package/dist/src/executors/docs/executor.d.mts +1 -2
- package/dist/src/executors/docs/executor.d.ts +1 -2
- package/dist/src/executors/docs/executor.js +5 -5
- package/dist/src/executors/docs/executor.mjs +3 -3
- package/dist/src/executors/docs/schema.d.ts +90 -19
- package/dist/src/executors/docs/schema.json +120 -26
- package/dist/src/executors/docs/untyped.js +3 -3
- package/dist/src/executors/docs/untyped.mjs +2 -2
- package/dist/src/executors/lint/executor.d.mts +1 -2
- package/dist/src/executors/lint/executor.d.ts +1 -2
- package/dist/src/executors/lint/executor.js +5 -5
- package/dist/src/executors/lint/executor.mjs +3 -3
- package/dist/src/executors/lint/schema.d.ts +90 -19
- package/dist/src/executors/lint/schema.json +120 -26
- package/dist/src/executors/lint/untyped.js +3 -3
- package/dist/src/executors/lint/untyped.mjs +2 -2
- package/dist/src/executors/prepare/executor.d.mts +1 -2
- package/dist/src/executors/prepare/executor.d.ts +1 -2
- package/dist/src/executors/prepare/executor.js +5 -5
- package/dist/src/executors/prepare/executor.mjs +3 -3
- package/dist/src/executors/prepare/schema.d.ts +90 -19
- package/dist/src/executors/prepare/schema.json +120 -26
- package/dist/src/executors/prepare/untyped.js +3 -3
- package/dist/src/executors/prepare/untyped.mjs +2 -2
- package/dist/src/helpers/plugin-utilities.js +5 -5
- package/dist/src/helpers/plugin-utilities.mjs +2 -2
- package/dist/src/plugin/index.js +4 -4
- package/dist/src/plugin/index.mjs +3 -3
- package/docs/api/base-executor.schema.md +71 -19
- package/docs/api/build/schema.md +89 -19
- package/docs/api/clean/schema.md +71 -19
- package/docs/api/docs/schema.md +89 -19
- package/docs/api/lint/schema.md +89 -19
- package/docs/api/prepare/schema.md +89 -19
- package/package.json +11 -11
- package/dist/chunk-AGZ4P3AS.mjs +0 -87
- package/dist/chunk-IR6TAW72.js +0 -81
- package/dist/chunk-NU3VTAH5.js +0 -98
- package/dist/chunk-XXWF7X5C.mjs +0 -75
package/docs/api/docs/schema.md
CHANGED
|
@@ -4,60 +4,110 @@
|
|
|
4
4
|
|
|
5
5
|
# Docs Executor
|
|
6
6
|
|
|
7
|
-
## `
|
|
7
|
+
## `configFile`
|
|
8
8
|
- **Type**: `string`
|
|
9
|
-
- **Default**: `"
|
|
9
|
+
- **Default**: `"{projectRoot}/powerlines.config.ts"`
|
|
10
|
+
|
|
11
|
+
> Powerlines Configuration File
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
The path to the Powerlines configuration file
|
|
10
15
|
|
|
11
|
-
> Output Path
|
|
12
16
|
|
|
17
|
+
## `input`
|
|
18
|
+
- **Type**: `array`
|
|
19
|
+
- **Default**: `["{sourceRoot}/index.ts"]`
|
|
13
20
|
|
|
14
|
-
|
|
21
|
+
> Input Entry File(s)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
The entry file(s) that serve as the input for the project
|
|
15
25
|
|
|
16
26
|
|
|
17
27
|
## `tsconfig`
|
|
18
28
|
- **Type**: `string`
|
|
29
|
+
- **Default**: `"{projectRoot}/tsconfig.json"`
|
|
19
30
|
|
|
20
|
-
>
|
|
31
|
+
> TSConfig Path
|
|
21
32
|
|
|
22
33
|
|
|
23
34
|
The path to the tsconfig file
|
|
24
35
|
|
|
25
36
|
|
|
26
|
-
## `
|
|
37
|
+
## `outputPath`
|
|
27
38
|
- **Type**: `string`
|
|
28
|
-
- **Default**: `"{projectRoot}/powerlines.config.ts"`
|
|
29
39
|
|
|
30
|
-
>
|
|
40
|
+
> Output Path
|
|
31
41
|
|
|
32
42
|
|
|
33
|
-
The path to the
|
|
43
|
+
The path to the output directory for the build artifacts
|
|
34
44
|
|
|
35
45
|
|
|
36
|
-
## `
|
|
46
|
+
## `sourceMap`
|
|
47
|
+
- **Type**: `boolean`
|
|
48
|
+
|
|
49
|
+
> Sourcemap
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
Generate a sourcemap
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
## `format`
|
|
56
|
+
- **Type**: `array`
|
|
57
|
+
- **Default**: `["cjs","esm"]`
|
|
58
|
+
|
|
59
|
+
> Format
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
The format to build
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
## `platform`
|
|
37
66
|
- **Type**: `string`
|
|
67
|
+
- **Default**: `"neutral"`
|
|
38
68
|
|
|
39
|
-
>
|
|
69
|
+
> Platform
|
|
40
70
|
|
|
41
71
|
|
|
42
|
-
The build
|
|
72
|
+
The platform to build
|
|
43
73
|
|
|
44
74
|
|
|
45
|
-
## `
|
|
46
|
-
- **Type**: `
|
|
75
|
+
## `external`
|
|
76
|
+
- **Type**: `array`
|
|
77
|
+
- **Default**: `[]`
|
|
47
78
|
|
|
48
|
-
>
|
|
79
|
+
> External
|
|
49
80
|
|
|
50
81
|
|
|
51
|
-
|
|
82
|
+
The external dependencies
|
|
52
83
|
|
|
53
84
|
|
|
54
|
-
## `
|
|
85
|
+
## `noExternal`
|
|
86
|
+
- **Type**: `array`
|
|
87
|
+
- **Default**: `[]`
|
|
88
|
+
|
|
89
|
+
> No External
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
The dependencies that should not be treated as external
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
## `skipNodeModulesBundle`
|
|
55
96
|
- **Type**: `boolean`
|
|
56
97
|
|
|
57
|
-
> Skip
|
|
98
|
+
> Skip Node Modules Bundle
|
|
58
99
|
|
|
59
100
|
|
|
60
|
-
Skip the
|
|
101
|
+
Skip bundling node_modules during the build process (if required)
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
## `mode`
|
|
105
|
+
- **Type**: `string`
|
|
106
|
+
|
|
107
|
+
> Mode
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
The build mode
|
|
61
111
|
|
|
62
112
|
|
|
63
113
|
## `logLevel`
|
|
@@ -69,3 +119,23 @@ Skip the cache when building
|
|
|
69
119
|
The log level to use for the build process
|
|
70
120
|
|
|
71
121
|
|
|
122
|
+
## `define`
|
|
123
|
+
|
|
124
|
+
## `autoInstall`
|
|
125
|
+
- **Type**: `boolean`
|
|
126
|
+
|
|
127
|
+
> Auto Install
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
Automatically install dependencies during prepare stage
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
## `skipCache`
|
|
134
|
+
- **Type**: `boolean`
|
|
135
|
+
|
|
136
|
+
> Skip Cache
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
Skip the caching mechanism during the build process (if required)
|
|
140
|
+
|
|
141
|
+
|
package/docs/api/lint/schema.md
CHANGED
|
@@ -4,60 +4,110 @@
|
|
|
4
4
|
|
|
5
5
|
# Lint Executor
|
|
6
6
|
|
|
7
|
-
## `
|
|
7
|
+
## `configFile`
|
|
8
8
|
- **Type**: `string`
|
|
9
|
-
- **Default**: `"
|
|
9
|
+
- **Default**: `"{projectRoot}/powerlines.config.ts"`
|
|
10
|
+
|
|
11
|
+
> Powerlines Configuration File
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
The path to the Powerlines configuration file
|
|
10
15
|
|
|
11
|
-
> Output Path
|
|
12
16
|
|
|
17
|
+
## `input`
|
|
18
|
+
- **Type**: `array`
|
|
19
|
+
- **Default**: `["{sourceRoot}/index.ts"]`
|
|
13
20
|
|
|
14
|
-
|
|
21
|
+
> Input Entry File(s)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
The entry file(s) that serve as the input for the project
|
|
15
25
|
|
|
16
26
|
|
|
17
27
|
## `tsconfig`
|
|
18
28
|
- **Type**: `string`
|
|
29
|
+
- **Default**: `"{projectRoot}/tsconfig.json"`
|
|
19
30
|
|
|
20
|
-
>
|
|
31
|
+
> TSConfig Path
|
|
21
32
|
|
|
22
33
|
|
|
23
34
|
The path to the tsconfig file
|
|
24
35
|
|
|
25
36
|
|
|
26
|
-
## `
|
|
37
|
+
## `outputPath`
|
|
27
38
|
- **Type**: `string`
|
|
28
|
-
- **Default**: `"{projectRoot}/powerlines.config.ts"`
|
|
29
39
|
|
|
30
|
-
>
|
|
40
|
+
> Output Path
|
|
31
41
|
|
|
32
42
|
|
|
33
|
-
The path to the
|
|
43
|
+
The path to the output directory for the build artifacts
|
|
34
44
|
|
|
35
45
|
|
|
36
|
-
## `
|
|
46
|
+
## `sourceMap`
|
|
47
|
+
- **Type**: `boolean`
|
|
48
|
+
|
|
49
|
+
> Sourcemap
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
Generate a sourcemap
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
## `format`
|
|
56
|
+
- **Type**: `array`
|
|
57
|
+
- **Default**: `["cjs","esm"]`
|
|
58
|
+
|
|
59
|
+
> Format
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
The format to build
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
## `platform`
|
|
37
66
|
- **Type**: `string`
|
|
67
|
+
- **Default**: `"neutral"`
|
|
38
68
|
|
|
39
|
-
>
|
|
69
|
+
> Platform
|
|
40
70
|
|
|
41
71
|
|
|
42
|
-
The build
|
|
72
|
+
The platform to build
|
|
43
73
|
|
|
44
74
|
|
|
45
|
-
## `
|
|
46
|
-
- **Type**: `
|
|
75
|
+
## `external`
|
|
76
|
+
- **Type**: `array`
|
|
77
|
+
- **Default**: `[]`
|
|
47
78
|
|
|
48
|
-
>
|
|
79
|
+
> External
|
|
49
80
|
|
|
50
81
|
|
|
51
|
-
|
|
82
|
+
The external dependencies
|
|
52
83
|
|
|
53
84
|
|
|
54
|
-
## `
|
|
85
|
+
## `noExternal`
|
|
86
|
+
- **Type**: `array`
|
|
87
|
+
- **Default**: `[]`
|
|
88
|
+
|
|
89
|
+
> No External
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
The dependencies that should not be treated as external
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
## `skipNodeModulesBundle`
|
|
55
96
|
- **Type**: `boolean`
|
|
56
97
|
|
|
57
|
-
> Skip
|
|
98
|
+
> Skip Node Modules Bundle
|
|
58
99
|
|
|
59
100
|
|
|
60
|
-
Skip the
|
|
101
|
+
Skip bundling node_modules during the build process (if required)
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
## `mode`
|
|
105
|
+
- **Type**: `string`
|
|
106
|
+
|
|
107
|
+
> Mode
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
The build mode
|
|
61
111
|
|
|
62
112
|
|
|
63
113
|
## `logLevel`
|
|
@@ -69,3 +119,23 @@ Skip the cache when building
|
|
|
69
119
|
The log level to use for the build process
|
|
70
120
|
|
|
71
121
|
|
|
122
|
+
## `define`
|
|
123
|
+
|
|
124
|
+
## `autoInstall`
|
|
125
|
+
- **Type**: `boolean`
|
|
126
|
+
|
|
127
|
+
> Auto Install
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
Automatically install dependencies during prepare stage
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
## `skipCache`
|
|
134
|
+
- **Type**: `boolean`
|
|
135
|
+
|
|
136
|
+
> Skip Cache
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
Skip the caching mechanism during the build process (if required)
|
|
140
|
+
|
|
141
|
+
|
|
@@ -4,60 +4,110 @@
|
|
|
4
4
|
|
|
5
5
|
# Prepare Executor
|
|
6
6
|
|
|
7
|
-
## `
|
|
7
|
+
## `configFile`
|
|
8
8
|
- **Type**: `string`
|
|
9
|
-
- **Default**: `"
|
|
9
|
+
- **Default**: `"{projectRoot}/powerlines.config.ts"`
|
|
10
|
+
|
|
11
|
+
> Powerlines Configuration File
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
The path to the Powerlines configuration file
|
|
10
15
|
|
|
11
|
-
> Output Path
|
|
12
16
|
|
|
17
|
+
## `input`
|
|
18
|
+
- **Type**: `array`
|
|
19
|
+
- **Default**: `["{sourceRoot}/index.ts"]`
|
|
13
20
|
|
|
14
|
-
|
|
21
|
+
> Input Entry File(s)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
The entry file(s) that serve as the input for the project
|
|
15
25
|
|
|
16
26
|
|
|
17
27
|
## `tsconfig`
|
|
18
28
|
- **Type**: `string`
|
|
29
|
+
- **Default**: `"{projectRoot}/tsconfig.json"`
|
|
19
30
|
|
|
20
|
-
>
|
|
31
|
+
> TSConfig Path
|
|
21
32
|
|
|
22
33
|
|
|
23
34
|
The path to the tsconfig file
|
|
24
35
|
|
|
25
36
|
|
|
26
|
-
## `
|
|
37
|
+
## `outputPath`
|
|
27
38
|
- **Type**: `string`
|
|
28
|
-
- **Default**: `"{projectRoot}/powerlines.config.ts"`
|
|
29
39
|
|
|
30
|
-
>
|
|
40
|
+
> Output Path
|
|
31
41
|
|
|
32
42
|
|
|
33
|
-
The path to the
|
|
43
|
+
The path to the output directory for the build artifacts
|
|
34
44
|
|
|
35
45
|
|
|
36
|
-
## `
|
|
46
|
+
## `sourceMap`
|
|
47
|
+
- **Type**: `boolean`
|
|
48
|
+
|
|
49
|
+
> Sourcemap
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
Generate a sourcemap
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
## `format`
|
|
56
|
+
- **Type**: `array`
|
|
57
|
+
- **Default**: `["cjs","esm"]`
|
|
58
|
+
|
|
59
|
+
> Format
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
The format to build
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
## `platform`
|
|
37
66
|
- **Type**: `string`
|
|
67
|
+
- **Default**: `"neutral"`
|
|
38
68
|
|
|
39
|
-
>
|
|
69
|
+
> Platform
|
|
40
70
|
|
|
41
71
|
|
|
42
|
-
The build
|
|
72
|
+
The platform to build
|
|
43
73
|
|
|
44
74
|
|
|
45
|
-
## `
|
|
46
|
-
- **Type**: `
|
|
75
|
+
## `external`
|
|
76
|
+
- **Type**: `array`
|
|
77
|
+
- **Default**: `[]`
|
|
47
78
|
|
|
48
|
-
>
|
|
79
|
+
> External
|
|
49
80
|
|
|
50
81
|
|
|
51
|
-
|
|
82
|
+
The external dependencies
|
|
52
83
|
|
|
53
84
|
|
|
54
|
-
## `
|
|
85
|
+
## `noExternal`
|
|
86
|
+
- **Type**: `array`
|
|
87
|
+
- **Default**: `[]`
|
|
88
|
+
|
|
89
|
+
> No External
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
The dependencies that should not be treated as external
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
## `skipNodeModulesBundle`
|
|
55
96
|
- **Type**: `boolean`
|
|
56
97
|
|
|
57
|
-
> Skip
|
|
98
|
+
> Skip Node Modules Bundle
|
|
58
99
|
|
|
59
100
|
|
|
60
|
-
Skip the
|
|
101
|
+
Skip bundling node_modules during the build process (if required)
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
## `mode`
|
|
105
|
+
- **Type**: `string`
|
|
106
|
+
|
|
107
|
+
> Mode
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
The build mode
|
|
61
111
|
|
|
62
112
|
|
|
63
113
|
## `logLevel`
|
|
@@ -69,3 +119,23 @@ Skip the cache when building
|
|
|
69
119
|
The log level to use for the build process
|
|
70
120
|
|
|
71
121
|
|
|
122
|
+
## `define`
|
|
123
|
+
|
|
124
|
+
## `autoInstall`
|
|
125
|
+
- **Type**: `boolean`
|
|
126
|
+
|
|
127
|
+
> Auto Install
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
Automatically install dependencies during prepare stage
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
## `skipCache`
|
|
134
|
+
- **Type**: `boolean`
|
|
135
|
+
|
|
136
|
+
> Skip Cache
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
Skip the caching mechanism during the build process (if required)
|
|
140
|
+
|
|
141
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/nx",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.218",
|
|
4
4
|
"description": "A Nx plugin to support Powerlines development in Nx monorepos.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "github",
|
|
@@ -182,12 +182,12 @@
|
|
|
182
182
|
"typings": "dist/index.d.ts",
|
|
183
183
|
"dependencies": {
|
|
184
184
|
"@nx/devkit": "22.3.3",
|
|
185
|
-
"@storm-software/build-tools": "^0.158.
|
|
186
|
-
"@storm-software/config": "^1.135.
|
|
187
|
-
"@storm-software/config-tools": "^1.189.
|
|
188
|
-
"@storm-software/esbuild": "^0.53.
|
|
189
|
-
"@storm-software/unbuild": "^0.57.
|
|
190
|
-
"@storm-software/workspace-tools": "^1.294.
|
|
185
|
+
"@storm-software/build-tools": "^0.158.91",
|
|
186
|
+
"@storm-software/config": "^1.135.11",
|
|
187
|
+
"@storm-software/config-tools": "^1.189.10",
|
|
188
|
+
"@storm-software/esbuild": "^0.53.92",
|
|
189
|
+
"@storm-software/unbuild": "^0.57.92",
|
|
190
|
+
"@storm-software/workspace-tools": "^1.294.43",
|
|
191
191
|
"@stryke/fs": "^0.33.43",
|
|
192
192
|
"@stryke/hash": "^0.12.49",
|
|
193
193
|
"@stryke/path": "^0.26.6",
|
|
@@ -196,12 +196,12 @@
|
|
|
196
196
|
"defu": "^6.1.4",
|
|
197
197
|
"jiti": "^2.6.1",
|
|
198
198
|
"nx": "22.5.2",
|
|
199
|
-
"powerlines": "^0.
|
|
199
|
+
"powerlines": "^0.39.0"
|
|
200
200
|
},
|
|
201
201
|
"devDependencies": {
|
|
202
202
|
"@nx/workspace": "22.5.2",
|
|
203
|
-
"@storm-software/testing-tools": "^1.119.
|
|
204
|
-
"@types/node": "^25.3.
|
|
203
|
+
"@storm-software/testing-tools": "^1.119.85",
|
|
204
|
+
"@types/node": "^25.3.2",
|
|
205
205
|
"eslint-flat-config-utils": "^2.1.4",
|
|
206
206
|
"jsonc-eslint-parser": "^2.4.2",
|
|
207
207
|
"tsup": "8.4.0",
|
|
@@ -210,5 +210,5 @@
|
|
|
210
210
|
"publishConfig": { "access": "public" },
|
|
211
211
|
"executors": "./executors.json",
|
|
212
212
|
"generators": "./generators.json",
|
|
213
|
-
"gitHead": "
|
|
213
|
+
"gitHead": "0dcb16f054b8a69915b074578e6d4dfa3ecc1529"
|
|
214
214
|
}
|
package/dist/chunk-AGZ4P3AS.mjs
DELETED
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { __name } from './chunk-O6YSETKJ.mjs';
|
|
2
|
-
import { getWorkspaceConfig } from '@storm-software/config-tools/get-config';
|
|
3
|
-
import { existsSync } from '@stryke/fs/exists';
|
|
4
|
-
import { appendPath } from '@stryke/path/append';
|
|
5
|
-
import { joinPaths } from '@stryke/path/join-paths';
|
|
6
|
-
import { replacePath } from '@stryke/path/replace';
|
|
7
|
-
import { isFunction } from '@stryke/type-checks/is-function';
|
|
8
|
-
import { isSetObject } from '@stryke/type-checks/is-set-object';
|
|
9
|
-
import { loadConfig } from 'c12';
|
|
10
|
-
import defu from 'defu';
|
|
11
|
-
import '@stryke/fs/json';
|
|
12
|
-
import '@stryke/fs/list-files';
|
|
13
|
-
import '@stryke/fs/remove-file';
|
|
14
|
-
import '@stryke/helpers/get-unique';
|
|
15
|
-
import '@stryke/path/file-path-fns';
|
|
16
|
-
import { kebabCase } from '@stryke/string-format/kebab-case';
|
|
17
|
-
|
|
18
|
-
async function loadWorkspaceConfig(workspaceRoot, cwd) {
|
|
19
|
-
return defu({
|
|
20
|
-
workspaceRoot
|
|
21
|
-
}, await getWorkspaceConfig(true, {
|
|
22
|
-
cwd,
|
|
23
|
-
workspaceRoot,
|
|
24
|
-
useDefault: true
|
|
25
|
-
}));
|
|
26
|
-
}
|
|
27
|
-
__name(loadWorkspaceConfig, "loadWorkspaceConfig");
|
|
28
|
-
async function loadUserConfigFile(projectRoot, workspaceRoot, jiti, command, mode = "production", configFile, framework = "powerlines") {
|
|
29
|
-
let resolvedUserConfig = {};
|
|
30
|
-
let resolvedUserConfigFile;
|
|
31
|
-
if (configFile) {
|
|
32
|
-
resolvedUserConfigFile = existsSync(replacePath(configFile, projectRoot)) ? replacePath(configFile, projectRoot) : existsSync(joinPaths(appendPath(projectRoot, workspaceRoot), replacePath(configFile, projectRoot))) ? joinPaths(appendPath(projectRoot, workspaceRoot), replacePath(configFile, projectRoot)) : existsSync(joinPaths(appendPath(projectRoot, workspaceRoot), configFile)) ? joinPaths(appendPath(projectRoot, workspaceRoot), configFile) : void 0;
|
|
33
|
-
}
|
|
34
|
-
if (!resolvedUserConfigFile) {
|
|
35
|
-
resolvedUserConfigFile = existsSync(joinPaths(appendPath(projectRoot, workspaceRoot), `${framework}.${mode}.config.ts`)) ? joinPaths(appendPath(projectRoot, workspaceRoot), `${framework}.${mode}.config.ts`) : existsSync(joinPaths(appendPath(projectRoot, workspaceRoot), `${framework}.${mode}.config.js`)) ? joinPaths(appendPath(projectRoot, workspaceRoot), `${framework}.${mode}.config.js`) : existsSync(joinPaths(appendPath(projectRoot, workspaceRoot), `${framework}.${mode}.config.mts`)) ? joinPaths(appendPath(projectRoot, workspaceRoot), `${framework}.${mode}.config.mts`) : existsSync(joinPaths(appendPath(projectRoot, workspaceRoot), `${framework}.${mode}.config.mjs`)) ? joinPaths(appendPath(projectRoot, workspaceRoot), `${framework}.${mode}.config.mjs`) : existsSync(joinPaths(appendPath(projectRoot, workspaceRoot), `${framework}.config.ts`)) ? joinPaths(appendPath(projectRoot, workspaceRoot), `${framework}.config.ts`) : existsSync(joinPaths(appendPath(projectRoot, workspaceRoot), `${framework}.config.js`)) ? joinPaths(appendPath(projectRoot, workspaceRoot), `${framework}.config.js`) : existsSync(joinPaths(appendPath(projectRoot, workspaceRoot), `${framework}.config.mts`)) ? joinPaths(appendPath(projectRoot, workspaceRoot), `${framework}.config.mts`) : existsSync(joinPaths(appendPath(projectRoot, workspaceRoot), `${framework}.config.mjs`)) ? joinPaths(appendPath(projectRoot, workspaceRoot), `${framework}.config.mjs`) : void 0;
|
|
36
|
-
}
|
|
37
|
-
if (resolvedUserConfigFile) {
|
|
38
|
-
const resolved = await jiti.import(jiti.esmResolve(resolvedUserConfigFile));
|
|
39
|
-
if (resolved) {
|
|
40
|
-
let config = {};
|
|
41
|
-
if (isFunction(resolved)) {
|
|
42
|
-
config = await Promise.resolve(resolved({
|
|
43
|
-
command,
|
|
44
|
-
mode,
|
|
45
|
-
isSsrBuild: false,
|
|
46
|
-
isPreview: false
|
|
47
|
-
}));
|
|
48
|
-
}
|
|
49
|
-
if (isSetObject(config)) {
|
|
50
|
-
resolvedUserConfig = {
|
|
51
|
-
...config,
|
|
52
|
-
config,
|
|
53
|
-
configFile: resolvedUserConfigFile
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
const result = await loadConfig({
|
|
59
|
-
cwd: projectRoot,
|
|
60
|
-
name: framework,
|
|
61
|
-
envName: mode,
|
|
62
|
-
globalRc: true,
|
|
63
|
-
packageJson: true,
|
|
64
|
-
dotenv: true,
|
|
65
|
-
jiti
|
|
66
|
-
});
|
|
67
|
-
return defu(resolvedUserConfig, isSetObject(result?.config) ? {
|
|
68
|
-
...result.config,
|
|
69
|
-
...result
|
|
70
|
-
} : {});
|
|
71
|
-
}
|
|
72
|
-
__name(loadUserConfigFile, "loadUserConfigFile");
|
|
73
|
-
var PROJECT_ROOT_HASH_LENGTH = 45;
|
|
74
|
-
var CACHE_HASH_LENGTH = 62;
|
|
75
|
-
function getPrefixedProjectRootHash(name, projectRootHash) {
|
|
76
|
-
const combined = `${kebabCase(name)}_${projectRootHash}`;
|
|
77
|
-
return combined.length > PROJECT_ROOT_HASH_LENGTH ? combined.slice(0, PROJECT_ROOT_HASH_LENGTH) : combined;
|
|
78
|
-
}
|
|
79
|
-
__name(getPrefixedProjectRootHash, "getPrefixedProjectRootHash");
|
|
80
|
-
async function writeMetaFile(context) {
|
|
81
|
-
const metaFilePath = joinPaths(context.dataPath, "meta.json");
|
|
82
|
-
context.debug(`Writing runtime metadata to ${metaFilePath}`);
|
|
83
|
-
await context.fs.write(metaFilePath, JSON.stringify(context.meta, null, 2));
|
|
84
|
-
}
|
|
85
|
-
__name(writeMetaFile, "writeMetaFile");
|
|
86
|
-
|
|
87
|
-
export { CACHE_HASH_LENGTH, PROJECT_ROOT_HASH_LENGTH, getPrefixedProjectRootHash, loadUserConfigFile, loadWorkspaceConfig, writeMetaFile };
|
package/dist/chunk-IR6TAW72.js
DELETED
|
@@ -1,81 +0,0 @@
|
|
|
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
|
-
},
|
|
27
|
-
configFile: {
|
|
28
|
-
$schema: {
|
|
29
|
-
title: "Powerlines Configuration File",
|
|
30
|
-
type: "string",
|
|
31
|
-
format: "path",
|
|
32
|
-
description: "The path to the Powerlines configuration file"
|
|
33
|
-
},
|
|
34
|
-
$default: "{projectRoot}/powerlines.config.ts"
|
|
35
|
-
},
|
|
36
|
-
mode: {
|
|
37
|
-
$schema: {
|
|
38
|
-
title: "Mode",
|
|
39
|
-
type: "string",
|
|
40
|
-
description: "The build mode",
|
|
41
|
-
enum: [
|
|
42
|
-
"development",
|
|
43
|
-
"test",
|
|
44
|
-
"production"
|
|
45
|
-
]
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
autoInstall: {
|
|
49
|
-
$schema: {
|
|
50
|
-
title: "Auto Install",
|
|
51
|
-
type: "boolean",
|
|
52
|
-
description: "Automatically install dependencies during prepare stage"
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
skipCache: {
|
|
56
|
-
$schema: {
|
|
57
|
-
title: "Skip Cache",
|
|
58
|
-
type: "boolean",
|
|
59
|
-
description: "Skip the caching mechanism during the build process (if required)"
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
logLevel: {
|
|
63
|
-
$schema: {
|
|
64
|
-
title: "Log Level",
|
|
65
|
-
type: "string",
|
|
66
|
-
description: "The log level to use for the build process",
|
|
67
|
-
enum: [
|
|
68
|
-
"fatal",
|
|
69
|
-
"error",
|
|
70
|
-
"warn",
|
|
71
|
-
"success",
|
|
72
|
-
"info",
|
|
73
|
-
"debug",
|
|
74
|
-
"trace",
|
|
75
|
-
"silent"
|
|
76
|
-
]
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
});
|
|
80
|
-
|
|
81
|
-
exports.base_executor_untyped_default = base_executor_untyped_default;
|