Skip to content

The complete open source platform to run your entire marketplace. Storefront, vendor panel, admin console, and integrations in one enterprise-grade platform you own.

chore(deps): roll back typescript to 5.9.3 (#1219)

Viktor Holik03501e5ba553
diff --git a/apps/admin-test/package.json b/apps/admin-test/package.json
index f7f1257ec..6d7514c6a 100644
--- a/apps/admin-test/package.json
+++ b/apps/admin-test/package.json
@@ -43,7 +43,7 @@
"prettier": "^3.7.4",
"ts-node": "^10.9.2",
"turbo": "^2.7.4",
- "typescript": "7.0.2",
+ "typescript": "5.9.3",
"@types/node": "^26.1.0"
}
}
\ No newline at end of file
diff --git a/apps/vendor/package.json b/apps/vendor/package.json
index ae320797b..e6e9d09de 100644
--- a/apps/vendor/package.json
+++ b/apps/vendor/package.json
@@ -44,7 +44,7 @@
"prettier": "^3.7.4",
"ts-node": "^10.9.2",
"turbo": "^2.7.4",
- "typescript": "7.0.2",
+ "typescript": "5.9.3",
"@types/node": "^26.1.0",
"@mercurjs/types": "workspace:*"
}
diff --git a/bun.lock b/bun.lock
index 41c4ea02f..37fc81140 100644
--- a/bun.lock
+++ b/bun.lock
@@ -15,7 +15,7 @@
"pg-god": "^1.0.12",
"prettier": "^3.7.4",
"turbo": "^2.7.4",
- "typescript": "7.0.2",
+ "typescript": "5.9.3",
"typescript-eslint": "^8.53.0",
},
},
@@ -56,7 +56,7 @@
"prettier": "^3.7.4",
"ts-node": "^10.9.2",
"turbo": "^2.7.4",
- "typescript": "7.0.2",
+ "typescript": "5.9.3",
"typescript-eslint": "^8.46.4",
"vite": "^8.1.3",
},
@@ -127,7 +127,7 @@
"prettier": "^3.7.4",
"ts-node": "^10.9.2",
"turbo": "^2.7.4",
- "typescript": "7.0.2",
+ "typescript": "5.9.3",
"typescript-eslint": "^8.46.4",
"vite": "^8.1.3",
},
@@ -213,7 +213,7 @@
"postcss": "^8.4.49",
"tailwindcss": "^4.3.2",
"tsup": "^8.0.2",
- "typescript": "7.0.2",
+ "typescript": "5.9.3",
},
"peerDependencies": {
"react": "^18.0.0",
@@ -253,7 +253,7 @@
"@types/fs-extra": "^11.0.4",
"@types/prompts": "^2.4.9",
"tsup": "^8.5.0",
- "typescript": "7.0.2",
+ "typescript": "5.9.3",
},
},
"packages/client": {
@@ -267,7 +267,7 @@
"@medusajs/framework": "2.17.2",
"@types/qs": "^6.9.18",
"tsup": "^8.5.0",
- "typescript": "7.0.2",
+ "typescript": "5.9.3",
},
"peerDependencies": {
"typescript": ">=4.8.0",
@@ -308,7 +308,7 @@
"react-dom": "^18.2.0",
"ts-node": "^10.9.2",
"tsx": "^4.19.2",
- "typescript": "7.0.2",
+ "typescript": "5.9.3",
"yalc": "^1.0.0-pre.53",
"zod": "4.4.3",
},
@@ -351,7 +351,7 @@
"@types/validate-npm-package-name": "^4.0.2",
"@types/wait-on": "^5.3.4",
"tsup": "^8.5.0",
- "typescript": "7.0.2",
+ "typescript": "5.9.3",
},
},
"packages/dashboard-sdk": {
@@ -367,7 +367,7 @@
"@types/node": "^26.1.0",
"@types/react": "^19.2.17",
"tsup": "^8.0.2",
- "typescript": "7.0.2",
+ "typescript": "5.9.3",
"vite": "^8.1.3",
},
},
@@ -422,7 +422,7 @@
"@types/react": "^19.2.17",
"@types/react-dom": "^18.2.22",
"tsup": "^8.0.2",
- "typescript": "7.0.2",
+ "typescript": "5.9.3",
},
},
"packages/docs": {
@@ -494,7 +494,7 @@
"@medusajs/types": "2.17.2",
},
"devDependencies": {
- "typescript": "7.0.2",
+ "typescript": "5.9.3",
},
},
"packages/vendor": {
@@ -553,7 +553,7 @@
"postcss": "^8.4.49",
"tailwindcss": "^4.3.2",
"tsup": "^8.0.2",
- "typescript": "7.0.2",
+ "typescript": "5.9.3",
},
"peerDependencies": {
"react": "^18.0.0",
@@ -3347,7 +3347,7 @@
"typedarray-to-buffer": ["[email protected]", "", { "dependencies": { "is-typedarray": "^1.0.0" } }, "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q=="],
- "typescript": ["[email protected]", "", { "optionalDependencies": { "@typescript/typescript-aix-ppc64": "7.0.2", "@typescript/typescript-darwin-arm64": "7.0.2", "@typescript/typescript-darwin-x64": "7.0.2", "@typescript/typescript-freebsd-arm64": "7.0.2", "@typescript/typescript-freebsd-x64": "7.0.2", "@typescript/typescript-linux-arm": "7.0.2", "@typescript/typescript-linux-arm64": "7.0.2", "@typescript/typescript-linux-loong64": "7.0.2", "@typescript/typescript-linux-mips64el": "7.0.2", "@typescript/typescript-linux-ppc64": "7.0.2", "@typescript/typescript-linux-riscv64": "7.0.2", "@typescript/typescript-linux-s390x": "7.0.2", "@typescript/typescript-linux-x64": "7.0.2", "@typescript/typescript-netbsd-arm64": "7.0.2", "@typescript/typescript-netbsd-x64": "7.0.2", "@typescript/typescript-openbsd-arm64": "7.0.2", "@typescript/typescript-openbsd-x64": "7.0.2", "@typescript/typescript-sunos-x64": "7.0.2", "@typescript/typescript-win32-arm64": "7.0.2", "@typescript/typescript-win32-x64": "7.0.2" }, "bin": { "tsc": "bin/tsc" } }, "sha512-8FYau96o3NKOhbjKi/qNvG/W5jhzxkbdm5sj9AbZ/5T5sWqn3hJgLfGx27sRKZWTvyzCP8dLRBTf5tBTSRVUNA=="],
+ "typescript": ["[email protected]", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw=="],
"typescript-eslint": ["[email protected]", "", { "dependencies": { "@typescript-eslint/eslint-plugin": "8.60.0", "@typescript-eslint/parser": "8.60.0", "@typescript-eslint/typescript-estree": "8.60.0", "@typescript-eslint/utils": "8.60.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "sha512-9f65qWLZdAW9m1JaxBDUHcqRUfL8bkxxXL7XxEfI+F09q56PkBvIfCjLF3yInsDM/BBmwkqmCQdCZe/RYlIWEw=="],
@@ -3775,6 +3775,8 @@
"@mercurjs/dashboard-shared/react-jwt": ["[email protected]", "", { "optionalDependencies": { "fsevents": "^2.3.2" }, "peerDependencies": { "react": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }, "sha512-aC+X6q8pi63zoO7A060/4mfF5jM6Ay+4YyY4QgdD8dDOqp89sPcg0IhWEHyPACnVETMjBWzmxMPgIPosQNeYyw=="],
+ "@mercurjs/integration-tests/typescript": ["[email protected]", "", { "optionalDependencies": { "@typescript/typescript-aix-ppc64": "7.0.2", "@typescript/typescript-darwin-arm64": "7.0.2", "@typescript/typescript-darwin-x64": "7.0.2", "@typescript/typescript-freebsd-arm64": "7.0.2", "@typescript/typescript-freebsd-x64": "7.0.2", "@typescript/typescript-linux-arm": "7.0.2", "@typescript/typescript-linux-arm64": "7.0.2", "@typescript/typescript-linux-loong64": "7.0.2", "@typescript/typescript-linux-mips64el": "7.0.2", "@typescript/typescript-linux-ppc64": "7.0.2", "@typescript/typescript-linux-riscv64": "7.0.2", "@typescript/typescript-linux-s390x": "7.0.2", "@typescript/typescript-linux-x64": "7.0.2", "@typescript/typescript-netbsd-arm64": "7.0.2", "@typescript/typescript-netbsd-x64": "7.0.2", "@typescript/typescript-openbsd-arm64": "7.0.2", "@typescript/typescript-openbsd-x64": "7.0.2", "@typescript/typescript-sunos-x64": "7.0.2", "@typescript/typescript-win32-arm64": "7.0.2", "@typescript/typescript-win32-x64": "7.0.2" }, "bin": { "tsc": "bin/tsc" } }, "sha512-8FYau96o3NKOhbjKi/qNvG/W5jhzxkbdm5sj9AbZ/5T5sWqn3hJgLfGx27sRKZWTvyzCP8dLRBTf5tBTSRVUNA=="],
+
"@mercurjs/registry/react-jwt": ["[email protected]", "", { "optionalDependencies": { "fsevents": "^2.3.3" }, "peerDependencies": { "react": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }, "sha512-3TL+KTT51VLHNzXzM89UpKALtgnJrS5+jfo1p48CU1IpPwf62F/P1U+VKZTuQs+kCirPduT9TacrV5lvXqIH5Q=="],
"@mercurjs/vendor/react-jwt": ["[email protected]", "", { "optionalDependencies": { "fsevents": "^2.3.2" }, "peerDependencies": { "react": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }, "sha512-aC+X6q8pi63zoO7A060/4mfF5jM6Ay+4YyY4QgdD8dDOqp89sPcg0IhWEHyPACnVETMjBWzmxMPgIPosQNeYyw=="],
diff --git a/package.json b/package.json
index ddace786f..c9bc10bbf 100644
--- a/package.json
+++ b/package.json
@@ -18,7 +18,7 @@
"pg-god": "^1.0.12",
"prettier": "^3.7.4",
"turbo": "^2.7.4",
- "typescript": "7.0.2",
+ "typescript": "5.9.3",
"typescript-eslint": "^8.53.0"
},
"engines": {
diff --git a/packages/admin/package.json b/packages/admin/package.json
index 31eb865b5..cdf1fa295 100644
--- a/packages/admin/package.json
+++ b/packages/admin/package.json
@@ -86,7 +86,7 @@
"postcss": "^8.4.49",
"tailwindcss": "^4.3.2",
"tsup": "^8.0.2",
- "typescript": "7.0.2",
+ "typescript": "5.9.3",
"@medusajs/types": "2.17.2",
"@mercurjs/core": "2.2.0-canary.52",
"@mercurjs/dashboard-sdk": "2.2.0-canary.52",
diff --git a/packages/cli/package.json b/packages/cli/package.json
index 2aca595e6..92c5db1c8 100644
--- a/packages/cli/package.json
+++ b/packages/cli/package.json
@@ -64,6 +64,6 @@
"@types/fs-extra": "^11.0.4",
"@types/prompts": "^2.4.9",
"tsup": "^8.5.0",
- "typescript": "7.0.2"
+ "typescript": "5.9.3"
}
}
diff --git a/packages/client/package.json b/packages/client/package.json
index 146f08a6d..b70f39582 100644
--- a/packages/client/package.json
+++ b/packages/client/package.json
@@ -42,7 +42,7 @@
"@medusajs/framework": "2.17.2",
"@types/qs": "^6.9.18",
"tsup": "^8.5.0",
- "typescript": "7.0.2"
+ "typescript": "5.9.3"
},
"peerDependencies": {
"typescript": ">=4.8.0"
diff --git a/packages/core/package.json b/packages/core/package.json
index 77d333e26..d37010455 100644
--- a/packages/core/package.json
+++ b/packages/core/package.json
@@ -73,7 +73,7 @@
"react-dom": "^18.2.0",
"ts-node": "^10.9.2",
"tsx": "^4.19.2",
- "typescript": "7.0.2",
+ "typescript": "5.9.3",
"yalc": "^1.0.0-pre.53",
"@medusajs/types": "2.17.2",
"zod": "4.4.3",
diff --git a/packages/create-mercur-app/package.json b/packages/create-mercur-app/package.json
index 6cff28d9d..4e34742e9 100644
--- a/packages/create-mercur-app/package.json
+++ b/packages/create-mercur-app/package.json
@@ -60,7 +60,7 @@
"@types/validate-npm-package-name": "^4.0.2",
"@types/wait-on": "^5.3.4",
"tsup": "^8.5.0",
- "typescript": "7.0.2"
+ "typescript": "5.9.3"
},
"engines": {
"node": ">=20"
diff --git a/packages/dashboard-sdk/package.json b/packages/dashboard-sdk/package.json
index d5a2419f2..aea6f83dd 100644
--- a/packages/dashboard-sdk/package.json
+++ b/packages/dashboard-sdk/package.json
@@ -42,7 +42,7 @@
"devDependencies": {
"@types/node": "^26.1.0",
"tsup": "^8.0.2",
- "typescript": "7.0.2",
+ "typescript": "5.9.3",
"vite": "^8.1.3",
"@types/react": "^19.2.17"
}
diff --git a/packages/dashboard-shared/package.json b/packages/dashboard-shared/package.json
index bbbc7e787..0f8b86b74 100644
--- a/packages/dashboard-shared/package.json
+++ b/packages/dashboard-shared/package.json
@@ -67,7 +67,7 @@
"@mercurjs/core": "2.2.0-canary.52",
"@mercurjs/dashboard-sdk": "2.2.0-canary.52",
"tsup": "^8.0.2",
- "typescript": "7.0.2",
+ "typescript": "5.9.3",
"@types/lodash.debounce": "^4.0.8",
"@types/react": "^19.2.17",
"@types/react-dom": "^18.2.22"
diff --git a/packages/types/package.json b/packages/types/package.json
index d99cae94b..53e6dca28 100644
--- a/packages/types/package.json
+++ b/packages/types/package.json
@@ -39,7 +39,7 @@
"@medusajs/types": "2.17.2"
},
"devDependencies": {
- "typescript": "7.0.2"
+ "typescript": "5.9.3"
},
"engines": {
"node": ">=20"
diff --git a/packages/vendor/package.json b/packages/vendor/package.json
index 97cca1d6e..f705a9d37 100644
--- a/packages/vendor/package.json
+++ b/packages/vendor/package.json
@@ -86,7 +86,7 @@
"postcss": "^8.4.49",
"tailwindcss": "^4.3.2",
"tsup": "^8.0.2",
- "typescript": "7.0.2",
+ "typescript": "5.9.3",
"@medusajs/types": "2.17.2",
"@mercurjs/core": "2.2.0-canary.52",
"@mercurjs/dashboard-sdk": "2.2.0-canary.52",