Browse Source

chore: Update TypeScript to v5.3.3

Michael Bromley 1 năm trước cách đây
mục cha
commit
386dd4fce4

+ 1 - 1
docs/package.json

@@ -27,7 +27,7 @@
   "devDependencies": {
     "@docusaurus/module-type-aliases": "2.4.1",
     "@tsconfig/docusaurus": "^1.0.5",
-    "typescript": "5.1.6"
+    "typescript": "5.3.3"
   },
   "browserslist": {
     "production": [

+ 1 - 1
package.json

@@ -52,7 +52,7 @@
     "prettier": "^2.2.1",
     "tinybench": "^2.5.1",
     "ts-node": "^10.9.1",
-    "typescript": "5.1.6",
+    "typescript": "5.3.3",
     "unplugin-swc": "^1.3.2",
     "vitest": "^0.34.2"
   },

+ 1 - 1
packages/admin-ui-plugin/package.json

@@ -25,7 +25,7 @@
         "@vendure/core": "2.2.0-next.5",
         "express": "^4.17.1",
         "rimraf": "^3.0.2",
-        "typescript": "5.1.6"
+        "typescript": "5.3.3"
     },
     "dependencies": {
         "date-fns": "^2.30.0",

+ 2 - 2
packages/admin-ui/package.json

@@ -77,7 +77,7 @@
         "react-dom": "^18.2.0",
         "rxjs": "^7.8.1",
         "tslib": "^2.6.2",
-        "zone.js": "~0.13.1"
+        "zone.js": "~0.14.4"
     },
     "devDependencies": {
         "@angular-devkit/build-angular": "^16.2.0",
@@ -113,6 +113,6 @@
         "ng-packagr": "16.2.1",
         "puppeteer": "^19.8.3",
         "rimraf": "^3.0.2",
-        "typescript": "5.1.6"
+        "typescript": "5.3.3"
     }
 }

+ 1 - 1
packages/asset-server-plugin/package.json

@@ -32,7 +32,7 @@
         "express": "^4.17.1",
         "node-fetch": "^2.6.7",
         "rimraf": "^3.0.2",
-        "typescript": "5.1.6"
+        "typescript": "5.3.3"
     },
     "dependencies": {
         "file-type": "^16.5.3",

+ 1 - 1
packages/cli/package.json

@@ -43,6 +43,6 @@
         "ts-morph": "^21.0.1"
     },
     "devDependencies": {
-        "typescript": "5.1.6"
+        "typescript": "5.3.3"
     }
 }

+ 1 - 1
packages/common/package.json

@@ -20,6 +20,6 @@
     ],
     "devDependencies": {
         "rimraf": "^3.0.2",
-        "typescript": "5.1.6"
+        "typescript": "5.3.3"
     }
 }

+ 1 - 1
packages/core/package.json

@@ -101,6 +101,6 @@
         "rimraf": "^3.0.2",
         "sql.js": "1.8.0",
         "sqlite3": "^5.1.4",
-        "typescript": "5.1.6"
+        "typescript": "5.3.3"
     }
 }

+ 1 - 1
packages/create/package.json

@@ -31,7 +31,7 @@
         "@vendure/core": "2.2.0-next.5",
         "rimraf": "^3.0.2",
         "ts-node": "^10.9.1",
-        "typescript": "5.1.6"
+        "typescript": "5.3.3"
     },
     "dependencies": {
         "@clack/prompts": "^0.7.0",

+ 1 - 1
packages/create/src/constants.ts

@@ -4,4 +4,4 @@ export const SERVER_PORT = 3000;
  * The TypeScript version needs to pinned because minor versions often
  * introduce breaking changes.
  */
-export const TYPESCRIPT_VERSION = '5.1.6';
+export const TYPESCRIPT_VERSION = '5.3.3';

+ 1 - 1
packages/dev-server/package.json

@@ -21,7 +21,7 @@
         "@vendure/core": "2.2.0-next.5",
         "@vendure/elasticsearch-plugin": "2.2.0-next.5",
         "@vendure/email-plugin": "2.2.0-next.5",
-        "typescript": "5.1.6"
+        "typescript": "5.3.3"
     },
     "devDependencies": {
         "@types/csv-stringify": "^3.1.0",

+ 1 - 1
packages/elasticsearch-plugin/package.json

@@ -29,6 +29,6 @@
         "@vendure/common": "2.2.0-next.5",
         "@vendure/core": "2.2.0-next.5",
         "rimraf": "^3.0.2",
-        "typescript": "5.1.6"
+        "typescript": "5.3.3"
     }
 }

