Skip to content

Commit

Permalink
feat(core): Update TypeScript version to v5.1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbromley committed Feb 26, 2024
1 parent ddf8a15 commit 2f51929
Show file tree
Hide file tree
Showing 20 changed files with 36 additions and 57 deletions.
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"devDependencies": {
"@docusaurus/module-type-aliases": "2.4.1",
"@tsconfig/docusaurus": "^1.0.5",
"typescript": "^4.7.4"
"typescript": "5.1.6"
},
"browserslist": {
"production": [
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"prettier": "^2.2.1",
"tinybench": "^2.5.1",
"ts-node": "^10.9.1",
"typescript": "4.9.5",
"typescript": "5.1.6",
"unplugin-swc": "^1.3.2",
"vitest": "^0.34.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/admin-ui-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@vendure/core": "2.2.0-next.3",
"express": "^4.17.1",
"rimraf": "^3.0.2",
"typescript": "4.9.5"
"typescript": "5.1.6"
},
"dependencies": {
"date-fns": "^2.30.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/admin-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,6 @@
"ng-packagr": "16.2.1",
"puppeteer": "^19.8.3",
"rimraf": "^3.0.2",
"typescript": "4.9.5"
"typescript": "5.1.6"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export class DataTableComponent<T> implements AfterContentInit, OnChanges, OnIni
/** @deprecated pass a SelectionManager instance instead */
@Input() allSelected: boolean;
/** @deprecated pass a SelectionManager instance instead */
@Input() isRowSelectedFn: (item: T) => boolean;
@Input() isRowSelectedFn: ((item: T) => boolean) | undefined;
/** @deprecated pass a SelectionManager instance instead */
@Output() allSelectChange = new EventEmitter<void>();
/** @deprecated pass a SelectionManager instance instead */
Expand Down
2 changes: 2 additions & 0 deletions packages/admin-ui/src/lib/react/src/public_api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@ export * from './react-components/FormField';
export * from './react-components/Link';
export * from './react-components/PageBlock';
export * from './react-components/PageDetailLayout';
export * from './react-components/RichTextEditor';
export * from './react-hooks/use-detail-component-data';
export * from './react-hooks/use-form-control';
export * from './react-hooks/use-injector';
export * from './react-hooks/use-page-metadata';
export * from './react-hooks/use-query';
export * from './react-hooks/use-rich-text-editor';
export * from './react-hooks/use-route-params';
export * from './register-react-custom-detail-component';
export * from './register-react-data-table-component';
Expand Down
2 changes: 1 addition & 1 deletion packages/asset-server-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"express": "^4.17.1",
"node-fetch": "^2.6.7",
"rimraf": "^3.0.2",
"typescript": "4.9.5"
"typescript": "5.1.6"
},
"dependencies": {
"file-type": "^16.5.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@
"ts-morph": "^21.0.1"
},
"devDependencies": {
"typescript": "4.9.5"
"typescript": "5.1.6"
}
}
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
],
"devDependencies": {
"rimraf": "^3.0.2",
"typescript": "4.9.5"
"typescript": "5.1.6"
}
}
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,6 @@
"rimraf": "^3.0.2",
"sql.js": "1.8.0",
"sqlite3": "^5.1.4",
"typescript": "4.9.5"
"typescript": "5.1.6"
}
}
2 changes: 1 addition & 1 deletion packages/create/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@vendure/core": "2.2.0-next.3",
"rimraf": "^3.0.2",
"ts-node": "^10.9.1",
"typescript": "4.9.5"
"typescript": "5.1.6"
},
"dependencies": {
"@clack/prompts": "^0.7.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/create/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '4.9.5';
export const TYPESCRIPT_VERSION = '5.1.6';
2 changes: 1 addition & 1 deletion packages/dev-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@vendure/core": "2.2.0-next.3",
"@vendure/elasticsearch-plugin": "2.2.0-next.3",
"@vendure/email-plugin": "2.2.0-next.3",
"typescript": "4.9.5"
"typescript": "5.1.6"
},
"devDependencies": {
"@types/csv-stringify": "^3.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/elasticsearch-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
"@vendure/common": "2.2.0-next.3",
"@vendure/core": "2.2.0-next.3",
"rimraf": "^3.0.2",
"typescript": "4.9.5"
"typescript": "5.1.6"
}
}
2 changes: 1 addition & 1 deletion packages/email-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@
"@vendure/common": "2.2.0-next.3",
"@vendure/core": "2.2.0-next.3",
"rimraf": "^3.0.2",
"typescript": "4.9.5"
"typescript": "5.1.6"
}
}
2 changes: 1 addition & 1 deletion packages/job-queue-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
"bullmq": "^5.1.7",
"ioredis": "^5.3.2",
"rimraf": "^3.0.2",
"typescript": "4.9.5"
"typescript": "5.1.6"
}
}
2 changes: 1 addition & 1 deletion packages/payments-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@
"nock": "^13.1.4",
"rimraf": "^3.0.2",
"stripe": "^13.3.0",
"typescript": "4.9.5"
"typescript": "5.1.6"
}
}
2 changes: 1 addition & 1 deletion packages/testing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@
"mysql": "^2.18.1",
"pg": "^8.4.0",
"rimraf": "^3.0.0",
"typescript": "4.9.5"
"typescript": "5.1.6"
}
}
2 changes: 1 addition & 1 deletion packages/ui-devkit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.35.0",
"tslib": "^2.6.2",
"typescript": "4.9.5"
"typescript": "5.1.6"
}
}
55 changes: 16 additions & 39 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11750,19 +11750,12 @@ ieee754@^1.1.13, ieee754@^1.1.4, ieee754@^1.2.1:
resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352"
integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==

