Skip to content

Commit

Permalink
Reduce amplify build time (#928)
Browse files Browse the repository at this point in the history
  • Loading branch information
argaen authored Jun 3, 2024
1 parent a9f3e08 commit d328d21
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 33 deletions.
3 changes: 0 additions & 3 deletions amplify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,3 @@ frontend:
baseDirectory: .next
files:
- '**/*'
cache:
paths:
- node_modules/**/*
3 changes: 3 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ const CopyPlugin = require('copy-webpack-plugin');
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
eslint: {
ignoreDuringBuilds: true,
},
images: {
remotePatterns: [
{
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@dinero.js/currencies": "^2.0.0-alpha.14",
"@fontsource/inter": "^5.0.18",
"@hookform/resolvers": "^3.4.2",
"@tanstack/react-query": "^5.28.14",
"@tanstack/react-query": "^5.40.0",
"@tanstack/react-query-devtools": "^5.37.1",
"@tanstack/react-table": "^8.17.3",
"@testing-library/jest-dom": "^6.4.5",
Expand Down Expand Up @@ -112,12 +112,12 @@
"@types/gapi.client.drive": "^3.0.15",
"@types/gapi.client.people": "^1.0.5",
"@types/google.accounts": "^0.0.14",
"@types/jest": "^29.5.5",
"@types/jest": "^29.5.12",
"@types/lodash.debounce": "^4.0.9",
"@types/luxon": "^3.4.2",
"@types/node": "^20.12.4",
"@types/node": "^20.12.13",
"@types/pako": "^2.0.3",
"@types/react": "18.3.2",
"@types/react": "18.3.3",
"@types/react-dom": "^18.2.24",
"@types/react-modal": "^3.16.3",
"@types/react-router-dom": "^5.3.3",
Expand All @@ -138,7 +138,7 @@
"jest-environment-jsdom": "^29.7.0",
"postcss": "^8.4.38",
"prettier": "^3.2.5",
"prettier-plugin-tailwindcss": "^0.5.14",
"prettier-plugin-tailwindcss": "^0.6.0",
"snapshot-diff": "^0.10.0",
"tailwindcss": "^3.4.3",
"typescript": "^5.4.5",
Expand Down
50 changes: 25 additions & 25 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1964,10 +1964,10 @@
"@swc/counter" "^0.1.3"
tslib "^2.4.0"

"@tanstack/query-core@5.36.1":
version "5.36.1"
resolved "https://registry.yarnpkg.com/@tanstack/query-core/-/query-core-5.36.1.tgz#ae46f935c4752812a56c6815305061a3da82e7b8"
integrity sha512-BteWYEPUcucEu3NBcDAgKuI4U25R9aPrHSP6YSf2NvaD2pSlIQTdqOfLRsxH9WdRYg7k0Uom35Uacb6nvbIMJg==
"@tanstack/query-core@5.40.0":
version "5.40.0"
resolved "https://registry.yarnpkg.com/@tanstack/query-core/-/query-core-5.40.0.tgz#c74ae8303752ed4b5a0ab848ec71a0e6e8179f83"
integrity sha512-eD8K8jsOIq0Z5u/QbvOmfvKKE/XC39jA7yv4hgpl/1SRiU+J8QCIwgM/mEHuunQsL87dcvnHqSVLmf9pD4CiaA==

"@tanstack/[email protected]":
version "5.37.1"
Expand All @@ -1981,12 +1981,12 @@
dependencies:
"@tanstack/query-devtools" "5.37.1"

"@tanstack/react-query@^5.28.14":
version "5.37.1"
resolved "https://registry.yarnpkg.com/@tanstack/react-query/-/react-query-5.37.1.tgz#82d79cdf54923b1f0638c080e8f0439a6a8a2ddc"
integrity sha512-EhtBNA8GL3XFeSx6VYUjXQ96n44xe3JGKZCzBINrCYlxbZP6UwBafv7ti4eSRWc2Fy+fybQre0w17gR6lMzULA==
"@tanstack/react-query@^5.40.0":
version "5.40.0"
resolved "https://registry.yarnpkg.com/@tanstack/react-query/-/react-query-5.40.0.tgz#654afa2d9ab328c22be7e1f025ec9b6267c6baa9"
integrity sha512-iv/W0Axc4aXhFzkrByToE1JQqayxTPNotCoSCnarR/A1vDIHaoKpg7FTIfP3Ev2mbKn1yrxq0ZKYUdLEJxs6Tg==
dependencies:
"@tanstack/query-core" "5.36.1"
"@tanstack/query-core" "5.40.0"

"@tanstack/react-table@^8.17.3":
version "8.17.3"
Expand Down Expand Up @@ -2214,10 +2214,10 @@
dependencies:
"@types/istanbul-lib-report" "*"

"@types/jest@^29.5.5":
version "29.5.5"
resolved "https://registry.yarnpkg.com/@types/jest/-/jest-29.5.5.tgz#727204e06228fe24373df9bae76b90f3e8236a2a"
integrity sha512-ebylz2hnsWR9mYvmBFbXJXr+33UPc4+ZdxyDXh5w0FlPBTfCVN3wPL+kuOiQt3xvrK419v7XWeAs+AeOksafXg==
"@types/jest@^29.5.12":
version "29.5.12"
resolved "https://registry.yarnpkg.com/@types/jest/-/jest-29.5.12.tgz#7f7dc6eb4cf246d2474ed78744b05d06ce025544"
integrity sha512-eDC8bTvT/QhYdxJAulQikueigY5AsdBRH2yDKW3yveW7svY3+DzN84/2NUgkw10RTiJbWqZrTtoGVdYlvFJdLw==
dependencies:
expect "^29.0.0"
pretty-format "^29.0.0"
Expand Down Expand Up @@ -2275,10 +2275,10 @@
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.16.3.tgz#6bda7819aae6ea0b386ebc5b24bdf602f1b42b01"
integrity sha512-OPs5WnnT1xkCBiuQrZA4+YAV4HEJejmHneyraIaxsbev5yCEr6KMwINNFP9wQeFIw8FWcoTqF3vQsa5CDaI+8Q==

"@types/node@^20.12.4":
version "20.12.12"
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.12.12.tgz#7cbecdf902085cec634fdb362172dfe12b8f2050"
integrity sha512-eWLDGF/FOSPtAvEqeRAQ4C8LSA7M1I7i0ky1I8U7kD1J5ITyW3AsRhQrKVoWf5pFKZ2kILsEGJhsI9r93PYnOw==
"@types/node@^20.12.13":
version "20.14.0"
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.14.0.tgz#49ceec7b34f8621470cff44677fa9d461a477f17"
integrity sha512-5cHBxFGJx6L4s56Bubp4fglrEpmyJypsqI6RgzMfBHWUJQGWAAi8cWcgetEbZXHYXo9C2Fa4EEds/uSyS4cxmA==
dependencies:
undici-types "~5.26.4"

Expand Down Expand Up @@ -2380,10 +2380,10 @@
"@types/scheduler" "*"
csstype "^3.0.2"

"@types/[email protected].2":
version "18.3.2"
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.3.2.tgz#462ae4904973bc212fa910424d901e3d137dbfcd"
integrity sha512-Btgg89dAnqD4vV7R3hlwOxgqobUQKgx3MmrQRi0yYbs/P0ym8XozIAlkqVilPqHQwXs4e9Tf63rrCgl58BcO4w==
"@types/[email protected].3":
version "18.3.3"
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.3.3.tgz#9679020895318b0915d7a3ab004d92d33375c45f"
integrity sha512-hti/R0pS0q1/xx+TsI73XIqk26eBsISZ2R0wUijXIngRK9R/e7Xw/cXVxQK7R5JjW+SV4zGcn5hXjudkN/pLIw==
dependencies:
"@types/prop-types" "*"
csstype "^3.0.2"
Expand Down Expand Up @@ -6743,10 +6743,10 @@ prettier-linter-helpers@^1.0.0:
dependencies:
fast-diff "^1.1.2"

prettier-plugin-tailwindcss@^0.5.14:
version "0.5.14"
resolved "https://registry.yarnpkg.com/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.5.14.tgz#4482eed357d5e22eac259541c70aca5a4c7b9d5c"
integrity sha512-Puaz+wPUAhFp8Lo9HuciYKM2Y2XExESjeT+9NQoVFXZsPPnc9VYss2SpxdQ6vbatmt8/4+SN0oe0I1cPDABg9Q==
prettier-plugin-tailwindcss@^0.6.0:
version "0.6.1"
resolved "https://registry.yarnpkg.com/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.6.1.tgz#6cb1f5f3e1a8d8b5ea3f97d19be516d9ce9931bf"
integrity sha512-AnbeYZu0WGj+QgKciUgdMnRxrqcxltleZPgdwfA5104BHM3siBLONN/HLW1yS2HvzSNkzpQ/JAj+LN0jcJO+0w==

prettier@^3.2.5:
version "3.2.5"
Expand Down

0 comments on commit d328d21

Please sign in to comment.