Skip to content

Commit

Permalink
fixed build issues; revert api-graphql package merge changes
Browse files Browse the repository at this point in the history
  • Loading branch information
svidgen committed Aug 9, 2023
1 parent c28f5e2 commit 769d42c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
8 changes: 6 additions & 2 deletions packages/api-graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@
"name": "API (GraphQL client)",
"path": "./lib-esm/index.js",
"import": "{ Amplify, GraphQLAPI }",
"limit": "89.51 kB"
"limit": "90.46 kB"
}
],
"jest": {
"globals": {
"ts-jest": {
"diagnostics": false,
"diagnostics": true,
"tsConfig": {
"lib": [
"es5",
Expand All @@ -88,6 +88,10 @@
"^.+\\.(js|jsx|ts|tsx)$": "ts-jest"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(tsx?|jsx?)$",
"testPathIgnorePatterns": [
"__tests__/fixtures",
"__tests__/utils"
],
"moduleFileExtensions": [
"ts",
"tsx",
Expand Down
9 changes: 5 additions & 4 deletions packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"clean:size": "rimraf dual-publish-tmp tmp*",
"format": "echo \"Not implemented\"",
"lint": "tslint 'src/**/*.ts' && npm run ts-coverage",
"ts-coverage": "typescript-coverage-report -p ./tsconfig.build.json -t 91.93"
"ts-coverage": "typescript-coverage-report -p ./tsconfig.build.json -t 88"
},
"repository": {
"type": "git",
Expand All @@ -48,7 +48,8 @@
},
"homepage": "https://aws-amplify.github.io/",
"devDependencies": {
"@types/zen-observable": "^0.8.0"
"@types/zen-observable": "^0.8.0",
"typescript": "5.1.6"
},
"files": [
"lib",
Expand All @@ -60,14 +61,14 @@
"dependencies": {
"@aws-amplify/api-graphql": "3.4.6",
"@aws-amplify/api-rest": "3.5.0",
"tslib": "^1.8.0"
"tslib": "^2.6.1"
},
"size-limit": [
{
"name": "API (top-level class)",
"path": "./lib-esm/index.js",
"import": "{ Amplify, API }",
"limit": "90.27 kB"
"limit": "92 kB"
}
],
"jest": {
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock

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

0 comments on commit 769d42c

Please sign in to comment.