@decohere/forge 0.0.1-dev.96 → 0.0.1-dev.98
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/commonjs/src/actions/docker.action.js +2 -2
- package/commonjs/src/actions/version.action.js +1 -3
- package/es6/src/actions/build.action.js +0 -2
- package/es6/src/actions/clean.action.js +0 -1
- package/es6/src/actions/commit.action.js +0 -1
- package/es6/src/actions/copy.action.js +0 -1
- package/es6/src/actions/dependency-report.action.js +0 -2
- package/es6/src/actions/dependency-sync.action.js +0 -2
- package/es6/src/actions/docker.action.js +2 -3
- package/es6/src/actions/link.action.js +0 -1
- package/es6/src/actions/publish.action.js +0 -1
- package/es6/src/actions/tag.action.js +0 -1
- package/es6/src/actions/typecheck.action.js +0 -2
- package/es6/src/actions/version.action.js +1 -4
- package/es6/src/actions/watch.action.js +0 -1
- package/package.json +5 -5
|
@@ -82,11 +82,11 @@ class Docker {
|
|
|
82
82
|
...extraTags
|
|
83
83
|
];
|
|
84
84
|
const buildArgs = this.interpolateBuildArgs({
|
|
85
|
-
...dockerConfig.buildArgs
|
|
85
|
+
...dockerConfig.buildArgs,
|
|
86
86
|
...envBuildArgs
|
|
87
87
|
}, version);
|
|
88
88
|
const secrets = {
|
|
89
|
-
...dockerConfig.secrets
|
|
89
|
+
...dockerConfig.secrets,
|
|
90
90
|
...envSecrets
|
|
91
91
|
};
|
|
92
92
|
this.#logger.info(`${options.dryRun ? "[dry-run] " : ""}Building ${project.name}`);
|
|
@@ -83,9 +83,7 @@ class Version {
|
|
|
83
83
|
}
|
|
84
84
|
await workspace.persistPackageJson((await workspace.getPackageJson()).withVersion(nextVersion.toString()));
|
|
85
85
|
const responses = await Promise.all([
|
|
86
|
-
|
|
87
|
-
this.updatePackageJson(workspace.name, workspace, nextVersion)
|
|
88
|
-
],
|
|
86
|
+
this.updatePackageJson(workspace.name, workspace, nextVersion),
|
|
89
87
|
...projects.map((project)=>this.updatePackageJson(project.name, project, nextVersion))
|
|
90
88
|
]);
|
|
91
89
|
const failed = responses.filter((r)=>!r.succeeded);
|
|
@@ -13,13 +13,11 @@ function _ts_param(paramIndex, decorator) {
|
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
15
|
import { inject, injectable } from "@decohere/crucible/decorators";
|
|
16
|
-
// biome-ignore lint/style/useImportType: <DI>
|
|
17
16
|
import { Workspace } from "@decohere/mesh";
|
|
18
17
|
import { ActionResponse } from "@decohere/nexus/cli";
|
|
19
18
|
import { Trace } from "@decohere/nexus/diagnostics";
|
|
20
19
|
import { scribe } from "@decohere/scribe";
|
|
21
20
|
import { ForgeError } from "../errors.js";
|
|
22
|
-
// biome-ignore lint/style/useImportType: <DI>
|
|
23
21
|
import { FileWriterService } from "../services/file-writer.service.js";
|
|
24
22
|
import { TransformerKey } from "../types/transformer.type.js";
|
|
25
23
|
export class Build {
|
|
@@ -8,7 +8,6 @@ function _ts_metadata(k, v) {
|
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
}
|
|
10
10
|
import { injectable } from "@decohere/crucible/decorators";
|
|
11
|
-
// biome-ignore lint/style/useImportType: <DI>
|
|
12
11
|
import { Workspace } from "@decohere/mesh";
|
|
13
12
|
import { ActionResponse } from "@decohere/nexus/cli";
|
|
14
13
|
import { io } from "@decohere/nexus/io";
|
|
@@ -9,7 +9,6 @@ function _ts_metadata(k, v) {
|
|
|
9
9
|
}
|
|
10
10
|
import path from "node:path";
|
|
11
11
|
import { injectable } from "@decohere/crucible/decorators";
|
|
12
|
-
// biome-ignore lint/style/useImportType: <DI>
|
|
13
12
|
import { Workspace } from "@decohere/mesh";
|
|
14
13
|
import { ActionResponse } from "@decohere/nexus/cli";
|
|
15
14
|
import { Git } from "@decohere/nexus/interop";
|
|
@@ -9,7 +9,6 @@ function _ts_metadata(k, v) {
|
|
|
9
9
|
}
|
|
10
10
|
import path from "node:path";
|
|
11
11
|
import { injectable } from "@decohere/crucible/decorators";
|
|
12
|
-
// biome-ignore lint/style/useImportType: <DI>
|
|
13
12
|
import { Workspace } from "@decohere/mesh";
|
|
14
13
|
import { ActionResponse } from "@decohere/nexus/cli";
|
|
15
14
|
import { io } from "@decohere/nexus/io";
|
|
@@ -8,13 +8,11 @@ function _ts_metadata(k, v) {
|
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
}
|
|
10
10
|
import { injectable } from "@decohere/crucible/decorators";
|
|
11
|
-
// biome-ignore lint/style/useImportType: <DI>
|
|
12
11
|
import { Workspace } from "@decohere/mesh";
|
|
13
12
|
import { ActionResponse } from "@decohere/nexus/cli";
|
|
14
13
|
import { io } from "@decohere/nexus/io";
|
|
15
14
|
import { scribe } from "@decohere/scribe";
|
|
16
15
|
import { formatUnknownError } from "../errors.js";
|
|
17
|
-
// biome-ignore lint/style/useImportType: <DI>
|
|
18
16
|
import { DependencyResolver } from "../services/dependency-resolver.service.js";
|
|
19
17
|
export class ReportDependencies {
|
|
20
18
|
workspace;
|
|
@@ -8,12 +8,10 @@ function _ts_metadata(k, v) {
|
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
}
|
|
10
10
|
import { injectable } from "@decohere/crucible/decorators";
|
|
11
|
-
// biome-ignore lint/style/useImportType: <DI>
|
|
12
11
|
import { Workspace } from "@decohere/mesh";
|
|
13
12
|
import { ActionResponse } from "@decohere/nexus/cli";
|
|
14
13
|
import { scribe } from "@decohere/scribe";
|
|
15
14
|
import { formatUnknownError } from "../errors.js";
|
|
16
|
-
// biome-ignore lint/style/useImportType: <DI>
|
|
17
15
|
import { DependencyResolver } from "../services/dependency-resolver.service.js";
|
|
18
16
|
export class SyncDependencies {
|
|
19
17
|
workspace;
|
|
@@ -9,7 +9,6 @@ function _ts_metadata(k, v) {
|
|
|
9
9
|
}
|
|
10
10
|
import path from "node:path";
|
|
11
11
|
import { injectable } from "@decohere/crucible/decorators";
|
|
12
|
-
// biome-ignore lint/style/useImportType: <DI>
|
|
13
12
|
import { Workspace } from "@decohere/mesh";
|
|
14
13
|
import { ActionResponse } from "@decohere/nexus/cli";
|
|
15
14
|
import { Docker as DockerInterop } from "@decohere/nexus/interop";
|
|
@@ -68,11 +67,11 @@ export class Docker {
|
|
|
68
67
|
...extraTags
|
|
69
68
|
];
|
|
70
69
|
const buildArgs = this.interpolateBuildArgs({
|
|
71
|
-
...dockerConfig.buildArgs
|
|
70
|
+
...dockerConfig.buildArgs,
|
|
72
71
|
...envBuildArgs
|
|
73
72
|
}, version);
|
|
74
73
|
const secrets = {
|
|
75
|
-
...dockerConfig.secrets
|
|
74
|
+
...dockerConfig.secrets,
|
|
76
75
|
...envSecrets
|
|
77
76
|
};
|
|
78
77
|
this.#logger.info(`${options.dryRun ? "[dry-run] " : ""}Building ${project.name}`);
|
|
@@ -10,7 +10,6 @@ function _ts_metadata(k, v) {
|
|
|
10
10
|
import fs from "node:fs/promises";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
import { injectable } from "@decohere/crucible/decorators";
|
|
13
|
-
// biome-ignore lint/style/useImportType: <DI>
|
|
14
13
|
import { Workspace } from "@decohere/mesh";
|
|
15
14
|
import { ActionResponse } from "@decohere/nexus/cli";
|
|
16
15
|
import { scribe } from "@decohere/scribe";
|
|
@@ -8,7 +8,6 @@ function _ts_metadata(k, v) {
|
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
}
|
|
10
10
|
import { injectable } from "@decohere/crucible/decorators";
|
|
11
|
-
// biome-ignore lint/style/useImportType: <DI>
|
|
12
11
|
import { Workspace } from "@decohere/mesh";
|
|
13
12
|
import { ActionResponse } from "@decohere/nexus/cli";
|
|
14
13
|
import { Npm } from "@decohere/nexus/interop";
|
|
@@ -8,7 +8,6 @@ function _ts_metadata(k, v) {
|
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
}
|
|
10
10
|
import { injectable } from "@decohere/crucible/decorators";
|
|
11
|
-
// biome-ignore lint/style/useImportType: <DI>
|
|
12
11
|
import { Workspace } from "@decohere/mesh";
|
|
13
12
|
import { ActionResponse } from "@decohere/nexus/cli";
|
|
14
13
|
import { Git } from "@decohere/nexus/interop";
|
|
@@ -8,14 +8,12 @@ function _ts_metadata(k, v) {
|
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
}
|
|
10
10
|
import { injectable } from "@decohere/crucible/decorators";
|
|
11
|
-
// biome-ignore lint/style/useImportType: <DI>
|
|
12
11
|
import { Workspace } from "@decohere/mesh";
|
|
13
12
|
import { ActionResponse } from "@decohere/nexus/cli";
|
|
14
13
|
import { Trace } from "@decohere/nexus/diagnostics";
|
|
15
14
|
import { scribe } from "@decohere/scribe";
|
|
16
15
|
import ts from "typescript";
|
|
17
16
|
import { ForgeError } from "../errors.js";
|
|
18
|
-
// biome-ignore lint/style/useImportType: <DI>
|
|
19
17
|
import { TypeEmitter } from "../services/type-emitter.js";
|
|
20
18
|
export class TypeCheck {
|
|
21
19
|
workspace;
|
|
@@ -11,7 +11,6 @@ import { execSync } from "node:child_process";
|
|
|
11
11
|
import { readdir, readFile } from "node:fs/promises";
|
|
12
12
|
import { join } from "node:path";
|
|
13
13
|
import { injectable } from "@decohere/crucible/decorators";
|
|
14
|
-
// biome-ignore lint/style/useImportType: <DI>
|
|
15
14
|
import { Workspace } from "@decohere/mesh";
|
|
16
15
|
import { ActionResponse } from "@decohere/nexus/cli";
|
|
17
16
|
import { Git } from "@decohere/nexus/interop";
|
|
@@ -63,9 +62,7 @@ export class Version {
|
|
|
63
62
|
}
|
|
64
63
|
await workspace.persistPackageJson((await workspace.getPackageJson()).withVersion(nextVersion.toString()));
|
|
65
64
|
const responses = await Promise.all([
|
|
66
|
-
|
|
67
|
-
this.updatePackageJson(workspace.name, workspace, nextVersion)
|
|
68
|
-
],
|
|
65
|
+
this.updatePackageJson(workspace.name, workspace, nextVersion),
|
|
69
66
|
...projects.map((project)=>this.updatePackageJson(project.name, project, nextVersion))
|
|
70
67
|
]);
|
|
71
68
|
const failed = responses.filter((r)=>!r.succeeded);
|
|
@@ -8,7 +8,6 @@ function _ts_metadata(k, v) {
|
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
}
|
|
10
10
|
import { injectable } from "@decohere/crucible/decorators";
|
|
11
|
-
// biome-ignore lint/style/useImportType: <DI>
|
|
12
11
|
import { Workspace } from "@decohere/mesh";
|
|
13
12
|
import { ActionResponse } from "@decohere/nexus/cli";
|
|
14
13
|
import { scribe } from "@decohere/scribe";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@decohere/forge",
|
|
3
|
-
"version": "0.0.1-dev.
|
|
3
|
+
"version": "0.0.1-dev.98",
|
|
4
4
|
"description": "TypeScript monorepo build system — zero config, fast compilation, streamlined developer workflow",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@decohere/crucible": "0.0.1-dev.
|
|
33
|
-
"@decohere/mesh": "0.0.1-dev.
|
|
34
|
-
"@decohere/nexus": "0.0.1-dev.
|
|
35
|
-
"@decohere/scribe": "0.0.1-dev.
|
|
32
|
+
"@decohere/crucible": "0.0.1-dev.98",
|
|
33
|
+
"@decohere/mesh": "0.0.1-dev.98",
|
|
34
|
+
"@decohere/nexus": "0.0.1-dev.98",
|
|
35
|
+
"@decohere/scribe": "0.0.1-dev.98",
|
|
36
36
|
"@swc/core": "^1.11.11",
|
|
37
37
|
"async": "^3.2.6",
|
|
38
38
|
"parse-imports": "^2.2.1",
|