fix(tests): update package names in version tests to reflect correct dependencies

This commit is contained in:
Florian Körner
2026-03-01 22:00:45 +01:00
committed by Florian Körner
parent 82be02af84
commit 8c15115fd8
7 changed files with 407 additions and 2096 deletions
+1 -1
View File
@@ -1 +1 @@
latest
next
+3
View File
@@ -13,3 +13,6 @@ trim_trailing_whitespace = false
[*.yml]
indent_size = 2
tab_width = 2
[.dist-tag]
insert_final_newline = false
+1 -1
View File
@@ -1,4 +1,4 @@
package.json
LICENSE
.github
tests
tests
+1 -1
View File
@@ -11,7 +11,7 @@
},
"dependencies": {
"@ark-ui/vue": "^5.31.0",
"@dicebear/collection": "*",
"@dicebear/collection": "^9.3.2",
"@dicebear/core": "*",
"@fontsource-variable/figtree": "^5.2.10",
"@types/canvas-confetti": "^1.9.0",
+1 -1
View File
@@ -14,7 +14,7 @@
"lint": "eslint . --fix"
},
"dependencies": {
"@dicebear/collection": "*",
"@dicebear/collection": "^9.3.2",
"@dicebear/core": "*",
"@primeuix/themes": "^2.0.3",
"@vueuse/core": "^14.2.0",
+397 -2089
View File
File diff suppressed because it is too large Load Diff
+3 -3
View File
@@ -32,7 +32,7 @@ test("updatePackageJson sets version to new value", () => {
test("updatePackageJson updates internal dependencies", () => {
const raw = JSON.stringify({
name: "@dicebear/collection",
name: "@dicebear/converter",
version: "1.0.0",
dependencies: { "@dicebear/core": "1.0.0", "external-lib": "^3.0.0" },
}, null, " ") + "\n";
@@ -44,7 +44,7 @@ test("updatePackageJson updates internal dependencies", () => {
test("updatePackageJson updates internal devDependencies", () => {
const raw = JSON.stringify({
name: "@dicebear/collection",
name: "@dicebear/core",
version: "1.0.0",
devDependencies: { "@dicebear/core": "1.0.0" },
}, null, " ") + "\n";
@@ -68,7 +68,7 @@ test("updatePackageJson leaves wildcard dependencies unchanged", () => {
test("updatePackageJson leaves peerDependencies ranges untouched", () => {
const raw = JSON.stringify({
name: "@dicebear/avataaars",
name: "@dicebear/converter",
version: "1.0.0",
peerDependencies: { "@dicebear/core": ">=1.0.0" },
}, null, " ") + "\n";