ignore-walk@^5.0.1:
version "5.0.1"
resolved "https://registry.yarnpkg.com/ignore-walk/-/ignore-walk-5.0.1.tgz#5f199e23e1288f518d90358d461387788a154776"
integrity sha512-yemi4pMf51WKT7khInJqAvsIGzoqYXblnsz0ql8tM+yi1EKYTY1evX4NAbJrLL/Aanr2HyZeluqU+Oi7MGHokw==
dependencies:
minimatch "^5.0.1"

ignore-walk@^6.0.0, ignore-walk@^6.0.4:
version "6.0.4"
resolved "https://registry.yarnpkg.com/ignore-walk/-/ignore-walk-6.0.4.tgz#89950be94b4f522225eb63a13c56badb639190e9"
integrity sha512-t7sv42WkwFkyKbivUCglsQW5YWMskWtbEf4MNKX5u/CCWHKSPzN4FtBQGsQZgCLbxOzpVlcbWVK5KB3auIOjSw==
ignore-walk@^3.0.1:
version "3.0.4"
resolved "https://registry.yarnpkg.com/ignore-walk/-/ignore-walk-3.0.4.tgz#c9a09f69b7c7b479a5d74ac1a3c0d4236d2a6335"
integrity sha512-PY6Ii8o1jMRA1z4F2hRkH/xN59ox43DavKvD3oDpfurRlOJyAHpifIwpbdv1n4jt4ov0jSpw3kQ4GhJnpBL6WQ==
dependencies:
minimatch "^9.0.0"
minimatch "^3.0.4"

[email protected]:
version "5.2.4"
Expand Down Expand Up @@ -14951,7 +14944,7 @@ now-and-later@^2.0.0:
dependencies:
once "^1.3.2"

npm-bundled@^1.1.2:
npm-bundled@^1.0.1:
version "1.1.2"
resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-1.1.2.tgz#944c78789bd739035b70baa2ca5cc32b8d860bc1"
integrity sha512-x5DHup0SuyQcmL3s7Rx/YQ8sbw/Hzg0rj48eN0dV7hf5cmQq5PXIeioroH3raV1QC1yh3uTYuMThvEQF3iKgGQ==
Expand Down Expand Up @@ -15011,29 +15004,13 @@ npm-package-arg@^11.0.0:
semver "^7.3.5"
validate-npm-package-name "^5.0.0"

[email protected]:
version "5.1.1"
resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-5.1.1.tgz#79bcaf22a26b6c30aa4dd66b976d69cc286800e0"
integrity sha512-UfpSvQ5YKwctmodvPPkK6Fwk603aoVsf8AEbmVKAEECrfvL8SSe1A2YIwrJ6xmTHAITKPwwZsWo7WwEbNk0kxw==
dependencies:
glob "^8.0.1"
ignore-walk "^5.0.1"
npm-bundled "^1.1.2"
npm-normalize-package-bin "^1.0.1"

npm-packlist@^7.0.0:
version "7.0.4"
resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-7.0.4.tgz#033bf74110eb74daf2910dc75144411999c5ff32"
integrity sha512-d6RGEuRrNS5/N84iglPivjaJPxhDbZmlbTwTDX2IbcRHG5bZCdtysYMhwiPvcF4GisXHGn7xsxv+GQ7T/02M5Q==
dependencies:
ignore-walk "^6.0.0"

npm-packlist@^8.0.0:
version "8.0.2"
resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-8.0.2.tgz#5b8d1d906d96d21c85ebbeed2cf54147477c8478"
integrity sha512-shYrPFIS/JLP4oQmAwDyk5HcyysKW8/JLTEA32S0Z5TzvpaeeX2yMFfoK1fjEBnCBvVyIB/Jj/GBFdm0wsgzbA==
[email protected], [email protected], npm-packlist@^7.0.0, npm-packlist@^8.0.0:
version "1.1.12"
resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-1.1.12.tgz#22bde2ebc12e72ca482abd67afc51eb49377243a"
integrity sha512-WJKFOVMeAlsU/pjXuqVdzU0WfgtIBCupkEVwn+1Y0ERAbUfWw8R4GjgVbaKnUjRoD2FoQbHOCbOyT5Mbs9Lw4g==
dependencies:
ignore-walk "^6.0.4"
ignore-walk "^3.0.1"
npm-bundled "^1.0.1"

[email protected]:
version "8.0.1"
Expand Down Expand Up @@ -19082,10 +19059,10 @@ [email protected]:
xml2js "^0.4.23"
yargs "^17.3.1"

typescript@4.9.5:
version "4.9.5"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a"
integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==
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":
version "5.3.3"
Expand Down

0 comments on commit 2f51929

Please sign in to comment.