@decohere/forge 0.0.1-dev.115 → 0.0.1-dev.117

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.
Files changed (147) hide show
  1. package/README.md +11 -11
  2. package/commonjs/src/actions/build.action.js +4 -4
  3. package/commonjs/src/actions/clean.action.js +4 -4
  4. package/commonjs/src/actions/commit.action.js +4 -4
  5. package/commonjs/src/actions/copy.action.js +5 -5
  6. package/commonjs/src/actions/dependency-report.action.js +4 -4
  7. package/commonjs/src/actions/dependency-sync.action.js +3 -3
  8. package/commonjs/src/actions/docker.action.js +5 -5
  9. package/commonjs/src/actions/link.action.js +3 -3
  10. package/commonjs/src/actions/package.action.js +5 -5
  11. package/commonjs/src/actions/paths.action.js +4 -4
  12. package/commonjs/src/actions/publish.action.js +4 -4
  13. package/commonjs/src/actions/sync-lock-file.action.js +2 -2
  14. package/commonjs/src/actions/tag.action.js +4 -4
  15. package/commonjs/src/actions/typecheck.action.js +4 -4
  16. package/commonjs/src/actions/unlink.action.js +1 -1
  17. package/commonjs/src/actions/version.action.js +5 -5
  18. package/commonjs/src/actions/watch.action.js +3 -3
  19. package/commonjs/src/commands/build.command.js +1 -1
  20. package/commonjs/src/commands/dependency.command.js +1 -1
  21. package/commonjs/src/commands/docker.command.js +1 -1
  22. package/commonjs/src/commands/forge.command.js +1 -1
  23. package/commonjs/src/commands/link.command.js +1 -1
  24. package/commonjs/src/commands/package.command.js +1 -1
  25. package/commonjs/src/commands/paths.command.js +1 -1
  26. package/commonjs/src/commands/publish.command.js +1 -1
  27. package/commonjs/src/commands/tag.command.js +1 -1
  28. package/commonjs/src/commands/typecheck.command.js +1 -1
  29. package/commonjs/src/commands/version.command.js +1 -1
  30. package/commonjs/src/create-workspace.js +5 -5
  31. package/commonjs/src/errors.js +2 -2
  32. package/commonjs/src/extensions/project.extensions.js +10 -10
  33. package/commonjs/src/factories/swc-config.factory.js +4 -4
  34. package/commonjs/src/forge.module.js +1 -1
  35. package/commonjs/src/packaging/dependency-pinner.service.js +1 -1
  36. package/commonjs/src/packaging/deployable.js +1 -1
  37. package/commonjs/src/packaging/import-graph.service.js +1 -1
  38. package/commonjs/src/packaging/release-exports.js +2 -2
  39. package/commonjs/src/packaging/ui-assets.js +1 -1
  40. package/commonjs/src/services/dependency-resolver.service.js +1 -1
  41. package/commonjs/src/services/file-writer.service.js +2 -2
  42. package/commonjs/src/services/output-cache.js +1 -1
  43. package/commonjs/src/services/swc-transpiler.js +5 -5
  44. package/commonjs/src/services/ts-program-host.js +2 -2
  45. package/commonjs/src/services/type-emission-program.js +1 -1
  46. package/commonjs/src/services/type-emitter.js +4 -4
  47. package/commonjs/src/vitest/forge-build.plugin.js +4 -4
  48. package/commonjs/src/workspace.config.js +2 -2
  49. package/es6/src/actions/build.action.js +3 -3
  50. package/es6/src/actions/clean.action.js +3 -3
  51. package/es6/src/actions/commit.action.js +3 -3
  52. package/es6/src/actions/copy.action.js +4 -4
  53. package/es6/src/actions/dependency-report.action.js +3 -3
  54. package/es6/src/actions/dependency-sync.action.js +2 -2
  55. package/es6/src/actions/docker.action.js +4 -4
  56. package/es6/src/actions/link.action.js +2 -2
  57. package/es6/src/actions/package.action.js +4 -4
  58. package/es6/src/actions/paths.action.js +2 -2
  59. package/es6/src/actions/publish.action.js +3 -3
  60. package/es6/src/actions/sync-lock-file.action.js +2 -2
  61. package/es6/src/actions/tag.action.js +3 -3
  62. package/es6/src/actions/typecheck.action.js +3 -3
  63. package/es6/src/actions/unlink.action.js +1 -1
  64. package/es6/src/actions/version.action.js +4 -4
  65. package/es6/src/actions/watch.action.js +2 -2
  66. package/es6/src/commands/build.command.js +1 -1
  67. package/es6/src/commands/dependency.command.js +1 -1
  68. package/es6/src/commands/docker.command.js +1 -1
  69. package/es6/src/commands/forge.command.js +1 -1
  70. package/es6/src/commands/link.command.js +1 -1
  71. package/es6/src/commands/package.command.js +1 -1
  72. package/es6/src/commands/paths.command.js +1 -1
  73. package/es6/src/commands/publish.command.js +1 -1
  74. package/es6/src/commands/tag.command.js +1 -1
  75. package/es6/src/commands/typecheck.command.js +1 -1
  76. package/es6/src/commands/version.command.js +1 -1
  77. package/es6/src/create-workspace.js +1 -1
  78. package/es6/src/errors.js +1 -1
  79. package/es6/src/extensions/project.extensions.js +4 -4
  80. package/es6/src/factories/swc-config.factory.js +3 -3
  81. package/es6/src/forge.module.js +1 -1
  82. package/es6/src/packaging/dependency-pinner.service.js +1 -1
  83. package/es6/src/packaging/deployable.js +1 -1
  84. package/es6/src/packaging/import-graph.service.js +1 -1
  85. package/es6/src/packaging/release-exports.js +1 -1
  86. package/es6/src/packaging/ui-assets.js +1 -1
  87. package/es6/src/services/dependency-resolver.service.js +1 -1
  88. package/es6/src/services/file-writer.service.js +2 -2
  89. package/es6/src/services/output-cache.js +1 -1
  90. package/es6/src/services/swc-transpiler.js +4 -4
  91. package/es6/src/services/ts-program-host.js +2 -2
  92. package/es6/src/services/type-emission-program.js +1 -1
  93. package/es6/src/services/type-emitter.js +4 -4
  94. package/es6/src/vitest/forge-build.plugin.js +2 -2
  95. package/es6/src/workspace.config.js +1 -1
  96. package/package.json +5 -5
  97. package/types/src/actions/build.action.d.ts +4 -4
  98. package/types/src/actions/clean.action.d.ts +3 -3
  99. package/types/src/actions/commit.action.d.ts +3 -3
  100. package/types/src/actions/copy.action.d.ts +3 -3
  101. package/types/src/actions/dependency-report.action.d.ts +3 -3
  102. package/types/src/actions/dependency-sync.action.d.ts +3 -3
  103. package/types/src/actions/docker.action.d.ts +3 -3
  104. package/types/src/actions/link.action.d.ts +3 -3
  105. package/types/src/actions/package.action.d.ts +3 -3
  106. package/types/src/actions/paths.action.d.ts +4 -4
  107. package/types/src/actions/publish.action.d.ts +4 -4
  108. package/types/src/actions/sync-lock-file.action.d.ts +2 -2
  109. package/types/src/actions/tag.action.d.ts +3 -3
  110. package/types/src/actions/typecheck.action.d.ts +3 -3
  111. package/types/src/actions/unlink.action.d.ts +2 -2
  112. package/types/src/actions/version.action.d.ts +4 -4
  113. package/types/src/actions/watch.action.d.ts +3 -3
  114. package/types/src/commands/build.command.d.ts +2 -2
  115. package/types/src/commands/dependency.command.d.ts +2 -2
  116. package/types/src/commands/docker.command.d.ts +1 -1
  117. package/types/src/commands/forge.command.d.ts +2 -2
  118. package/types/src/commands/link.command.d.ts +2 -2
  119. package/types/src/commands/package.command.d.ts +1 -1
  120. package/types/src/commands/paths.command.d.ts +1 -1
  121. package/types/src/commands/publish.command.d.ts +1 -1
  122. package/types/src/commands/tag.command.d.ts +1 -1
  123. package/types/src/commands/typecheck.command.d.ts +1 -1
  124. package/types/src/commands/version.command.d.ts +1 -1
  125. package/types/src/create-workspace.d.ts +2 -2
  126. package/types/src/errors.d.ts +1 -1
  127. package/types/src/extensions/project.extensions.d.ts +2 -2
  128. package/types/src/factories/swc-config.factory.d.ts +1 -1
  129. package/types/src/forge.module.d.ts +4 -4
  130. package/types/src/packaging/dependency-pinner.service.d.ts +1 -1
  131. package/types/src/packaging/deployable.d.ts +1 -1
  132. package/types/src/packaging/import-graph.service.d.ts +1 -1
  133. package/types/src/packaging/release-exports.d.ts +1 -1
  134. package/types/src/packaging/ui-assets.d.ts +1 -1
  135. package/types/src/services/dependency-resolver.service.d.ts +1 -1
  136. package/types/src/services/file-writer.service.d.ts +1 -1
  137. package/types/src/services/incremental-watch.d.ts +1 -1
  138. package/types/src/services/swc-transpiler.d.ts +2 -2
  139. package/types/src/services/ts-program-host.d.ts +1 -1
  140. package/types/src/services/type-emission-program.d.ts +2 -2
  141. package/types/src/services/type-emitter.d.ts +3 -3
  142. package/types/src/types/configuration.type.d.ts +1 -1
  143. package/types/src/types/dependency.types.d.ts +1 -1
  144. package/types/src/types/swc-config.type.d.ts +1 -1
  145. package/types/src/types/transform-response.model.d.ts +2 -2
  146. package/types/src/types/transformer.type.d.ts +2 -2
  147. package/types/src/types/workspace-config.type.d.ts +3 -3
