Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump tslib and typescript versions #4524

Merged
merged 3 commits into from
Oct 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions docs/scripts/util/getAllTypesData.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import fs from 'fs';
import path from 'path';
import { Project, PropertySignature, TypeAliasDeclaration } from 'ts-morph';
import { Project, PropertySignature, TypeAliasDeclaration, ts } from 'ts-morph';
import { capitalizeString } from '../../src/utils/capitalizeString';
import {
AllTypeFileData,
Expand Down Expand Up @@ -108,7 +108,8 @@ function setTypeData(
const typeName = typeProp.getNameNode().getText();
const typeType = typeProp.getTypeNode().getText();
const isOptional =
typeProp.getChildrenOfKind(SyntaxKind.QuestionToken)[0]?.getText() === '?';
typeProp.getChildrenOfKind(ts.SyntaxKind.QuestionToken)[0]?.getText() ===
'?';

typeData.set('name', typeName);
typeData.set('type', typeType);
Expand Down
2 changes: 1 addition & 1 deletion examples/react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"react-native-dotenv": "^3.4.0",
"react-native-launch-arguments": "^3.1.4",
"react-test-renderer": "^17.0.2",
"typescript": "^4.6.3"
"typescript": "^5.0.2"
},
"resolutions": {
"@types/react": "^17",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
"prettier": "2.4.1",
"rimraf": "^3.0.2",
"turbo": "^1.2.8",
"typescript": "^4.6.3",
"typescript": "^5.0.2",
"wait-on": "^6.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/react-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"@xstate/react": "3.0.1",
"classnames": "2.3.1",
"lodash": "4.17.21",
"tslib": "2.4.1"
"tslib": "2.6.2"
},
"peerDependencies": {
"aws-amplify": "console-preview",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-core-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"rollup": "^2.70.0",
"rollup-plugin-node-externals": "^4.1.1",
"ts-jest": "^27.1.3",
"typescript": "^4.3.2"
"typescript": "^5.0.2"
},
"sideEffects": false
}
2 changes: 1 addition & 1 deletion packages/react-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"rollup": "^2.70.0",
"rollup-plugin-node-externals": "^4.1.1",
"ts-jest": "^27.1.3",
"typescript": "^4.3.2"
"typescript": "^5.0.2"
},
"sideEffects": false
}
2 changes: 1 addition & 1 deletion packages/react-geo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"maplibre-gl": "2.1.9",
"maplibre-gl-js-amplify": "3.0.0-geo.1",
"react-map-gl": "7.0.23",
"tslib": "2.4.1"
"tslib": "2.6.2"
},
"peerDependencies": {
"@aws-amplify/geo": "next",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-liveness/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"@xstate/react": "3.0.1",
"classnames": "2.3.1",
"nanoid": "3.1.31",
"tslib": "2.4.1",
"tslib": "2.6.2",
"xstate": "^4.33.6"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/react-storage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"@aws-amplify/ui-react-core": "2.1.33",
"classnames": "2.3.1",
"lodash": "4.17.21",
"tslib": "2.4.1"
"tslib": "2.6.2"
},
"peerDependencies": {
"aws-amplify": "console-preview",
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"lodash": "4.17.21",
"qrcode": "1.5.0",
"react-generate-context": "1.0.1",
"tslib": "2.4.1"
"tslib": "2.6.2"
},
"peerDependencies": {
"aws-amplify": "console-preview",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"csstype": "^3.1.1",
"lodash": "4.17.21",
"style-dictionary": "3.7.1",
"tslib": "2.4.1"
"tslib": "2.6.2"
},
"peerDependencies": {
"aws-amplify": "console-preview",
Expand Down
2 changes: 1 addition & 1 deletion packages/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"rimraf": "^3.0.2",
"rollup-plugin-typescript2": "^0.31.2",
"ts-jest": "^27",
"typescript": "^4.6.4",
"typescript": "^5.0.2",
"unplugin-vue-components": "^0.25.0",
"vite": "^2.9.16",
"vite-jest": "^0.1.4",
Expand Down
23 changes: 9 additions & 14 deletions yarn.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading