@savvy-web/silk-effects 9.5.5 → 9.6.0
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/_virtual/_rolldown/runtime.js +1 -2
- package/changesets/api/categories.js +1 -2
- package/changesets/api/changelog.js +1 -2
- package/changesets/api/dependency-table.js +1 -2
- package/changesets/api/linter.js +1 -2
- package/changesets/api/transformer.js +1 -2
- package/changesets/categories/index.js +1 -2
- package/changesets/categories/types.js +1 -2
- package/changesets/changelog/formatting.js +1 -2
- package/changesets/changelog/getDependencyReleaseLine.js +1 -2
- package/changesets/changelog/getReleaseLine.js +1 -2
- package/changesets/changelog/index.js +1 -2
- package/changesets/changelog/vanilla.js +1 -2
- package/changesets/constants.js +1 -2
- package/changesets/errors.js +1 -2
- package/changesets/index.js +1 -2
- package/changesets/markdownlint/index.js +1 -2
- package/changesets/markdownlint/rules/content-structure.js +1 -2
- package/changesets/markdownlint/rules/dependency-table-format.js +1 -2
- package/changesets/markdownlint/rules/heading-hierarchy.js +1 -2
- package/changesets/markdownlint/rules/required-sections.js +1 -2
- package/changesets/markdownlint/rules/uncategorized-content.js +1 -2
- package/changesets/markdownlint/rules/utils.js +1 -2
- package/changesets/remark/plugins/aggregate-dependency-tables.js +1 -2
- package/changesets/remark/plugins/contributor-footnotes.js +1 -2
- package/changesets/remark/plugins/deduplicate-items.js +1 -2
- package/changesets/remark/plugins/issue-link-refs.js +1 -2
- package/changesets/remark/plugins/maintenance-note.js +1 -2
- package/changesets/remark/plugins/merge-sections.js +1 -2
- package/changesets/remark/plugins/normalize-format.js +1 -2
- package/changesets/remark/plugins/reorder-sections.js +1 -2
- package/changesets/remark/presets.js +1 -2
- package/changesets/remark/rules/content-structure.js +1 -2
- package/changesets/remark/rules/dependency-table-format.js +1 -2
- package/changesets/remark/rules/heading-hierarchy.js +1 -2
- package/changesets/remark/rules/required-sections.js +1 -2
- package/changesets/remark/rules/uncategorized-content.js +1 -2
- package/changesets/schemas/changeset.js +1 -2
- package/changesets/schemas/dependency-table.js +1 -2
- package/changesets/schemas/deps-regen.js +1 -2
- package/changesets/schemas/git.js +1 -2
- package/changesets/schemas/github.js +1 -2
- package/changesets/schemas/options.js +1 -2
- package/changesets/schemas/package-scope.js +1 -2
- package/changesets/schemas/primitives.js +1 -2
- package/changesets/schemas/release-plan.js +1 -2
- package/changesets/schemas/version-files.js +1 -2
- package/changesets/services/branch-analyzer.js +1 -2
- package/changesets/services/changelog.js +1 -2
- package/changesets/services/config-inspector.js +1 -2
- package/changesets/services/deps-regen.js +1 -2
- package/changesets/services/github.js +1 -2
- package/changesets/services/maintenance-reason.js +1 -2
- package/changesets/services/release-planner.js +1 -2
- package/changesets/utils/commit-parser.js +1 -2
- package/changesets/utils/dep-diff.js +1 -2
- package/changesets/utils/dependency-section.js +1 -2
- package/changesets/utils/dependency-table.js +1 -2
- package/changesets/utils/git.js +1 -2
- package/changesets/utils/issue-refs.js +1 -2
- package/changesets/utils/jsonpath.js +1 -2
- package/changesets/utils/logger.js +1 -2
- package/changesets/utils/markdown-emit.js +1 -2
- package/changesets/utils/markdown-link.js +1 -2
- package/changesets/utils/publishability.js +1 -2
- package/changesets/utils/remark-pipeline.js +1 -2
- package/changesets/utils/section-parser.js +1 -2
- package/changesets/utils/strip-frontmatter.js +1 -2
- package/changesets/utils/version-blocks.js +1 -2
- package/changesets/utils/version-files.js +1 -2
- package/changesets/vendor/github-info.js +1 -2
- package/commitlint/config/factory.js +1 -2
- package/commitlint/config/plugins.js +1 -2
- package/commitlint/config/rules.js +1 -2
- package/commitlint/config/schema.js +1 -2
- package/commitlint/detection/dco.js +1 -2
- package/commitlint/detection/scopes.js +1 -2
- package/commitlint/formatter/format.js +1 -2
- package/commitlint/formatter/messages.js +1 -2
- package/commitlint/hook/diagnostics/branch.js +1 -2
- package/commitlint/hook/diagnostics/cache.js +1 -2
- package/commitlint/hook/diagnostics/commitlint-config.js +1 -2
- package/commitlint/hook/diagnostics/open-issues.js +1 -2
- package/commitlint/hook/diagnostics/package-manager.js +1 -2
- package/commitlint/hook/diagnostics/signing.js +1 -2
- package/commitlint/hook/envelope.js +1 -2
- package/commitlint/hook/output.js +1 -2
- package/commitlint/hook/parse-bash-command.js +1 -2
- package/commitlint/hook/rules/closes-trailer.js +1 -2
- package/commitlint/hook/rules/forbidden-content.js +1 -2
- package/commitlint/hook/rules/plan-leakage.js +1 -2
- package/commitlint/hook/rules/signing-flag-conflict.js +1 -2
- package/commitlint/hook/rules/soft-wrap.js +1 -2
- package/commitlint/hook/rules/types.js +1 -2
- package/commitlint/hook/rules/verbosity.js +1 -2
- package/commitlint/hook/silence-logger.js +1 -2
- package/commitlint/index.js +1 -2
- package/commitlint/prompt/config.js +1 -2
- package/commitlint/prompt/emojis.js +1 -2
- package/commitlint/prompt/prompter.js +1 -2
- package/commitlint/static.js +1 -2
- package/index.d.ts +87 -251
- package/index.js +2 -2
- package/lint/Handler.js +1 -2
- package/lint/cli/sections.js +1 -2
- package/lint/cli/templates/markdownlint.gen.js +1 -2
- package/lint/config/Preset.js +1 -2
- package/lint/config/createConfig.js +1 -2
- package/lint/handlers/Biome.js +1 -2
- package/lint/handlers/Markdown.js +1 -2
- package/lint/handlers/PackageJson.js +1 -2
- package/lint/handlers/PnpmWorkspace.js +1 -2
- package/lint/handlers/ShellScripts.js +1 -2
- package/lint/handlers/TextFiles.js +1 -2
- package/lint/handlers/TypeScript.js +1 -2
- package/lint/handlers/Yaml.js +1 -2
- package/lint/index.js +1 -2
- package/lint/utils/Command.js +1 -2
- package/lint/utils/Filter.js +1 -2
- package/lint/utils/Workspace.js +1 -2
- package/package.json +14 -14
- package/repos/constants.js +1 -2
- package/repos/errors.js +1 -2
- package/repos/index.js +1 -2
- package/repos/schemas/drift.js +1 -2
- package/repos/schemas/manifest.js +1 -2
- package/repos/schemas/reports.js +1 -2
- package/repos/services/config-store.js +1 -2
- package/repos/services/drift.js +1 -2
- package/repos/services/lockdown.js +1 -2
- package/repos/services/manager.js +1 -2
- package/services/BiomeSchemaSync.js +1 -2
- package/services/ChangesetConfig.js +1 -2
- package/services/ChangesetConfigReader.js +1 -2
- package/services/ConfigDiscovery.js +1 -2
- package/services/SilkPublishability.js +147 -6
- package/services/SilkWorkspaceAnalyzer.js +1 -2
- package/turbo/digest.js +1 -2
- package/turbo/errors.js +1 -2
- package/turbo/index.js +1 -2
- package/turbo/schemas/DryRun.js +1 -2
- package/turbo/schemas/results.js +1 -2
- package/turbo/services/TurboInspector.js +1 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Schema } from "effect";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/commitlint/hook/envelope.ts
|
|
4
4
|
/**
|
|
5
5
|
* Schemas for the JSON stdin envelopes Claude passes to plugin hooks.
|
|
6
6
|
*
|
|
@@ -32,5 +32,4 @@ const SessionStartEnvelope = Schema.Struct({
|
|
|
32
32
|
source: Schema.optional(Schema.String)
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
//#endregion
|
|
36
35
|
export { PostToolUseEnvelope, PreToolUseEnvelope, SessionStartEnvelope };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/commitlint/hook/output.ts
|
|
2
2
|
function preToolUseAllow(reason) {
|
|
3
3
|
return { hookSpecificOutput: {
|
|
4
4
|
hookEventName: "PreToolUse",
|
|
@@ -35,5 +35,4 @@ function postToolUseAdvise(message) {
|
|
|
35
35
|
} };
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
//#endregion
|
|
39
38
|
export { postToolUseAdvise, preToolUseAdvise, preToolUseAllow, preToolUseDeny, preToolUseSilent, sessionStartContext };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { parse } from "shell-quote";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/commitlint/hook/parse-bash-command.ts
|
|
4
4
|
/**
|
|
5
5
|
* Parse a Bash command string to extract the commit message and flags
|
|
6
6
|
* for `git commit` / `gh pr create` / `gh pr edit` invocations.
|
|
@@ -101,5 +101,4 @@ function extractFlagValue(tokens, ...names) {
|
|
|
101
101
|
return null;
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
//#endregion
|
|
105
104
|
export { parseBashCommand };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Effect } from "effect";
|
|
2
2
|
import { parseClosingLists } from "@effected/github-references";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/commitlint/hook/rules/closes-trailer.ts
|
|
5
5
|
/**
|
|
6
6
|
* closes-trailer rule — advises when the branch encodes a ticket id but
|
|
7
7
|
* the message body has no Closes/Fixes/Resolves trailer for it.
|
|
@@ -43,5 +43,4 @@ const closesTrailerRule = {
|
|
|
43
43
|
})
|
|
44
44
|
};
|
|
45
45
|
|
|
46
|
-
//#endregion
|
|
47
46
|
export { closesTrailerRule, hasClosingTrailer };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Effect } from "effect";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/commitlint/hook/rules/forbidden-content.ts
|
|
4
4
|
/**
|
|
5
5
|
* forbidden-content rule — denies markdown headers and code fences in
|
|
6
6
|
* commit message bodies.
|
|
@@ -28,5 +28,4 @@ const forbiddenContentRule = {
|
|
|
28
28
|
})
|
|
29
29
|
};
|
|
30
30
|
|
|
31
|
-
//#endregion
|
|
32
31
|
export { forbiddenContentRule };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Effect } from "effect";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/commitlint/hook/rules/plan-leakage.ts
|
|
4
4
|
/**
|
|
5
5
|
* plan-leakage rule — advises when commit bodies reference plan files
|
|
6
6
|
* (`.claude/plans/`, `.claude/design/`, or the `okf/` knowledge bundle)
|
|
@@ -37,5 +37,4 @@ const planLeakageRule = {
|
|
|
37
37
|
})
|
|
38
38
|
};
|
|
39
39
|
|
|
40
|
-
//#endregion
|
|
41
40
|
export { planLeakageRule };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Effect } from "effect";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/commitlint/hook/rules/signing-flag-conflict.ts
|
|
4
4
|
/**
|
|
5
5
|
* signing-flag-conflict rule — denies when the command explicitly opts out
|
|
6
6
|
* of signing while the project is configured to require signing.
|
|
@@ -21,5 +21,4 @@ const signingFlagConflictRule = {
|
|
|
21
21
|
})
|
|
22
22
|
};
|
|
23
23
|
|
|
24
|
-
//#endregion
|
|
25
24
|
export { signingFlagConflictRule };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Effect } from "effect";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/commitlint/hook/rules/soft-wrap.ts
|
|
4
4
|
/**
|
|
5
5
|
* soft-wrap rule — advises when a bullet point appears to have an
|
|
6
6
|
* artificial mid-bullet line wrap.
|
|
@@ -33,5 +33,4 @@ const softWrapRule = {
|
|
|
33
33
|
})
|
|
34
34
|
};
|
|
35
35
|
|
|
36
|
-
//#endregion
|
|
37
36
|
export { softWrapRule };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/commitlint/hook/rules/types.ts
|
|
2
2
|
function partitionHits(hits) {
|
|
3
3
|
const deny = [];
|
|
4
4
|
const advise = [];
|
|
@@ -10,5 +10,4 @@ function partitionHits(hits) {
|
|
|
10
10
|
};
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
//#endregion
|
|
14
13
|
export { partitionHits };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Effect } from "effect";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/commitlint/hook/rules/verbosity.ts
|
|
4
4
|
/**
|
|
5
5
|
* verbosity rule — advises when the body exceeds line or word thresholds.
|
|
6
6
|
*
|
|
@@ -45,5 +45,4 @@ const verbosityRule = {
|
|
|
45
45
|
})
|
|
46
46
|
};
|
|
47
47
|
|
|
48
|
-
//#endregion
|
|
49
48
|
export { verbosityRule };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Layer, Logger, References } from "effect";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/commitlint/hook/silence-logger.ts
|
|
4
4
|
/**
|
|
5
5
|
* Logger configuration shared by all hook subcommands.
|
|
6
6
|
*
|
|
@@ -37,5 +37,4 @@ const MinLogLevel = Layer.succeed(References.MinimumLogLevel, "Warn");
|
|
|
37
37
|
*/
|
|
38
38
|
const HookSilencer = Layer.merge(StderrLogger, MinLogLevel);
|
|
39
39
|
|
|
40
|
-
//#endregion
|
|
41
40
|
export { HookSilencer };
|
package/commitlint/index.js
CHANGED
|
@@ -28,7 +28,7 @@ import { softWrapRule } from "./hook/rules/soft-wrap.js";
|
|
|
28
28
|
import { partitionHits } from "./hook/rules/types.js";
|
|
29
29
|
import { verbosityRule } from "./hook/rules/verbosity.js";
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
// src/commitlint/index.ts
|
|
32
32
|
/**
|
|
33
33
|
* Commitlint namespace — commitlint business logic extracted from \@savvy-web/commitlint.
|
|
34
34
|
*
|
|
@@ -141,5 +141,4 @@ var CommitlintConfig = class {
|
|
|
141
141
|
constructor() {}
|
|
142
142
|
};
|
|
143
143
|
|
|
144
|
-
//#endregion
|
|
145
144
|
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, resolveIssuesCachePath, sessionStartContext, signingFlagConflictRule, softWrapRule, staticConfig, verbosityRule, writeCache };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { COMMIT_TYPE_DEFINITIONS } from "../config/rules.js";
|
|
2
2
|
import { TYPE_EMOJIS } from "./emojis.js";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/commitlint/prompt/config.ts
|
|
5
5
|
/**
|
|
6
6
|
* Create type enum configuration for prompts.
|
|
7
7
|
*
|
|
@@ -87,5 +87,4 @@ const defaultPromptConfig = createPromptConfig();
|
|
|
87
87
|
*/
|
|
88
88
|
const emojiPromptConfig = createPromptConfig({ emojis: true });
|
|
89
89
|
|
|
90
|
-
//#endregion
|
|
91
90
|
export { createPromptConfig, createTypeEnum, defaultPromptConfig, emojiPromptConfig };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/commitlint/prompt/emojis.ts
|
|
2
2
|
/**
|
|
3
3
|
* Emoji shortcode mapping for commit types.
|
|
4
4
|
*
|
|
@@ -70,5 +70,4 @@ function getTypeEmoji(type, unicode = false) {
|
|
|
70
70
|
return unicode ? TYPE_EMOJIS_UNICODE[type] : TYPE_EMOJIS[type];
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
//#endregion
|
|
74
73
|
export { TYPE_EMOJIS, TYPE_EMOJIS_UNICODE, getTypeEmoji };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { COMMIT_TYPE_DEFINITIONS } from "../config/rules.js";
|
|
2
2
|
import { TYPE_EMOJIS_UNICODE } from "./emojis.js";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/commitlint/prompt/prompter.ts
|
|
5
5
|
/** Default prompter options */
|
|
6
6
|
const DEFAULT_OPTIONS = {
|
|
7
7
|
emojis: true,
|
|
@@ -131,5 +131,4 @@ function prompter(cz, commit, options = {}) {
|
|
|
131
131
|
}).catch(() => {});
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
//#endregion
|
|
135
134
|
export { prompter };
|
package/commitlint/static.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { COMMIT_TYPES, COMMIT_TYPE_DEFINITIONS, DCO_SIGNOFF_TEXT, TDD_SCOPE_PATTERN, TDD_STATES } from "./config/rules.js";
|
|
2
2
|
import { silkPlugin } from "./config/plugins.js";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/commitlint/static.ts
|
|
5
5
|
/**
|
|
6
6
|
* Static commitlint configuration (no auto-detection).
|
|
7
7
|
*
|
|
@@ -69,5 +69,4 @@ const staticConfig = {
|
|
|
69
69
|
} }
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
//#endregion
|
|
73
72
|
export { staticConfig as default };
|