@powerlines/nx 0.10.34 → 0.10.36
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 +17 -0
- package/dist/{chunk-LRF7ATT4.mjs → chunk-3QGFYJKW.mjs} +1 -1
- package/dist/{chunk-52F2VAZ4.js → chunk-62JK5CR2.js} +2 -2
- package/dist/{chunk-BO2YKBTG.mjs → chunk-6M466CL6.mjs} +1 -1
- package/dist/{chunk-OWK7QDUZ.js → chunk-76PYI2PW.js} +2 -2
- package/dist/{chunk-ELKTVKQE.mjs → chunk-A36IQB2U.mjs} +1 -1
- package/dist/{chunk-Z2YDTW4O.mjs → chunk-AGWVUBME.mjs} +1 -1
- package/dist/{chunk-HUNDXZTR.js → chunk-D5MAY4B6.js} +2 -2
- package/dist/{chunk-62X6DTK2.js → chunk-FXB722G2.js} +2 -2
- package/dist/{chunk-BKHO25SD.mjs → chunk-HOCK3PN2.mjs} +1 -1
- package/dist/{chunk-LQU7XWFP.mjs → chunk-IC47MFKB.mjs} +0 -1
- package/dist/{chunk-VIU4CXA3.js → chunk-IQVSZEQ6.js} +0 -1
- package/dist/{chunk-S26F2QP7.js → chunk-LNSZHZQF.js} +23 -19
- package/dist/{chunk-RRWNDFKP.mjs → chunk-OBVSDJNP.mjs} +1 -1
- package/dist/{chunk-KJ7BGCHK.js → chunk-Q6DRZWW7.js} +2 -2
- package/dist/{chunk-BRNX6NQ7.js → chunk-V3APU4CI.js} +2 -2
- package/dist/{chunk-G63W354C.mjs → chunk-XQ44F4OL.mjs} +23 -19
- package/dist/{chunk-VACG7DQ3.js → chunk-YAQUTH2M.js} +2 -2
- package/dist/{chunk-ZDEJ2BGF.mjs → chunk-ZGEXR2Z6.mjs} +1 -1
- package/dist/executors.js +11 -11
- package/dist/executors.mjs +6 -6
- package/dist/index.js +15 -15
- package/dist/index.mjs +9 -9
- 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 +1 -1
- package/dist/src/helpers/constants.d.ts +1 -1
- package/dist/src/helpers/constants.js +2 -2
- package/dist/src/helpers/constants.mjs +1 -1
- 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/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Powerlines - Nx
|
|
4
4
|
|
|
5
|
+
## [0.10.36](https://github.com/storm-software/powerlines/releases/tag/nx%400.10.36) (11/22/2025)
|
|
6
|
+
|
|
7
|
+
### Updated Dependencies
|
|
8
|
+
|
|
9
|
+
- Updated **powerlines** to **v0.24.8**
|
|
10
|
+
|
|
11
|
+
## [0.10.35](https://github.com/storm-software/powerlines/releases/tag/nx%400.10.35) (11/21/2025)
|
|
12
|
+
|
|
13
|
+
### Miscellaneous
|
|
14
|
+
|
|
15
|
+
- **nx:** Remove `package.json` from the Nx plugin's input list
|
|
16
|
+
([0900fb4](https://github.com/storm-software/powerlines/commit/0900fb4))
|
|
17
|
+
|
|
18
|
+
### Updated Dependencies
|
|
19
|
+
|
|
20
|
+
- Updated **powerlines** to **v0.24.7**
|
|
21
|
+
|
|
5
22
|
## [0.10.34](https://github.com/storm-software/powerlines/releases/tag/nx%400.10.34) (11/21/2025)
|
|
6
23
|
|
|
7
24
|
### Miscellaneous
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkLNSZHZQF_js = require('./chunk-LNSZHZQF.js');
|
|
4
4
|
var chunkSHUYVCID_js = require('./chunk-SHUYVCID.js');
|
|
5
5
|
|
|
6
6
|
// src/executors/docs/executor.ts
|
|
@@ -11,7 +11,7 @@ async function executorFn(context, api) {
|
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
13
|
chunkSHUYVCID_js.__name(executorFn, "executorFn");
|
|
14
|
-
var executor =
|
|
14
|
+
var executor = chunkLNSZHZQF_js.withExecutor("docs", executorFn);
|
|
15
15
|
var executor_default = executor;
|
|
16
16
|
|
|
17
17
|
exports.executorFn = executorFn;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkLNSZHZQF_js = require('./chunk-LNSZHZQF.js');
|
|
4
4
|
var chunkSHUYVCID_js = require('./chunk-SHUYVCID.js');
|
|
5
5
|
|
|
6
6
|
// src/executors/lint/executor.ts
|
|
@@ -11,7 +11,7 @@ async function executorFn(context, api) {
|
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
13
|
chunkSHUYVCID_js.__name(executorFn, "executorFn");
|
|
14
|
-
var executor =
|
|
14
|
+
var executor = chunkLNSZHZQF_js.withExecutor("lint", executorFn);
|
|
15
15
|
var executor_default = executor;
|
|
16
16
|
|
|
17
17
|
exports.executorFn = executorFn;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PROJECT_ROOT_HASH_LENGTH, loadUserConfigFile } from './chunk-WGIN2BGP.mjs';
|
|
2
|
-
import { CONFIG_INPUTS } from './chunk-
|
|
2
|
+
import { CONFIG_INPUTS } from './chunk-IC47MFKB.mjs';
|
|
3
3
|
import { __name } from './chunk-O6YSETKJ.mjs';
|
|
4
4
|
import { createNodesFromFiles } from '@nx/devkit';
|
|
5
5
|
import { withNamedInputs } from '@storm-software/workspace-tools/utils/nx-json';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkLNSZHZQF_js = require('./chunk-LNSZHZQF.js');
|
|
4
4
|
var chunkSHUYVCID_js = require('./chunk-SHUYVCID.js');
|
|
5
5
|
var defu = require('defu');
|
|
6
6
|
|
|
@@ -19,7 +19,7 @@ async function executorFn(context, api) {
|
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
chunkSHUYVCID_js.__name(executorFn, "executorFn");
|
|
22
|
-
var executor =
|
|
22
|
+
var executor = chunkLNSZHZQF_js.withExecutor("prepare", executorFn);
|
|
23
23
|
var executor_default = executor;
|
|
24
24
|
|
|
25
25
|
exports.executorFn = executorFn;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkQ6DRZWW7_js = require('./chunk-Q6DRZWW7.js');
|
|
4
4
|
|
|
5
5
|
// src/plugin/index.ts
|
|
6
|
-
var createNodesV2 =
|
|
6
|
+
var createNodesV2 = chunkQ6DRZWW7_js.createNxPlugin({
|
|
7
7
|
framework: "powerlines"
|
|
8
8
|
});
|
|
9
9
|
|
|
@@ -11,8 +11,6 @@ var console = require('@storm-software/config-tools/logger/console');
|
|
|
11
11
|
var types = require('@storm-software/config-tools/types');
|
|
12
12
|
var toArray = require('@stryke/convert/to-array');
|
|
13
13
|
var copyFile = require('@stryke/fs/copy-file');
|
|
14
|
-
var exists = require('@stryke/fs/exists');
|
|
15
|
-
var helpers = require('@stryke/fs/helpers');
|
|
16
14
|
var install = require('@stryke/fs/install');
|
|
17
15
|
var listFiles = require('@stryke/fs/list-files');
|
|
18
16
|
var packageFns = require('@stryke/fs/package-fns');
|
|
@@ -38,6 +36,7 @@ var stormJson = require('@stryke/json/storm-json');
|
|
|
38
36
|
var filePathFns = require('@stryke/path/file-path-fns');
|
|
39
37
|
var isParentPath = require('@stryke/path/is-parent-path');
|
|
40
38
|
var titleCase = require('@stryke/string-format/title-case');
|
|
39
|
+
var exists = require('@stryke/fs/exists');
|
|
41
40
|
var writeFile$1 = require('@stryke/fs/write-file');
|
|
42
41
|
var prettier = require('prettier');
|
|
43
42
|
var getEnvPaths = require('@stryke/env/get-env-paths');
|
|
@@ -2205,22 +2204,21 @@ var VirtualFileSystem = class _VirtualFileSystem {
|
|
|
2205
2204
|
await this.unlink(joinPaths.joinPaths(this.#context.dataPath, "fs.bin"));
|
|
2206
2205
|
const message = new $__namespace.Message();
|
|
2207
2206
|
const fs2 = message.initRoot(FileSystem);
|
|
2208
|
-
const
|
|
2209
|
-
const virtualFiles = Object.entries(virtualFS).filter(([_, code]) => code);
|
|
2207
|
+
const virtualFiles = Object.entries(this.#unifiedFS.toJSON()).filter(([, code]) => code);
|
|
2210
2208
|
const files = fs2._initFiles(virtualFiles.length);
|
|
2211
|
-
virtualFiles.forEach(([path, code], index) => {
|
|
2209
|
+
virtualFiles.filter(([, code]) => code).forEach(([path, code], index) => {
|
|
2212
2210
|
const fd = files.get(index);
|
|
2213
2211
|
fd.path = path;
|
|
2214
2212
|
fd.code = code || "";
|
|
2215
2213
|
});
|
|
2216
2214
|
const ids = fs2._initIds(Object.keys(this.ids).length);
|
|
2217
|
-
Object.entries(this.ids).forEach(([id, path], index) => {
|
|
2215
|
+
Object.entries(this.ids).filter(([, path]) => path).forEach(([id, path], index) => {
|
|
2218
2216
|
const fileId = ids.get(index);
|
|
2219
2217
|
fileId.id = id;
|
|
2220
2218
|
fileId.path = path;
|
|
2221
2219
|
});
|
|
2222
2220
|
const metadata = fs2._initMetadata(Object.keys(this.metadata).length);
|
|
2223
|
-
Object.entries(this.metadata).forEach(([id, value], index) => {
|
|
2221
|
+
Object.entries(this.metadata).filter(([, value]) => value).forEach(([id, value], index) => {
|
|
2224
2222
|
const fileMetadata = metadata.get(index);
|
|
2225
2223
|
fileMetadata.id = id;
|
|
2226
2224
|
fileMetadata.mode = value.mode;
|
|
@@ -2228,10 +2226,10 @@ var VirtualFileSystem = class _VirtualFileSystem {
|
|
|
2228
2226
|
fileMetadata.timestamp = value.timestamp ?? BigInt(Date.now());
|
|
2229
2227
|
if (value.properties) {
|
|
2230
2228
|
const props = fileMetadata._initProperties(Object.keys(value.properties).length);
|
|
2231
|
-
Object.entries(value.properties).forEach(([key, val],
|
|
2232
|
-
const
|
|
2233
|
-
|
|
2234
|
-
|
|
2229
|
+
Object.entries(value.properties).forEach(([key, val], index2) => {
|
|
2230
|
+
const prop = props.get(index2);
|
|
2231
|
+
prop.key = key;
|
|
2232
|
+
prop.value = val;
|
|
2235
2233
|
});
|
|
2236
2234
|
}
|
|
2237
2235
|
});
|
|
@@ -2599,7 +2597,7 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
2599
2597
|
* Get the path to the generated declaration file for the project
|
|
2600
2598
|
*/
|
|
2601
2599
|
get dtsPath() {
|
|
2602
|
-
return this.config.output.dts ? append.appendPath(this.config.output.dts, this.workspaceConfig.workspaceRoot) : join.joinPaths(this.workspaceConfig.workspaceRoot, this.config.projectRoot, "
|
|
2600
|
+
return this.config.output.dts ? append.appendPath(this.config.output.dts, this.workspaceConfig.workspaceRoot) : join.joinPaths(this.workspaceConfig.workspaceRoot, this.config.projectRoot, "powerlines.d.ts");
|
|
2603
2601
|
}
|
|
2604
2602
|
/**
|
|
2605
2603
|
* Get the project root relative to the workspace root
|
|
@@ -3502,16 +3500,23 @@ ${context.entry.map((entry) => `- ${entry.input.file || entry.file}${entry.outpu
|
|
|
3502
3500
|
${console.formatLogMessage(context.config)}`);
|
|
3503
3501
|
await chunk2PYUYDPD_js.writeMetaFile(context);
|
|
3504
3502
|
context.persistedMeta = context.meta;
|
|
3505
|
-
if (!
|
|
3506
|
-
await
|
|
3503
|
+
if (!context.fs.existsSync(context.cachePath)) {
|
|
3504
|
+
await context.fs.mkdir(context.cachePath, {
|
|
3505
|
+
mode: "fs"
|
|
3506
|
+
});
|
|
3507
3507
|
}
|
|
3508
|
-
if (!
|
|
3509
|
-
await
|
|
3508
|
+
if (!context.fs.existsSync(context.dataPath)) {
|
|
3509
|
+
await context.fs.mkdir(context.dataPath, {
|
|
3510
|
+
mode: "fs"
|
|
3511
|
+
});
|
|
3510
3512
|
}
|
|
3511
3513
|
await this.callPreHook(context, "prepare");
|
|
3512
3514
|
await this.callNormalHook(context, "prepare");
|
|
3513
3515
|
if (context.config.output.dts !== false) {
|
|
3514
3516
|
context.log(types.LogLevelLabel.TRACE, `Preparing the TypeScript definitions for the Powerlines project.`);
|
|
3517
|
+
if (context.fs.existsSync(context.dtsPath)) {
|
|
3518
|
+
await context.fs.unlink(context.dtsPath);
|
|
3519
|
+
}
|
|
3515
3520
|
context.log(types.LogLevelLabel.TRACE, "Transforming built-ins runtime modules files.");
|
|
3516
3521
|
const builtinFilePaths = await Promise.all((await context.getBuiltins()).map(async (file) => {
|
|
3517
3522
|
const result2 = await core.transformAsync(file.code.toString(), {
|
|
@@ -3562,7 +3567,7 @@ ${console.formatLogMessage(context.config)}`);
|
|
|
3562
3567
|
);
|
|
3563
3568
|
context.log(types.LogLevelLabel.TRACE, "Parsing TypeScript configuration for the Powerlines project.");
|
|
3564
3569
|
let generatedTypes = await emitTypes(context, files);
|
|
3565
|
-
context.log(types.LogLevelLabel.TRACE, `Generating TypeScript declaration file
|
|
3570
|
+
context.log(types.LogLevelLabel.TRACE, `Generating TypeScript declaration file ${context.dtsPath}.`);
|
|
3566
3571
|
const directives = [];
|
|
3567
3572
|
let result = await this.callPreHook(context, "generateTypes", generatedTypes);
|
|
3568
3573
|
if (result) {
|
|
@@ -3597,7 +3602,7 @@ ${console.formatLogMessage(context.config)}`);
|
|
|
3597
3602
|
generatedTypes = result;
|
|
3598
3603
|
}
|
|
3599
3604
|
}
|
|
3600
|
-
await context.fs.writeFile(context.
|
|
3605
|
+
await context.fs.writeFile(context.dtsPath, `${directives ? `${directives.map((directive) => `/// <reference types="${directive}" />`).join("\n")}
|
|
3601
3606
|
|
|
3602
3607
|
` : ""}${getFileHeader(context, {
|
|
3603
3608
|
directive: null,
|
|
@@ -3787,7 +3792,6 @@ ${formatTypes(generatedTypes)}
|
|
|
3787
3792
|
this.context.log(types.LogLevelLabel.TRACE, "Powerlines finalize execution started");
|
|
3788
3793
|
await this.#executeEnvironments(async (context) => {
|
|
3789
3794
|
await this.callHook(context, "finalize");
|
|
3790
|
-
context.fs[__VFS_REVERT__]();
|
|
3791
3795
|
await context.fs.dispose();
|
|
3792
3796
|
});
|
|
3793
3797
|
this.context.log(types.LogLevelLabel.TRACE, "Powerlines finalize execution completed");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunk2PYUYDPD_js = require('./chunk-2PYUYDPD.js');
|
|
4
|
-
var
|
|
4
|
+
var chunkIQVSZEQ6_js = require('./chunk-IQVSZEQ6.js');
|
|
5
5
|
var chunkSHUYVCID_js = require('./chunk-SHUYVCID.js');
|
|
6
6
|
var devkit = require('@nx/devkit');
|
|
7
7
|
var nxJson = require('@storm-software/workspace-tools/utils/nx-json');
|
|
@@ -25,7 +25,7 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
|
25
25
|
var defu__default = /*#__PURE__*/_interopDefault(defu);
|
|
26
26
|
|
|
27
27
|
function getNxTargetInputs(framework) {
|
|
28
|
-
return
|
|
28
|
+
return chunkIQVSZEQ6_js.CONFIG_INPUTS.map((input) => input.replace("{framework}", framework));
|
|
29
29
|
}
|
|
30
30
|
chunkSHUYVCID_js.__name(getNxTargetInputs, "getNxTargetInputs");
|
|
31
31
|
function getNxPluginInputs(framework) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkLNSZHZQF_js = require('./chunk-LNSZHZQF.js');
|
|
4
4
|
var chunkSHUYVCID_js = require('./chunk-SHUYVCID.js');
|
|
5
5
|
|
|
6
6
|
// src/executors/clean/executor.ts
|
|
@@ -11,7 +11,7 @@ async function executorFn(context, api) {
|
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
13
|
chunkSHUYVCID_js.__name(executorFn, "executorFn");
|
|
14
|
-
var executor =
|
|
14
|
+
var executor = chunkLNSZHZQF_js.withExecutor("clean", executorFn);
|
|
15
15
|
var executor_default = executor;
|
|
16
16
|
|
|
17
17
|
exports.executorFn = executorFn;
|
|
@@ -9,8 +9,6 @@ import { formatLogMessage } from '@storm-software/config-tools/logger/console';
|
|
|
9
9
|
import { LogLevelLabel } from '@storm-software/config-tools/types';
|
|
10
10
|
import { toArray } from '@stryke/convert/to-array';
|
|
11
11
|
import { copyFiles } from '@stryke/fs/copy-file';
|
|
12
|
-
import { existsSync } from '@stryke/fs/exists';
|
|
13
|
-
import { createDirectory } from '@stryke/fs/helpers';
|
|
14
12
|
import { install } from '@stryke/fs/install';
|
|
15
13
|
import { listFiles, listFilesSync } from '@stryke/fs/list-files';
|
|
16
14
|
import { isPackageExists, isPackageListed, doesPackageMatch, getPackageListing } from '@stryke/fs/package-fns';
|
|
@@ -36,6 +34,7 @@ import { StormJSON } from '@stryke/json/storm-json';
|
|
|
36
34
|
import { findFilePath, findFileExtension, relativePath, findFileName, findFileDotExtensionSafe } from '@stryke/path/file-path-fns';
|
|
37
35
|
import { isParentPath } from '@stryke/path/is-parent-path';
|
|
38
36
|
import { titleCase } from '@stryke/string-format/title-case';
|
|
37
|
+
import { existsSync } from '@stryke/fs/exists';
|
|
39
38
|
import { writeFile as writeFile$1 } from '@stryke/fs/write-file';
|
|
40
39
|
import { resolveConfig, format } from 'prettier';
|
|
41
40
|
import { getEnvPaths } from '@stryke/env/get-env-paths';
|
|
@@ -2175,22 +2174,21 @@ var VirtualFileSystem = class _VirtualFileSystem {
|
|
|
2175
2174
|
await this.unlink(joinPaths$1(this.#context.dataPath, "fs.bin"));
|
|
2176
2175
|
const message = new $.Message();
|
|
2177
2176
|
const fs2 = message.initRoot(FileSystem);
|
|
2178
|
-
const
|
|
2179
|
-
const virtualFiles = Object.entries(virtualFS).filter(([_, code]) => code);
|
|
2177
|
+
const virtualFiles = Object.entries(this.#unifiedFS.toJSON()).filter(([, code]) => code);
|
|
2180
2178
|
const files = fs2._initFiles(virtualFiles.length);
|
|
2181
|
-
virtualFiles.forEach(([path, code], index) => {
|
|
2179
|
+
virtualFiles.filter(([, code]) => code).forEach(([path, code], index) => {
|
|
2182
2180
|
const fd = files.get(index);
|
|
2183
2181
|
fd.path = path;
|
|
2184
2182
|
fd.code = code || "";
|
|
2185
2183
|
});
|
|
2186
2184
|
const ids = fs2._initIds(Object.keys(this.ids).length);
|
|
2187
|
-
Object.entries(this.ids).forEach(([id, path], index) => {
|
|
2185
|
+
Object.entries(this.ids).filter(([, path]) => path).forEach(([id, path], index) => {
|
|
2188
2186
|
const fileId = ids.get(index);
|
|
2189
2187
|
fileId.id = id;
|
|
2190
2188
|
fileId.path = path;
|
|
2191
2189
|
});
|
|
2192
2190
|
const metadata = fs2._initMetadata(Object.keys(this.metadata).length);
|
|
2193
|
-
Object.entries(this.metadata).forEach(([id, value], index) => {
|
|
2191
|
+
Object.entries(this.metadata).filter(([, value]) => value).forEach(([id, value], index) => {
|
|
2194
2192
|
const fileMetadata = metadata.get(index);
|
|
2195
2193
|
fileMetadata.id = id;
|
|
2196
2194
|
fileMetadata.mode = value.mode;
|
|
@@ -2198,10 +2196,10 @@ var VirtualFileSystem = class _VirtualFileSystem {
|
|
|
2198
2196
|
fileMetadata.timestamp = value.timestamp ?? BigInt(Date.now());
|
|
2199
2197
|
if (value.properties) {
|
|
2200
2198
|
const props = fileMetadata._initProperties(Object.keys(value.properties).length);
|
|
2201
|
-
Object.entries(value.properties).forEach(([key, val],
|
|
2202
|
-
const
|
|
2203
|
-
|
|
2204
|
-
|
|
2199
|
+
Object.entries(value.properties).forEach(([key, val], index2) => {
|
|
2200
|
+
const prop = props.get(index2);
|
|
2201
|
+
prop.key = key;
|
|
2202
|
+
prop.value = val;
|
|
2205
2203
|
});
|
|
2206
2204
|
}
|
|
2207
2205
|
});
|
|
@@ -2569,7 +2567,7 @@ var PowerlinesContext = class _PowerlinesContext {
|
|
|
2569
2567
|
* Get the path to the generated declaration file for the project
|
|
2570
2568
|
*/
|
|
2571
2569
|
get dtsPath() {
|
|
2572
|
-
return this.config.output.dts ? appendPath(this.config.output.dts, this.workspaceConfig.workspaceRoot) : joinPaths(this.workspaceConfig.workspaceRoot, this.config.projectRoot, "
|
|
2570
|
+
return this.config.output.dts ? appendPath(this.config.output.dts, this.workspaceConfig.workspaceRoot) : joinPaths(this.workspaceConfig.workspaceRoot, this.config.projectRoot, "powerlines.d.ts");
|
|
2573
2571
|
}
|
|
2574
2572
|
/**
|
|
2575
2573
|
* Get the project root relative to the workspace root
|
|
@@ -3472,16 +3470,23 @@ ${context.entry.map((entry) => `- ${entry.input.file || entry.file}${entry.outpu
|
|
|
3472
3470
|
${formatLogMessage(context.config)}`);
|
|
3473
3471
|
await writeMetaFile(context);
|
|
3474
3472
|
context.persistedMeta = context.meta;
|
|
3475
|
-
if (!existsSync(context.cachePath)) {
|
|
3476
|
-
await
|
|
3473
|
+
if (!context.fs.existsSync(context.cachePath)) {
|
|
3474
|
+
await context.fs.mkdir(context.cachePath, {
|
|
3475
|
+
mode: "fs"
|
|
3476
|
+
});
|
|
3477
3477
|
}
|
|
3478
|
-
if (!existsSync(context.dataPath)) {
|
|
3479
|
-
await
|
|
3478
|
+
if (!context.fs.existsSync(context.dataPath)) {
|
|
3479
|
+
await context.fs.mkdir(context.dataPath, {
|
|
3480
|
+
mode: "fs"
|
|
3481
|
+
});
|
|
3480
3482
|
}
|
|
3481
3483
|
await this.callPreHook(context, "prepare");
|
|
3482
3484
|
await this.callNormalHook(context, "prepare");
|
|
3483
3485
|
if (context.config.output.dts !== false) {
|
|
3484
3486
|
context.log(LogLevelLabel.TRACE, `Preparing the TypeScript definitions for the Powerlines project.`);
|
|
3487
|
+
if (context.fs.existsSync(context.dtsPath)) {
|
|
3488
|
+
await context.fs.unlink(context.dtsPath);
|
|
3489
|
+
}
|
|
3485
3490
|
context.log(LogLevelLabel.TRACE, "Transforming built-ins runtime modules files.");
|
|
3486
3491
|
const builtinFilePaths = await Promise.all((await context.getBuiltins()).map(async (file) => {
|
|
3487
3492
|
const result2 = await transformAsync(file.code.toString(), {
|
|
@@ -3532,7 +3537,7 @@ ${formatLogMessage(context.config)}`);
|
|
|
3532
3537
|
);
|
|
3533
3538
|
context.log(LogLevelLabel.TRACE, "Parsing TypeScript configuration for the Powerlines project.");
|
|
3534
3539
|
let generatedTypes = await emitTypes(context, files);
|
|
3535
|
-
context.log(LogLevelLabel.TRACE, `Generating TypeScript declaration file
|
|
3540
|
+
context.log(LogLevelLabel.TRACE, `Generating TypeScript declaration file ${context.dtsPath}.`);
|
|
3536
3541
|
const directives = [];
|
|
3537
3542
|
let result = await this.callPreHook(context, "generateTypes", generatedTypes);
|
|
3538
3543
|
if (result) {
|
|
@@ -3567,7 +3572,7 @@ ${formatLogMessage(context.config)}`);
|
|
|
3567
3572
|
generatedTypes = result;
|
|
3568
3573
|
}
|
|
3569
3574
|
}
|
|
3570
|
-
await context.fs.writeFile(context.
|
|
3575
|
+
await context.fs.writeFile(context.dtsPath, `${directives ? `${directives.map((directive) => `/// <reference types="${directive}" />`).join("\n")}
|
|
3571
3576
|
|
|
3572
3577
|
` : ""}${getFileHeader(context, {
|
|
3573
3578
|
directive: null,
|
|
@@ -3757,7 +3762,6 @@ ${formatTypes(generatedTypes)}
|
|
|
3757
3762
|
this.context.log(LogLevelLabel.TRACE, "Powerlines finalize execution started");
|
|
3758
3763
|
await this.#executeEnvironments(async (context) => {
|
|
3759
3764
|
await this.callHook(context, "finalize");
|
|
3760
|
-
context.fs[__VFS_REVERT__]();
|
|
3761
3765
|
await context.fs.dispose();
|
|
3762
3766
|
});
|
|
3763
3767
|
this.context.log(LogLevelLabel.TRACE, "Powerlines finalize execution completed");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkLNSZHZQF_js = require('./chunk-LNSZHZQF.js');
|
|
4
4
|
var chunkSHUYVCID_js = require('./chunk-SHUYVCID.js');
|
|
5
5
|
var defu = require('defu');
|
|
6
6
|
|
|
@@ -19,7 +19,7 @@ async function executorFn(context, api) {
|
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
chunkSHUYVCID_js.__name(executorFn, "executorFn");
|
|
22
|
-
var executor =
|
|
22
|
+
var executor = chunkLNSZHZQF_js.withExecutor("build", executorFn);
|
|
23
23
|
var executor_default = executor;
|
|
24
24
|
|
|
25
25
|
exports.executorFn = executorFn;
|
package/dist/executors.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
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 chunk76PYI2PW_js = require('./chunk-76PYI2PW.js');
|
|
5
|
+
var chunkD5MAY4B6_js = require('./chunk-D5MAY4B6.js');
|
|
6
|
+
var chunkYAQUTH2M_js = require('./chunk-YAQUTH2M.js');
|
|
7
|
+
var chunkV3APU4CI_js = require('./chunk-V3APU4CI.js');
|
|
8
|
+
var chunk62JK5CR2_js = require('./chunk-62JK5CR2.js');
|
|
9
|
+
require('./chunk-LNSZHZQF.js');
|
|
10
10
|
require('./chunk-2PYUYDPD.js');
|
|
11
11
|
require('./chunk-SHUYVCID.js');
|
|
12
12
|
|
|
@@ -14,21 +14,21 @@ require('./chunk-SHUYVCID.js');
|
|
|
14
14
|
|
|
15
15
|
Object.defineProperty(exports, "lint", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunk76PYI2PW_js.executor_default; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "prepare", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkD5MAY4B6_js.executor_default; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "build", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkYAQUTH2M_js.executor_default; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "clean", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkV3APU4CI_js.executor_default; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "docs", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunk62JK5CR2_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 lint } from './chunk-
|
|
3
|
-
export { executor_default as prepare } from './chunk-
|
|
4
|
-
export { executor_default as build } from './chunk-
|
|
5
|
-
export { executor_default as clean } from './chunk-
|
|
6
|
-
export { executor_default as docs } from './chunk-
|
|
7
|
-
import './chunk-
|
|
2
|
+
export { executor_default as lint } from './chunk-AGWVUBME.mjs';
|
|
3
|
+
export { executor_default as prepare } from './chunk-OBVSDJNP.mjs';
|
|
4
|
+
export { executor_default as build } from './chunk-6M466CL6.mjs';
|
|
5
|
+
export { executor_default as clean } from './chunk-3QGFYJKW.mjs';
|
|
6
|
+
export { executor_default as docs } from './chunk-ZGEXR2Z6.mjs';
|
|
7
|
+
import './chunk-XQ44F4OL.mjs';
|
|
8
8
|
import './chunk-WGIN2BGP.mjs';
|
|
9
9
|
import './chunk-O6YSETKJ.mjs';
|
package/dist/index.js
CHANGED
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkFXB722G2_js = require('./chunk-FXB722G2.js');
|
|
4
4
|
require('./chunk-XO62WWX4.js');
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
var
|
|
5
|
+
var chunk76PYI2PW_js = require('./chunk-76PYI2PW.js');
|
|
6
|
+
var chunkD5MAY4B6_js = require('./chunk-D5MAY4B6.js');
|
|
7
|
+
var chunkYAQUTH2M_js = require('./chunk-YAQUTH2M.js');
|
|
8
|
+
var chunkV3APU4CI_js = require('./chunk-V3APU4CI.js');
|
|
9
|
+
var chunk62JK5CR2_js = require('./chunk-62JK5CR2.js');
|
|
10
10
|
require('./chunk-N2YKXZ5R.js');
|
|
11
11
|
var chunkWUJKJGEW_js = require('./chunk-WUJKJGEW.js');
|
|
12
|
-
require('./chunk-
|
|
13
|
-
require('./chunk-
|
|
12
|
+
require('./chunk-LNSZHZQF.js');
|
|
13
|
+
require('./chunk-Q6DRZWW7.js');
|
|
14
14
|
require('./chunk-2PYUYDPD.js');
|
|
15
|
-
require('./chunk-
|
|
15
|
+
require('./chunk-IQVSZEQ6.js');
|
|
16
16
|
require('./chunk-SHUYVCID.js');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
Object.defineProperty(exports, "createNodesV2", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkFXB722G2_js.createNodesV2; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "lint", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunk76PYI2PW_js.executor_default; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "prepare", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkD5MAY4B6_js.executor_default; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "build", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkYAQUTH2M_js.executor_default; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "clean", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkV3APU4CI_js.executor_default; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "docs", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunk62JK5CR2_js.executor_default; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "sync", {
|
|
45
45
|
enumerable: true,
|
package/dist/index.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export { createNodesV2 } from './chunk-
|
|
1
|
+
export { createNodesV2 } from './chunk-HOCK3PN2.mjs';
|
|
2
2
|
import './chunk-UV4HQO3Y.mjs';
|
|
3
|
-
export { executor_default as lint } from './chunk-
|
|
4
|
-
export { executor_default as prepare } from './chunk-
|
|
5
|
-
export { executor_default as build } from './chunk-
|
|
6
|
-
export { executor_default as clean } from './chunk-
|
|
7
|
-
export { executor_default as docs } from './chunk-
|
|
3
|
+
export { executor_default as lint } from './chunk-AGWVUBME.mjs';
|
|
4
|
+
export { executor_default as prepare } from './chunk-OBVSDJNP.mjs';
|
|
5
|
+
export { executor_default as build } from './chunk-6M466CL6.mjs';
|
|
6
|
+
export { executor_default as clean } from './chunk-3QGFYJKW.mjs';
|
|
7
|
+
export { executor_default as docs } from './chunk-ZGEXR2Z6.mjs';
|
|
8
8
|
import './chunk-23KFTIT2.mjs';
|
|
9
9
|
export { generator_default as sync, generatorFn as syncGenerator } from './chunk-326QB2VK.mjs';
|
|
10
|
-
import './chunk-
|
|
11
|
-
import './chunk-
|
|
10
|
+
import './chunk-XQ44F4OL.mjs';
|
|
11
|
+
import './chunk-A36IQB2U.mjs';
|
|
12
12
|
import './chunk-WGIN2BGP.mjs';
|
|
13
|
-
import './chunk-
|
|
13
|
+
import './chunk-IC47MFKB.mjs';
|
|
14
14
|
import './chunk-O6YSETKJ.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkLNSZHZQF_js = require('../../chunk-LNSZHZQF.js');
|
|
4
4
|
require('../../chunk-2PYUYDPD.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 chunkLNSZHZQF_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 chunkYAQUTH2M_js = require('../../../chunk-YAQUTH2M.js');
|
|
6
|
+
require('../../../chunk-LNSZHZQF.js');
|
|
7
7
|
require('../../../chunk-2PYUYDPD.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 chunkYAQUTH2M_js.executor_default; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "executorFn", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkYAQUTH2M_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-6M466CL6.mjs';
|
|
2
|
+
import '../../../chunk-XQ44F4OL.mjs';
|
|
3
3
|
import '../../../chunk-WGIN2BGP.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 chunkV3APU4CI_js = require('../../../chunk-V3APU4CI.js');
|
|
6
|
+
require('../../../chunk-LNSZHZQF.js');
|
|
7
7
|
require('../../../chunk-2PYUYDPD.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 chunkV3APU4CI_js.executor_default; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "executorFn", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkV3APU4CI_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-3QGFYJKW.mjs';
|
|
2
|
+
import '../../../chunk-XQ44F4OL.mjs';
|
|
3
3
|
import '../../../chunk-WGIN2BGP.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 chunk62JK5CR2_js = require('../../../chunk-62JK5CR2.js');
|
|
6
|
+
require('../../../chunk-LNSZHZQF.js');
|
|
7
7
|
require('../../../chunk-2PYUYDPD.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 chunk62JK5CR2_js.executor_default; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "executorFn", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunk62JK5CR2_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-ZGEXR2Z6.mjs';
|
|
2
|
+
import '../../../chunk-XQ44F4OL.mjs';
|
|
3
3
|
import '../../../chunk-WGIN2BGP.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 chunk76PYI2PW_js = require('../../../chunk-76PYI2PW.js');
|
|
6
|
+
require('../../../chunk-LNSZHZQF.js');
|
|
7
7
|
require('../../../chunk-2PYUYDPD.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 chunk76PYI2PW_js.executor_default; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "executorFn", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunk76PYI2PW_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-AGWVUBME.mjs';
|
|
2
|
+
import '../../../chunk-XQ44F4OL.mjs';
|
|
3
3
|
import '../../../chunk-WGIN2BGP.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 chunkD5MAY4B6_js = require('../../../chunk-D5MAY4B6.js');
|
|
6
|
+
require('../../../chunk-LNSZHZQF.js');
|
|
7
7
|
require('../../../chunk-2PYUYDPD.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 chunkD5MAY4B6_js.executor_default; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "executorFn", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkD5MAY4B6_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-OBVSDJNP.mjs';
|
|
2
|
+
import '../../../chunk-XQ44F4OL.mjs';
|
|
3
3
|
import '../../../chunk-WGIN2BGP.mjs';
|
|
4
4
|
import '../../../chunk-O6YSETKJ.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* A list of Nx input strings that describe the Powerlines configuration file
|
|
3
3
|
*/
|
|
4
|
-
declare const CONFIG_INPUTS: readonly ["{projectRoot}/
|
|
4
|
+
declare const CONFIG_INPUTS: readonly ["{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
5
|
|
|
6
6
|
export { CONFIG_INPUTS };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* A list of Nx input strings that describe the Powerlines configuration file
|
|
3
3
|
*/
|
|
4
|
-
declare const CONFIG_INPUTS: readonly ["{projectRoot}/
|
|
4
|
+
declare const CONFIG_INPUTS: readonly ["{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
5
|
|
|
6
6
|
export { CONFIG_INPUTS };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkIQVSZEQ6_js = require('../../chunk-IQVSZEQ6.js');
|
|
4
4
|
require('../../chunk-SHUYVCID.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "CONFIG_INPUTS", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkIQVSZEQ6_js.CONFIG_INPUTS; }
|
|
11
11
|
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { CONFIG_INPUTS } from '../../chunk-
|
|
1
|
+
export { CONFIG_INPUTS } from '../../chunk-IC47MFKB.mjs';
|
|
2
2
|
import '../../chunk-O6YSETKJ.mjs';
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkQ6DRZWW7_js = require('../../chunk-Q6DRZWW7.js');
|
|
4
4
|
require('../../chunk-2PYUYDPD.js');
|
|
5
|
-
require('../../chunk-
|
|
5
|
+
require('../../chunk-IQVSZEQ6.js');
|
|
6
6
|
require('../../chunk-SHUYVCID.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "createNxPlugin", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkQ6DRZWW7_js.createNxPlugin; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "getNxPluginInputs", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkQ6DRZWW7_js.getNxPluginInputs; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "getNxTargetInputs", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkQ6DRZWW7_js.getNxTargetInputs; }
|
|
21
21
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { createNxPlugin, getNxPluginInputs, getNxTargetInputs } from '../../chunk-
|
|
1
|
+
export { createNxPlugin, getNxPluginInputs, getNxTargetInputs } from '../../chunk-A36IQB2U.mjs';
|
|
2
2
|
import '../../chunk-WGIN2BGP.mjs';
|
|
3
|
-
import '../../chunk-
|
|
3
|
+
import '../../chunk-IC47MFKB.mjs';
|
|
4
4
|
import '../../chunk-O6YSETKJ.mjs';
|
package/dist/src/plugin/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
3
|
+
var chunkFXB722G2_js = require('../../chunk-FXB722G2.js');
|
|
4
|
+
require('../../chunk-Q6DRZWW7.js');
|
|
5
5
|
require('../../chunk-2PYUYDPD.js');
|
|
6
|
-
require('../../chunk-
|
|
6
|
+
require('../../chunk-IQVSZEQ6.js');
|
|
7
7
|
require('../../chunk-SHUYVCID.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "createNodesV2", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkFXB722G2_js.createNodesV2; }
|
|
14
14
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { createNodesV2 } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
export { createNodesV2 } from '../../chunk-HOCK3PN2.mjs';
|
|
2
|
+
import '../../chunk-A36IQB2U.mjs';
|
|
3
3
|
import '../../chunk-WGIN2BGP.mjs';
|
|
4
|
-
import '../../chunk-
|
|
4
|
+
import '../../chunk-IC47MFKB.mjs';
|
|
5
5
|
import '../../chunk-O6YSETKJ.mjs';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/nx",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.36",
|
|
4
4
|
"description": "A Nx plugin to support Powerlines development in Nx monorepos.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "github",
|
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
"defu": "^6.1.4",
|
|
197
197
|
"jiti": "^2.6.1",
|
|
198
198
|
"nx": "^22.1.1",
|
|
199
|
-
"powerlines": "^0.24.
|
|
199
|
+
"powerlines": "^0.24.8"
|
|
200
200
|
},
|
|
201
201
|
"devDependencies": {
|
|
202
202
|
"@nx/workspace": "^22.1.1",
|
|
@@ -210,5 +210,5 @@
|
|
|
210
210
|
"publishConfig": { "access": "public" },
|
|
211
211
|
"executors": "./executors.json",
|
|
212
212
|
"generators": "./generators.json",
|
|
213
|
-
"gitHead": "
|
|
213
|
+
"gitHead": "235b04eef51bd5f6833c21dd5a04434127cdea34"
|
|
214
214
|
}
|