@@ -1,4 +1,4 @@
1
- import type { Project } from "@decohere/mesh";
1
+ import type { Project } from "@decohere/workspace";
2
2
  export declare const DEFAULT_UI_OUTPUT = "dist";
3
3
  export declare const DEFAULT_UI_TARGET = "ui";
4
4
  export type UiAssets = {
@@ -1,4 +1,4 @@
1
- import type { PackageJson, Project, Workspace } from "@decohere/mesh";
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/mesh";
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,4 +1,4 @@
1
- import type { ProjectFileEvent, Workspace } from "@decohere/mesh";
1
+ import type { ProjectFileEvent, Workspace } from "@decohere/workspace";
2
2
  import type { Observable } from "rxjs";
3
3
  import type { TransformResponse } from "../types/transform-response.model.js";
4
4
  /**
@@ -1,5 +1,5 @@
1
- import { type Project, type Tsconfig, type Workspace } from "@decohere/mesh";
2
- import type { FileEx } from "@decohere/nexus/io";
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,4 +1,4 @@
1
- import type { FileEx } from "@decohere/nexus/io";
1
+ import type { FileEx } from "@decohere/core/io";
2
2
  import type ts from "typescript";
3
3
  /**
4
4
  * Wraps a TypeScript CompilerHost with cached file-system calls so that
@@ -1,5 +1,5 @@
1
- import type { Project, Tsconfig } from "@decohere/mesh";
2
- import type { FileEx } from "@decohere/nexus/io";
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/mesh";
2
- import type { FileEx } from "@decohere/nexus/io";
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 Mesh project, not
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,4 +1,4 @@
1
- import type { Configuration } from "@decohere/mesh";
1
+ import type { Configuration } from "@decohere/workspace";
2
2
  import type { BuildTarget } from "./build-target.type.js";
3
3
  export type ForgeConfiguration = Configuration & {
4
4
  targets: BuildTarget[];
@@ -1,4 +1,4 @@
1
- import type { ResultStatus } from "@decohere/nexus/cli";
1
+ import type { ResultStatus } from "@decohere/core/cli";
2
2
  export type Package = {
3
3
  name: string;
4
4
  version?: string;
@@ -1,4 +1,4 @@
1
- import type { Project, Tsconfig, Workspace } from "@decohere/mesh";
1
+ import type { Project, Tsconfig, Workspace } from "@decohere/workspace";
2
2
  export type SwcConfigOptions = {
3
3
  aliasPaths?: boolean;
4
4
  /** `false` drops source maps from the output. */
@@ -1,5 +1,5 @@
1
- import type { Project } from "@decohere/mesh";
2
- import type { File } from "@decohere/nexus/io";
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/mesh";
2
- import type { FileEx } from "@decohere/nexus/io";
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/mesh";
2
- import type { Action, CommandType } from "@decohere/nexus/cli";
3
- import type { Constructable } from "@decohere/nexus/reflection";
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[];