@decohere/forge 0.0.1-dev.117 → 0.0.1-dev.119
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/build.action.js +2 -2
- package/commonjs/src/actions/clean.action.js +1 -1
- package/commonjs/src/actions/commit.action.js +2 -2
- package/commonjs/src/actions/copy.action.js +4 -3
- package/commonjs/src/actions/dependency-report.action.js +1 -1
- package/commonjs/src/actions/dependency-sync.action.js +1 -1
- package/commonjs/src/actions/docker.action.js +2 -2
- package/commonjs/src/actions/link.action.js +1 -1
- package/commonjs/src/actions/package.action.js +2 -2
- package/commonjs/src/actions/paths.action.js +1 -1
- package/commonjs/src/actions/publish.action.js +2 -2
- package/commonjs/src/actions/sync-lock-file.action.js +2 -2
- package/commonjs/src/actions/tag.action.js +2 -2
- package/commonjs/src/actions/typecheck.action.js +2 -2
- package/commonjs/src/actions/unlink.action.js +1 -1
- package/commonjs/src/actions/version.action.js +7 -7
- package/commonjs/src/actions/watch.action.js +1 -1
- 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/factories/swc-config.factory.js +1 -1
- package/commonjs/src/forge.module.js +1 -1
- package/commonjs/src/semver/index.js +18 -0
- package/commonjs/src/semver/semver.js +92 -0
- package/commonjs/src/services/file-writer.service.js +1 -1
- package/commonjs/src/services/swc-transpiler.js +3 -3
- package/commonjs/src/services/ts-program-host.js +1 -1
- package/commonjs/src/services/type-emission-program.js +1 -1
- package/commonjs/src/services/type-emitter.js +4 -4
- package/es6/src/actions/build.action.js +2 -2
- package/es6/src/actions/clean.action.js +1 -1
- package/es6/src/actions/commit.action.js +2 -2
- package/es6/src/actions/copy.action.js +4 -3
- package/es6/src/actions/dependency-report.action.js +1 -1
- package/es6/src/actions/dependency-sync.action.js +1 -1
- package/es6/src/actions/docker.action.js +2 -2
- package/es6/src/actions/link.action.js +1 -1
- package/es6/src/actions/package.action.js +2 -2
- package/es6/src/actions/paths.action.js +1 -1
- package/es6/src/actions/publish.action.js +2 -2
- package/es6/src/actions/sync-lock-file.action.js +2 -2
- package/es6/src/actions/tag.action.js +2 -2
- package/es6/src/actions/typecheck.action.js +2 -2
- package/es6/src/actions/unlink.action.js +1 -1
- package/es6/src/actions/version.action.js +3 -3
- package/es6/src/actions/watch.action.js +1 -1
- 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/factories/swc-config.factory.js +1 -1
- package/es6/src/forge.module.js +1 -1
- package/es6/src/semver/index.js +1 -0
- package/es6/src/semver/semver.js +71 -0
- package/es6/src/services/file-writer.service.js +1 -1
- package/es6/src/services/swc-transpiler.js +3 -3
- package/es6/src/services/ts-program-host.js +1 -1
- package/es6/src/services/type-emission-program.js +1 -1
- package/es6/src/services/type-emitter.js +4 -4
- package/package.json +6 -5
- package/types/src/actions/build.action.d.ts +2 -2
- package/types/src/actions/clean.action.d.ts +2 -2
- package/types/src/actions/commit.action.d.ts +2 -2
- package/types/src/actions/copy.action.d.ts +2 -2
- package/types/src/actions/dependency-report.action.d.ts +2 -2
- package/types/src/actions/dependency-sync.action.d.ts +2 -2
- package/types/src/actions/docker.action.d.ts +2 -2
- package/types/src/actions/link.action.d.ts +2 -2
- package/types/src/actions/package.action.d.ts +2 -2
- package/types/src/actions/paths.action.d.ts +2 -2
- package/types/src/actions/publish.action.d.ts +2 -2
- package/types/src/actions/sync-lock-file.action.d.ts +2 -2
- package/types/src/actions/tag.action.d.ts +2 -2
- package/types/src/actions/typecheck.action.d.ts +2 -2
- package/types/src/actions/unlink.action.d.ts +2 -2
- package/types/src/actions/version.action.d.ts +3 -3
- package/types/src/actions/watch.action.d.ts +2 -2
- 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 +1 -1
- package/types/src/forge.module.d.ts +2 -2
- package/types/src/semver/index.d.ts +1 -0
- package/types/src/semver/semver.d.ts +18 -0
- package/types/src/types/dependency.types.d.ts +1 -1
- package/types/src/types/workspace-config.type.d.ts +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { CommandHandler } from "@decohere/
|
|
2
|
-
import { DecohereCommand } from "@decohere/
|
|
1
|
+
import type { CommandHandler } from "@decohere/devkit/cli";
|
|
2
|
+
import { DecohereCommand } from "@decohere/devkit/cli";
|
|
3
3
|
export declare class DependencyCommand extends DecohereCommand {
|
|
4
4
|
constructor(name?: string, handler?: CommandHandler);
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Actions } from "@decohere/
|
|
2
|
-
import { type CommandHandler, type CommandResponse, type CommandType, DecohereCommand } from "@decohere/
|
|
1
|
+
import type { Actions } from "@decohere/devkit/cli";
|
|
2
|
+
import { type CommandHandler, type CommandResponse, type CommandType, DecohereCommand } from "@decohere/devkit/cli";
|
|
3
3
|
export declare class ForgeCommand extends DecohereCommand {
|
|
4
4
|
constructor(commands: Record<string, CommandType>, handler: CommandHandler);
|
|
5
5
|
run(_actions: Actions, _options: never): Promise<CommandResponse>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { CommandHandler, MergeOptions } from "@decohere/
|
|
2
|
-
import { CommandResponse, DecohereCommand } from "@decohere/
|
|
1
|
+
import type { CommandHandler, MergeOptions } from "@decohere/devkit/cli";
|
|
2
|
+
import { CommandResponse, DecohereCommand } from "@decohere/devkit/cli";
|
|
3
3
|
import { Build } from "../actions/build.action.js";
|
|
4
4
|
import { Clean } from "../actions/clean.action.js";
|
|
5
5
|
import { Copy } from "../actions/copy.action.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DecohereCommand } from "@decohere/
|
|
1
|
+
import { DecohereCommand } from "@decohere/devkit/cli";
|
|
2
2
|
import { PackageDeployable } from "../actions/package.action.js";
|
|
3
3
|
export declare class PackageCommand extends DecohereCommand {
|
|
4
4
|
get actions(): (typeof PackageDeployable)[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DecohereCommand } from "@decohere/
|
|
1
|
+
import { DecohereCommand } from "@decohere/devkit/cli";
|
|
2
2
|
import { TypeCheck } from "../actions/typecheck.action.js";
|
|
3
3
|
export declare class TypeCheckCommand extends DecohereCommand {
|
|
4
4
|
get actions(): (typeof TypeCheck)[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Workspace } from "@decohere/workspace";
|
|
2
|
-
import type { WorkspaceFactoryOptions } from "@decohere/
|
|
2
|
+
import type { WorkspaceFactoryOptions } from "@decohere/devkit/cli";
|
|
3
3
|
/**
|
|
4
4
|
* The workspace every Decohere tool sees (forge, the flux CLI and `flux.run`): forge's
|
|
5
5
|
* defaults, the user's `.decohere.js`, and a root found by searching upward from cwd.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { WorkspaceFactoryOptions } from "@decohere/
|
|
2
|
-
import { ModuleManifest } from "@decohere/
|
|
1
|
+
import type { WorkspaceFactoryOptions } from "@decohere/devkit/cli";
|
|
2
|
+
import { ModuleManifest } from "@decohere/devkit/cli";
|
|
3
3
|
import type { ContainerBuilder } from "@decohere/core/composition";
|
|
4
4
|
import * as Actions from "./actions/index.js";
|
|
5
5
|
import * as Commands from "./commands/index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./semver.js";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export type VersionType = "major" | "minor" | "patch" | "prerelease";
|
|
2
|
+
export declare const VersionTypes: {
|
|
3
|
+
major: "major";
|
|
4
|
+
minor: "minor";
|
|
5
|
+
patch: "patch";
|
|
6
|
+
prerelease: "prerelease";
|
|
7
|
+
};
|
|
8
|
+
export declare class SemverError extends Error {
|
|
9
|
+
constructor(message: string);
|
|
10
|
+
}
|
|
11
|
+
export declare class Semver {
|
|
12
|
+
private version;
|
|
13
|
+
constructor(version: string);
|
|
14
|
+
increment(versionType: VersionType, preid?: string): Semver;
|
|
15
|
+
toString(): string;
|
|
16
|
+
private ensureValid;
|
|
17
|
+
private parse;
|
|
18
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ProjectOptions as BaseProjectOptions, WorkspaceOptions as BaseWorkspaceOptions } from "@decohere/workspace";
|
|
2
|
-
import type { Action, CommandType } from "@decohere/
|
|
2
|
+
import type { Action, CommandType } from "@decohere/devkit/cli";
|
|
3
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"> & {
|