@powerlines/nx 0.8.0 → 0.8.2
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 +22 -0
- package/dist/{chunk-HHPODCTP.js → chunk-4UWZOCEA.js} +6 -4
- package/dist/{chunk-5KPKXHZH.mjs → chunk-A6R3IFS4.mjs} +1 -1
- package/dist/{chunk-HSNIRMVR.mjs → chunk-AEUGK5NW.mjs} +1 -1
- package/dist/{chunk-3UUTQUUX.js → chunk-DYBB74M5.js} +2 -2
- package/dist/{chunk-22QO45EK.mjs → chunk-FFBOHADM.mjs} +1 -1
- package/dist/{chunk-XPHWTP5U.js → chunk-GBMB632G.js} +2 -2
- package/dist/{chunk-3LHPBDCN.js → chunk-HGVVLZRZ.js} +2 -2
- package/dist/{chunk-Z4BJ37JY.js → chunk-IFMXBBI7.js} +3 -3
- package/dist/{chunk-XIGAXYDP.mjs → chunk-KXYDHGLW.mjs} +1 -1
- package/dist/{chunk-IU4QT7J4.mjs → chunk-KZPEAPED.mjs} +553 -531
- package/dist/{chunk-KOM7ARUV.js → chunk-MUKKEYV2.js} +2 -2
- package/dist/{chunk-Z2JOX3QC.mjs → chunk-R5YABITA.mjs} +1 -1
- package/dist/{chunk-CYWOTYVX.mjs → chunk-SV7QXBCB.mjs} +6 -4
- package/dist/{chunk-CTSSOUL6.mjs → chunk-VGG6K4L5.mjs} +1 -1
- package/dist/{chunk-CZATM4D6.js → chunk-XTPTXR6Y.js} +571 -549
- package/dist/{chunk-KNKBKT4T.js → chunk-ZJSHMHBZ.js} +2 -2
- package/dist/executors.js +14 -14
- package/dist/executors.mjs +7 -7
- package/dist/index.js +17 -17
- package/dist/index.mjs +8 -8
- package/dist/src/base/base-executor.js +3 -3
- package/dist/src/base/base-executor.mjs +2 -2
- package/dist/src/executors/build/executor.js +5 -5
- package/dist/src/executors/build/executor.mjs +3 -3
- package/dist/src/executors/clean/executor.js +5 -5
- package/dist/src/executors/clean/executor.mjs +3 -3
- package/dist/src/executors/docs/executor.js +5 -5
- package/dist/src/executors/docs/executor.mjs +3 -3
- package/dist/src/executors/lint/executor.js +5 -5
- package/dist/src/executors/lint/executor.mjs +3 -3
- package/dist/src/executors/prepare/executor.js +5 -5
- package/dist/src/executors/prepare/executor.mjs +3 -3
- package/dist/src/plugin/index.js +4 -4
- package/dist/src/plugin/index.mjs +2 -2
- package/package.json +3 -3
- package/dist/src/executors/build/schema.d.ts +0 -85
- package/dist/src/executors/build/schema.json +0 -96
- package/dist/src/executors/clean/schema.d.ts +0 -75
- package/dist/src/executors/clean/schema.json +0 -77
- package/dist/src/executors/docs/schema.d.ts +0 -75
- package/dist/src/executors/docs/schema.json +0 -77
- package/dist/src/executors/lint/schema.d.ts +0 -75
- package/dist/src/executors/lint/schema.json +0 -77
- package/dist/src/executors/prepare/schema.d.ts +0 -75
- package/dist/src/executors/prepare/schema.json +0 -77
- package/dist/src/generators/sync/schema.d.ts +0 -15
- package/dist/src/generators/sync/schema.json +0 -19
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,28 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Powerlines - Nx
|
|
4
4
|
|
|
5
|
+
## [0.8.1](https://github.com/storm-software/powerlines/releases/tag/nx%400.8.1) (2025-10-24)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Update workspace package links
|
|
10
|
+
([413adce](https://github.com/storm-software/powerlines/commit/413adce))
|
|
11
|
+
|
|
12
|
+
### Updated Dependencies
|
|
13
|
+
|
|
14
|
+
- Updated powerlines to 0.10.0
|
|
15
|
+
|
|
16
|
+
## [0.8.0](https://github.com/storm-software/powerlines/releases/tag/nx%400.8.0) (2025-10-24)
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
- **powerlines:** Added `parse` function to `context` objects
|
|
21
|
+
([5a56c5c](https://github.com/storm-software/powerlines/commit/5a56c5c))
|
|
22
|
+
|
|
23
|
+
### Updated Dependencies
|
|
24
|
+
|
|
25
|
+
- Updated powerlines to 0.9.0
|
|
26
|
+
|
|
5
27
|
## [0.7.0](https://github.com/storm-software/powerlines/releases/tag/nx%400.7.0) (2025-10-24)
|
|
6
28
|
|
|
7
29
|
### Features
|
|
@@ -54,11 +54,13 @@ chunkSHUYVCID_js.__name(getChecksum, "getChecksum");
|
|
|
54
54
|
async function writeMetaFile(context) {
|
|
55
55
|
const metaFilePath = joinPaths.joinPaths(context.dataPath, "meta.json");
|
|
56
56
|
context.log(types.LogLevelLabel.DEBUG, `Writing runtime metadata to ${metaFilePath}`);
|
|
57
|
-
await context.fs.
|
|
57
|
+
await context.fs.writeFile(metaFilePath, JSON.stringify({
|
|
58
58
|
...context.meta,
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
}, null, 2)
|
|
59
|
+
virtualFiles: context.fs[__VFS_VIRTUAL__].toJSON(context.artifactsPath),
|
|
60
|
+
virtualFilesMeta: context.fs.getPartialMeta()
|
|
61
|
+
}, null, 2), {
|
|
62
|
+
mode: "fs"
|
|
63
|
+
});
|
|
62
64
|
}
|
|
63
65
|
chunkSHUYVCID_js.__name(writeMetaFile, "writeMetaFile");
|
|
64
66
|
async function loadWorkspaceConfig(workspaceRoot, cwd) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkXTPTXR6Y_js = require('./chunk-XTPTXR6Y.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 = chunkXTPTXR6Y_js.withExecutor("docs", executorFn);
|
|
15
15
|
var executor_default = executor;
|
|
16
16
|
|
|
17
17
|
exports.executorFn = executorFn;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PROJECT_ROOT_HASH_LENGTH, loadUserConfigFile } from './chunk-
|
|
1
|
+
import { PROJECT_ROOT_HASH_LENGTH, loadUserConfigFile } from './chunk-SV7QXBCB.mjs';
|
|
2
2
|
import { createNodesFromFiles } from '@nx/devkit';
|
|
3
3
|
import { withNamedInputs } from '@storm-software/workspace-tools/utils/nx-json';
|
|
4
4
|
import { getProjectRoot, getRoot, getProjectConfigFromProjectRoot } from '@storm-software/workspace-tools/utils/plugin-helpers';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkXTPTXR6Y_js = require('./chunk-XTPTXR6Y.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 = chunkXTPTXR6Y_js.withExecutor("prepare", executorFn);
|
|
23
23
|
var executor_default = executor;
|
|
24
24
|
|
|
25
25
|
exports.executorFn = executorFn;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkXTPTXR6Y_js = require('./chunk-XTPTXR6Y.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 = chunkXTPTXR6Y_js.withExecutor("clean", 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 chunk4UWZOCEA_js = require('./chunk-4UWZOCEA.js');
|
|
4
4
|
var devkit = require('@nx/devkit');
|
|
5
5
|
var nxJson = require('@storm-software/workspace-tools/utils/nx-json');
|
|
6
6
|
var pluginHelpers = require('@storm-software/workspace-tools/utils/plugin-helpers');
|
|
@@ -74,14 +74,14 @@ var createNodesV2 = [
|
|
|
74
74
|
}
|
|
75
75
|
const root = pluginHelpers.getRoot(projectRoot, context);
|
|
76
76
|
const cacheDir = joinPaths.joinPaths(envPaths.cache, "projects", murmurhash.murmurhash(joinPaths.joinPaths(contextV2.workspaceRoot, projectRoot), {
|
|
77
|
-
maxLength:
|
|
77
|
+
maxLength: chunk4UWZOCEA_js.PROJECT_ROOT_HASH_LENGTH
|
|
78
78
|
}));
|
|
79
79
|
const jiti$1 = jiti.createJiti(joinPaths.joinPaths(contextV2.workspaceRoot, projectRoot), {
|
|
80
80
|
interopDefault: true,
|
|
81
81
|
fsCache: joinPaths.joinPaths(cacheDir, "jiti"),
|
|
82
82
|
moduleCache: true
|
|
83
83
|
});
|
|
84
|
-
const userConfig = await
|
|
84
|
+
const userConfig = await chunk4UWZOCEA_js.loadUserConfigFile(projectRoot, jiti$1);
|
|
85
85
|
const packageJson = json.readJsonFileSync(joinPaths.joinPaths(projectRoot, "package.json"));
|
|
86
86
|
if (!userConfig.configFile && !packageJson.storm) {
|
|
87
87
|
console.debug(`[${name}]: Skipping ${projectRoot} - no Powerlines configuration found for project in root directory.`);
|