@savvy-web/silk-effects 9.1.3 → 9.2.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/changesets/services/release-planner.js +160 -38
- package/index.d.ts +43 -1
- package/package.json +7 -4
- package/tsdoc-metadata.json +1 -1
|
@@ -6,8 +6,11 @@ import { VersionFiles } from "../utils/version-files.js";
|
|
|
6
6
|
import { Context, Effect, FileSystem, Layer } from "effect";
|
|
7
7
|
import { dirname, isAbsolute, join, relative } from "node:path";
|
|
8
8
|
import { applyReleasePlan } from "@changesets/apply-release-plan";
|
|
9
|
+
import { assembleReleasePlan } from "@changesets/assemble-release-plan";
|
|
9
10
|
import { readConfig } from "@changesets/config";
|
|
10
11
|
import { getReleasePlan } from "@changesets/get-release-plan";
|
|
12
|
+
import { readPreState } from "@changesets/pre";
|
|
13
|
+
import { readChangesets } from "@changesets/read";
|
|
11
14
|
import { getPackages } from "@manypkg/get-packages";
|
|
12
15
|
|
|
13
16
|
//#region src/changesets/services/release-planner.ts
|
|
@@ -54,8 +57,8 @@ function makeShape(inspector, fs) {
|
|
|
54
57
|
reason: errMsg(e)
|
|
55
58
|
})
|
|
56
59
|
});
|
|
57
|
-
const preview = (root, options) => previewEffect(root, options?.changelogModules, fs);
|
|
58
|
-
const apply = (root, options) => applyEffect(root, options?.dryRun ?? false, options?.changelogModules, inspector, fs);
|
|
60
|
+
const preview = (root, options) => previewEffect(root, options?.changelogModules, options?.snapshot, fs);
|
|
61
|
+
const apply = (root, options) => applyEffect(root, options?.dryRun ?? false, options?.changelogModules, options?.snapshot, inspector, fs);
|
|
59
62
|
return {
|
|
60
63
|
plan,
|
|
61
64
|
preview,
|
|
@@ -120,6 +123,67 @@ function withChangelogModules(config, changelogModules, phase) {
|
|
|
120
123
|
});
|
|
121
124
|
}
|
|
122
125
|
/**
|
|
126
|
+
* Assemble a release plan for the `snapshot` path.
|
|
127
|
+
*
|
|
128
|
+
* @remarks
|
|
129
|
+
* `getReleasePlan` (`@changesets/get-release-plan`) has no snapshot parameter,
|
|
130
|
+
* so the snapshot path reads changesets and pre-state directly and calls
|
|
131
|
+
* `@changesets/assemble-release-plan`'s `assembleReleasePlan` — the same
|
|
132
|
+
* function `changeset version --snapshot` itself calls — rather than
|
|
133
|
+
* reimplementing any version math. Mirrors
|
|
134
|
+
* `@changesets/cli`'s `version.mjs`: `releaseConfig` overlays `snapshot`
|
|
135
|
+
* overrides and forces `commit: false`, `pre` mode is refused before the
|
|
136
|
+
* engine call, and a synchronous throw from `assembleReleasePlan` (bad
|
|
137
|
+
* placeholder templates) is caught and surfaced typed.
|
|
138
|
+
*
|
|
139
|
+
* @internal
|
|
140
|
+
*/
|
|
141
|
+
function assembleSnapshotPlan(packages, config, snapshot, phase) {
|
|
142
|
+
const releaseConfig = {
|
|
143
|
+
...config,
|
|
144
|
+
snapshot: {
|
|
145
|
+
...config.snapshot,
|
|
146
|
+
...snapshot.useCalculatedVersion !== void 0 ? { useCalculatedVersion: snapshot.useCalculatedVersion } : {},
|
|
147
|
+
...snapshot.prereleaseTemplate !== void 0 ? { prereleaseTemplate: snapshot.prereleaseTemplate } : {}
|
|
148
|
+
},
|
|
149
|
+
commit: false
|
|
150
|
+
};
|
|
151
|
+
const tag = snapshot.tag || void 0;
|
|
152
|
+
return Effect.gen(function* () {
|
|
153
|
+
const { changesets, preState } = yield* Effect.tryPromise({
|
|
154
|
+
try: async () => {
|
|
155
|
+
const [changesets, preState] = await Promise.all([readChangesets(packages.rootDir), readPreState(packages.rootDir)]);
|
|
156
|
+
return {
|
|
157
|
+
changesets,
|
|
158
|
+
preState
|
|
159
|
+
};
|
|
160
|
+
},
|
|
161
|
+
catch: (e) => new ReleasePlanError({
|
|
162
|
+
phase,
|
|
163
|
+
reason: errMsg(e)
|
|
164
|
+
})
|
|
165
|
+
});
|
|
166
|
+
if (preState?.mode === "pre") return yield* Effect.fail(new ReleasePlanError({
|
|
167
|
+
phase,
|
|
168
|
+
reason: "Snapshot release is not allowed in pre mode"
|
|
169
|
+
}));
|
|
170
|
+
return {
|
|
171
|
+
plan: yield* Effect.try({
|
|
172
|
+
try: () => assembleReleasePlan(changesets, packages, releaseConfig, preState, {
|
|
173
|
+
tag,
|
|
174
|
+
commit: snapshot.commit
|
|
175
|
+
}),
|
|
176
|
+
catch: (e) => new ReleasePlanError({
|
|
177
|
+
phase,
|
|
178
|
+
reason: errMsg(e)
|
|
179
|
+
})
|
|
180
|
+
}),
|
|
181
|
+
releaseConfig,
|
|
182
|
+
snapshotArg: tag ?? true
|
|
183
|
+
};
|
|
184
|
+
});
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
123
187
|
* Extract the `## <version>` block (down to the next H2 or EOF) from a changelog.
|
|
124
188
|
*
|
|
125
189
|
* @internal
|
|
@@ -163,28 +227,57 @@ function maintenanceReasons(plan, config) {
|
|
|
163
227
|
* scope-managed temp directory (cleaned up automatically when the scope
|
|
164
228
|
* closes) and reading the generated CHANGELOG blocks back.
|
|
165
229
|
*/
|
|
166
|
-
function previewEffect(root, changelogModules, fs) {
|
|
230
|
+
function previewEffect(root, changelogModules, snapshot, fs) {
|
|
167
231
|
const program = Effect.gen(function* () {
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
232
|
+
let plan;
|
|
233
|
+
let packages;
|
|
234
|
+
let config;
|
|
235
|
+
let snapshotArg;
|
|
236
|
+
if (snapshot) {
|
|
237
|
+
packages = yield* Effect.tryPromise({
|
|
238
|
+
try: () => getPackages(root),
|
|
239
|
+
catch: (e) => new ReleasePlanError({
|
|
240
|
+
phase: "preview",
|
|
241
|
+
reason: errMsg(e)
|
|
242
|
+
})
|
|
243
|
+
});
|
|
244
|
+
const loaded = yield* Effect.tryPromise({
|
|
245
|
+
try: () => loadConfig(root, packages),
|
|
246
|
+
catch: (e) => new ReleasePlanError({
|
|
247
|
+
phase: "preview",
|
|
248
|
+
reason: errMsg(e)
|
|
249
|
+
})
|
|
250
|
+
});
|
|
251
|
+
yield* Effect.forEach(loaded.warnings, (w) => Effect.logWarning(w));
|
|
252
|
+
const built = yield* assembleSnapshotPlan(packages, loaded.config, snapshot, "preview");
|
|
253
|
+
plan = built.plan;
|
|
254
|
+
config = built.releaseConfig;
|
|
255
|
+
snapshotArg = built.snapshotArg;
|
|
256
|
+
} else {
|
|
257
|
+
const loaded = yield* Effect.tryPromise({
|
|
258
|
+
try: () => Promise.all([getReleasePlan(root), getPackages(root)]),
|
|
259
|
+
catch: (e) => new ReleasePlanError({
|
|
260
|
+
phase: "preview",
|
|
261
|
+
reason: errMsg(e)
|
|
262
|
+
})
|
|
263
|
+
});
|
|
264
|
+
plan = loaded[0];
|
|
265
|
+
packages = loaded[1];
|
|
266
|
+
const loadedConfig = yield* Effect.tryPromise({
|
|
267
|
+
try: () => loadConfig(root, packages),
|
|
268
|
+
catch: (e) => new ReleasePlanError({
|
|
269
|
+
phase: "preview",
|
|
270
|
+
reason: errMsg(e)
|
|
271
|
+
})
|
|
272
|
+
});
|
|
273
|
+
yield* Effect.forEach(loadedConfig.warnings, (w) => Effect.logWarning(w));
|
|
274
|
+
config = loadedConfig.config;
|
|
275
|
+
}
|
|
175
276
|
if (!packages.rootPackage) return yield* Effect.fail(new ReleasePlanError({
|
|
176
277
|
phase: "preview",
|
|
177
278
|
reason: `Workspace root has no package.json: ${root}`
|
|
178
279
|
}));
|
|
179
280
|
const rootPackage = packages.rootPackage;
|
|
180
|
-
const { config, warnings } = yield* Effect.tryPromise({
|
|
181
|
-
try: () => loadConfig(root, packages),
|
|
182
|
-
catch: (e) => new ReleasePlanError({
|
|
183
|
-
phase: "preview",
|
|
184
|
-
reason: errMsg(e)
|
|
185
|
-
})
|
|
186
|
-
});
|
|
187
|
-
yield* Effect.forEach(warnings, (w) => Effect.logWarning(w));
|
|
188
281
|
const reasonByName = maintenanceReasons(plan, config);
|
|
189
282
|
const engineConfig = changelogModules ? yield* withChangelogModules(config, changelogModules, "preview") : config;
|
|
190
283
|
const preMode = plan.preState ? plan.preState.mode : null;
|
|
@@ -239,7 +332,7 @@ function previewEffect(root, changelogModules, fs) {
|
|
|
239
332
|
const rootCl = join(packages.rootDir, "CHANGELOG.md");
|
|
240
333
|
if (yield* fs.exists(rootCl)) yield* fs.copyFile(rootCl, join(tempRoot, "CHANGELOG.md"));
|
|
241
334
|
yield* Effect.tryPromise({
|
|
242
|
-
try: () => applyReleasePlan(plan, tempPackages, engineConfig,
|
|
335
|
+
try: () => applyReleasePlan(plan, tempPackages, engineConfig, snapshotArg, root),
|
|
243
336
|
catch: (e) => new ReleasePlanError({
|
|
244
337
|
phase: "preview",
|
|
245
338
|
reason: errMsg(e)
|
|
@@ -294,25 +387,54 @@ function previewEffect(root, changelogModules, fs) {
|
|
|
294
387
|
function diskVersion(workspaceDir, fallback, fs) {
|
|
295
388
|
return fs.readFileString(join(workspaceDir, "package.json")).pipe(Effect.flatMap((raw) => Effect.try(() => JSON.parse(raw).version ?? fallback)), Effect.orElseSucceed(() => fallback));
|
|
296
389
|
}
|
|
297
|
-
function applyEffect(root, dryRun, changelogModules, inspector, fs) {
|
|
390
|
+
function applyEffect(root, dryRun, changelogModules, snapshot, inspector, fs) {
|
|
298
391
|
return Effect.gen(function* () {
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
392
|
+
let plan;
|
|
393
|
+
let packages;
|
|
394
|
+
let config;
|
|
395
|
+
let snapshotArg;
|
|
396
|
+
if (snapshot) {
|
|
397
|
+
packages = yield* Effect.tryPromise({
|
|
398
|
+
try: () => getPackages(root),
|
|
399
|
+
catch: (e) => new ReleasePlanError({
|
|
400
|
+
phase: "apply",
|
|
401
|
+
reason: errMsg(e)
|
|
402
|
+
})
|
|
403
|
+
});
|
|
404
|
+
const loaded = yield* Effect.tryPromise({
|
|
405
|
+
try: () => loadConfig(root, packages),
|
|
406
|
+
catch: (e) => new ReleasePlanError({
|
|
407
|
+
phase: "apply",
|
|
408
|
+
reason: errMsg(e)
|
|
409
|
+
})
|
|
410
|
+
});
|
|
411
|
+
yield* Effect.forEach(loaded.warnings, (w) => Effect.logWarning(w));
|
|
412
|
+
const built = yield* assembleSnapshotPlan(packages, loaded.config, snapshot, "apply");
|
|
413
|
+
plan = built.plan;
|
|
414
|
+
config = built.releaseConfig;
|
|
415
|
+
snapshotArg = built.snapshotArg;
|
|
416
|
+
} else {
|
|
417
|
+
const loaded = yield* Effect.tryPromise({
|
|
418
|
+
try: async () => {
|
|
419
|
+
const [plan, packages] = await Promise.all([getReleasePlan(root), getPackages(root)]);
|
|
420
|
+
const { config, warnings } = await loadConfig(root, packages);
|
|
421
|
+
return {
|
|
422
|
+
plan,
|
|
423
|
+
packages,
|
|
424
|
+
config,
|
|
425
|
+
warnings
|
|
426
|
+
};
|
|
427
|
+
},
|
|
428
|
+
catch: (e) => new ReleasePlanError({
|
|
429
|
+
phase: "apply",
|
|
430
|
+
reason: errMsg(e)
|
|
431
|
+
})
|
|
432
|
+
});
|
|
433
|
+
plan = loaded.plan;
|
|
434
|
+
packages = loaded.packages;
|
|
435
|
+
config = loaded.config;
|
|
436
|
+
yield* Effect.forEach(loaded.warnings, (w) => Effect.logWarning(w));
|
|
437
|
+
}
|
|
316
438
|
const engineConfig = changelogModules ? yield* withChangelogModules(config, changelogModules, "apply") : config;
|
|
317
439
|
const releases = plan.releases.filter((r) => r.type !== "none").map((r) => ({
|
|
318
440
|
name: r.name,
|
|
@@ -330,7 +452,7 @@ function applyEffect(root, dryRun, changelogModules, inspector, fs) {
|
|
|
330
452
|
if (packages.rootPackage?.packageJson.name) nameByDir.set(packages.rootDir, packages.rootPackage.packageJson.name);
|
|
331
453
|
touchedFiles = yield* Effect.tryPromise({
|
|
332
454
|
try: async () => {
|
|
333
|
-
const touched = await applyReleasePlan(plan, packages, engineConfig);
|
|
455
|
+
const touched = await applyReleasePlan(plan, packages, engineConfig, snapshotArg);
|
|
334
456
|
for (const f of touched) {
|
|
335
457
|
if (!f.endsWith("CHANGELOG.md")) continue;
|
|
336
458
|
const pkgName = nameByDir.get(dirname(f));
|
package/index.d.ts
CHANGED
|
@@ -4089,6 +4089,44 @@ declare const AppliedReleaseSchema: Schema.Struct<{
|
|
|
4089
4089
|
type AppliedRelease = Schema.Schema.Type<typeof AppliedReleaseSchema>;
|
|
4090
4090
|
//#endregion
|
|
4091
4091
|
//#region src/changesets/services/release-planner.d.ts
|
|
4092
|
+
/**
|
|
4093
|
+
* Per-call `changeset version --snapshot` parity options, forwarded to
|
|
4094
|
+
* `@changesets/assemble-release-plan`. Mirrors the CLI's `--snapshot [tag]`
|
|
4095
|
+
* flag plus its `--snapshot-prerelease-template` override.
|
|
4096
|
+
*
|
|
4097
|
+
* @remarks
|
|
4098
|
+
* Setting this on either `apply` or `preview` routes plan construction through
|
|
4099
|
+
* `readChangesets`/`readPreState`/`assembleReleasePlan` instead of
|
|
4100
|
+
* `getReleasePlan` — the latter has no snapshot parameter. It is a typed
|
|
4101
|
+
* `ReleasePlanError` (not a defect) when: the workspace is in `pre` mode (CLI
|
|
4102
|
+
* parity — snapshot releases are refused there), or the resolved
|
|
4103
|
+
* `prereleaseTemplate` references a placeholder with no value (e.g. `{commit}`
|
|
4104
|
+
* with no `commit` supplied, or a template omitting `{tag}` while a `tag` is
|
|
4105
|
+
* given) — `assembleReleasePlan` throws synchronously on those, and this
|
|
4106
|
+
* option surfaces the throw as `ReleasePlanError` rather than letting it
|
|
4107
|
+
* escape as an uncaught defect.
|
|
4108
|
+
*
|
|
4109
|
+
* @public
|
|
4110
|
+
*/
|
|
4111
|
+
interface SnapshotOptions {
|
|
4112
|
+
/**
|
|
4113
|
+
* The snapshot tag, e.g. `"next"` — like the bare `changeset version
|
|
4114
|
+
* --snapshot <tag>` argument. Omit it or pass `""` for the bare `--snapshot` flag; no
|
|
4115
|
+
* boundary validation is performed here (a caller-side check for reserved
|
|
4116
|
+
* values like `"latest"` or `""` is the caller's responsibility).
|
|
4117
|
+
*/
|
|
4118
|
+
readonly tag?: string;
|
|
4119
|
+
/** Per-call override of `config.snapshot.useCalculatedVersion`. */
|
|
4120
|
+
readonly useCalculatedVersion?: boolean;
|
|
4121
|
+
/** Per-call override of `config.snapshot.prereleaseTemplate`. */
|
|
4122
|
+
readonly prereleaseTemplate?: string;
|
|
4123
|
+
/**
|
|
4124
|
+
* Value substituted for the `{commit}`/`{commit-short}` prerelease-template
|
|
4125
|
+
* placeholders. This service never shells out to git to compute one —
|
|
4126
|
+
* callers that want commit-scoped snapshots must supply it themselves.
|
|
4127
|
+
*/
|
|
4128
|
+
readonly commit?: string;
|
|
4129
|
+
}
|
|
4092
4130
|
/** The `ReleasePlanner` service surface. @public */
|
|
4093
4131
|
interface ReleasePlannerShape {
|
|
4094
4132
|
/** Compute the in-memory release plan (read-only). */
|
|
@@ -4108,6 +4146,8 @@ interface ReleasePlannerShape {
|
|
|
4108
4146
|
* is disabled — callers in no-`node_modules` contexts own formatting.
|
|
4109
4147
|
*/
|
|
4110
4148
|
readonly changelogModules?: Readonly<Record<string, string>>;
|
|
4149
|
+
/** `changeset version --snapshot` parity. See {@link SnapshotOptions}. */
|
|
4150
|
+
readonly snapshot?: SnapshotOptions;
|
|
4111
4151
|
}) => Effect.Effect<ChangesetPreview, ReleasePlanError>;
|
|
4112
4152
|
/** Natively apply the release (destructive unless `dryRun`). */
|
|
4113
4153
|
readonly apply: (root: string, options?: {
|
|
@@ -4119,6 +4159,8 @@ interface ReleasePlannerShape {
|
|
|
4119
4159
|
* is disabled — callers in no-`node_modules` contexts own formatting.
|
|
4120
4160
|
*/
|
|
4121
4161
|
readonly changelogModules?: Readonly<Record<string, string>>;
|
|
4162
|
+
/** `changeset version --snapshot` parity. See {@link SnapshotOptions}. */
|
|
4163
|
+
readonly snapshot?: SnapshotOptions;
|
|
4122
4164
|
}) => Effect.Effect<AppliedRelease, ReleasePlanError>;
|
|
4123
4165
|
}
|
|
4124
4166
|
declare const ReleasePlanner_base: Context.ServiceClass<ReleasePlanner, "ReleasePlanner", ReleasePlannerShape>;
|
|
@@ -5866,7 +5908,7 @@ declare const RequiredSectionsRule: import("unified-lint-rule").Plugin<Root, unk
|
|
|
5866
5908
|
//#region src/changesets/remark/rules/uncategorized-content.d.ts
|
|
5867
5909
|
declare const UncategorizedContentRule: import("unified-lint-rule").Plugin<Root, unknown>;
|
|
5868
5910
|
declare namespace index_d_exports {
|
|
5869
|
-
export { AggregateDependencyTablesPlugin, AppliedRelease, AppliedReleaseEntrySchema, AppliedReleaseSchema, BranchAnalysis, BranchAnalysisSchema, BranchAnalyzer, BranchAnalyzerShape, BranchFileEntry, BranchFileEntrySchema, BumpType, BumpTypeSchema, Categories, Changelog, ChangelogService, ChangelogServiceShape, ChangelogTransformer, Changeset, ChangesetIOError, ChangesetLinter, ChangesetLogMode, ChangesetLogModeValue, ChangesetOptions, ChangesetOptionsSchema, ChangesetPreview, ChangesetPreviewSchema, ChangesetSchema, ChangesetSummarySchema, ChangesetValidationError, Classification, ClassificationReason, ClassificationReasonSchema, ClassificationSchema, CoexistingChangeset, CoexistingChangesetSchema, CommitHashSchema, ConfigInspector, ConfigInspectorShape, ConfigurationError, ContentStructureRule, ContributorFootnotesPlugin, DeduplicateItemsPlugin, DependencyAction, DependencyActionSchema, DependencyTable, DependencyTableFormatRule, DependencyTableRow, DependencyTableRowSchema, DependencyTableSchema, DependencyTableType, DependencyTableTypeSchema, DependencyType, DependencyTypeSchema, DependencyUpdate, DependencyUpdateSchema, DepsRegen, DepsRegenDefault, DepsRegenOptions, DepsRegenPlanError, DepsRegenShape, FileStatus, FileStatusSchema, GitError, GitHubApiError, GitHubCommitInfo, GitHubInfo, GitHubInfoSchema, GitHubService, GitHubServiceShape, GlobSchema, HeadingHierarchyRule, HookReplayError, InspectedConfig, InspectedConfigSchema, IssueLinkRefsPlugin, IssueNumberSchema, JsonPathSchema, LegacyVersionFileConfig, LegacyVersionFileConfigSchema, LegacyVersionFilesSchema, LintMessage, MaintenanceNoteOptions, MaintenanceNotePlugin, MaintenanceReason, MaintenanceReasonSchema, MaintenanceTrigger, MaintenanceTriggerSchema, MakeChangelogFunctionsOptions, MarkdownParseError, ContentStructureRule$1 as MarkdownlintContentStructureRule, DependencyTableFormatRule$1 as MarkdownlintDependencyTableFormatRule, HeadingHierarchyRule$1 as MarkdownlintHeadingHierarchyRule, RequiredSectionsRule$1 as MarkdownlintRequiredSectionsRule, UncategorizedContentRule$1 as MarkdownlintUncategorizedContentRule, MergeSectionsPlugin, NonEmptyString, NormalizeFormatPlugin, PackageScope, PackageScopeSchema, PackagesRecordSchema, PendingChangeset, PendingChangesetSchema, PositiveInteger, PreviewRelease, PreviewReleaseSchema, RegenDiffRow, RegenDiffRowSchema, RegenPlan, RegenPlanSchema, RegenResult, RegenResultSchema, ReleasePlanError, ReleasePlanner, ReleasePlannerShape, ReorderSectionsPlugin, RepoSchema, RequiredSectionsRule, ResolvedPackageScope, ResolvedPackageScopeSchema, ResolvedVersionFile, ResolvedVersionFileSchema, SectionCategory, SectionCategorySchema, SilkChangesetPreset, SilkChangesetTransformPreset, SilkChangesetsRules, TransformOptions, UncategorizedContentRule, UrlOrMarkdownLinkSchema, UsernameSchema, VERSION_RE, VersionFileConfig, VersionFileConfigSchema, VersionFileError, VersionFileUpdate, VersionFileUpdateRecordSchema, VersionFiles, VersionFilesSchema, VersionOrEmptySchema, VersionType, VersionTypeSchema, WorkspaceDependencyDiff, WorkspaceVersion, changelogFunctions, computeWorkspaceDependencyDiffs, deriveMaintenanceReason, gitMergeBase, isPureDependencyChangeset, listPublishablePackageNames, makeBranchAnalyzerTest, makeChangelogFunctions, makeConfigInspectorTest, makeDepsRegenDefault, makeGitHubTest, makeReleasePlannerTest, parseChangesetPackages, serializeDependencyTableToMarkdown, vanillaChangelogFunctions };
|
|
5911
|
+
export { AggregateDependencyTablesPlugin, AppliedRelease, AppliedReleaseEntrySchema, AppliedReleaseSchema, BranchAnalysis, BranchAnalysisSchema, BranchAnalyzer, BranchAnalyzerShape, BranchFileEntry, BranchFileEntrySchema, BumpType, BumpTypeSchema, Categories, Changelog, ChangelogService, ChangelogServiceShape, ChangelogTransformer, Changeset, ChangesetIOError, ChangesetLinter, ChangesetLogMode, ChangesetLogModeValue, ChangesetOptions, ChangesetOptionsSchema, ChangesetPreview, ChangesetPreviewSchema, ChangesetSchema, ChangesetSummarySchema, ChangesetValidationError, Classification, ClassificationReason, ClassificationReasonSchema, ClassificationSchema, CoexistingChangeset, CoexistingChangesetSchema, CommitHashSchema, ConfigInspector, ConfigInspectorShape, ConfigurationError, ContentStructureRule, ContributorFootnotesPlugin, DeduplicateItemsPlugin, DependencyAction, DependencyActionSchema, DependencyTable, DependencyTableFormatRule, DependencyTableRow, DependencyTableRowSchema, DependencyTableSchema, DependencyTableType, DependencyTableTypeSchema, DependencyType, DependencyTypeSchema, DependencyUpdate, DependencyUpdateSchema, DepsRegen, DepsRegenDefault, DepsRegenOptions, DepsRegenPlanError, DepsRegenShape, FileStatus, FileStatusSchema, GitError, GitHubApiError, GitHubCommitInfo, GitHubInfo, GitHubInfoSchema, GitHubService, GitHubServiceShape, GlobSchema, HeadingHierarchyRule, HookReplayError, InspectedConfig, InspectedConfigSchema, IssueLinkRefsPlugin, IssueNumberSchema, JsonPathSchema, LegacyVersionFileConfig, LegacyVersionFileConfigSchema, LegacyVersionFilesSchema, LintMessage, MaintenanceNoteOptions, MaintenanceNotePlugin, MaintenanceReason, MaintenanceReasonSchema, MaintenanceTrigger, MaintenanceTriggerSchema, MakeChangelogFunctionsOptions, MarkdownParseError, ContentStructureRule$1 as MarkdownlintContentStructureRule, DependencyTableFormatRule$1 as MarkdownlintDependencyTableFormatRule, HeadingHierarchyRule$1 as MarkdownlintHeadingHierarchyRule, RequiredSectionsRule$1 as MarkdownlintRequiredSectionsRule, UncategorizedContentRule$1 as MarkdownlintUncategorizedContentRule, MergeSectionsPlugin, NonEmptyString, NormalizeFormatPlugin, PackageScope, PackageScopeSchema, PackagesRecordSchema, PendingChangeset, PendingChangesetSchema, PositiveInteger, PreviewRelease, PreviewReleaseSchema, RegenDiffRow, RegenDiffRowSchema, RegenPlan, RegenPlanSchema, RegenResult, RegenResultSchema, ReleasePlanError, ReleasePlanner, ReleasePlannerShape, ReorderSectionsPlugin, RepoSchema, RequiredSectionsRule, ResolvedPackageScope, ResolvedPackageScopeSchema, ResolvedVersionFile, ResolvedVersionFileSchema, SectionCategory, SectionCategorySchema, SilkChangesetPreset, SilkChangesetTransformPreset, SilkChangesetsRules, SnapshotOptions, TransformOptions, UncategorizedContentRule, UrlOrMarkdownLinkSchema, UsernameSchema, VERSION_RE, VersionFileConfig, VersionFileConfigSchema, VersionFileError, VersionFileUpdate, VersionFileUpdateRecordSchema, VersionFiles, VersionFilesSchema, VersionOrEmptySchema, VersionType, VersionTypeSchema, WorkspaceDependencyDiff, WorkspaceVersion, changelogFunctions, computeWorkspaceDependencyDiffs, deriveMaintenanceReason, gitMergeBase, isPureDependencyChangeset, listPublishablePackageNames, makeBranchAnalyzerTest, makeChangelogFunctions, makeConfigInspectorTest, makeDepsRegenDefault, makeGitHubTest, makeReleasePlannerTest, parseChangesetPackages, serializeDependencyTableToMarkdown, vanillaChangelogFunctions };
|
|
5870
5912
|
}
|
|
5871
5913
|
//#endregion
|
|
5872
5914
|
//#region src/commitlint/config/schema.d.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@savvy-web/silk-effects",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.2.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Shared Effect library for Silk Suite conventions",
|
|
6
6
|
"homepage": "https://github.com/savvy-web/systems/tree/main/packages/silk-effects",
|
|
@@ -30,20 +30,23 @@
|
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@changesets/apply-release-plan": "^8.1.1",
|
|
33
|
+
"@changesets/assemble-release-plan": "^7.0.0",
|
|
33
34
|
"@changesets/changelog-git": "^1.0.0",
|
|
34
35
|
"@changesets/config": "^4.0.1",
|
|
35
36
|
"@changesets/get-github-info": "^1.0.1",
|
|
36
37
|
"@changesets/get-release-plan": "^5.0.2",
|
|
38
|
+
"@changesets/pre": "^3.0.0",
|
|
39
|
+
"@changesets/read": "^1.0.1",
|
|
37
40
|
"@effected/github-references": "^0.5.0",
|
|
38
41
|
"@effected/glob": "^0.8.0",
|
|
39
42
|
"@effected/jsonc": "^0.13.0",
|
|
40
43
|
"@effected/markdown": "^0.12.1",
|
|
41
|
-
"@effected/package-json": "^0.
|
|
44
|
+
"@effected/package-json": "^0.18.0",
|
|
42
45
|
"@effected/toml": "^0.9.0",
|
|
43
46
|
"@effected/walker": "^0.12.0",
|
|
44
47
|
"@effected/yaml": "^0.17.0",
|
|
45
48
|
"@manypkg/get-packages": "^3.1.0",
|
|
46
|
-
"@savvy-web/silk-core": "0.4.
|
|
49
|
+
"@savvy-web/silk-core": "0.4.7",
|
|
47
50
|
"mdast-util-heading-range": "^4.0.0",
|
|
48
51
|
"mdast-util-to-string": "^4.0.0",
|
|
49
52
|
"remark-gfm": "^4.0.1",
|
|
@@ -58,7 +61,7 @@
|
|
|
58
61
|
"@effected/commands": "^0.9.0",
|
|
59
62
|
"@effected/git": "^0.17.0",
|
|
60
63
|
"@effected/templates": "^0.8.0",
|
|
61
|
-
"@effected/workspaces": "^0.
|
|
64
|
+
"@effected/workspaces": "^0.28.0",
|
|
62
65
|
"effect": "4.0.0-rc.117"
|
|
63
66
|
}
|
|
64
67
|
}
|