@decohere/forge 0.0.1-dev.115 → 0.0.1-dev.116
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/README.md +11 -11
- package/commonjs/src/actions/build.action.js +4 -4
- package/commonjs/src/actions/clean.action.js +4 -4
- package/commonjs/src/actions/commit.action.js +4 -4
- package/commonjs/src/actions/copy.action.js +5 -5
- package/commonjs/src/actions/dependency-report.action.js +4 -4
- package/commonjs/src/actions/dependency-sync.action.js +3 -3
- package/commonjs/src/actions/docker.action.js +5 -5
- package/commonjs/src/actions/link.action.js +3 -3
- package/commonjs/src/actions/package.action.js +5 -5
- package/commonjs/src/actions/paths.action.js +4 -4
- package/commonjs/src/actions/publish.action.js +4 -4
- package/commonjs/src/actions/sync-lock-file.action.js +2 -2
- package/commonjs/src/actions/tag.action.js +4 -4
- package/commonjs/src/actions/typecheck.action.js +4 -4
- package/commonjs/src/actions/unlink.action.js +1 -1
- package/commonjs/src/actions/version.action.js +5 -5
- package/commonjs/src/actions/watch.action.js +3 -3
- package/commonjs/src/commands/build.command.js +1 -1
- package/commonjs/src/commands/dependency.command.js +1 -1
- package/commonjs/src/commands/docker.command.js +1 -1
- package/commonjs/src/commands/forge.command.js +1 -1
- package/commonjs/src/commands/link.command.js +1 -1
- package/commonjs/src/commands/package.command.js +1 -1
- package/commonjs/src/commands/paths.command.js +1 -1
- package/commonjs/src/commands/publish.command.js +1 -1
- package/commonjs/src/commands/tag.command.js +1 -1
- package/commonjs/src/commands/typecheck.command.js +1 -1
- package/commonjs/src/commands/version.command.js +1 -1
- package/commonjs/src/create-workspace.js +5 -5
- package/commonjs/src/errors.js +2 -2
- package/commonjs/src/extensions/project.extensions.js +10 -10
- package/commonjs/src/factories/swc-config.factory.js +4 -4
- package/commonjs/src/forge.module.js +1 -1
- package/commonjs/src/packaging/dependency-pinner.service.js +1 -1
- package/commonjs/src/packaging/deployable.js +1 -1
- package/commonjs/src/packaging/import-graph.service.js +1 -1
- package/commonjs/src/packaging/release-exports.js +2 -2
- package/commonjs/src/packaging/ui-assets.js +1 -1
- package/commonjs/src/services/dependency-resolver.service.js +1 -1
- package/commonjs/src/services/file-writer.service.js +2 -2
- package/commonjs/src/services/output-cache.js +1 -1
- package/commonjs/src/services/swc-transpiler.js +5 -5
- package/commonjs/src/services/ts-program-host.js +2 -2
- package/commonjs/src/services/type-emission-program.js +1 -1
- package/commonjs/src/services/type-emitter.js +4 -4
- package/commonjs/src/vitest/forge-build.plugin.js +4 -4
- package/commonjs/src/workspace.config.js +2 -2
- package/es6/src/actions/build.action.js +3 -3
- package/es6/src/actions/clean.action.js +3 -3
- package/es6/src/actions/commit.action.js +3 -3
- package/es6/src/actions/copy.action.js +4 -4
- package/es6/src/actions/dependency-report.action.js +3 -3
- package/es6/src/actions/dependency-sync.action.js +2 -2
- package/es6/src/actions/docker.action.js +4 -4
- package/es6/src/actions/link.action.js +2 -2
- package/es6/src/actions/package.action.js +4 -4
- package/es6/src/actions/paths.action.js +2 -2
- package/es6/src/actions/publish.action.js +3 -3
- package/es6/src/actions/sync-lock-file.action.js +2 -2
- package/es6/src/actions/tag.action.js +3 -3
- package/es6/src/actions/typecheck.action.js +3 -3
- package/es6/src/actions/unlink.action.js +1 -1
- package/es6/src/actions/version.action.js +4 -4
- package/es6/src/actions/watch.action.js +2 -2
- package/es6/src/commands/build.command.js +1 -1
- package/es6/src/commands/dependency.command.js +1 -1
- package/es6/src/commands/docker.command.js +1 -1
- package/es6/src/commands/forge.command.js +1 -1
- package/es6/src/commands/link.command.js +1 -1
- package/es6/src/commands/package.command.js +1 -1
- package/es6/src/commands/paths.command.js +1 -1
- package/es6/src/commands/publish.command.js +1 -1
- package/es6/src/commands/tag.command.js +1 -1
- package/es6/src/commands/typecheck.command.js +1 -1
- package/es6/src/commands/version.command.js +1 -1
- package/es6/src/create-workspace.js +1 -1
- package/es6/src/errors.js +1 -1
- package/es6/src/extensions/project.extensions.js +4 -4
- package/es6/src/factories/swc-config.factory.js +3 -3
- package/es6/src/forge.module.js +1 -1
- package/es6/src/packaging/dependency-pinner.service.js +1 -1
- package/es6/src/packaging/deployable.js +1 -1
- package/es6/src/packaging/import-graph.service.js +1 -1
- package/es6/src/packaging/release-exports.js +1 -1
- package/es6/src/packaging/ui-assets.js +1 -1
- package/es6/src/services/dependency-resolver.service.js +1 -1
- package/es6/src/services/file-writer.service.js +2 -2
- package/es6/src/services/output-cache.js +1 -1
- package/es6/src/services/swc-transpiler.js +4 -4
- package/es6/src/services/ts-program-host.js +2 -2
- package/es6/src/services/type-emission-program.js +1 -1
- package/es6/src/services/type-emitter.js +4 -4
- package/es6/src/vitest/forge-build.plugin.js +2 -2
- package/es6/src/workspace.config.js +1 -1
- package/package.json +5 -5
- package/types/src/actions/build.action.d.ts +4 -4
- package/types/src/actions/clean.action.d.ts +3 -3
- package/types/src/actions/commit.action.d.ts +3 -3
- package/types/src/actions/copy.action.d.ts +3 -3
- package/types/src/actions/dependency-report.action.d.ts +3 -3
- package/types/src/actions/dependency-sync.action.d.ts +3 -3
- package/types/src/actions/docker.action.d.ts +3 -3
- package/types/src/actions/link.action.d.ts +3 -3
- package/types/src/actions/package.action.d.ts +3 -3
- package/types/src/actions/paths.action.d.ts +4 -4
- package/types/src/actions/publish.action.d.ts +4 -4
- package/types/src/actions/sync-lock-file.action.d.ts +2 -2
- package/types/src/actions/tag.action.d.ts +3 -3
- package/types/src/actions/typecheck.action.d.ts +3 -3
- package/types/src/actions/unlink.action.d.ts +2 -2
- package/types/src/actions/version.action.d.ts +4 -4
- package/types/src/actions/watch.action.d.ts +3 -3
- package/types/src/commands/build.command.d.ts +2 -2
- package/types/src/commands/dependency.command.d.ts +2 -2
- package/types/src/commands/docker.command.d.ts +1 -1
- package/types/src/commands/forge.command.d.ts +2 -2
- package/types/src/commands/link.command.d.ts +2 -2
- package/types/src/commands/package.command.d.ts +1 -1
- package/types/src/commands/paths.command.d.ts +1 -1
- package/types/src/commands/publish.command.d.ts +1 -1
- package/types/src/commands/tag.command.d.ts +1 -1
- package/types/src/commands/typecheck.command.d.ts +1 -1
- package/types/src/commands/version.command.d.ts +1 -1
- package/types/src/create-workspace.d.ts +2 -2
- package/types/src/errors.d.ts +1 -1
- package/types/src/extensions/project.extensions.d.ts +2 -2
- package/types/src/factories/swc-config.factory.d.ts +1 -1
- package/types/src/forge.module.d.ts +4 -4
- package/types/src/packaging/dependency-pinner.service.d.ts +1 -1
- package/types/src/packaging/deployable.d.ts +1 -1
- package/types/src/packaging/import-graph.service.d.ts +1 -1
- package/types/src/packaging/release-exports.d.ts +1 -1
- package/types/src/packaging/ui-assets.d.ts +1 -1
- package/types/src/services/dependency-resolver.service.d.ts +1 -1
- package/types/src/services/file-writer.service.d.ts +1 -1
- package/types/src/services/incremental-watch.d.ts +1 -1
- package/types/src/services/swc-transpiler.d.ts +2 -2
- package/types/src/services/ts-program-host.d.ts +1 -1
- package/types/src/services/type-emission-program.d.ts +2 -2
- package/types/src/services/type-emitter.d.ts +3 -3
- package/types/src/types/configuration.type.d.ts +1 -1
- package/types/src/types/dependency.types.d.ts +1 -1
- package/types/src/types/swc-config.type.d.ts +1 -1
- package/types/src/types/transform-response.model.d.ts +2 -2
- package/types/src/types/transformer.type.d.ts +2 -2
- package/types/src/types/workspace-config.type.d.ts +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { PackageJson, Project, Workspace } from "@decohere/
|
|
1
|
+
import type { PackageJson, Project, Workspace } from "@decohere/workspace";
|
|
2
2
|
import type { DependencyWarning, DriftEntry, Package } from "../types/dependency.types.js";
|
|
3
3
|
export type ProjectDependencies = {
|
|
4
4
|
project: Project;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Project } from "@decohere/
|
|
1
|
+
import type { Project } from "@decohere/workspace";
|
|
2
2
|
import "../extensions/project.extensions.js";
|
|
3
3
|
import type { TransformResponse } from "../types/transform-response.model.js";
|
|
4
4
|
export declare class FileWriterService {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type Project, type Tsconfig, type Workspace } from "@decohere/
|
|
2
|
-
import type { FileEx } from "@decohere/
|
|
1
|
+
import { type Project, type Tsconfig, type Workspace } from "@decohere/workspace";
|
|
2
|
+
import type { FileEx } from "@decohere/core/io";
|
|
3
3
|
import { type Options } from "@swc/core";
|
|
4
4
|
import type { Observable } from "rxjs";
|
|
5
5
|
import { type BuildTarget, type TranspileTarget } from "../types/build-target.type.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Project, Tsconfig } from "@decohere/
|
|
2
|
-
import type { FileEx } from "@decohere/
|
|
1
|
+
import type { Project, Tsconfig } from "@decohere/workspace";
|
|
2
|
+
import type { FileEx } from "@decohere/core/io";
|
|
3
3
|
import ts from "typescript";
|
|
4
4
|
import type { TsProgramHost } from "../services/ts-program-host.js";
|
|
5
5
|
import { TransformResponse } from "../types/transform-response.model.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Project, Workspace } from "@decohere/
|
|
2
|
-
import type { FileEx } from "@decohere/
|
|
1
|
+
import type { Project, Workspace } from "@decohere/workspace";
|
|
2
|
+
import type { FileEx } from "@decohere/core/io";
|
|
3
3
|
import type { Observable } from "rxjs";
|
|
4
4
|
import type ts from "typescript";
|
|
5
5
|
import "../extensions/project.extensions.js";
|
|
@@ -43,7 +43,7 @@ export declare class TypeEmitter implements Transformer {
|
|
|
43
43
|
init(projectArrayLike: Project[] | Project, _filter?: (project: Project) => Promise<FileEx[]>): Promise<void>;
|
|
44
44
|
transformProject(projectArrayLike: Project[] | Project, filter?: (project: Project) => Promise<FileEx[]>, onOutput?: (response: TransformResponse) => void): Promise<TransformResponse[]>;
|
|
45
45
|
/**
|
|
46
|
-
* Type-check projects without emitting files. Includes every
|
|
46
|
+
* Type-check projects without emitting files. Includes every workspace project, not
|
|
47
47
|
* only those with a `types` build target (debug is es6-only).
|
|
48
48
|
*/
|
|
49
49
|
checkProject(projectArrayLike: Project[] | Project): Promise<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Project } from "@decohere/
|
|
2
|
-
import type { File } from "@decohere/
|
|
1
|
+
import type { Project } from "@decohere/workspace";
|
|
2
|
+
import type { File } from "@decohere/core/io";
|
|
3
3
|
import type { BuildTarget } from "./build-target.type.js";
|
|
4
4
|
export type TransformOutcome = "success" | "failure" | "skipped";
|
|
5
5
|
type TransformResponseBase = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Project, Workspace } from "@decohere/
|
|
2
|
-
import type { FileEx } from "@decohere/
|
|
1
|
+
import type { Project, Workspace } from "@decohere/workspace";
|
|
2
|
+
import type { FileEx } from "@decohere/core/io";
|
|
3
3
|
import type { Observable } from "rxjs";
|
|
4
4
|
import type { BuildTarget } from "../types/build-target.type.js";
|
|
5
5
|
import type { TransformResponse } from "./transform-response.model.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { ProjectOptions as BaseProjectOptions, WorkspaceOptions as BaseWorkspaceOptions } from "@decohere/
|
|
2
|
-
import type { Action, CommandType } from "@decohere/
|
|
3
|
-
import type { Constructable } from "@decohere/
|
|
1
|
+
import type { ProjectOptions as BaseProjectOptions, WorkspaceOptions as BaseWorkspaceOptions } from "@decohere/workspace";
|
|
2
|
+
import type { Action, CommandType } from "@decohere/core/cli";
|
|
3
|
+
import type { Constructable } from "@decohere/core/reflection";
|
|
4
4
|
import type { ForgeConfiguration } from "./configuration.type.js";
|
|
5
5
|
export type ProjectOptions = Omit<BaseProjectOptions, "configurations"> & {
|
|
6
6
|
configurations: ForgeConfiguration[];
|