@assemblyline/al-orc 0.4.0 → 0.4.1
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 +7 -0
- package/package.json +1 -1
- package/src/cli/config-store.js +4 -5
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.4.1] - 2026-11-05
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- The move from `~/.assemblyline` to `~/.al` no longer leaves a symlink at the old path. Update
|
|
15
|
+
al-control, al-orc and control-room together.
|
|
16
|
+
|
|
10
17
|
## [0.4.0] - 2026-11-05
|
|
11
18
|
|
|
12
19
|
### Changed
|
package/package.json
CHANGED
package/src/cli/config-store.js
CHANGED
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
* `credentials`. Single tool, per-org (no per-app nesting).
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import { readFileSync, writeFileSync, mkdirSync, existsSync, renameSync
|
|
15
|
+
import { readFileSync, writeFileSync, mkdirSync, existsSync, renameSync } from 'node:fs';
|
|
16
16
|
import { homedir } from 'node:os';
|
|
17
17
|
import { join } from 'node:path';
|
|
18
18
|
import yaml from 'js-yaml';
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
|
-
* The family root, ~/.al. On the first run after the rename from ~/.
|
|
22
|
-
* the whole folder moves here
|
|
21
|
+
* The family root, ~/.al. On the first run after the rename from ~/.assemblyline
|
|
22
|
+
* the whole folder moves here.
|
|
23
23
|
* Same move as al-control's familyRoot (its decision 0007).
|
|
24
24
|
* @param {string} [home]
|
|
25
25
|
* @returns {string}
|
|
@@ -30,9 +30,8 @@ export function familyRoot(home = homedir()) {
|
|
|
30
30
|
if (!existsSync(root) && existsSync(legacy)) {
|
|
31
31
|
try {
|
|
32
32
|
renameSync(legacy, root);
|
|
33
|
-
symlinkSync('.al', legacy);
|
|
34
33
|
} catch {
|
|
35
|
-
// Another process moved it first
|
|
34
|
+
// Another process moved it first.
|
|
36
35
|
}
|
|
37
36
|
}
|
|
38
37
|
return root;
|