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

fix: build break, chore: typescript, lerna update #2640

Merged
merged 3 commits into from
Oct 29, 2019
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
6 changes: 2 additions & 4 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"lerna": "3.16.4",
"packages": [
"packages/*"
],
"lerna": "3.18.3",
"packages": ["packages/*"],
"version": "independent",
"npmClient": "yarn",
"useWorkspaces": true
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@
"author": "Amazon Web Services",
"license": "Apache-2.0",
"dependencies": {
"lerna": "^3.16.4",
"tslint": "^5.20.0"
"lerna": "^3.16.4"
},
"workspaces": [
"packages/*"
Expand Down
2 changes: 1 addition & 1 deletion packages/amplify-appsync-simulator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"jest": "^24.8.0",
"ts-jest": "^24.0.2",
"tslint": "^5.18.0",
"typescript": "^3.5.3"
"typescript": "^3.6.4"
Copy link
Contributor

@kaustavghosh06 kaustavghosh06 Oct 29, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any specific reason to upgrade the version explicitly?

},
"jest": {
"transform": {
Expand Down
2 changes: 1 addition & 1 deletion packages/amplify-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"ts-jest": "^24.0.2",
"tslint": "^5.17.0",
"tslint-config-airbnb-base": "^0.3.0",
"typescript": "^3.4.5"
"typescript": "^3.6.4"
},
"jest": {
"transform": {
Expand Down
2 changes: 1 addition & 1 deletion packages/amplify-e2e-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"rimraf": "^3.0.0",
"ts-jest": "^22.4.6",
"tslint": "^5.18.0",
"typescript": "^3.5.3"
"typescript": "^3.6.4"
},
"jest": {
"transform": {
Expand Down
4 changes: 2 additions & 2 deletions packages/amplify-graphiql-explorer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"prop-types": "^15.7.2",
"react": "16.8.6",
"react-dom": "16.8.6",
"react-scripts": "3.1.1",
"react-scripts": "3.2.0",
"semantic-ui-css": "^2.4.1",
"semantic-ui-react": "0.87.3"
},
Expand All @@ -23,7 +23,7 @@
"@types/react-dom": "16.8.5",
"cross-env": "^5.2.0",
"eslint": "^6.1.0",
"typescript": "^3.5.3"
"typescript": "^3.6.4"
},
"author": "Amazon Web Services",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/amplify-graphql-docs-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"jest": "^23.1.0",
"ts-jest": "^22.4.6",
"tslint": "^5.18.0",
"typescript": "^3.5.3"
"typescript": "^3.6.4"
},
"dependencies": {
"camel-case": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/amplify-graphql-types-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"jest-matcher-utils": "^23.6.0",
"ts-jest": "^22.4.6",
"tslint": "^5.18.0",
"typescript": "^3.5.3"
"typescript": "^3.6.4"
},
"dependencies": {
"@babel/generator": "7.0.0-beta.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/amplify-storage-simulator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@types/cors": "^2.8.5",
"@types/glob": "^7.1.1",
"@types/serve-static": "^1.13.2",
"typescript": "^3.5.3"
"typescript": "^3.6.4"
},
"jest": {
"transform": {
Expand Down
2 changes: 1 addition & 1 deletion packages/amplify-ui-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"rimraf": "2.6.2",
"ts-jest": "22.4.6",
"tslint": "5.10.0",
"typescript": "3.5.3"
"typescript": "^3.6.4"
},
"jest": {
"transform": {
Expand Down
2 changes: 1 addition & 1 deletion packages/amplify-util-mock/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"node-fetch": "^2.6.0",
"ts-jest": "^24.0.2",
"tslint": "^5.18.0",
"typescript": "^3.5.3",
"typescript": "^3.6.4",
"uuid": "^3.3.3",
"ws": "4.0.0"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { GraphQLTransform } from 'graphql-transformer-core';
import { deploy, launchDDBLocal, terminateDDB } from './utils/index';
import AWSAppSyncClient, { AUTH_TYPE } from 'aws-appsync';
import { signUpAddToGroupAndGetJwtToken } from './utils/cognito-utils';
import { AWS } from '@aws-amplify/core';
import AWS = require('aws-sdk');
import gql from 'graphql-tag';
import 'isomorphic-fetch';

Expand Down
2 changes: 1 addition & 1 deletion packages/graphql-auth-transformer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"rimraf": "^3.0.0",
"ts-jest": "^22.4.6",
"tslint": "^5.18.0",
"typescript": "^3.5.3"
"typescript": "^3.6.4"
},
"jest": {
"testURL": "http://localhost",
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql-connection-transformer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"jest": "^23.1.0",
"ts-jest": "^22.4.6",
"tslint": "^5.18.0",
"typescript": "^3.5.3"
"typescript": "^3.6.4"
},
"jest": {
"transform": {
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql-dynamodb-transformer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"jest": "^23.1.0",
"ts-jest": "^22.4.6",
"tslint": "^5.18.0",
"typescript": "^3.5.3"
"typescript": "^3.6.4"
},
"jest": {
"transform": {
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql-elasticsearch-transformer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"jest": "^23.1.0",
"ts-jest": "^22.4.6",
"tslint": "^5.18.0",
"typescript": "^3.5.3"
"typescript": "^3.6.4"
},
"jest": {
"transform": {
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql-function-transformer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"ts-jest": "^22.4.6",
"tslint": "^5.18.0",
"tslint-config-airbnb": "^5.11.1",
"typescript": "^3.5.3"
"typescript": "^3.6.4"
},
"jest": {
"transform": {
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql-http-transformer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"jest": "^23.1.0",
"ts-jest": "^22.4.6",
"tslint": "^5.18.0",
"typescript": "^3.5.3"
"typescript": "^3.6.4"
},
"jest": {
"transform": {
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql-key-transformer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"ts-jest": "^22.4.6",
"tslint": "^5.18.0",
"tslint-config-airbnb": "^5.11.1",
"typescript": "^3.5.3"
"typescript": "^3.6.4"
},
"jest": {
"transform": {
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql-mapping-template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"jest": "^23.0.0",
"ts-jest": "^22.4.6",
"tslint": "^5.18.0",
"typescript": "^3.5.3"
"typescript": "^3.6.4"
},
"author": "Amazon Web Services",
"license": "Apache-2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"cloudform": "^3.5.0",
"jest": "^23.1.0",
"ts-jest": "^22.4.6",
"typescript": "^3.5.3"
"typescript": "^3.6.4"
},
"jest": {
"collectCoverage": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql-transformer-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"jest": "^23.1.0",
"ts-jest": "^22.4.6",
"tslint": "^5.18.0",
"typescript": "^3.5.3"
"typescript": "^3.6.4"
},
"jest": {
"transform": {
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql-transformer-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"jest": "^23.0.0",
"ts-jest": "^22.4.6",
"tslint": "^5.18.0",
"typescript": "^3.5.3"
"typescript": "^3.6.4"
},
"dependencies": {
"cloudform": "^3.5.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql-transformers-e2e-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"node-fetch": "^2.6.0",
"ts-jest": "^22.4.6",
"tslint": "^5.18.0",
"typescript": "^3.5.3",
"typescript": "^3.6.4",
"ws": "4.0.0"
},
"jest": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ test('Test that connection type is generated for custom query when queries is se
`;

const transformer = new GraphQLTransform({
transformers: [new ModelTransformer(), new KeyTransformer()],
transformers: [new DynamoDBModelTransformer(), new KeyTransformer()],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did we change the name of the Transformer? There are many folks out here who use the transformer lib directly..so would this be a breaking change for them?

});

const out = transformer.transform(validSchema);
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql-versioned-transformer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"jest": "^23.1.0",
"ts-jest": "^22.4.6",
"tslint": "^5.18.0",
"typescript": "^3.5.3"
"typescript": "^3.6.4"
},
"jest": {
"transform": {
Expand Down
Loading