@savvy-web/silk-effects 1.4.0 → 1.5.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/changesets/categories/types.js +0 -1
- package/changesets/changelog/index.js +0 -2
- package/changesets/constants.js +0 -1
- package/changesets/errors.js +0 -1
- package/changesets/index.js +1 -1
- package/changesets/markdownlint/index.js +1 -1
- package/changesets/markdownlint/rules/dependency-table-format.js +2 -2
- package/changesets/markdownlint/rules/utils.js +1 -1
- package/changesets/remark/rules/uncategorized-content.js +1 -1
- package/changesets/schemas/changeset.js +0 -1
- package/changesets/schemas/dependency-table.js +0 -1
- package/changesets/schemas/git.js +0 -1
- package/changesets/schemas/github.js +0 -1
- package/changesets/schemas/options.js +0 -1
- package/changesets/schemas/package-scope.js +0 -1
- package/changesets/schemas/primitives.js +0 -1
- package/changesets/schemas/release-plan.js +0 -1
- package/changesets/schemas/version-files.js +0 -1
- package/changesets/services/branch-analyzer.js +0 -1
- package/changesets/services/config-inspector.js +1 -2
- package/changesets/services/release-planner.js +1 -2
- package/changesets/services/workspace-snapshot.js +0 -1
- package/changesets/utils/jsonpath.js +1 -1
- package/changesets/utils/publishability.js +2 -3
- package/changesets/utils/remark-pipeline.js +1 -1
- package/changesets/utils/worktree-snapshot.js +2 -2
- package/commitlint/config/factory.js +1 -1
- package/commitlint/config/schema.js +1 -1
- package/commitlint/hook/diagnostics/package-manager.js +1 -1
- package/commitlint/index.js +1 -2
- package/errors/BiomeSyncError.js +2 -1
- package/errors/ChangesetConfigError.js +2 -1
- package/errors/ConfigNotFoundError.js +2 -1
- package/errors/SectionParseError.js +1 -0
- package/errors/SectionValidationError.js +1 -0
- package/errors/SectionWriteError.js +1 -0
- package/errors/TagFormatError.js +2 -1
- package/errors/ToolNotFoundError.js +1 -0
- package/errors/ToolResolutionError.js +1 -0
- package/errors/ToolVersionMismatchError.js +1 -0
- package/errors/VersioningDetectionError.js +2 -1
- package/errors/WorkspaceAnalysisError.js +2 -1
- package/index.d.ts +265 -84
- package/lint/handlers/PnpmWorkspace.js +1 -1
- package/lint/index.js +1 -1
- package/package.json +2 -2
- package/schemas/CommentStyle.js +1 -0
- package/schemas/ResolvedTool.js +2 -1
- package/schemas/SavvySections.js +6 -1
- package/schemas/SectionBlock.js +3 -2
- package/schemas/SectionDefinition.js +4 -2
- package/schemas/SectionResults.js +12 -3
- package/schemas/TagStrategySchemas.js +2 -1
- package/schemas/ToolDefinition.js +2 -1
- package/schemas/ToolResults.js +18 -4
- package/schemas/VersioningSchemas.js +8 -4
- package/schemas/WorkspaceAnalysisSchemas.js +3 -0
- package/services/BiomeSchemaSync.js +4 -0
- package/services/ChangesetConfig.js +2 -0
- package/services/ChangesetConfigReader.js +4 -2
- package/services/ConfigDiscovery.js +2 -0
- package/services/ManagedSection.js +2 -0
- package/services/SilkPublishability.js +16 -12
- package/services/SilkWorkspaceAnalyzer.js +4 -2
- package/services/TagStrategy.js +3 -1
- package/services/ToolDiscovery.js +2 -0
- package/services/VersioningStrategy.js +2 -0
- package/turbo/index.js +1 -1
- package/utils/ToolCommand.js +2 -1
|
@@ -16,7 +16,6 @@ import { Schema } from "effect";
|
|
|
16
16
|
* @see {@link resolveCommitType} for mapping commit types to categories
|
|
17
17
|
* @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
|
|
18
18
|
*
|
|
19
|
-
* @packageDocumentation
|
|
20
19
|
*/
|
|
21
20
|
/**
|
|
22
21
|
* Schema for a section category that defines how changes are grouped in release notes.
|
|
@@ -56,8 +56,6 @@ import { Effect, Layer } from "effect";
|
|
|
56
56
|
*
|
|
57
57
|
* @see {@link getReleaseLine} in `./getReleaseLine.ts` for individual changeset formatting
|
|
58
58
|
* @see {@link getDependencyReleaseLine} in `./getDependencyReleaseLine.ts` for dependency table formatting
|
|
59
|
-
*
|
|
60
|
-
* @packageDocumentation
|
|
61
59
|
*/
|
|
62
60
|
/**
|
|
63
61
|
* Combined layer providing all services needed by the formatters.
|
package/changesets/constants.js
CHANGED
package/changesets/errors.js
CHANGED
package/changesets/index.js
CHANGED
|
@@ -166,4 +166,4 @@ var changesets_exports = /* @__PURE__ */ __exportAll({
|
|
|
166
166
|
});
|
|
167
167
|
|
|
168
168
|
//#endregion
|
|
169
|
-
export { changesets_exports };
|
|
169
|
+
export { AggregateDependencyTablesPlugin, AppliedReleaseEntrySchema, AppliedReleaseSchema, BranchAnalysisSchema, BranchAnalyzer, BranchAnalyzerBase, BranchAnalyzerLive, BranchFileEntrySchema, BumpTypeSchema, Categories, Changelog, ChangelogService, ChangelogServiceBase, ChangelogTransformer, ChangesetLinter, ChangesetOptionsSchema, ChangesetPreviewSchema, ChangesetSchema, ChangesetSummarySchema, ChangesetValidationError, ChangesetValidationErrorBase, ClassificationReasonSchema, ClassificationSchema, CommitHashSchema, ConfigInspector, ConfigInspectorBase, ConfigInspectorLive, ConfigurationError, ConfigurationErrorBase, ContentStructureRule, ContributorFootnotesPlugin, DeduplicateItemsPlugin, DependencyActionSchema, DependencyTable, DependencyTableFormatRule$1 as DependencyTableFormatRule, DependencyTableRowSchema, DependencyTableSchema, DependencyTableTypeSchema, DependencyTypeSchema, DependencyUpdateSchema, FileStatusSchema, GitError, GitErrorBase, GitHubApiError, GitHubApiErrorBase, GitHubInfoSchema, GitHubLive, GitHubService, GitHubServiceBase, GlobSchema, HeadingHierarchyRule, InspectedConfigSchema, IssueLinkRefsPlugin, IssueNumberSchema, JsonPathSchema, LegacyVersionFileConfigSchema, LegacyVersionFilesSchema, MarkdownLive, MarkdownParseError, MarkdownParseErrorBase, MarkdownService, MarkdownServiceBase, ContentStructureRule$1 as MarkdownlintContentStructureRule, DependencyTableFormatRule as MarkdownlintDependencyTableFormatRule, HeadingHierarchyRule$1 as MarkdownlintHeadingHierarchyRule, RequiredSectionsRule$1 as MarkdownlintRequiredSectionsRule, UncategorizedContentRule$1 as MarkdownlintUncategorizedContentRule, MergeSectionsPlugin, NonEmptyString, NormalizeFormatPlugin, PackageScopeSchema, PackagesRecordSchema, PendingChangesetSchema, PositiveInteger, PreviewReleaseSchema, ReleasePlanError, ReleasePlanErrorBase, ReleasePlanner, ReleasePlannerBase, ReleasePlannerLive, ReorderSectionsPlugin, RepoSchema, RequiredSectionsRule, ResolvedPackageScopeSchema, ResolvedVersionFileSchema, SectionCategorySchema, SilkChangesetPreset, SilkChangesetTransformPreset, SilkChangesetsRules, UncategorizedContentRule, UrlOrMarkdownLinkSchema, UsernameSchema, VersionFileConfigSchema, VersionFileError, VersionFileErrorBase, VersionFileUpdateRecordSchema, VersionFiles, VersionFilesSchema, VersionOrEmptySchema, VersionTypeSchema, WorkspaceSnapshotReader, WorkspaceSnapshotReaderBase, WorkspaceSnapshotReaderLive, changelogFunctions, changesets_exports, computeWorkspaceDependencyDiffs, gitMergeBase, listPublishablePackageNames, makeBranchAnalyzerTest, makeConfigInspectorTest, makeGitHubTest, makeReleasePlannerTest, serializeDependencyTableToMarkdown, snapshotFromWorktree };
|
|
@@ -3,7 +3,7 @@ import { getHeadingLevel, getHeadingText } from "./utils.js";
|
|
|
3
3
|
|
|
4
4
|
//#region src/changesets/markdownlint/rules/dependency-table-format.ts
|
|
5
5
|
const EM_DASH = "—";
|
|
6
|
-
const VALID_TYPES = new Set([
|
|
6
|
+
const VALID_TYPES = /* @__PURE__ */ new Set([
|
|
7
7
|
"dependency",
|
|
8
8
|
"devDependency",
|
|
9
9
|
"peerDependency",
|
|
@@ -11,7 +11,7 @@ const VALID_TYPES = new Set([
|
|
|
11
11
|
"workspace",
|
|
12
12
|
"config"
|
|
13
13
|
]);
|
|
14
|
-
const VALID_ACTIONS = new Set([
|
|
14
|
+
const VALID_ACTIONS = /* @__PURE__ */ new Set([
|
|
15
15
|
"added",
|
|
16
16
|
"updated",
|
|
17
17
|
"removed"
|
|
@@ -7,7 +7,7 @@ import { lintRule } from "unified-lint-rule";
|
|
|
7
7
|
*
|
|
8
8
|
* @internal
|
|
9
9
|
*/
|
|
10
|
-
const IGNORED_TYPES = new Set(["html"]);
|
|
10
|
+
const IGNORED_TYPES = /* @__PURE__ */ new Set(["html"]);
|
|
11
11
|
/**
|
|
12
12
|
* Determine whether a node is substantive content (not a heading or ignored type).
|
|
13
13
|
*
|
|
@@ -16,7 +16,6 @@ import { Schema } from "effect";
|
|
|
16
16
|
* @see {@link https://github.com/changesets/changesets | Changesets documentation}
|
|
17
17
|
* @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
|
|
18
18
|
*
|
|
19
|
-
* @packageDocumentation
|
|
20
19
|
*/
|
|
21
20
|
/**
|
|
22
21
|
* Schema for a changeset summary (1--1000 characters).
|
|
@@ -21,7 +21,6 @@ import { Schema } from "effect";
|
|
|
21
21
|
* @see {@link DependencyUpdateSchema} for the simpler Changesets API format
|
|
22
22
|
* @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
|
|
23
23
|
*
|
|
24
|
-
* @packageDocumentation
|
|
25
24
|
*/
|
|
26
25
|
/**
|
|
27
26
|
* Valid dependency table actions.
|
|
@@ -21,7 +21,6 @@ import { Effect, Schema } from "effect";
|
|
|
21
21
|
* @see {@link https://github.com/changesets/changesets/blob/main/docs/config-file-options.md | Changesets config docs}
|
|
22
22
|
* @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
|
|
23
23
|
*
|
|
24
|
-
* @packageDocumentation
|
|
25
24
|
*/
|
|
26
25
|
/** Regex for `owner/repo` format, shared between schema and validation. */
|
|
27
26
|
const REPO_PATTERN = /^[a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+$/;
|
|
@@ -40,7 +40,6 @@ import { Schema } from "effect";
|
|
|
40
40
|
* @see {@link VersionFileConfigSchema} for the version-file entry shape
|
|
41
41
|
* @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
|
|
42
42
|
*
|
|
43
|
-
* @packageDocumentation
|
|
44
43
|
*/
|
|
45
44
|
/**
|
|
46
45
|
* Schema for a single repo-relative glob pattern.
|
|
@@ -5,7 +5,6 @@ import { Schema } from "effect";
|
|
|
5
5
|
* Result schemas for the {@link ReleasePlanner} service — the structured
|
|
6
6
|
* preview of pending releases and the result of a native apply.
|
|
7
7
|
*
|
|
8
|
-
* @packageDocumentation
|
|
9
8
|
*/
|
|
10
9
|
/** A semantic-version bump level (the `"none"` plan type is filtered out upstream). @public */
|
|
11
10
|
const BumpTypeSchema = Schema.Literal("major", "minor", "patch");
|
|
@@ -26,7 +26,6 @@ import { Schema } from "effect";
|
|
|
26
26
|
* @see {@link PackageScopeSchema} for the new per-package container
|
|
27
27
|
* @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
|
|
28
28
|
*
|
|
29
|
-
* @packageDocumentation
|
|
30
29
|
*/
|
|
31
30
|
/**
|
|
32
31
|
* Schema for a JSONPath expression starting with `$.`.
|
|
@@ -43,7 +43,6 @@ import { execFileSync } from "node:child_process";
|
|
|
43
43
|
* @see {@link BranchAnalyzerLive} for the production layer
|
|
44
44
|
* @see {@link ConfigInspector} for the underlying classification service
|
|
45
45
|
*
|
|
46
|
-
* @packageDocumentation
|
|
47
46
|
*/
|
|
48
47
|
/** Git diff status as reported by `--name-status`. @public */
|
|
49
48
|
const FileStatusSchema = Schema.Literal("added", "modified", "deleted", "renamed", "copied", "typechange", "unmerged", "unknown").annotations({ identifier: "FileStatus" });
|
|
@@ -41,7 +41,6 @@ import { WorkspaceDiscovery } from "workspaces-effect";
|
|
|
41
41
|
* @see {@link ConfigInspector} for the Effect service tag
|
|
42
42
|
* @see {@link ConfigInspectorLive} for the production layer
|
|
43
43
|
*
|
|
44
|
-
* @packageDocumentation
|
|
45
44
|
*/
|
|
46
45
|
/** A `versionFiles` entry expanded to its absolute target paths. @public */
|
|
47
46
|
const ResolvedVersionFileSchema = Schema.Struct({
|
|
@@ -454,7 +453,7 @@ function classifyOne(inspected, path) {
|
|
|
454
453
|
/**
|
|
455
454
|
* Live layer for {@link ConfigInspector}.
|
|
456
455
|
*
|
|
457
|
-
* Requires {@link ChangesetConfigReader} and
|
|
456
|
+
* Requires {@link ChangesetConfigReader} and `WorkspaceDiscovery`
|
|
458
457
|
* in the environment.
|
|
459
458
|
*
|
|
460
459
|
* @public
|
|
@@ -23,7 +23,6 @@ import { getPackages } from "@manypkg/get-packages";
|
|
|
23
23
|
* then reads the generated CHANGELOG blocks back. No changesets-internal logic
|
|
24
24
|
* (e.g. `getChangelogEntry`) is re-implemented.
|
|
25
25
|
*
|
|
26
|
-
* @packageDocumentation
|
|
27
26
|
*/
|
|
28
27
|
/** Single workspace-discovery seam; swap to an Effect-native stack later here. */
|
|
29
28
|
const buildPackages = (root) => getPackages(root);
|
|
@@ -249,4 +248,4 @@ function applyEffect(root, dryRun, inspector) {
|
|
|
249
248
|
}
|
|
250
249
|
|
|
251
250
|
//#endregion
|
|
252
|
-
export { ReleasePlanner, ReleasePlannerBase, ReleasePlannerLive, makeReleasePlannerTest };
|
|
251
|
+
export { ReleasePlanner, ReleasePlannerBase, ReleasePlannerLive, extractVersionBlock, makeReleasePlannerTest };
|
|
@@ -22,7 +22,6 @@ import { execFileSync } from "node:child_process";
|
|
|
22
22
|
* @see {@link WorkspaceSnapshotReader} for the service tag
|
|
23
23
|
* @see {@link WorkspaceSnapshotReaderLive} for the production layer
|
|
24
24
|
*
|
|
25
|
-
* @packageDocumentation
|
|
26
25
|
*/
|
|
27
26
|
const _tag = Context.Tag("WorkspaceSnapshotReader");
|
|
28
27
|
/**
|
|
@@ -7,18 +7,17 @@ import { PublishabilityDetector } from "workspaces-effect";
|
|
|
7
7
|
*
|
|
8
8
|
* @remarks
|
|
9
9
|
* Provides `listPublishablePackageNames`, a convenience wrapper around
|
|
10
|
-
* {@link
|
|
10
|
+
* {@link SilkPublishability} that returns a `Set<string>` of
|
|
11
11
|
* publishable package names. Used by the `deps detect` and `deps regen`
|
|
12
12
|
* commands to filter out workspace packages whose dependency changes
|
|
13
13
|
* would never reach a release.
|
|
14
14
|
*
|
|
15
|
-
* @packageDocumentation
|
|
16
15
|
*/
|
|
17
16
|
/**
|
|
18
17
|
* Compute the set of currently-publishable workspace package names.
|
|
19
18
|
*
|
|
20
19
|
* @remarks
|
|
21
|
-
* Uses the currently-active {@link
|
|
20
|
+
* Uses the currently-active {@link SilkPublishability} — wire the
|
|
22
21
|
* {@link SilkPublishabilityDetectorLive} layer to get silk semantics.
|
|
23
22
|
*
|
|
24
23
|
* @param packages - The workspace packages to evaluate
|
|
@@ -81,7 +81,7 @@ function normalizeWorkspaceGlob(glob) {
|
|
|
81
81
|
*/
|
|
82
82
|
function snapshotFromWorktree(cwd) {
|
|
83
83
|
const snapshots = [];
|
|
84
|
-
const dirs = new Set([cwd]);
|
|
84
|
+
const dirs = /* @__PURE__ */ new Set([cwd]);
|
|
85
85
|
for (const dir of expandWorkspaceDirs(cwd)) dirs.add(dir);
|
|
86
86
|
for (const dir of dirs) try {
|
|
87
87
|
const pkgJson = JSON.parse(readFileSync(join(dir, "package.json"), "utf8"));
|
|
@@ -139,4 +139,4 @@ function expandWorkspaceDirs(cwd) {
|
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
//#endregion
|
|
142
|
-
export { gitMergeBase, snapshotFromWorktree };
|
|
142
|
+
export { gitMergeBase, normalizeWorkspaceGlob, snapshotFromWorktree };
|
|
@@ -26,7 +26,7 @@ function createConfig(options) {
|
|
|
26
26
|
const cwd = options.cwd ?? process.cwd();
|
|
27
27
|
const dco = process.env.COMMITLINT_SKIP_DCO === "1" || process.env.COMMITLINT_SKIP_DCO === "true" ? false : options.dco ?? detectDCO(cwd);
|
|
28
28
|
const scopes = options.scopes ?? [];
|
|
29
|
-
const allScopes = [
|
|
29
|
+
const allScopes = [.../* @__PURE__ */ new Set([...scopes, ...options.additionalScopes ?? []])].sort();
|
|
30
30
|
const rules = {
|
|
31
31
|
"body-max-line-length": [
|
|
32
32
|
2,
|
package/commitlint/index.js
CHANGED
|
@@ -41,7 +41,6 @@ import { verbosityRule } from "./hook/rules/verbosity.js";
|
|
|
41
41
|
* const config = Commitlint.CommitlintConfig.silk();
|
|
42
42
|
* ```
|
|
43
43
|
*
|
|
44
|
-
* @packageDocumentation
|
|
45
44
|
*/
|
|
46
45
|
var commitlint_exports = /* @__PURE__ */ __exportAll({
|
|
47
46
|
COMMIT_TYPES: () => COMMIT_TYPES,
|
|
@@ -141,4 +140,4 @@ var CommitlintConfig = class {
|
|
|
141
140
|
};
|
|
142
141
|
|
|
143
142
|
//#endregion
|
|
144
|
-
export { commitlint_exports };
|
|
143
|
+
export { COMMIT_TYPES, COMMIT_TYPE_DEFINITIONS, CommitlintConfig, CommitlintConfig as default, DCO_SIGNOFF_TEXT, ERROR_EXPLANATIONS, ERROR_SUGGESTIONS, HookSilencer, ISSUES_CACHE_RELATIVE_PATH, PostToolUseEnvelope, PreToolUseEnvelope, SessionStartEnvelope, TDD_SCOPE_PATTERN, TDD_STATES, TYPE_EMOJIS, TYPE_EMOJIS_UNICODE, buildSigningDiagnostic, closesTrailerRule, commitlint_exports, createPromptConfig, createTypeEnum, defaultPromptConfig, detectDCO, detectFromLockfiles, detectPackageManager, detectScopes, emojiPromptConfig, fetchAndCacheOpenIssues, forbiddenContentRule, format, getExplanation, getSuggestion, getTypeEmoji, hasClosingTrailer, inferTicketId, parseBashCommand, parseGpgKeyExpiry, parseHuskyConfigPath, parsePackageManagerField, partitionHits, planLeakageRule, postToolUseAdvise, preToolUseAdvise, preToolUseAllow, preToolUseDeny, preToolUseSilent, prompter, readBranchInfo, readCache, readCommitlintConfigPath, readOpenIssuesFromCache, readOrFetchOpenIssues, readSigningDiagnostic, sessionStartContext, signingFlagConflictRule, softWrapRule, staticConfig, verbosityRule, writeCache };
|
package/errors/BiomeSyncError.js
CHANGED
|
@@ -5,11 +5,12 @@ import { Data } from "effect";
|
|
|
5
5
|
* Raised when a Biome config file cannot be read or its `$schema` URL cannot be updated.
|
|
6
6
|
*
|
|
7
7
|
* @remarks
|
|
8
|
-
* Returned by
|
|
8
|
+
* Returned by `BiomeSchemaSync.sync` and `BiomeSchemaSync.check` when
|
|
9
9
|
* a `biome.json` or `biome.jsonc` file exists but cannot be read, contains invalid JSON,
|
|
10
10
|
* or cannot be written back to disk.
|
|
11
11
|
*
|
|
12
12
|
* @since 0.1.0
|
|
13
|
+
* @public
|
|
13
14
|
*/
|
|
14
15
|
var BiomeSyncError = class extends Data.TaggedError("BiomeSyncError") {
|
|
15
16
|
get message() {
|
|
@@ -5,10 +5,11 @@ import { Data } from "effect";
|
|
|
5
5
|
* Raised when the `.changeset/config.json` file cannot be read or decoded.
|
|
6
6
|
*
|
|
7
7
|
* @remarks
|
|
8
|
-
* Returned by
|
|
8
|
+
* Returned by `ChangesetConfigReader.read` when the file is missing,
|
|
9
9
|
* contains invalid JSON, or fails Effect Schema validation.
|
|
10
10
|
*
|
|
11
11
|
* @since 0.1.0
|
|
12
|
+
* @public
|
|
12
13
|
*/
|
|
13
14
|
var ChangesetConfigError = class extends Data.TaggedError("ChangesetConfigError") {
|
|
14
15
|
get message() {
|
|
@@ -5,11 +5,12 @@ import { Data } from "effect";
|
|
|
5
5
|
* Raised when a config file cannot be located in any of the expected locations.
|
|
6
6
|
*
|
|
7
7
|
* @remarks
|
|
8
|
-
* Returned by consumers that require a config file to exist.
|
|
8
|
+
* Returned by consumers that require a config file to exist. `ConfigDiscovery.find`
|
|
9
9
|
* itself returns `null` instead of failing — callers that need a hard failure should
|
|
10
10
|
* map `null` to this error.
|
|
11
11
|
*
|
|
12
12
|
* @since 0.1.0
|
|
13
|
+
* @public
|
|
13
14
|
*/
|
|
14
15
|
var ConfigNotFoundError = class extends Data.TaggedError("ConfigNotFoundError") {
|
|
15
16
|
get message() {
|
package/errors/TagFormatError.js
CHANGED
|
@@ -5,10 +5,11 @@ import { Data } from "effect";
|
|
|
5
5
|
* Raised when a git tag string cannot be formatted for the given package name and version.
|
|
6
6
|
*
|
|
7
7
|
* @remarks
|
|
8
|
-
* Returned by
|
|
8
|
+
* Returned by `TagStrategy.formatTag` when the `version` argument is an empty string
|
|
9
9
|
* or another invariant prevents tag construction.
|
|
10
10
|
*
|
|
11
11
|
* @since 0.1.0
|
|
12
|
+
* @public
|
|
12
13
|
*/
|
|
13
14
|
var TagFormatError = class extends Data.TaggedError("TagFormatError") {
|
|
14
15
|
get message() {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Data } from "effect";
|
|
2
2
|
|
|
3
3
|
//#region src/errors/ToolVersionMismatchError.ts
|
|
4
|
+
/** @public */
|
|
4
5
|
var ToolVersionMismatchError = class extends Data.TaggedError("ToolVersionMismatchError") {
|
|
5
6
|
get message() {
|
|
6
7
|
return `Tool version mismatch: ${this.name} — global ${this.globalVersion} vs local ${this.localVersion}`;
|
|
@@ -5,10 +5,11 @@ import { Data } from "effect";
|
|
|
5
5
|
* Raised when the versioning strategy cannot be determined from the workspace state.
|
|
6
6
|
*
|
|
7
7
|
* @remarks
|
|
8
|
-
* Returned by
|
|
8
|
+
* Returned by `VersioningStrategy.detect` when an unexpected condition
|
|
9
9
|
* prevents strategy classification.
|
|
10
10
|
*
|
|
11
11
|
* @since 0.1.0
|
|
12
|
+
* @public
|
|
12
13
|
*/
|
|
13
14
|
var VersioningDetectionError = class extends Data.TaggedError("VersioningDetectionError") {
|
|
14
15
|
get message() {
|
|
@@ -5,11 +5,12 @@ import { Data } from "effect";
|
|
|
5
5
|
* Raised when workspace analysis fails for a given root directory.
|
|
6
6
|
*
|
|
7
7
|
* @remarks
|
|
8
|
-
* Returned by
|
|
8
|
+
* Returned by `SilkWorkspaceAnalyzer.analyze` when the analysis pipeline
|
|
9
9
|
* encounters an unrecoverable error — e.g. workspace discovery failure,
|
|
10
10
|
* package manager detection failure, or publishability detection errors.
|
|
11
11
|
*
|
|
12
12
|
* @since 0.2.0
|
|
13
|
+
* @public
|
|
13
14
|
*/
|
|
14
15
|
var WorkspaceAnalysisError = class extends Data.TaggedError("WorkspaceAnalysisError") {
|
|
15
16
|
get message() {
|