@savvy-web/pnpm-plugin-silk 0.13.3 → 0.14.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/index.cjs DELETED
@@ -1,169 +0,0 @@
1
- var __webpack_require__ = {};
2
- (()=>{
3
- __webpack_require__.d = (exports1, definition)=>{
4
- for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
5
- enumerable: true,
6
- get: definition[key]
7
- });
8
- };
9
- })();
10
- (()=>{
11
- __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
12
- })();
13
- (()=>{
14
- __webpack_require__.r = (exports1)=>{
15
- if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
16
- value: 'Module'
17
- });
18
- Object.defineProperty(exports1, '__esModule', {
19
- value: true
20
- });
21
- };
22
- })();
23
- var __webpack_exports__ = {};
24
- __webpack_require__.r(__webpack_exports__);
25
- __webpack_require__.d(__webpack_exports__, {
26
- silkCatalogs: ()=>silkCatalogs,
27
- silkPeerDependencyRules: ()=>silkPeerDependencyRules
28
- });
29
- const silkCatalogs = {
30
- silk: {
31
- "@effect/ai": "^0.35.0",
32
- "@effect/ai-amazon-bedrock": "^0.15.0",
33
- "@effect/ai-anthropic": "^0.25.0",
34
- "@effect/ai-google": "^0.14.0",
35
- "@effect/ai-openai": "^0.39.2",
36
- "@effect/cli": "^0.75.1",
37
- "@effect/cluster": "^0.58.2",
38
- "@effect/experimental": "^0.60.0",
39
- "@effect/language-service": "^0.86.2",
40
- "@effect/opentelemetry": "^0.63.0",
41
- "@effect/platform": "^0.96.1",
42
- "@effect/platform-browser": "^0.76.0",
43
- "@effect/platform-bun": "^0.89.0",
44
- "@effect/platform-node": "^0.106.0",
45
- "@effect/platform-node-shared": "^0.59.0",
46
- "@effect/printer": "^0.49.0",
47
- "@effect/printer-ansi": "^0.49.0",
48
- "@effect/rpc": "^0.75.1",
49
- "@effect/sql": "^0.51.1",
50
- "@effect/sql-pg": "^0.52.1",
51
- "@effect/sql-sqlite-bun": "^0.52.0",
52
- "@effect/sql-sqlite-node": "^0.52.0",
53
- "@effect/tsgo": "^0.11.0",
54
- "@effect/typeclass": "^0.40.0",
55
- "@effect/vitest": "^0.29.0",
56
- "@effect/workflow": "^0.18.1",
57
- "@types/node": "^25.9.1",
58
- "@types/react": "^19.2.15",
59
- "@types/react-dom": "^19.2.3",
60
- "@typescript/native-preview": "^7.0.0-dev.20260523.1",
61
- effect: "^3.21.2",
62
- react: "^19.2.6",
63
- "react-dom": "^19.2.6",
64
- tsx: "^4.22.3",
65
- typescript: "^6.0.3"
66
- },
67
- silkPeers: {
68
- "@effect/ai": ">=0.35.0",
69
- "@effect/ai-amazon-bedrock": ">=0.15.0",
70
- "@effect/ai-anthropic": ">=0.25.0",
71
- "@effect/ai-google": ">=0.14.0",
72
- "@effect/ai-openai": ">=0.39.2",
73
- "@effect/cli": ">=0.75.1",
74
- "@effect/cluster": ">=0.58.0",
75
- "@effect/experimental": ">=0.60.0",
76
- "@effect/language-service": ">=0.86.2",
77
- "@effect/opentelemetry": ">=0.63.0",
78
- "@effect/platform": ">=0.96.0",
79
- "@effect/platform-browser": ">=0.76.0",
80
- "@effect/platform-bun": ">=0.89.0",
81
- "@effect/platform-node": ">=0.106.0",
82
- "@effect/platform-node-shared": ">=0.59.0",
83
- "@effect/printer": ">=0.49.0",
84
- "@effect/printer-ansi": ">=0.49.0",
85
- "@effect/rpc": ">=0.75.0",
86
- "@effect/sql": ">=0.51.0",
87
- "@effect/sql-pg": ">=0.52.1",
88
- "@effect/sql-sqlite-bun": ">=0.52.0",
89
- "@effect/sql-sqlite-node": ">=0.52.0",
90
- "@effect/tsgo": ">=0.11.0",
91
- "@effect/typeclass": ">=0.40.0",
92
- "@effect/vitest": ">=0.29.0",
93
- "@effect/workflow": ">=0.18.0",
94
- "@types/node": "^25.6.0",
95
- "@types/react": "^19.2.0",
96
- "@types/react-dom": "^19.2.0",
97
- "@typescript/native-preview": "^7.0.0-dev.20260513.1",
98
- effect: ">=3.21.0",
99
- react: "^19.2.0",
100
- "react-dom": "^19.2.0",
101
- tsx: "^4.21.0",
102
- typescript: "^6.0.0"
103
- },
104
- silkOverrides: {
105
- "@isaacs/brace-expansion": "^5.0.1",
106
- lodash: "^4.17.23",
107
- "markdown-it": "^14.1.1",
108
- minimatch: ">=10.2.3",
109
- "smol-toml": ">=1.6.1",
110
- tmp: "^0.2.4"
111
- },
112
- silkOnlyBuiltDependencies: [
113
- "@parcel/watcher",
114
- "@savvy-web/changesets",
115
- "@savvy-web/commitlint",
116
- "@savvy-web/github-action-builder",
117
- "@savvy-web/lint-staged",
118
- "@savvy-web/vitest",
119
- "better-sqlite3",
120
- "core-js",
121
- "esbuild",
122
- "msgpackr-extract"
123
- ],
124
- silkPublicHoistPattern: [
125
- "@changesets/cli",
126
- "@commitlint/cli",
127
- "@commitlint/config-conventional",
128
- "@commitlint/cz-commitlint",
129
- "@rslib/core",
130
- "@types/bun",
131
- "@types/node",
132
- "@types/react",
133
- "@types/react-dom",
134
- "@typescript/native-preview",
135
- "@vitest/coverage-v8",
136
- "commitizen",
137
- "husky",
138
- "lint-staged",
139
- "markdownlint-cli2",
140
- "markdownlint-cli2-formatter-codequality",
141
- "tsx",
142
- "turbo",
143
- "typescript",
144
- "vitest",
145
- "vitest-agent-reporter"
146
- ]
147
- };
148
- const silkPeerDependencyRules = {
149
- allowedVersions: {
150
- "@effect/vitest>vitest": "^4.1.0",
151
- "@typescript-eslint/project-service>typescript": "^6.0.0",
152
- "@typescript-eslint/tsconfig-utils>typescript": "^6.0.0",
153
- "@typescript-eslint/typescript-estree>typescript": "^6.0.0",
154
- "@typescript-eslint/util>typescript": "^6.0.0",
155
- "@typescript-eslint/utils>typescript": "^6.0.0",
156
- "eslint-plugin-tsdoc>typescript": "^6.0.0"
157
- },
158
- ignoreMissing: [],
159
- allowAny: []
160
- };
161
- exports.silkCatalogs = __webpack_exports__.silkCatalogs;
162
- exports.silkPeerDependencyRules = __webpack_exports__.silkPeerDependencyRules;
163
- for(var __rspack_i in __webpack_exports__)if (-1 === [
164
- "silkCatalogs",
165
- "silkPeerDependencyRules"
166
- ].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
167
- Object.defineProperty(exports, '__esModule', {
168
- value: true
169
- });
package/index.d.cts DELETED
@@ -1,129 +0,0 @@
1
- /**
2
- * pnpm-plugin-silk - Centralized catalog management for the Silk ecosystem.
3
- *
4
- * @remarks
5
- * This package provides curated dependency versions via pnpm config dependencies.
6
- * Use `catalog:silk` for pinned current versions and `catalog:silkPeers` for
7
- * permissive peer dependency ranges that automatically merge into consuming repositories.
8
- *
9
- * @example
10
- * ```typescript
11
- * import { silkCatalogs } from "@savvy-web/pnpm-plugin-silk";
12
- * import type { Catalog, SilkCatalogs } from "@savvy-web/pnpm-plugin-silk";
13
- *
14
- * // Access current versions for direct dependencies
15
- * console.log(silkCatalogs.silk.typescript); // "^5.9.3"
16
- *
17
- * // Access permissive ranges for peer dependencies
18
- * console.log(silkCatalogs.silkPeers.typescript); // "^5.9.3"
19
- * ```
20
- *
21
- * @see {@link silkCatalogs} for the pre-configured catalog instance
22
- * @see {@link SilkCatalogs} for the catalog interface
23
- *
24
- * @packageDocumentation
25
- */
26
-
27
- /**
28
- * A catalog is a record mapping package names to semver version ranges.
29
- *
30
- * @example
31
- * ```typescript
32
- * import type { Catalog } from "@savvy-web/pnpm-plugin-silk";
33
- *
34
- * const myCatalog: Catalog = {
35
- * typescript: "^5.9.0",
36
- * vitest: "^4.0.0",
37
- * };
38
- * ```
39
- *
40
- * @public
41
- */
42
- export declare type Catalog = Record<string, string>;
43
-
44
- /**
45
- * The Silk catalogs structure containing two named catalogs for version management.
46
- *
47
- * @remarks
48
- * Use {@link silkCatalogs} to access the pre-configured catalog instance.
49
- * The `silk` catalog contains pinned current versions for direct dependencies,
50
- * while `silkPeers` contains permissive ranges suitable for peerDependencies.
51
- *
52
- * @example
53
- * ```typescript
54
- * import { silkCatalogs } from "@savvy-web/pnpm-plugin-silk";
55
- * import type { SilkCatalogs } from "@savvy-web/pnpm-plugin-silk";
56
- *
57
- * // Access the pre-configured catalogs
58
- * const typescriptVersion = silkCatalogs.silk.typescript;
59
- * const peerRange = silkCatalogs.silkPeers.typescript;
60
- * ```
61
- *
62
- * @public
63
- */
64
- export declare interface SilkCatalogs {
65
- /**
66
- * Current/latest versions for direct dependencies.
67
- * Use with `catalog:silk` in package.json.
68
- */
69
- readonly silk: Catalog;
70
- /**
71
- * Permissive ranges for peerDependencies.
72
- * Use with `catalog:silkPeers` in package.json.
73
- */
74
- readonly silkPeers: Catalog;
75
- /**
76
- * Security overrides for known CVEs.
77
- * Synced to pnpm `overrides` configuration.
78
- */
79
- readonly silkOverrides: Catalog;
80
- /**
81
- * Packages allowed to run build scripts during install.
82
- * Synced to pnpm `onlyBuiltDependencies` configuration.
83
- */
84
- readonly silkOnlyBuiltDependencies: readonly string[];
85
- /**
86
- * Packages to hoist to the virtual store root.
87
- * Synced to pnpm `publicHoistPattern` configuration.
88
- */
89
- readonly silkPublicHoistPattern: readonly string[];
90
- }
91
-
92
- /**
93
- * The complete Silk catalogs generated from pnpm-workspace.yaml.
94
- *
95
- * - `silk`: Current/latest versions for direct dependencies
96
- * - `silkPeers`: Permissive ranges for peerDependencies
97
- * - `silkOverrides`: Security overrides for known CVEs
98
- * - `silkOnlyBuiltDependencies`: Packages allowed to run build scripts
99
- * - `silkPublicHoistPattern`: Packages to hoist to virtual store root
100
- */
101
- export declare const silkCatalogs: SilkCatalogs;
102
-
103
- /**
104
- * Peer dependency rules synced from the Silk plugin workspace.
105
- *
106
- * @public
107
- */
108
- export declare interface SilkPeerDependencyRules {
109
- /**
110
- * Version ranges that suppress unmet peer dependency warnings.
111
- * Keys are "package\>peer" dependency paths.
112
- */
113
- readonly allowedVersions: Record<string, string>;
114
- /**
115
- * Package names whose missing peer dependency warnings are suppressed.
116
- */
117
- readonly ignoreMissing: readonly string[];
118
- /**
119
- * Package patterns that resolve to any version regardless of peer range.
120
- */
121
- readonly allowAny: readonly string[];
122
- }
123
-
124
- /**
125
- * Peer dependency rules generated from pnpm-workspace.yaml.
126
- */
127
- export declare const silkPeerDependencyRules: SilkPeerDependencyRules;
128
-
129
- export { }