@savvy-web/silk 2.0.0 → 2.1.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/README.md +7 -5
- package/changesets-changelog.cjs +109 -61
- package/changesets-changelog.d.cts +1 -1
- package/changesets-changelog.d.ts +1 -1
- package/changesets-changelog.js +54099 -1
- package/changesets-markdownlint.cjs +109 -61
- package/changesets-markdownlint.d.cts +1 -1
- package/changesets-markdownlint.d.ts +1 -1
- package/changesets-markdownlint.js +54099 -1
- package/package.json +5 -4
- package/tsconfig/node/dist/tsconfig.tsbuildinfo +1 -1
- package/_virtual/_rolldown/runtime.cjs +0 -45
- package/_virtual/_rolldown/runtime.js +0 -45
- package/packages/silk-effects/dist/dev/pkg/_virtual/_rolldown/runtime.cjs +0 -15
- package/packages/silk-effects/dist/dev/pkg/_virtual/_rolldown/runtime.js +0 -14
- package/packages/silk-effects/dist/dev/pkg/changesets/api/categories.cjs +0 -247
- package/packages/silk-effects/dist/dev/pkg/changesets/api/categories.js +0 -247
- package/packages/silk-effects/dist/dev/pkg/changesets/api/changelog.cjs +0 -134
- package/packages/silk-effects/dist/dev/pkg/changesets/api/changelog.js +0 -134
- package/packages/silk-effects/dist/dev/pkg/changesets/api/dependency-table.cjs +0 -163
- package/packages/silk-effects/dist/dev/pkg/changesets/api/dependency-table.js +0 -163
- package/packages/silk-effects/dist/dev/pkg/changesets/api/linter.cjs +0 -170
- package/packages/silk-effects/dist/dev/pkg/changesets/api/linter.js +0 -170
- package/packages/silk-effects/dist/dev/pkg/changesets/api/transformer.cjs +0 -134
- package/packages/silk-effects/dist/dev/pkg/changesets/api/transformer.js +0 -134
- package/packages/silk-effects/dist/dev/pkg/changesets/categories/index.cjs +0 -317
- package/packages/silk-effects/dist/dev/pkg/changesets/categories/index.js +0 -299
- package/packages/silk-effects/dist/dev/pkg/changesets/categories/types.cjs +0 -65
- package/packages/silk-effects/dist/dev/pkg/changesets/categories/types.js +0 -65
- package/packages/silk-effects/dist/dev/pkg/changesets/changelog/formatting.cjs +0 -114
- package/packages/silk-effects/dist/dev/pkg/changesets/changelog/formatting.js +0 -113
- package/packages/silk-effects/dist/dev/pkg/changesets/changelog/getDependencyReleaseLine.cjs +0 -118
- package/packages/silk-effects/dist/dev/pkg/changesets/changelog/getDependencyReleaseLine.js +0 -118
- package/packages/silk-effects/dist/dev/pkg/changesets/changelog/getReleaseLine.cjs +0 -122
- package/packages/silk-effects/dist/dev/pkg/changesets/changelog/getReleaseLine.js +0 -122
- package/packages/silk-effects/dist/dev/pkg/changesets/changelog/index.cjs +0 -97
- package/packages/silk-effects/dist/dev/pkg/changesets/changelog/index.js +0 -97
- package/packages/silk-effects/dist/dev/pkg/changesets/constants.cjs +0 -43
- package/packages/silk-effects/dist/dev/pkg/changesets/constants.js +0 -42
- package/packages/silk-effects/dist/dev/pkg/changesets/errors.cjs +0 -386
- package/packages/silk-effects/dist/dev/pkg/changesets/errors.js +0 -371
- package/packages/silk-effects/dist/dev/pkg/changesets/index.cjs +0 -300
- package/packages/silk-effects/dist/dev/pkg/changesets/index.js +0 -179
- package/packages/silk-effects/dist/dev/pkg/changesets/markdownlint/index.cjs +0 -34
- package/packages/silk-effects/dist/dev/pkg/changesets/markdownlint/index.js +0 -29
- package/packages/silk-effects/dist/dev/pkg/changesets/markdownlint/rules/content-structure.cjs +0 -98
- package/packages/silk-effects/dist/dev/pkg/changesets/markdownlint/rules/content-structure.js +0 -98
- package/packages/silk-effects/dist/dev/pkg/changesets/markdownlint/rules/dependency-table-format.cjs +0 -170
- package/packages/silk-effects/dist/dev/pkg/changesets/markdownlint/rules/dependency-table-format.js +0 -170
- package/packages/silk-effects/dist/dev/pkg/changesets/markdownlint/rules/heading-hierarchy.cjs +0 -61
- package/packages/silk-effects/dist/dev/pkg/changesets/markdownlint/rules/heading-hierarchy.js +0 -61
- package/packages/silk-effects/dist/dev/pkg/changesets/markdownlint/rules/required-sections.cjs +0 -54
- package/packages/silk-effects/dist/dev/pkg/changesets/markdownlint/rules/required-sections.js +0 -54
- package/packages/silk-effects/dist/dev/pkg/changesets/markdownlint/rules/uncategorized-content.cjs +0 -54
- package/packages/silk-effects/dist/dev/pkg/changesets/markdownlint/rules/uncategorized-content.js +0 -54
- package/packages/silk-effects/dist/dev/pkg/changesets/markdownlint/rules/utils.cjs +0 -31
- package/packages/silk-effects/dist/dev/pkg/changesets/markdownlint/rules/utils.js +0 -30
- package/packages/silk-effects/dist/dev/pkg/changesets/remark/plugins/aggregate-dependency-tables.cjs +0 -47
- package/packages/silk-effects/dist/dev/pkg/changesets/remark/plugins/aggregate-dependency-tables.js +0 -47
- package/packages/silk-effects/dist/dev/pkg/changesets/remark/plugins/contributor-footnotes.cjs +0 -123
- package/packages/silk-effects/dist/dev/pkg/changesets/remark/plugins/contributor-footnotes.js +0 -123
- package/packages/silk-effects/dist/dev/pkg/changesets/remark/plugins/deduplicate-items.cjs +0 -32
- package/packages/silk-effects/dist/dev/pkg/changesets/remark/plugins/deduplicate-items.js +0 -32
- package/packages/silk-effects/dist/dev/pkg/changesets/remark/plugins/issue-link-refs.cjs +0 -59
- package/packages/silk-effects/dist/dev/pkg/changesets/remark/plugins/issue-link-refs.js +0 -59
- package/packages/silk-effects/dist/dev/pkg/changesets/remark/plugins/maintenance-note.cjs +0 -61
- package/packages/silk-effects/dist/dev/pkg/changesets/remark/plugins/maintenance-note.js +0 -61
- package/packages/silk-effects/dist/dev/pkg/changesets/remark/plugins/merge-sections.cjs +0 -43
- package/packages/silk-effects/dist/dev/pkg/changesets/remark/plugins/merge-sections.js +0 -43
- package/packages/silk-effects/dist/dev/pkg/changesets/remark/plugins/normalize-format.cjs +0 -47
- package/packages/silk-effects/dist/dev/pkg/changesets/remark/plugins/normalize-format.js +0 -47
- package/packages/silk-effects/dist/dev/pkg/changesets/remark/plugins/reorder-sections.cjs +0 -34
- package/packages/silk-effects/dist/dev/pkg/changesets/remark/plugins/reorder-sections.js +0 -34
- package/packages/silk-effects/dist/dev/pkg/changesets/remark/presets.cjs +0 -120
- package/packages/silk-effects/dist/dev/pkg/changesets/remark/presets.js +0 -119
- package/packages/silk-effects/dist/dev/pkg/changesets/remark/rules/content-structure.cjs +0 -22
- package/packages/silk-effects/dist/dev/pkg/changesets/remark/rules/content-structure.js +0 -22
- package/packages/silk-effects/dist/dev/pkg/changesets/remark/rules/dependency-table-format.cjs +0 -40
- package/packages/silk-effects/dist/dev/pkg/changesets/remark/rules/dependency-table-format.js +0 -40
- package/packages/silk-effects/dist/dev/pkg/changesets/remark/rules/heading-hierarchy.cjs +0 -19
- package/packages/silk-effects/dist/dev/pkg/changesets/remark/rules/heading-hierarchy.js +0 -19
- package/packages/silk-effects/dist/dev/pkg/changesets/remark/rules/required-sections.cjs +0 -17
- package/packages/silk-effects/dist/dev/pkg/changesets/remark/rules/required-sections.js +0 -17
- package/packages/silk-effects/dist/dev/pkg/changesets/remark/rules/uncategorized-content.cjs +0 -31
- package/packages/silk-effects/dist/dev/pkg/changesets/remark/rules/uncategorized-content.js +0 -31
- package/packages/silk-effects/dist/dev/pkg/changesets/schemas/changeset.cjs +0 -148
- package/packages/silk-effects/dist/dev/pkg/changesets/schemas/changeset.js +0 -145
- package/packages/silk-effects/dist/dev/pkg/changesets/schemas/dependency-table.cjs +0 -203
- package/packages/silk-effects/dist/dev/pkg/changesets/schemas/dependency-table.js +0 -198
- package/packages/silk-effects/dist/dev/pkg/changesets/schemas/git.cjs +0 -69
- package/packages/silk-effects/dist/dev/pkg/changesets/schemas/git.js +0 -68
- package/packages/silk-effects/dist/dev/pkg/changesets/schemas/github.cjs +0 -177
- package/packages/silk-effects/dist/dev/pkg/changesets/schemas/github.js +0 -174
- package/packages/silk-effects/dist/dev/pkg/changesets/schemas/options.cjs +0 -183
- package/packages/silk-effects/dist/dev/pkg/changesets/schemas/options.js +0 -181
- package/packages/silk-effects/dist/dev/pkg/changesets/schemas/package-scope.cjs +0 -129
- package/packages/silk-effects/dist/dev/pkg/changesets/schemas/package-scope.js +0 -127
- package/packages/silk-effects/dist/dev/pkg/changesets/schemas/primitives.cjs +0 -72
- package/packages/silk-effects/dist/dev/pkg/changesets/schemas/primitives.js +0 -71
- package/packages/silk-effects/dist/dev/pkg/changesets/schemas/release-plan.cjs +0 -62
- package/packages/silk-effects/dist/dev/pkg/changesets/schemas/release-plan.js +0 -56
- package/packages/silk-effects/dist/dev/pkg/changesets/schemas/version-files.cjs +0 -154
- package/packages/silk-effects/dist/dev/pkg/changesets/schemas/version-files.js +0 -150
- package/packages/silk-effects/dist/dev/pkg/changesets/services/branch-analyzer.cjs +0 -300
- package/packages/silk-effects/dist/dev/pkg/changesets/services/branch-analyzer.js +0 -294
- package/packages/silk-effects/dist/dev/pkg/changesets/services/changelog.cjs +0 -50
- package/packages/silk-effects/dist/dev/pkg/changesets/services/changelog.js +0 -49
- package/packages/silk-effects/dist/dev/pkg/changesets/services/config-inspector.cjs +0 -489
- package/packages/silk-effects/dist/dev/pkg/changesets/services/config-inspector.js +0 -481
- package/packages/silk-effects/dist/dev/pkg/changesets/services/deps-regen.cjs +0 -375
- package/packages/silk-effects/dist/dev/pkg/changesets/services/deps-regen.js +0 -371
- package/packages/silk-effects/dist/dev/pkg/changesets/services/github.cjs +0 -160
- package/packages/silk-effects/dist/dev/pkg/changesets/services/github.js +0 -157
- package/packages/silk-effects/dist/dev/pkg/changesets/services/maintenance-reason.cjs +0 -68
- package/packages/silk-effects/dist/dev/pkg/changesets/services/maintenance-reason.js +0 -66
- package/packages/silk-effects/dist/dev/pkg/changesets/services/markdown.cjs +0 -87
- package/packages/silk-effects/dist/dev/pkg/changesets/services/markdown.js +0 -85
- package/packages/silk-effects/dist/dev/pkg/changesets/services/release-planner.cjs +0 -352
- package/packages/silk-effects/dist/dev/pkg/changesets/services/release-planner.js +0 -348
- package/packages/silk-effects/dist/dev/pkg/changesets/utils/commit-parser.cjs +0 -81
- package/packages/silk-effects/dist/dev/pkg/changesets/utils/commit-parser.js +0 -80
- package/packages/silk-effects/dist/dev/pkg/changesets/utils/dep-diff.cjs +0 -111
- package/packages/silk-effects/dist/dev/pkg/changesets/utils/dep-diff.js +0 -111
- package/packages/silk-effects/dist/dev/pkg/changesets/utils/dependency-table.cjs +0 -351
- package/packages/silk-effects/dist/dev/pkg/changesets/utils/dependency-table.js +0 -347
- package/packages/silk-effects/dist/dev/pkg/changesets/utils/git.cjs +0 -51
- package/packages/silk-effects/dist/dev/pkg/changesets/utils/git.js +0 -51
- package/packages/silk-effects/dist/dev/pkg/changesets/utils/issue-refs.cjs +0 -102
- package/packages/silk-effects/dist/dev/pkg/changesets/utils/issue-refs.js +0 -101
- package/packages/silk-effects/dist/dev/pkg/changesets/utils/jsonpath.cjs +0 -178
- package/packages/silk-effects/dist/dev/pkg/changesets/utils/jsonpath.js +0 -175
- package/packages/silk-effects/dist/dev/pkg/changesets/utils/logger.cjs +0 -51
- package/packages/silk-effects/dist/dev/pkg/changesets/utils/logger.js +0 -50
- package/packages/silk-effects/dist/dev/pkg/changesets/utils/markdown-link.cjs +0 -59
- package/packages/silk-effects/dist/dev/pkg/changesets/utils/markdown-link.js +0 -57
- package/packages/silk-effects/dist/dev/pkg/changesets/utils/publishability.cjs +0 -50
- package/packages/silk-effects/dist/dev/pkg/changesets/utils/publishability.js +0 -50
- package/packages/silk-effects/dist/dev/pkg/changesets/utils/remark-pipeline.cjs +0 -81
- package/packages/silk-effects/dist/dev/pkg/changesets/utils/remark-pipeline.js +0 -79
- package/packages/silk-effects/dist/dev/pkg/changesets/utils/section-parser.cjs +0 -94
- package/packages/silk-effects/dist/dev/pkg/changesets/utils/section-parser.js +0 -94
- package/packages/silk-effects/dist/dev/pkg/changesets/utils/strip-frontmatter.cjs +0 -47
- package/packages/silk-effects/dist/dev/pkg/changesets/utils/strip-frontmatter.js +0 -46
- package/packages/silk-effects/dist/dev/pkg/changesets/utils/version-blocks.cjs +0 -110
- package/packages/silk-effects/dist/dev/pkg/changesets/utils/version-blocks.js +0 -108
- package/packages/silk-effects/dist/dev/pkg/changesets/utils/version-files.cjs +0 -336
- package/packages/silk-effects/dist/dev/pkg/changesets/utils/version-files.js +0 -336
- package/packages/silk-effects/dist/dev/pkg/changesets/vendor/github-info.cjs +0 -77
- package/packages/silk-effects/dist/dev/pkg/changesets/vendor/github-info.js +0 -77
- package/packages/silk-effects/dist/dev/pkg/errors/ChangesetConfigError.cjs +0 -21
- package/packages/silk-effects/dist/dev/pkg/errors/ChangesetConfigError.js +0 -21
- package/packages/silk-effects/dist/dev/pkg/schemas/VersioningSchemas.cjs +0 -101
- package/packages/silk-effects/dist/dev/pkg/schemas/VersioningSchemas.js +0 -99
- package/packages/silk-effects/dist/dev/pkg/services/ChangesetConfig.cjs +0 -81
- package/packages/silk-effects/dist/dev/pkg/services/ChangesetConfig.js +0 -80
- package/packages/silk-effects/dist/dev/pkg/services/ChangesetConfigReader.cjs +0 -109
- package/packages/silk-effects/dist/dev/pkg/services/ChangesetConfigReader.js +0 -108
- package/packages/silk-effects/dist/dev/pkg/services/SilkPublishability.cjs +0 -238
- package/packages/silk-effects/dist/dev/pkg/services/SilkPublishability.js +0 -236
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ npm install --save-dev @savvy-web/silk
|
|
|
13
13
|
pnpm add -D @savvy-web/silk
|
|
14
14
|
```
|
|
15
15
|
|
|
16
|
-
Installing `silk` pulls [`@savvy-web/cli`](https://www.npmjs.com/package/@savvy-web/cli)
|
|
16
|
+
Installing `silk` pulls [`@savvy-web/cli`](https://www.npmjs.com/package/@savvy-web/cli), [`@savvy-web/mcp`](https://www.npmjs.com/package/@savvy-web/mcp) and [`@savvy-web/changelog`](https://www.npmjs.com/package/@savvy-web/changelog) along with the real tools its configs reference (Biome, husky, commitlint, changesets, lint-staged, markdownlint), so the versions stay in lockstep.
|
|
17
17
|
|
|
18
18
|
## Quick start
|
|
19
19
|
|
|
@@ -24,7 +24,7 @@ npx savvy init
|
|
|
24
24
|
# writes the changeset, commit and lint configs and wires husky to the savvy subcommands
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
-
The configs `savvy init` writes reference the
|
|
27
|
+
The configs `savvy init` writes reference the entry points shown below. You can also write them by hand.
|
|
28
28
|
|
|
29
29
|
## Config entry points
|
|
30
30
|
|
|
@@ -44,14 +44,16 @@ Markdownlint (`.markdownlint-cli2.jsonc`) loads the changeset rule module:
|
|
|
44
44
|
}
|
|
45
45
|
```
|
|
46
46
|
|
|
47
|
-
Changesets (`.changeset/config.json`) loads the changelog
|
|
47
|
+
Changesets (`.changeset/config.json`) loads the changelog generator, the standalone [`@savvy-web/changelog`](https://www.npmjs.com/package/@savvy-web/changelog) package that silk ships as a peer:
|
|
48
48
|
|
|
49
49
|
```json
|
|
50
50
|
{
|
|
51
|
-
"changelog": "@savvy-web/
|
|
51
|
+
"changelog": ["@savvy-web/changelog", { "repo": "owner/repo" }]
|
|
52
52
|
}
|
|
53
53
|
```
|
|
54
54
|
|
|
55
|
+
The `@savvy-web/silk/changesets/changelog` subpath re-exports the same generator and remains accepted by `savvy check`.
|
|
56
|
+
|
|
55
57
|
Biome (`biome.jsonc`) extends the bundled preset:
|
|
56
58
|
|
|
57
59
|
```jsonc
|
|
@@ -65,7 +67,7 @@ Biome (`biome.jsonc`) extends the bundled preset:
|
|
|
65
67
|
| Subpath | What it provides |
|
|
66
68
|
| ------- | ---------------- |
|
|
67
69
|
| `./changesets` | Changeset class and service surface |
|
|
68
|
-
| `./changesets/changelog` | `ChangelogFunctions` default
|
|
70
|
+
| `./changesets/changelog` | `ChangelogFunctions` default (same generator as `@savvy-web/changelog`) |
|
|
69
71
|
| `./changesets/markdownlint` | markdownlint-cli2 rules (default array plus named rules) |
|
|
70
72
|
| `./changesets/remark` | remark transform plugins, presets and lint rules |
|
|
71
73
|
| `./commitlint` | Auto-detecting `CommitlintConfig` plus types |
|
package/changesets-changelog.cjs
CHANGED
|
@@ -180,12 +180,18 @@ effect.Schema.Struct({
|
|
|
180
180
|
/**
|
|
181
181
|
* Substrings that identify a Silk changelog adapter entry in `.changeset/config.json`.
|
|
182
182
|
*
|
|
183
|
-
*
|
|
184
|
-
*
|
|
185
|
-
*
|
|
183
|
+
* `@savvy-web/changelog` is the canonical standalone changelog id that `savvy init`
|
|
184
|
+
* now writes. The two legacy forms — the original standalone package
|
|
185
|
+
* (`@savvy-web/changesets/changelog`) and the consolidated Silk re-export
|
|
186
|
+
* (`@savvy-web/silk/changesets/changelog`) — remain accepted for configs written
|
|
187
|
+
* before the rename. The `/silk/` segment in the consolidated path breaks the
|
|
186
188
|
* `@savvy-web/changesets` substring, so each form needs its own marker.
|
|
187
189
|
*/
|
|
188
|
-
const SILK_CHANGELOG_MARKERS = [
|
|
190
|
+
const SILK_CHANGELOG_MARKERS = [
|
|
191
|
+
"@savvy-web/changelog",
|
|
192
|
+
"@savvy-web/changesets",
|
|
193
|
+
"@savvy-web/silk/changesets"
|
|
194
|
+
];
|
|
189
195
|
function matchesSilkMarker(value) {
|
|
190
196
|
return SILK_CHANGELOG_MARKERS.some((marker) => value.includes(marker));
|
|
191
197
|
}
|
|
@@ -352,7 +358,7 @@ const ChangesetConfigLive = effect.Layer.effect(ChangesetConfig, effect.Effect.g
|
|
|
352
358
|
};
|
|
353
359
|
}));
|
|
354
360
|
//#endregion
|
|
355
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
361
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/errors/CatalogAssemblyError.js
|
|
356
362
|
/**
|
|
357
363
|
* Base constant for {@link CatalogAssemblyError}.
|
|
358
364
|
*
|
|
@@ -379,7 +385,7 @@ var CatalogAssemblyError = class extends CatalogAssemblyErrorBase {
|
|
|
379
385
|
}
|
|
380
386
|
};
|
|
381
387
|
//#endregion
|
|
382
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
388
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/errors/CatalogResolutionError.js
|
|
383
389
|
/**
|
|
384
390
|
* Base constant for {@link CatalogResolutionError}.
|
|
385
391
|
*
|
|
@@ -405,7 +411,7 @@ var CatalogResolutionError = class extends CatalogResolutionErrorBase {
|
|
|
405
411
|
}
|
|
406
412
|
};
|
|
407
413
|
//#endregion
|
|
408
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
414
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/errors/GitReadError.js
|
|
409
415
|
/**
|
|
410
416
|
* Base constant for {@link GitReadError}.
|
|
411
417
|
*
|
|
@@ -430,7 +436,7 @@ var GitReadError = class extends GitReadErrorBase {
|
|
|
430
436
|
}
|
|
431
437
|
};
|
|
432
438
|
//#endregion
|
|
433
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
439
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/errors/PackageNotFoundError.js
|
|
434
440
|
/**
|
|
435
441
|
* Base constant for {@link PackageNotFoundError}.
|
|
436
442
|
*
|
|
@@ -481,7 +487,7 @@ var PackageNotFoundError = class extends PackageNotFoundErrorBase {
|
|
|
481
487
|
}
|
|
482
488
|
};
|
|
483
489
|
//#endregion
|
|
484
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
490
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/errors/WorkspaceDiscoveryError.js
|
|
485
491
|
/**
|
|
486
492
|
* Base constant for {@link WorkspaceDiscoveryError}.
|
|
487
493
|
*
|
|
@@ -532,7 +538,7 @@ var WorkspaceDiscoveryError = class extends WorkspaceDiscoveryErrorBase {
|
|
|
532
538
|
}
|
|
533
539
|
};
|
|
534
540
|
//#endregion
|
|
535
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
541
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/errors/WorkspaceRootNotFoundError.js
|
|
536
542
|
/**
|
|
537
543
|
* Base constant for {@link WorkspaceRootNotFoundError}.
|
|
538
544
|
*
|
|
@@ -582,7 +588,7 @@ var WorkspaceRootNotFoundError = class extends WorkspaceRootNotFoundErrorBase {
|
|
|
582
588
|
}
|
|
583
589
|
};
|
|
584
590
|
//#endregion
|
|
585
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
591
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/services/WorkspaceDiscovery.js
|
|
586
592
|
/**
|
|
587
593
|
* Service for discovering workspace packages in a monorepo.
|
|
588
594
|
*
|
|
@@ -632,7 +638,7 @@ var WorkspaceRootNotFoundError = class extends WorkspaceRootNotFoundErrorBase {
|
|
|
632
638
|
*/
|
|
633
639
|
var WorkspaceDiscovery = class extends effect.Context.Tag("@spencerbeggs/workspaces-effect/WorkspaceDiscovery")() {};
|
|
634
640
|
//#endregion
|
|
635
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
641
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/services/WorkspaceRoot.js
|
|
636
642
|
/**
|
|
637
643
|
* Service for finding the workspace root directory.
|
|
638
644
|
*
|
|
@@ -679,7 +685,7 @@ var WorkspaceDiscovery = class extends effect.Context.Tag("@spencerbeggs/workspa
|
|
|
679
685
|
*/
|
|
680
686
|
var WorkspaceRoot = class extends effect.Context.Tag("@spencerbeggs/workspaces-effect/WorkspaceRoot")() {};
|
|
681
687
|
//#endregion
|
|
682
|
-
//#region ../../node_modules/.pnpm/yaml-effect@0.7.
|
|
688
|
+
//#region ../../node_modules/.pnpm/yaml-effect@0.7.2_effect@3.21.4/node_modules/yaml-effect/errors/YamlComposerError.js
|
|
683
689
|
/**
|
|
684
690
|
* YAML composer error type.
|
|
685
691
|
*
|
|
@@ -737,7 +743,7 @@ var YamlComposerError = class extends YamlComposerErrorBase {
|
|
|
737
743
|
}
|
|
738
744
|
};
|
|
739
745
|
//#endregion
|
|
740
|
-
//#region ../../node_modules/.pnpm/yaml-effect@0.7.
|
|
746
|
+
//#region ../../node_modules/.pnpm/yaml-effect@0.7.2_effect@3.21.4/node_modules/yaml-effect/errors/YamlErrorDetail.js
|
|
741
747
|
/**
|
|
742
748
|
* YAML error detail schema and error code types.
|
|
743
749
|
*
|
|
@@ -790,7 +796,7 @@ var YamlErrorDetail = class extends effect.Schema.Class("YamlErrorDetail")({
|
|
|
790
796
|
column: effect.Schema.Int.pipe(effect.Schema.nonNegative())
|
|
791
797
|
}) {};
|
|
792
798
|
//#endregion
|
|
793
|
-
//#region ../../node_modules/.pnpm/yaml-effect@0.7.
|
|
799
|
+
//#region ../../node_modules/.pnpm/yaml-effect@0.7.2_effect@3.21.4/node_modules/yaml-effect/schemas/CstNode.js
|
|
794
800
|
/**
|
|
795
801
|
* YAML CST node schema and node type literal union.
|
|
796
802
|
*
|
|
@@ -826,7 +832,7 @@ var CstNode = class CstNode extends effect.Schema.Class("CstNode")({
|
|
|
826
832
|
children: effect.Schema.optional(effect.Schema.Array(effect.Schema.suspend(() => CstNode)))
|
|
827
833
|
}) {};
|
|
828
834
|
//#endregion
|
|
829
|
-
//#region ../../node_modules/.pnpm/yaml-effect@0.7.
|
|
835
|
+
//#region ../../node_modules/.pnpm/yaml-effect@0.7.2_effect@3.21.4/node_modules/yaml-effect/schemas/YamlShared.js
|
|
830
836
|
/**
|
|
831
837
|
* Shared YAML structural types used across the parse/stringify/format pipeline.
|
|
832
838
|
*
|
|
@@ -854,7 +860,7 @@ effect.Schema.Class("YamlEdit")({
|
|
|
854
860
|
content: effect.Schema.String
|
|
855
861
|
});
|
|
856
862
|
//#endregion
|
|
857
|
-
//#region ../../node_modules/.pnpm/yaml-effect@0.7.
|
|
863
|
+
//#region ../../node_modules/.pnpm/yaml-effect@0.7.2_effect@3.21.4/node_modules/yaml-effect/schemas/YamlAstNodes.js
|
|
858
864
|
/**
|
|
859
865
|
* Internal module defining all mutually-referential YAML AST node schemas in
|
|
860
866
|
* one place to avoid circular import cycles between individual schema files.
|
|
@@ -1065,7 +1071,7 @@ var YamlSeq = class extends effect.Schema.TaggedClass()("YamlSeq", {
|
|
|
1065
1071
|
length: effect.Schema.Int.pipe(effect.Schema.nonNegative())
|
|
1066
1072
|
}) {};
|
|
1067
1073
|
//#endregion
|
|
1068
|
-
//#region ../../node_modules/.pnpm/yaml-effect@0.7.
|
|
1074
|
+
//#region ../../node_modules/.pnpm/yaml-effect@0.7.2_effect@3.21.4/node_modules/yaml-effect/schemas/YamlDocument.js
|
|
1069
1075
|
/**
|
|
1070
1076
|
* YAML document and directive schemas.
|
|
1071
1077
|
*
|
|
@@ -1143,7 +1149,7 @@ var YamlDocument = class extends effect.Schema.Class("YamlDocument")({
|
|
|
1143
1149
|
hasDocumentStartTab: effect.Schema.optionalWith(effect.Schema.Boolean, { default: () => false })
|
|
1144
1150
|
}) {};
|
|
1145
1151
|
//#endregion
|
|
1146
|
-
//#region ../../node_modules/.pnpm/yaml-effect@0.7.
|
|
1152
|
+
//#region ../../node_modules/.pnpm/yaml-effect@0.7.2_effect@3.21.4/node_modules/yaml-effect/schemas/YamlToken.js
|
|
1147
1153
|
/**
|
|
1148
1154
|
* YAML token schema and token kind literal union.
|
|
1149
1155
|
*
|
|
@@ -1178,7 +1184,7 @@ var YamlToken = class extends effect.Schema.Class("YamlToken")({
|
|
|
1178
1184
|
column: effect.Schema.Int.pipe(effect.Schema.nonNegative())
|
|
1179
1185
|
}) {};
|
|
1180
1186
|
//#endregion
|
|
1181
|
-
//#region ../../node_modules/.pnpm/yaml-effect@0.7.
|
|
1187
|
+
//#region ../../node_modules/.pnpm/yaml-effect@0.7.2_effect@3.21.4/node_modules/yaml-effect/utils/lexer.js
|
|
1182
1188
|
/**
|
|
1183
1189
|
* YAML 1.2 lexer — tokenizes raw YAML text into a stream of {@link YamlToken} values.
|
|
1184
1190
|
*
|
|
@@ -2183,7 +2189,7 @@ function lexAll(text) {
|
|
|
2183
2189
|
return effect.Stream.runCollect(lex(text)).pipe(effect.Effect.map((chunk) => [...chunk]));
|
|
2184
2190
|
}
|
|
2185
2191
|
//#endregion
|
|
2186
|
-
//#region ../../node_modules/.pnpm/yaml-effect@0.7.
|
|
2192
|
+
//#region ../../node_modules/.pnpm/yaml-effect@0.7.2_effect@3.21.4/node_modules/yaml-effect/utils/parser.js
|
|
2187
2193
|
/**
|
|
2188
2194
|
* YAML 1.2 CST parser — transforms a token stream into a Concrete Syntax Tree.
|
|
2189
2195
|
*
|
|
@@ -2828,7 +2834,7 @@ function parseCSTAll(text) {
|
|
|
2828
2834
|
return lexAll(text).pipe(effect.Effect.map((tokens) => parseDocuments(tokens, text)));
|
|
2829
2835
|
}
|
|
2830
2836
|
//#endregion
|
|
2831
|
-
//#region ../../node_modules/.pnpm/yaml-effect@0.7.
|
|
2837
|
+
//#region ../../node_modules/.pnpm/yaml-effect@0.7.2_effect@3.21.4/node_modules/yaml-effect/utils/composer.js
|
|
2832
2838
|
/**
|
|
2833
2839
|
* YAML 1.2 Composer — transforms CST nodes into AST nodes with typed values.
|
|
2834
2840
|
*
|
|
@@ -2837,16 +2843,29 @@ function parseCSTAll(text) {
|
|
|
2837
2843
|
*
|
|
2838
2844
|
* @packageDocumentation
|
|
2839
2845
|
*/
|
|
2846
|
+
let lineStartsText;
|
|
2847
|
+
let lineStartsCache = [];
|
|
2848
|
+
function getLineStarts(text) {
|
|
2849
|
+
if (lineStartsText === text) return lineStartsCache;
|
|
2850
|
+
const starts = [0];
|
|
2851
|
+
for (let i = 0; i < text.length; i++) if (text[i] === "\n") starts.push(i + 1);
|
|
2852
|
+
lineStartsText = text;
|
|
2853
|
+
lineStartsCache = starts;
|
|
2854
|
+
return starts;
|
|
2855
|
+
}
|
|
2840
2856
|
function lineCol(text, offset) {
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
|
|
2857
|
+
const starts = getLineStarts(text);
|
|
2858
|
+
const pos = Math.min(Math.max(offset, 0), text.length);
|
|
2859
|
+
let lo = 0;
|
|
2860
|
+
let hi = starts.length - 1;
|
|
2861
|
+
while (lo < hi) {
|
|
2862
|
+
const mid = lo + hi + 1 >> 1;
|
|
2863
|
+
if (starts[mid] <= pos) lo = mid;
|
|
2864
|
+
else hi = mid - 1;
|
|
2865
|
+
}
|
|
2847
2866
|
return {
|
|
2848
|
-
line,
|
|
2849
|
-
column
|
|
2867
|
+
line: lo,
|
|
2868
|
+
column: pos - starts[lo]
|
|
2850
2869
|
};
|
|
2851
2870
|
}
|
|
2852
2871
|
const NULL_RE = /^(?:null|Null|NULL|~)$/;
|
|
@@ -6305,7 +6324,7 @@ function parse$2(text, options) {
|
|
|
6305
6324
|
}));
|
|
6306
6325
|
}
|
|
6307
6326
|
//#endregion
|
|
6308
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
6327
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/catalog/workspace-manifest.js
|
|
6309
6328
|
/**
|
|
6310
6329
|
* Parse a pnpm-workspace.yaml text into its catalog/config-dependency/packages
|
|
6311
6330
|
* slice. Pure with respect to the filesystem.
|
|
@@ -6373,7 +6392,7 @@ function checkDefaultCatalogIsDefinedOnce(manifest) {
|
|
|
6373
6392
|
if (manifest.catalog != null && manifest.catalogs?.default != null) throw new PnpmError("INVALID_CATALOGS_CONFIGURATION", "The 'default' catalog was defined multiple times. Use the 'catalog' field or 'catalogs.default', but not both.");
|
|
6374
6393
|
}
|
|
6375
6394
|
//#endregion
|
|
6376
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
6395
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/catalog/assemble.js
|
|
6377
6396
|
/** Merge catalog sources; later sources win per dependency within a catalog. */
|
|
6378
6397
|
function mergeCatalogs(...sources) {
|
|
6379
6398
|
const result = {};
|
|
@@ -6454,7 +6473,7 @@ function resolveFromCatalog(catalogs, wantedDependency) {
|
|
|
6454
6473
|
};
|
|
6455
6474
|
}
|
|
6456
6475
|
//#endregion
|
|
6457
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
6476
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/catalog/resolve.js
|
|
6458
6477
|
const DEP_FIELDS = [
|
|
6459
6478
|
"dependencies",
|
|
6460
6479
|
"devDependencies",
|
|
@@ -6524,7 +6543,7 @@ function resolveManifest(catalogs, workspaceVersions, manifest) {
|
|
|
6524
6543
|
return out;
|
|
6525
6544
|
}
|
|
6526
6545
|
//#endregion
|
|
6527
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
6546
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/schemas/CatalogSet.js
|
|
6528
6547
|
/**
|
|
6529
6548
|
* An immutable, fully-normalized catalog collection with the one
|
|
6530
6549
|
* resolution semantic shared by live and point-in-time resolution.
|
|
@@ -6614,7 +6633,7 @@ var CatalogSet = class CatalogSet extends effect.Schema.Class("CatalogSet")({ en
|
|
|
6614
6633
|
}
|
|
6615
6634
|
};
|
|
6616
6635
|
//#endregion
|
|
6617
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
6636
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/point-in-time/worktree-catalogs.js
|
|
6618
6637
|
/**
|
|
6619
6638
|
* The ONE code path that reads the working tree's catalog sources
|
|
6620
6639
|
* (`pnpm-workspace.yaml` + `pnpm-lock.yaml`). Consumed by
|
|
@@ -8159,7 +8178,7 @@ minimatch.Minimatch = Minimatch;
|
|
|
8159
8178
|
minimatch.escape = escape;
|
|
8160
8179
|
minimatch.unescape = unescape;
|
|
8161
8180
|
//#endregion
|
|
8162
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
8181
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/schemas/core.js
|
|
8163
8182
|
/**
|
|
8164
8183
|
* Schema for supported package manager identifiers.
|
|
8165
8184
|
*
|
|
@@ -8421,7 +8440,7 @@ effect.Schema.Class("WorkspaceInfo")({
|
|
|
8421
8440
|
patterns: effect.Schema.Array(effect.Schema.String)
|
|
8422
8441
|
});
|
|
8423
8442
|
//#endregion
|
|
8424
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
8443
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/schemas/WorkspaceStateSnapshot.js
|
|
8425
8444
|
const DepRecord = effect.Schema.optionalWith(effect.Schema.Record({
|
|
8426
8445
|
key: effect.Schema.String,
|
|
8427
8446
|
value: effect.Schema.String
|
|
@@ -8490,7 +8509,7 @@ var WorkspaceStateSnapshot = class extends effect.Schema.Class("WorkspaceStateSn
|
|
|
8490
8509
|
}
|
|
8491
8510
|
};
|
|
8492
8511
|
//#endregion
|
|
8493
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
8512
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/services/PointInTimeWorkspace.js
|
|
8494
8513
|
/**
|
|
8495
8514
|
* Service for reading a monorepo's workspace state at a specific moment: any
|
|
8496
8515
|
* git ref (via `git show`/`git ls-tree`, without checking the ref out) or the
|
|
@@ -8517,7 +8536,7 @@ var WorkspaceStateSnapshot = class extends effect.Schema.Class("WorkspaceStateSn
|
|
|
8517
8536
|
*/
|
|
8518
8537
|
var PointInTimeWorkspace = class extends effect.Context.Tag("@spencerbeggs/workspaces-effect/PointInTimeWorkspace")() {};
|
|
8519
8538
|
//#endregion
|
|
8520
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
8539
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/discovery/glob-core.js
|
|
8521
8540
|
const normalize$1 = (pattern) => pattern.replace(/\/\*\*$/, "/*");
|
|
8522
8541
|
const toRegex = (glob) => new RegExp(`^${glob.replace(/[.+^${}()|[\]\\]/g, "\\$&").replace(/\*/g, "[^/]*").replace(/\?/g, "[^/]")}$`);
|
|
8523
8542
|
/**
|
|
@@ -8560,7 +8579,7 @@ const compileWorkspaceGlobs = (patterns) => {
|
|
|
8560
8579
|
};
|
|
8561
8580
|
};
|
|
8562
8581
|
//#endregion
|
|
8563
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
8582
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/point-in-time/git.js
|
|
8564
8583
|
/**
|
|
8565
8584
|
* Stderr shapes that mean "the path is not present at this ref" rather than
|
|
8566
8585
|
* "the git command failed."
|
|
@@ -8652,7 +8671,7 @@ const makeGitReader = (executor, options) => {
|
|
|
8652
8671
|
};
|
|
8653
8672
|
};
|
|
8654
8673
|
//#endregion
|
|
8655
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
8674
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/PointInTimeWorkspaceLive.js
|
|
8656
8675
|
/**
|
|
8657
8676
|
* Live layer for the {@link PointInTimeWorkspace} service.
|
|
8658
8677
|
*
|
|
@@ -8793,7 +8812,7 @@ const PointInTimeWorkspaceLive = effect.Layer.effect(PointInTimeWorkspace, effec
|
|
|
8793
8812
|
});
|
|
8794
8813
|
}));
|
|
8795
8814
|
//#endregion
|
|
8796
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
8815
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/schemas/publish.js
|
|
8797
8816
|
/**
|
|
8798
8817
|
* Schema for package publish targets.
|
|
8799
8818
|
*
|
|
@@ -8836,7 +8855,7 @@ var PublishTarget = class extends effect.Schema.Class("PublishTarget")({
|
|
|
8836
8855
|
provenance: effect.Schema.optionalWith(effect.Schema.Boolean, { default: () => false })
|
|
8837
8856
|
}) {};
|
|
8838
8857
|
//#endregion
|
|
8839
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
8858
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/services/PublishabilityDetector.js
|
|
8840
8859
|
/**
|
|
8841
8860
|
* Service for detecting whether a workspace package is publishable and
|
|
8842
8861
|
* identifying its publish targets (npm, GitHub Packages, etc.).
|
|
@@ -8898,7 +8917,7 @@ var PublishTarget = class extends effect.Schema.Class("PublishTarget")({
|
|
|
8898
8917
|
*/
|
|
8899
8918
|
var PublishabilityDetector = class extends effect.Context.Tag("@spencerbeggs/workspaces-effect/PublishabilityDetector")() {};
|
|
8900
8919
|
//#endregion
|
|
8901
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
8920
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/PublishabilityDetectorLive.js
|
|
8902
8921
|
/**
|
|
8903
8922
|
* Default live implementation of the {@link PublishabilityDetector} service.
|
|
8904
8923
|
*
|
|
@@ -8970,7 +8989,7 @@ const PublishabilityDetectorLive = effect.Layer.succeed(PublishabilityDetector,
|
|
|
8970
8989
|
return targets;
|
|
8971
8990
|
}).pipe(effect.Effect.withSpan("PublishabilityDetector.detect", { attributes: { "workspace.package": pkg.name } })) });
|
|
8972
8991
|
//#endregion
|
|
8973
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
8992
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/WorkspaceDiscoveryLive.js
|
|
8974
8993
|
/**
|
|
8975
8994
|
* Live implementation of the {@link WorkspaceDiscovery} service.
|
|
8976
8995
|
*
|
|
@@ -9257,7 +9276,7 @@ const WorkspaceDiscoveryLive = effect.Layer.effect(WorkspaceDiscovery, effect.Ef
|
|
|
9257
9276
|
};
|
|
9258
9277
|
}));
|
|
9259
9278
|
//#endregion
|
|
9260
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
9279
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/WorkspaceRootLive.js
|
|
9261
9280
|
/**
|
|
9262
9281
|
* Live implementation of the {@link WorkspaceRoot} service.
|
|
9263
9282
|
*
|
|
@@ -34046,7 +34065,7 @@ var ChangelogTransformer = class ChangelogTransformer {
|
|
|
34046
34065
|
}
|
|
34047
34066
|
};
|
|
34048
34067
|
//#endregion
|
|
34049
|
-
//#region ../../node_modules/.pnpm/fdir@6.5.0_picomatch@4.0.
|
|
34068
|
+
//#region ../../node_modules/.pnpm/fdir@6.5.0_picomatch@4.0.5/node_modules/fdir/dist/index.mjs
|
|
34050
34069
|
var __require = /* @__PURE__ */ (0, module$1.createRequire)(require("url").pathToFileURL(__filename).href);
|
|
34051
34070
|
function cleanPath(path$11) {
|
|
34052
34071
|
let normalized = (0, path.normalize)(path$11);
|
|
@@ -34554,7 +34573,7 @@ var Builder = class {
|
|
|
34554
34573
|
}
|
|
34555
34574
|
};
|
|
34556
34575
|
//#endregion
|
|
34557
|
-
//#region ../../node_modules/.pnpm/picomatch@4.0.
|
|
34576
|
+
//#region ../../node_modules/.pnpm/picomatch@4.0.5/node_modules/picomatch/lib/constants.js
|
|
34558
34577
|
var require_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
34559
34578
|
const WIN_SLASH = "\\\\/";
|
|
34560
34579
|
const WIN_NO_SLASH = `[^${WIN_SLASH}]`;
|
|
@@ -34723,7 +34742,7 @@ var require_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
34723
34742
|
};
|
|
34724
34743
|
}));
|
|
34725
34744
|
//#endregion
|
|
34726
|
-
//#region ../../node_modules/.pnpm/picomatch@4.0.
|
|
34745
|
+
//#region ../../node_modules/.pnpm/picomatch@4.0.5/node_modules/picomatch/lib/utils.js
|
|
34727
34746
|
var require_utils$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
34728
34747
|
const { REGEX_BACKSLASH, REGEX_REMOVE_BACKSLASH, REGEX_SPECIAL_CHARS, REGEX_SPECIAL_CHARS_GLOBAL } = require_constants();
|
|
34729
34748
|
exports.isObject = (val) => val !== null && typeof val === "object" && !Array.isArray(val);
|
|
@@ -34771,7 +34790,7 @@ var require_utils$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
34771
34790
|
};
|
|
34772
34791
|
}));
|
|
34773
34792
|
//#endregion
|
|
34774
|
-
//#region ../../node_modules/.pnpm/picomatch@4.0.
|
|
34793
|
+
//#region ../../node_modules/.pnpm/picomatch@4.0.5/node_modules/picomatch/lib/scan.js
|
|
34775
34794
|
var require_scan = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
34776
34795
|
const utils = require_utils$1();
|
|
34777
34796
|
const { CHAR_ASTERISK, CHAR_AT, CHAR_BACKWARD_SLASH, CHAR_COMMA, CHAR_DOT, CHAR_EXCLAMATION_MARK, CHAR_FORWARD_SLASH, CHAR_LEFT_CURLY_BRACE, CHAR_LEFT_PARENTHESES, CHAR_LEFT_SQUARE_BRACKET, CHAR_PLUS, CHAR_QUESTION_MARK, CHAR_RIGHT_CURLY_BRACE, CHAR_RIGHT_PARENTHESES, CHAR_RIGHT_SQUARE_BRACKET } = require_constants();
|
|
@@ -35058,7 +35077,7 @@ var require_scan = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
35058
35077
|
module.exports = scan;
|
|
35059
35078
|
}));
|
|
35060
35079
|
//#endregion
|
|
35061
|
-
//#region ../../node_modules/.pnpm/picomatch@4.0.
|
|
35080
|
+
//#region ../../node_modules/.pnpm/picomatch@4.0.5/node_modules/picomatch/lib/parse.js
|
|
35062
35081
|
var require_parse$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
35063
35082
|
const constants = require_constants();
|
|
35064
35083
|
const utils = require_utils$1();
|
|
@@ -35213,7 +35232,10 @@ var require_parse$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
35213
35232
|
}
|
|
35214
35233
|
}
|
|
35215
35234
|
};
|
|
35216
|
-
const
|
|
35235
|
+
const buildCharClassStar = (chars) => {
|
|
35236
|
+
return `${chars.length === 1 ? utils.escapeRegex(chars[0]) : `[${chars.map((ch) => utils.escapeRegex(ch)).join("")}]`}*`;
|
|
35237
|
+
};
|
|
35238
|
+
const getStarExtglobSequenceChars = (pattern) => {
|
|
35217
35239
|
let index = 0;
|
|
35218
35240
|
const chars = [];
|
|
35219
35241
|
while (index < pattern.length) {
|
|
@@ -35227,7 +35249,7 @@ var require_parse$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
35227
35249
|
index += match.end + 1;
|
|
35228
35250
|
}
|
|
35229
35251
|
if (chars.length < 1) return;
|
|
35230
|
-
return
|
|
35252
|
+
return chars;
|
|
35231
35253
|
};
|
|
35232
35254
|
const repeatedExtglobRecursion = (pattern) => {
|
|
35233
35255
|
let depth = 0;
|
|
@@ -35247,14 +35269,28 @@ var require_parse$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
35247
35269
|
if (branches.length > 1) {
|
|
35248
35270
|
if (branches.some((branch) => branch === "") || branches.some((branch) => /^[*?]+$/.test(branch)) || hasRepeatedCharPrefixOverlap(branches)) return { risky: true };
|
|
35249
35271
|
}
|
|
35272
|
+
const safeChars = [];
|
|
35273
|
+
let sawStarSequence = false;
|
|
35274
|
+
let combinable = true;
|
|
35250
35275
|
for (const branch of branches) {
|
|
35251
|
-
const
|
|
35252
|
-
if (
|
|
35253
|
-
|
|
35254
|
-
|
|
35255
|
-
|
|
35276
|
+
const chars = getStarExtglobSequenceChars(branch);
|
|
35277
|
+
if (chars) {
|
|
35278
|
+
sawStarSequence = true;
|
|
35279
|
+
safeChars.push(...chars);
|
|
35280
|
+
continue;
|
|
35281
|
+
}
|
|
35282
|
+
const literal = normalizeSimpleBranch(branch);
|
|
35283
|
+
if (literal && literal.length === 1) {
|
|
35284
|
+
safeChars.push(literal);
|
|
35285
|
+
continue;
|
|
35286
|
+
}
|
|
35287
|
+
combinable = false;
|
|
35256
35288
|
if (repeatedExtglobRecursion(branch) > max) return { risky: true };
|
|
35257
35289
|
}
|
|
35290
|
+
if (sawStarSequence) return combinable ? {
|
|
35291
|
+
risky: true,
|
|
35292
|
+
safeOutput: buildCharClassStar([...new Set(safeChars)])
|
|
35293
|
+
} : { risky: true };
|
|
35258
35294
|
return { risky: false };
|
|
35259
35295
|
};
|
|
35260
35296
|
/**
|
|
@@ -36115,7 +36151,7 @@ var require_parse$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
36115
36151
|
module.exports = parse;
|
|
36116
36152
|
}));
|
|
36117
36153
|
//#endregion
|
|
36118
|
-
//#region ../../node_modules/.pnpm/picomatch@4.0.
|
|
36154
|
+
//#region ../../node_modules/.pnpm/picomatch@4.0.5/node_modules/picomatch/lib/picomatch.js
|
|
36119
36155
|
var require_picomatch$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
36120
36156
|
const scan = require_scan();
|
|
36121
36157
|
const parse = require_parse$1();
|
|
@@ -36136,6 +36172,18 @@ var require_picomatch$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
36136
36172
|
* const isMatch = picomatch('*.!(*a)');
|
|
36137
36173
|
* console.log(isMatch('a.a')); //=> false
|
|
36138
36174
|
* console.log(isMatch('a.b')); //=> true
|
|
36175
|
+
*
|
|
36176
|
+
* // For environments without `node.js`, `picomatch/posix` provides you a dependency-free matcher, without automatic OS detection.
|
|
36177
|
+
* const picomatch = require('picomatch/posix');
|
|
36178
|
+
* // the same API, defaulting to posix paths
|
|
36179
|
+
* const isMatch = picomatch('a/*');
|
|
36180
|
+
* console.log(isMatch('a\\b')); //=> false
|
|
36181
|
+
* console.log(isMatch('a/b')); //=> true
|
|
36182
|
+
*
|
|
36183
|
+
* // you can still configure the matcher function to accept windows paths
|
|
36184
|
+
* const isMatch = picomatch('a/*', { options: windows });
|
|
36185
|
+
* console.log(isMatch('a\\b')); //=> true
|
|
36186
|
+
* console.log(isMatch('a/b')); //=> true
|
|
36139
36187
|
* ```
|
|
36140
36188
|
* @name picomatch
|
|
36141
36189
|
* @param {String|Array} `globs` One or more glob patterns.
|
|
@@ -36254,8 +36302,8 @@ var require_picomatch$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
36254
36302
|
* @return {Boolean}
|
|
36255
36303
|
* @api public
|
|
36256
36304
|
*/
|
|
36257
|
-
picomatch.matchBase = (input, glob, options) => {
|
|
36258
|
-
return (glob instanceof RegExp ? glob : picomatch.makeRe(glob, options)).test(utils.basename(input));
|
|
36305
|
+
picomatch.matchBase = (input, glob, options, posix = options && options.windows) => {
|
|
36306
|
+
return (glob instanceof RegExp ? glob : picomatch.makeRe(glob, options)).test(utils.basename(input, { windows: posix }));
|
|
36259
36307
|
};
|
|
36260
36308
|
/**
|
|
36261
36309
|
* Returns true if **any** of the given glob `patterns` match the specified `string`.
|
|
@@ -3325,7 +3325,7 @@ interface Catalog {
|
|
|
3325
3325
|
readonly [dependencyName: string]: string | undefined;
|
|
3326
3326
|
}
|
|
3327
3327
|
//#endregion
|
|
3328
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
3328
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/index.d.ts
|
|
3329
3329
|
//#region src/errors/CatalogAssemblyError.d.ts
|
|
3330
3330
|
/**
|
|
3331
3331
|
* Base constant for {@link CatalogAssemblyError}.
|
|
@@ -3325,7 +3325,7 @@ interface Catalog {
|
|
|
3325
3325
|
readonly [dependencyName: string]: string | undefined;
|
|
3326
3326
|
}
|
|
3327
3327
|
//#endregion
|
|
3328
|
-
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.
|
|
3328
|
+
//#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/index.d.ts
|
|
3329
3329
|
//#region src/errors/CatalogAssemblyError.d.ts
|
|
3330
3330
|
/**
|
|
3331
3331
|
* Base constant for {@link CatalogAssemblyError}.
|