Skip to content

Commit 217857b

Browse files
committed
fix: use named catalogs instead of default catalog
Move @unocss/core and @unocss/preset-uno into the docs catalog, and twoslash-protocol into the integrations catalog. Removes the default catalog: block that was causing lockfile resolution changes breaking the docs build.
1 parent 0e9bba6 commit 217857b

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

packages/twoslash-unocss/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@
4141
"@unocss/core": ">=0.58.0"
4242
},
4343
"dependencies": {
44-
"twoslash-protocol": "catalog:"
44+
"twoslash-protocol": "catalog:integrations"
4545
},
4646
"devDependencies": {
47-
"@unocss/core": "catalog:",
48-
"@unocss/preset-uno": "catalog:"
47+
"@unocss/core": "catalog:docs",
48+
"@unocss/preset-uno": "catalog:docs"
4949
}
5050
}

pnpm-workspace.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ packages:
88
- examples/*
99
- docs
1010

11-
catalog:
12-
'@unocss/core': ^66.6.0
13-
'@unocss/preset-uno': ^66.6.0
14-
twoslash-protocol: ^0.3.6
1511
catalogs:
1612
bundling:
1713
'@rollup/plugin-alias': ^6.0.0
@@ -50,6 +46,8 @@ catalogs:
5046
vue-tsc: ^3.2.5
5147
wrangler: ^4.68.1
5248
docs:
49+
'@unocss/core': ^66.6.0
50+
'@unocss/preset-uno': ^66.6.0
5351
'@unocss/reset': ^66.6.0
5452
'@vueuse/core': ^14.2.1
5553
floating-vue: ^5.2.2
@@ -89,6 +87,7 @@ catalogs:
8987
remark-parse: ^11.0.0
9088
remark-rehype: ^11.1.2
9189
twoslash: ^0.3.6
90+
twoslash-protocol: ^0.3.6
9291
twoslash-vue: ^0.3.6
9392
unified: ^11.0.5
9493
unist-util-visit: ^5.1.0

0 commit comments

Comments
 (0)