Skip to content

Commit

Permalink
fixed bundle size limits, added empty test command to types package t…
Browse files Browse the repository at this point in the history
…o keep lerna happy
  • Loading branch information
svidgen committed Aug 10, 2023
1 parent 769d42c commit e0ad03b
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 14 deletions.
1 change: 1 addition & 0 deletions packages/amplify-v6-types-package/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"build:cjs": "rimraf lib && tsc -p ./tsconfig.build.json -m commonjs --outDir lib",
"build:esm": "rimraf lib-esm && tsc -p ./tsconfig.build.json -m esnext --outDir lib-esm",
"build": "npm run clean && npm run build:esm && npm run build:cjs",
"test": "echo \"No tests\"",
"clean": "npm run clean:size && rimraf lib-esm lib dist",
"clean:size": "rimraf dual-publish-tmp tmp*"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/analytics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"name": "Analytics (Kinesis)",
"path": "./lib-esm/index.js",
"import": "{ Amplify, Analytics, AWSKinesisProvider }",
"limit": "60.5 kB"
"limit": "61.9 kB"
}
],
"jest": {
Expand Down
2 changes: 1 addition & 1 deletion packages/api-graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"name": "API (GraphQL client)",
"path": "./lib-esm/index.js",
"import": "{ Amplify, GraphQLAPI }",
"limit": "90.46 kB"
"limit": "91.67 kB"
}
],
"jest": {
Expand Down
2 changes: 1 addition & 1 deletion packages/api-rest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"name": "API (rest client)",
"path": "./lib-esm/index.js",
"import": "{ Amplify, RestAPI }",
"limit": "31.5 kB"
"limit": "31.98 kB"
}
],
"jest": {
Expand Down
2 changes: 1 addition & 1 deletion packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"name": "API (top-level class)",
"path": "./lib-esm/index.js",
"import": "{ Amplify, API }",
"limit": "92 kB"
"limit": "93.82 kB"
}
],
"jest": {
Expand Down
2 changes: 1 addition & 1 deletion packages/auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"name": "Auth (top-level class)",
"path": "./lib-esm/index.js",
"import": "{ Amplify, Auth }",
"limit": "56.38 kB"
"limit": "57.16 kB"
}
],
"jest": {
Expand Down
2 changes: 1 addition & 1 deletion packages/datastore/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"name": "DataStore (top-level class)",
"path": "./lib-esm/index.js",
"import": "{ Amplify, DataStore }",
"limit": "138.27 kB"
"limit": "139.94 kB"
}
],
"jest": {
Expand Down
4 changes: 2 additions & 2 deletions packages/notifications/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@
"name": "Notifications (top-level class)",
"path": "./lib-esm/index.js",
"import": "{ Amplify, Notifications }",
"limit": "30.5 kB"
"limit": "30.6 kB"
},
{
"name": "Notifications (with Analytics)",
"path": "./lib-esm/index.js",
"import": "{ Amplify, Notifications, Analytics }",
"limit": "30.5 kB"
"limit": "30.61 kB"
}
]
}
6 changes: 3 additions & 3 deletions packages/predictions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,19 +69,19 @@
"name": "Predictions (Convert provider)",
"path": "./lib-esm/index.js",
"import": "{ Amplify, Predictions, AmazonAIConvertPredictionsProvider }",
"limit": "58 kB"
"limit": "59.75 kB"
},
{
"name": "Predictions (Identify provider)",
"path": "./lib-esm/index.js",
"import": "{ Amplify, Predictions, AmazonAIIdentifyPredictionsProvider }",
"limit": "73.55 kB"
"limit": "73.86 kB"
},
{
"name": "Predictions (Interpret provider)",
"path": "./lib-esm/index.js",
"import": "{ Amplify, Predictions, AmazonAIInterpretPredictionsProvider }",
"limit": "43.45 kB"
"limit": "46.43 kB"
}
],
"jest": {
Expand Down
4 changes: 2 additions & 2 deletions packages/pubsub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@
"name": "PubSub (IoT provider)",
"path": "./lib-esm/index.js",
"import": "{ Amplify, PubSub, AWSIoTProvider }",
"limit": "81.37 kB"
"limit": "82.05 kB"
},
{
"name": "PubSub (Mqtt provider)",
"path": "./lib-esm/index.js",
"import": "{ Amplify, PubSub, MqttOverWSProvider }",
"limit": "81.24 kB"
"limit": "81.92 kB"
}
],
"jest": {
Expand Down
2 changes: 1 addition & 1 deletion packages/storage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"name": "Storage (top-level class)",
"path": "./lib-esm/index.js",
"import": "{ Amplify, Storage }",
"limit": "38.95 kB"
"limit": "39.03 kB"
}
],
"jest": {
Expand Down

0 comments on commit e0ad03b

Please sign in to comment.