fix(tests): update package names in version tests to reflect correct dependencies
This commit is contained in:
committed by
Florian Körner
parent
82be02af84
commit
8c15115fd8
@@ -13,3 +13,6 @@ trim_trailing_whitespace = false
|
||||
[*.yml]
|
||||
indent_size = 2
|
||||
tab_width = 2
|
||||
|
||||
[.dist-tag]
|
||||
insert_final_newline = false
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package.json
|
||||
LICENSE
|
||||
.github
|
||||
tests
|
||||
tests
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
Generated
+397
-2089
File diff suppressed because it is too large
Load Diff
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user