@powerlines/nx 0.10.16 → 0.10.18
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 +25 -0
- package/dist/{chunk-WMZ45WVV.mjs → chunk-5KEIBGFG.mjs} +31 -11
- package/dist/{chunk-7SWNXVZN.js → chunk-AD2EUZQL.js} +2 -2
- package/dist/{chunk-NSFCCGL7.mjs → chunk-E7EIMG6J.mjs} +1 -1
- package/dist/{chunk-IWLY4VEK.mjs → chunk-EMPB7IUD.mjs} +1 -1
- package/dist/{chunk-DKRIOFPB.js → chunk-EOBEXUZ2.js} +2 -2
- package/dist/chunk-EX3O7O2B.js +10 -0
- package/dist/{chunk-32RH3DSY.js → chunk-FBZEUICY.js} +31 -11
- package/dist/chunk-FEJ2ZSZP.mjs +8 -0
- package/dist/{chunk-KJAIPQKC.js → chunk-HANZV54P.js} +2 -2
- package/dist/{chunk-K7X3KSVW.mjs → chunk-J66W6WPB.mjs} +1 -1
- package/dist/chunk-LQU7XWFP.mjs +30 -0
- package/dist/{chunk-RIB65IPA.mjs → chunk-OFWFMQU2.mjs} +1 -1
- package/dist/{chunk-GUAUB4A5.mjs → chunk-OS7UD4XD.mjs} +3 -37
- package/dist/{chunk-QJLAFC2D.js → chunk-P5LV56CI.js} +2 -2
- package/dist/{chunk-LG4AFV5G.js → chunk-TO3WM5BR.js} +6 -38
- package/dist/{chunk-KNIZUAS5.mjs → chunk-VD72KMTO.mjs} +1 -1
- package/dist/chunk-VIU4CXA3.js +32 -0
- package/dist/{chunk-FZWXH2M7.js → chunk-VW4AOJ4M.js} +2 -2
- package/dist/executors.js +16 -16
- package/dist/executors.mjs +6 -6
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +25 -23
- package/dist/index.mjs +9 -7
- package/dist/src/base/base-executor.js +2 -2
- package/dist/src/base/base-executor.mjs +1 -1
- package/dist/src/executors/build/executor.js +4 -4
- package/dist/src/executors/build/executor.mjs +2 -2
- package/dist/src/executors/clean/executor.js +4 -4
- package/dist/src/executors/clean/executor.mjs +2 -2
- package/dist/src/executors/docs/executor.js +4 -4
- package/dist/src/executors/docs/executor.mjs +2 -2
- package/dist/src/executors/lint/executor.js +4 -4
- package/dist/src/executors/lint/executor.mjs +2 -2
- package/dist/src/executors/prepare/executor.js +4 -4
- package/dist/src/executors/prepare/executor.mjs +2 -2
- package/dist/src/helpers/constants.d.mts +6 -0
- package/dist/src/helpers/constants.d.ts +6 -0
- package/dist/src/helpers/constants.js +11 -0
- package/dist/src/helpers/constants.mjs +2 -0
- package/dist/src/helpers/plugin-utilities.d.mts +55 -0
- package/dist/src/helpers/plugin-utilities.d.ts +55 -0
- package/dist/src/helpers/plugin-utilities.js +21 -0
- package/dist/src/helpers/plugin-utilities.mjs +4 -0
- package/dist/src/plugin/index.d.mts +1 -173
- package/dist/src/plugin/index.d.ts +1 -173
- package/dist/src/plugin/index.js +4 -2
- package/dist/src/plugin/index.mjs +3 -1
- package/dist/src/types/plugin.d.mts +174 -0
- package/dist/src/types/plugin.d.ts +174 -0
- package/dist/src/types/plugin.js +2 -0
- package/dist/src/types/plugin.mjs +1 -0
- package/package.json +45 -3
package/dist/executors.js
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('./chunk-XO62WWX4.js');
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
require('./chunk-
|
|
4
|
+
var chunkHANZV54P_js = require('./chunk-HANZV54P.js');
|
|
5
|
+
var chunkVW4AOJ4M_js = require('./chunk-VW4AOJ4M.js');
|
|
6
|
+
var chunkAD2EUZQL_js = require('./chunk-AD2EUZQL.js');
|
|
7
|
+
var chunkP5LV56CI_js = require('./chunk-P5LV56CI.js');
|
|
8
|
+
var chunkEOBEXUZ2_js = require('./chunk-EOBEXUZ2.js');
|
|
9
|
+
require('./chunk-FBZEUICY.js');
|
|
10
10
|
require('./chunk-LTCZN4I4.js');
|
|
11
11
|
require('./chunk-SHUYVCID.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
Object.defineProperty(exports, "
|
|
15
|
+
Object.defineProperty(exports, "lint", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkHANZV54P_js.executor_default; }
|
|
18
18
|
});
|
|
19
|
-
Object.defineProperty(exports, "
|
|
19
|
+
Object.defineProperty(exports, "prepare", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkVW4AOJ4M_js.executor_default; }
|
|
22
22
|
});
|
|
23
|
-
Object.defineProperty(exports, "
|
|
23
|
+
Object.defineProperty(exports, "build", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkAD2EUZQL_js.executor_default; }
|
|
26
26
|
});
|
|
27
|
-
Object.defineProperty(exports, "
|
|
27
|
+
Object.defineProperty(exports, "clean", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkP5LV56CI_js.executor_default; }
|
|
30
30
|
});
|
|
31
|
-
Object.defineProperty(exports, "
|
|
31
|
+
Object.defineProperty(exports, "docs", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkEOBEXUZ2_js.executor_default; }
|
|
34
34
|
});
|
package/dist/executors.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import './chunk-UV4HQO3Y.mjs';
|
|
2
|
-
export { executor_default as
|
|
3
|
-
export { executor_default as
|
|
4
|
-
export { executor_default as
|
|
5
|
-
export { executor_default as
|
|
6
|
-
export { executor_default as
|
|
7
|
-
import './chunk-
|
|
2
|
+
export { executor_default as lint } from './chunk-VD72KMTO.mjs';
|
|
3
|
+
export { executor_default as prepare } from './chunk-OFWFMQU2.mjs';
|
|
4
|
+
export { executor_default as build } from './chunk-J66W6WPB.mjs';
|
|
5
|
+
export { executor_default as clean } from './chunk-EMPB7IUD.mjs';
|
|
6
|
+
export { executor_default as docs } from './chunk-E7EIMG6J.mjs';
|
|
7
|
+
import './chunk-5KEIBGFG.mjs';
|
|
8
8
|
import './chunk-FMYWKI25.mjs';
|
|
9
9
|
import './chunk-O6YSETKJ.mjs';
|
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,49 +1,51 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var chunkEX3O7O2B_js = require('./chunk-EX3O7O2B.js');
|
|
3
4
|
require('./chunk-XO62WWX4.js');
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
5
|
+
var chunkHANZV54P_js = require('./chunk-HANZV54P.js');
|
|
6
|
+
var chunkVW4AOJ4M_js = require('./chunk-VW4AOJ4M.js');
|
|
7
|
+
var chunkAD2EUZQL_js = require('./chunk-AD2EUZQL.js');
|
|
8
|
+
var chunkP5LV56CI_js = require('./chunk-P5LV56CI.js');
|
|
9
|
+
var chunkEOBEXUZ2_js = require('./chunk-EOBEXUZ2.js');
|
|
8
10
|
require('./chunk-N2YKXZ5R.js');
|
|
9
11
|
var chunkWUJKJGEW_js = require('./chunk-WUJKJGEW.js');
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
require('./chunk-32RH3DSY.js');
|
|
12
|
+
require('./chunk-FBZEUICY.js');
|
|
13
|
+
require('./chunk-TO3WM5BR.js');
|
|
13
14
|
require('./chunk-LTCZN4I4.js');
|
|
15
|
+
require('./chunk-VIU4CXA3.js');
|
|
14
16
|
require('./chunk-SHUYVCID.js');
|
|
15
17
|
|
|
16
18
|
|
|
17
19
|
|
|
18
|
-
Object.defineProperty(exports, "
|
|
19
|
-
enumerable: true,
|
|
20
|
-
get: function () { return chunkQJLAFC2D_js.executor_default; }
|
|
21
|
-
});
|
|
22
|
-
Object.defineProperty(exports, "docs", {
|
|
20
|
+
Object.defineProperty(exports, "createNodesV2", {
|
|
23
21
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkEX3O7O2B_js.createNodesV2; }
|
|
25
23
|
});
|
|
26
24
|
Object.defineProperty(exports, "lint", {
|
|
27
25
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkHANZV54P_js.executor_default; }
|
|
29
27
|
});
|
|
30
28
|
Object.defineProperty(exports, "prepare", {
|
|
31
29
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkVW4AOJ4M_js.executor_default; }
|
|
33
31
|
});
|
|
34
|
-
Object.defineProperty(exports, "
|
|
32
|
+
Object.defineProperty(exports, "build", {
|
|
35
33
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkAD2EUZQL_js.executor_default; }
|
|
37
35
|
});
|
|
38
|
-
Object.defineProperty(exports, "
|
|
36
|
+
Object.defineProperty(exports, "clean", {
|
|
39
37
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkP5LV56CI_js.executor_default; }
|
|
41
39
|
});
|
|
42
|
-
Object.defineProperty(exports, "
|
|
40
|
+
Object.defineProperty(exports, "docs", {
|
|
43
41
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkEOBEXUZ2_js.executor_default; }
|
|
45
43
|
});
|
|
46
|
-
Object.defineProperty(exports, "
|
|
44
|
+
Object.defineProperty(exports, "sync", {
|
|
47
45
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkWUJKJGEW_js.generator_default; }
|
|
47
|
+
});
|
|
48
|
+
Object.defineProperty(exports, "syncGenerator", {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
get: function () { return chunkWUJKJGEW_js.generatorFn; }
|
|
49
51
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
|
+
export { createNodesV2 } from './chunk-FEJ2ZSZP.mjs';
|
|
1
2
|
import './chunk-UV4HQO3Y.mjs';
|
|
2
|
-
export { executor_default as
|
|
3
|
-
export { executor_default as
|
|
4
|
-
export { executor_default as
|
|
5
|
-
export { executor_default as
|
|
3
|
+
export { executor_default as lint } from './chunk-VD72KMTO.mjs';
|
|
4
|
+
export { executor_default as prepare } from './chunk-OFWFMQU2.mjs';
|
|
5
|
+
export { executor_default as build } from './chunk-J66W6WPB.mjs';
|
|
6
|
+
export { executor_default as clean } from './chunk-EMPB7IUD.mjs';
|
|
7
|
+
export { executor_default as docs } from './chunk-E7EIMG6J.mjs';
|
|
6
8
|
import './chunk-23KFTIT2.mjs';
|
|
7
9
|
export { generator_default as sync, generatorFn as syncGenerator } from './chunk-326QB2VK.mjs';
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
import './chunk-WMZ45WVV.mjs';
|
|
10
|
+
import './chunk-5KEIBGFG.mjs';
|
|
11
|
+
import './chunk-OS7UD4XD.mjs';
|
|
11
12
|
import './chunk-FMYWKI25.mjs';
|
|
13
|
+
import './chunk-LQU7XWFP.mjs';
|
|
12
14
|
import './chunk-O6YSETKJ.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkFBZEUICY_js = require('../../chunk-FBZEUICY.js');
|
|
4
4
|
require('../../chunk-LTCZN4I4.js');
|
|
5
5
|
require('../../chunk-SHUYVCID.js');
|
|
6
6
|
|
|
@@ -8,5 +8,5 @@ require('../../chunk-SHUYVCID.js');
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "withExecutor", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkFBZEUICY_js.withExecutor; }
|
|
12
12
|
});
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../../../chunk-
|
|
5
|
+
var chunkAD2EUZQL_js = require('../../../chunk-AD2EUZQL.js');
|
|
6
|
+
require('../../../chunk-FBZEUICY.js');
|
|
7
7
|
require('../../../chunk-LTCZN4I4.js');
|
|
8
8
|
require('../../../chunk-SHUYVCID.js');
|
|
9
9
|
|
|
@@ -11,9 +11,9 @@ require('../../../chunk-SHUYVCID.js');
|
|
|
11
11
|
|
|
12
12
|
Object.defineProperty(exports, "default", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkAD2EUZQL_js.executor_default; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "executorFn", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkAD2EUZQL_js.executorFn; }
|
|
19
19
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { executor_default as default, executorFn } from '../../../chunk-
|
|
2
|
-
import '../../../chunk-
|
|
1
|
+
export { executor_default as default, executorFn } from '../../../chunk-J66W6WPB.mjs';
|
|
2
|
+
import '../../../chunk-5KEIBGFG.mjs';
|
|
3
3
|
import '../../../chunk-FMYWKI25.mjs';
|
|
4
4
|
import '../../../chunk-O6YSETKJ.mjs';
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../../../chunk-
|
|
5
|
+
var chunkP5LV56CI_js = require('../../../chunk-P5LV56CI.js');
|
|
6
|
+
require('../../../chunk-FBZEUICY.js');
|
|
7
7
|
require('../../../chunk-LTCZN4I4.js');
|
|
8
8
|
require('../../../chunk-SHUYVCID.js');
|
|
9
9
|
|
|
@@ -11,9 +11,9 @@ require('../../../chunk-SHUYVCID.js');
|
|
|
11
11
|
|
|
12
12
|
Object.defineProperty(exports, "default", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkP5LV56CI_js.executor_default; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "executorFn", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkP5LV56CI_js.executorFn; }
|
|
19
19
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { executor_default as default, executorFn } from '../../../chunk-
|
|
2
|
-
import '../../../chunk-
|
|
1
|
+
export { executor_default as default, executorFn } from '../../../chunk-EMPB7IUD.mjs';
|
|
2
|
+
import '../../../chunk-5KEIBGFG.mjs';
|
|
3
3
|
import '../../../chunk-FMYWKI25.mjs';
|
|
4
4
|
import '../../../chunk-O6YSETKJ.mjs';
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../../../chunk-
|
|
5
|
+
var chunkEOBEXUZ2_js = require('../../../chunk-EOBEXUZ2.js');
|
|
6
|
+
require('../../../chunk-FBZEUICY.js');
|
|
7
7
|
require('../../../chunk-LTCZN4I4.js');
|
|
8
8
|
require('../../../chunk-SHUYVCID.js');
|
|
9
9
|
|
|
@@ -11,9 +11,9 @@ require('../../../chunk-SHUYVCID.js');
|
|
|
11
11
|
|
|
12
12
|
Object.defineProperty(exports, "default", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkEOBEXUZ2_js.executor_default; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "executorFn", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkEOBEXUZ2_js.executorFn; }
|
|
19
19
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { executor_default as default, executorFn } from '../../../chunk-
|
|
2
|
-
import '../../../chunk-
|
|
1
|
+
export { executor_default as default, executorFn } from '../../../chunk-E7EIMG6J.mjs';
|
|
2
|
+
import '../../../chunk-5KEIBGFG.mjs';
|
|
3
3
|
import '../../../chunk-FMYWKI25.mjs';
|
|
4
4
|
import '../../../chunk-O6YSETKJ.mjs';
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../../../chunk-
|
|
5
|
+
var chunkHANZV54P_js = require('../../../chunk-HANZV54P.js');
|
|
6
|
+
require('../../../chunk-FBZEUICY.js');
|
|
7
7
|
require('../../../chunk-LTCZN4I4.js');
|
|
8
8
|
require('../../../chunk-SHUYVCID.js');
|
|
9
9
|
|
|
@@ -11,9 +11,9 @@ require('../../../chunk-SHUYVCID.js');
|
|
|
11
11
|
|
|
12
12
|
Object.defineProperty(exports, "default", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkHANZV54P_js.executor_default; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "executorFn", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkHANZV54P_js.executorFn; }
|
|
19
19
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { executor_default as default, executorFn } from '../../../chunk-
|
|
2
|
-
import '../../../chunk-
|
|
1
|
+
export { executor_default as default, executorFn } from '../../../chunk-VD72KMTO.mjs';
|
|
2
|
+
import '../../../chunk-5KEIBGFG.mjs';
|
|
3
3
|
import '../../../chunk-FMYWKI25.mjs';
|
|
4
4
|
import '../../../chunk-O6YSETKJ.mjs';
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../../../chunk-
|
|
5
|
+
var chunkVW4AOJ4M_js = require('../../../chunk-VW4AOJ4M.js');
|
|
6
|
+
require('../../../chunk-FBZEUICY.js');
|
|
7
7
|
require('../../../chunk-LTCZN4I4.js');
|
|
8
8
|
require('../../../chunk-SHUYVCID.js');
|
|
9
9
|
|
|
@@ -11,9 +11,9 @@ require('../../../chunk-SHUYVCID.js');
|
|
|
11
11
|
|
|
12
12
|
Object.defineProperty(exports, "default", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkVW4AOJ4M_js.executor_default; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "executorFn", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkVW4AOJ4M_js.executorFn; }
|
|
19
19
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { executor_default as default, executorFn } from '../../../chunk-
|
|
2
|
-
import '../../../chunk-
|
|
1
|
+
export { executor_default as default, executorFn } from '../../../chunk-OFWFMQU2.mjs';
|
|
2
|
+
import '../../../chunk-5KEIBGFG.mjs';
|
|
3
3
|
import '../../../chunk-FMYWKI25.mjs';
|
|
4
4
|
import '../../../chunk-O6YSETKJ.mjs';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A list of Nx input strings that describe the Powerlines configuration file
|
|
3
|
+
*/
|
|
4
|
+
declare const CONFIG_INPUTS: readonly ["{projectRoot}/package.json", "{projectRoot}/{framework}.json", "{projectRoot}/{framework}.*.json", "{projectRoot}/{framework}.jsonc", "{projectRoot}/{framework}.*.jsonc", "{projectRoot}/{framework}.json5", "{projectRoot}/{framework}.*.json5", "{projectRoot}/{framework}.yaml", "{projectRoot}/{framework}.*.yaml", "{projectRoot}/{framework}.yml", "{projectRoot}/{framework}.*.yml", "{projectRoot}/{framework}.toml", "{projectRoot}/{framework}.*.toml", "{projectRoot}/{framework}.config.js", "{projectRoot}/{framework}.*.config.js", "{projectRoot}/{framework}.config.cjs", "{projectRoot}/{framework}.*.config.cjs", "{projectRoot}/{framework}.config.mjs", "{projectRoot}/{framework}.*.config.mjs", "{projectRoot}/{framework}.config.ts", "{projectRoot}/{framework}.*.config.ts", "{projectRoot}/{framework}.config.cts", "{projectRoot}/{framework}.*.config.cts", "{projectRoot}/{framework}.config.mts", "{projectRoot}/{framework}.*.config.mts"];
|
|
5
|
+
|
|
6
|
+
export { CONFIG_INPUTS };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A list of Nx input strings that describe the Powerlines configuration file
|
|
3
|
+
*/
|
|
4
|
+
declare const CONFIG_INPUTS: readonly ["{projectRoot}/package.json", "{projectRoot}/{framework}.json", "{projectRoot}/{framework}.*.json", "{projectRoot}/{framework}.jsonc", "{projectRoot}/{framework}.*.jsonc", "{projectRoot}/{framework}.json5", "{projectRoot}/{framework}.*.json5", "{projectRoot}/{framework}.yaml", "{projectRoot}/{framework}.*.yaml", "{projectRoot}/{framework}.yml", "{projectRoot}/{framework}.*.yml", "{projectRoot}/{framework}.toml", "{projectRoot}/{framework}.*.toml", "{projectRoot}/{framework}.config.js", "{projectRoot}/{framework}.*.config.js", "{projectRoot}/{framework}.config.cjs", "{projectRoot}/{framework}.*.config.cjs", "{projectRoot}/{framework}.config.mjs", "{projectRoot}/{framework}.*.config.mjs", "{projectRoot}/{framework}.config.ts", "{projectRoot}/{framework}.*.config.ts", "{projectRoot}/{framework}.config.cts", "{projectRoot}/{framework}.*.config.cts", "{projectRoot}/{framework}.config.mts", "{projectRoot}/{framework}.*.config.mts"];
|
|
5
|
+
|
|
6
|
+
export { CONFIG_INPUTS };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkVIU4CXA3_js = require('../../chunk-VIU4CXA3.js');
|
|
4
|
+
require('../../chunk-SHUYVCID.js');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "CONFIG_INPUTS", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunkVIU4CXA3_js.CONFIG_INPUTS; }
|
|
11
|
+
});
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { CreateNodesV2 } from '@nx/devkit';
|
|
2
|
+
import { NxPluginOptions } from '../types/plugin.mjs';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Generates Nx input strings for the Powerlines configuration file, replacing the `{framework}` placeholder with the specified framework name.
|
|
6
|
+
*
|
|
7
|
+
* @param framework - The framework name to use in the input strings
|
|
8
|
+
* @returns An array of Nx input strings for the configuration file
|
|
9
|
+
*/
|
|
10
|
+
declare function getNxTargetInputs(framework: string): string[];
|
|
11
|
+
/**
|
|
12
|
+
* Generates Nx input strings for the Powerlines configuration file, replacing the `{framework}` placeholder with the specified framework name.
|
|
13
|
+
*
|
|
14
|
+
* @param framework - The framework name to use in the input strings
|
|
15
|
+
* @returns An array of Nx input strings for the configuration file
|
|
16
|
+
*/
|
|
17
|
+
declare function getNxPluginInputs(framework: string): string;
|
|
18
|
+
interface CreateNxPluginOptions {
|
|
19
|
+
/**
|
|
20
|
+
* The name of the Nx plugin to create
|
|
21
|
+
*
|
|
22
|
+
* @remarks
|
|
23
|
+
* This will be used in logging and project tagging.
|
|
24
|
+
*
|
|
25
|
+
* @defaultValue "powerlines/plugin/nx"
|
|
26
|
+
*/
|
|
27
|
+
name?: string;
|
|
28
|
+
/**
|
|
29
|
+
* The folder where the generated runtime artifacts will be located
|
|
30
|
+
*
|
|
31
|
+
* @remarks
|
|
32
|
+
* This folder will contain all runtime artifacts and builtins generated during the "prepare" phase.
|
|
33
|
+
*
|
|
34
|
+
* @defaultValue "\{projectRoot\}/.powerlines"
|
|
35
|
+
*/
|
|
36
|
+
artifactsFolder?: string;
|
|
37
|
+
/**
|
|
38
|
+
* A string identifier that allows a child framework or tool to identify itself when using Powerlines.
|
|
39
|
+
*
|
|
40
|
+
* @remarks
|
|
41
|
+
* If no values are provided for {@link OutputConfig.dts | output.dts}, {@link OutputConfig.builtinPrefix | output.builtinPrefix}, or {@link OutputConfig.artifactsFolder | output.artifactsFolder}, this value will be used as the default.
|
|
42
|
+
*
|
|
43
|
+
* @defaultValue "powerlines"
|
|
44
|
+
*/
|
|
45
|
+
framework?: string;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Creates an Nx plugin that integrates Powerlines into the Nx build process.
|
|
49
|
+
*
|
|
50
|
+
* @param opts - Options for creating the Nx plugin
|
|
51
|
+
* @returns A CreateNodesV2 function that can be used as an Nx plugin
|
|
52
|
+
*/
|
|
53
|
+
declare function createNxPlugin<TOptions extends NxPluginOptions = NxPluginOptions>(opts?: CreateNxPluginOptions): CreateNodesV2<TOptions>;
|
|
54
|
+
|
|
55
|
+
export { type CreateNxPluginOptions, createNxPlugin, getNxPluginInputs, getNxTargetInputs };
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { CreateNodesV2 } from '@nx/devkit';
|
|
2
|
+
import { NxPluginOptions } from '../types/plugin.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Generates Nx input strings for the Powerlines configuration file, replacing the `{framework}` placeholder with the specified framework name.
|
|
6
|
+
*
|
|
7
|
+
* @param framework - The framework name to use in the input strings
|
|
8
|
+
* @returns An array of Nx input strings for the configuration file
|
|
9
|
+
*/
|
|
10
|
+
declare function getNxTargetInputs(framework: string): string[];
|
|
11
|
+
/**
|
|
12
|
+
* Generates Nx input strings for the Powerlines configuration file, replacing the `{framework}` placeholder with the specified framework name.
|
|
13
|
+
*
|
|
14
|
+
* @param framework - The framework name to use in the input strings
|
|
15
|
+
* @returns An array of Nx input strings for the configuration file
|
|
16
|
+
*/
|
|
17
|
+
declare function getNxPluginInputs(framework: string): string;
|
|
18
|
+
interface CreateNxPluginOptions {
|
|
19
|
+
/**
|
|
20
|
+
* The name of the Nx plugin to create
|
|
21
|
+
*
|
|
22
|
+
* @remarks
|
|
23
|
+
* This will be used in logging and project tagging.
|
|
24
|
+
*
|
|
25
|
+
* @defaultValue "powerlines/plugin/nx"
|
|
26
|
+
*/
|
|
27
|
+
name?: string;
|
|
28
|
+
/**
|
|
29
|
+
* The folder where the generated runtime artifacts will be located
|
|
30
|
+
*
|
|
31
|
+
* @remarks
|
|
32
|
+
* This folder will contain all runtime artifacts and builtins generated during the "prepare" phase.
|
|
33
|
+
*
|
|
34
|
+
* @defaultValue "\{projectRoot\}/.powerlines"
|
|
35
|
+
*/
|
|
36
|
+
artifactsFolder?: string;
|
|
37
|
+
/**
|
|
38
|
+
* A string identifier that allows a child framework or tool to identify itself when using Powerlines.
|
|
39
|
+
*
|
|
40
|
+
* @remarks
|
|
41
|
+
* If no values are provided for {@link OutputConfig.dts | output.dts}, {@link OutputConfig.builtinPrefix | output.builtinPrefix}, or {@link OutputConfig.artifactsFolder | output.artifactsFolder}, this value will be used as the default.
|
|
42
|
+
*
|
|
43
|
+
* @defaultValue "powerlines"
|
|
44
|
+
*/
|
|
45
|
+
framework?: string;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Creates an Nx plugin that integrates Powerlines into the Nx build process.
|
|
49
|
+
*
|
|
50
|
+
* @param opts - Options for creating the Nx plugin
|
|
51
|
+
* @returns A CreateNodesV2 function that can be used as an Nx plugin
|
|
52
|
+
*/
|
|
53
|
+
declare function createNxPlugin<TOptions extends NxPluginOptions = NxPluginOptions>(opts?: CreateNxPluginOptions): CreateNodesV2<TOptions>;
|
|
54
|
+
|
|
55
|
+
export { type CreateNxPluginOptions, createNxPlugin, getNxPluginInputs, getNxTargetInputs };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkTO3WM5BR_js = require('../../chunk-TO3WM5BR.js');
|
|
4
|
+
require('../../chunk-LTCZN4I4.js');
|
|
5
|
+
require('../../chunk-VIU4CXA3.js');
|
|
6
|
+
require('../../chunk-SHUYVCID.js');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Object.defineProperty(exports, "createNxPlugin", {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () { return chunkTO3WM5BR_js.createNxPlugin; }
|
|
13
|
+
});
|
|
14
|
+
Object.defineProperty(exports, "getNxPluginInputs", {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return chunkTO3WM5BR_js.getNxPluginInputs; }
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "getNxTargetInputs", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () { return chunkTO3WM5BR_js.getNxTargetInputs; }
|
|
21
|
+
});
|