+ 1 - 1
packages/email-plugin/package.json

@@ -38,6 +38,6 @@
         "@vendure/common": "2.2.0-next.5",
         "@vendure/core": "2.2.0-next.5",
         "rimraf": "^3.0.2",
-        "typescript": "5.1.6"
+        "typescript": "5.3.3"
     }
 }

+ 1 - 1
packages/job-queue-plugin/package.json

@@ -28,6 +28,6 @@
         "bullmq": "^5.1.7",
         "ioredis": "^5.3.2",
         "rimraf": "^3.0.2",
-        "typescript": "5.1.6"
+        "typescript": "5.3.3"
     }
 }

+ 1 - 1
packages/payments-plugin/package.json

@@ -54,6 +54,6 @@
         "nock": "^13.1.4",
         "rimraf": "^3.0.2",
         "stripe": "^13.3.0",
-        "typescript": "5.1.6"
+        "typescript": "5.3.3"
     }
 }

+ 1 - 1
packages/testing/package.json

@@ -53,6 +53,6 @@
         "mysql": "^2.18.1",
         "pg": "^8.4.0",
         "rimraf": "^3.0.0",
-        "typescript": "5.1.6"
+        "typescript": "5.3.3"
     }
 }

+ 1 - 1
packages/ui-devkit/package.json

@@ -59,6 +59,6 @@
         "rollup-plugin-terser": "^7.0.2",
         "rollup-plugin-typescript2": "^0.35.0",
         "tslib": "^2.6.2",
-        "typescript": "5.1.6"
+        "typescript": "5.3.3"
     }
 }

+ 5 - 10
yarn.lock

@@ -19067,12 +19067,7 @@ typeorm@0.3.20:
     uuid "^9.0.0"
     yargs "^17.6.2"
 
-typescript@5.1.6:
-  version "5.1.6"
-  resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.1.6.tgz#02f8ac202b6dad2c0dd5e0913745b47a37998274"
-  integrity sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==
-
-"typescript@>=3 < 6":
+typescript@5.3.3, "typescript@>=3 < 6":
   version "5.3.3"
   resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.3.3.tgz#b3ce6ba258e72e6305ba66f5c9b452aaee3ffe37"
   integrity sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==
@@ -20254,9 +20249,9 @@ zen-observable@0.8.15:
   resolved "https://registry.yarnpkg.com/zen-observable/-/zen-observable-0.8.15.tgz#96415c512d8e3ffd920afd3889604e30b9eaac15"
   integrity sha512-PQ2PC7R9rslx84ndNBZB/Dkv8V8fZEpk83RLgXtYd0fwUgEjseMn1Dgajh2x6S8QbZAFa9p2qVCEuYZNgve0dQ==
 
-zone.js@~0.13.1:
-  version "0.13.3"
-  resolved "https://registry.yarnpkg.com/zone.js/-/zone.js-0.13.3.tgz#344c24098fa047eda6427a4c7ed486e391fd67b5"
-  integrity sha512-MKPbmZie6fASC/ps4dkmIhaT5eonHkEt6eAy80K42tAm0G2W+AahLJjbfi6X9NPdciOE9GRFTTM8u2IiF6O3ww==
+zone.js@~0.14.4:
+  version "0.14.4"
+  resolved "https://registry.yarnpkg.com/zone.js/-/zone.js-0.14.4.tgz#e0168fe450e3e4313c8efdb4a0ae4b557ac0fdd8"
+  integrity sha512-NtTUvIlNELez7Q1DzKVIFZBzNb646boQMgpATo9z3Ftuu/gWvzxCW7jdjcUDoRGxRikrhVHB/zLXh1hxeJawvw==
   dependencies:
     tslib "^2.3.0"