From 0182b4151e773ac284746ea56cd6899fe1a2d723 Mon Sep 17 00:00:00 2001 From: Luis Alvarez Date: Sat, 3 Oct 2020 05:20:19 -0500 Subject: [PATCH] Downgraded canary version, tsconfig changes --- package.json | 2 +- tsconfig.json | 4 ++-- yarn.lock | 44 +++++++++++++++++++------------------------- 3 files changed, 22 insertions(+), 28 deletions(-) diff --git a/package.json b/package.json index 2fb6e1aa1..2202cc1ed 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "@types/classnames": "^2.2.10", "classnames": "^2.2.6", "lodash": "^4.17.20", - "next": "^9.5.4-canary.23", + "next": "9.5.4-canary.20", "postcss-nested": "^5.0.1", "postcss-nesting": "^7.0.1", "react": "^16.13.1", diff --git a/tsconfig.json b/tsconfig.json index faa489c13..ec924f865 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { "baseUrl": ".", - "target": "es5", + "target": "esnext", "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true, "skipLibCheck": true, @@ -20,6 +20,6 @@ "@components/*": ["components/*"] } }, - "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"], + "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "**/*.js"], "exclude": ["node_modules"] } diff --git a/yarn.lock b/yarn.lock index 858e9c246..1b63d2fed 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1390,20 +1390,15 @@ is-promise "4.0.0" tslib "~2.0.1" -"@next/env@9.5.4-canary.23": - version "9.5.4-canary.23" - resolved "https://registry.yarnpkg.com/@next/env/-/env-9.5.4-canary.23.tgz#2078ce80a1d9424bab7ec169dcf98b8d684bc845" - integrity sha512-uP9GV9QU+QODyYM9ueV1E4tocrAeAsvT1+x11mbQWYhC4lv9EXA85S5dUpJp4dbv1WwM+qJQaoEe7yL/exCkng== +"@next/polyfill-module@9.5.4-canary.20": + version "9.5.4-canary.20" + resolved "https://registry.yarnpkg.com/@next/polyfill-module/-/polyfill-module-9.5.4-canary.20.tgz#1de6f1a5924c6dc1998d8a3e0dbd685f413203bc" + integrity sha512-9C/RQIiXA62TheJLatVRR6UVOBZVIMZ5J7DJIn2WRxgT2srRI0Ku6C+tgPJekjHp9XjbWRzc0JCKG1mYwkmdtA== -"@next/polyfill-module@9.5.4-canary.23": - version "9.5.4-canary.23" - resolved "https://registry.yarnpkg.com/@next/polyfill-module/-/polyfill-module-9.5.4-canary.23.tgz#5fd54f33889a6f605337168c94b0fbac779dc107" - integrity sha512-nyvVpt8mb2IGoAqsCucrOk88/nU2c+Xv/Iuaxfyex1qv2g1ZK1KUSojLVSIfqOPa5toP1gCgU+xsz8jXVgmpEg== - -"@next/react-dev-overlay@9.5.4-canary.23": - version "9.5.4-canary.23" - resolved "https://registry.yarnpkg.com/@next/react-dev-overlay/-/react-dev-overlay-9.5.4-canary.23.tgz#8f856f0b1db2fad6f7a2bdf6b15d487541484bdc" - integrity sha512-Ls00yEPvtTkXxipRfprMGJLn9mlmyDozYiIzvZqafkxuZ9KhII/aLu1Xx4W4o6muwEnxPBKW1knsHvWzStsjQA== +"@next/react-dev-overlay@9.5.4-canary.20": + version "9.5.4-canary.20" + resolved "https://registry.yarnpkg.com/@next/react-dev-overlay/-/react-dev-overlay-9.5.4-canary.20.tgz#dd3dcd3898b8684e3768a1018822041e0e304fb7" + integrity sha512-Q8/iSvIJuLQnF3KQ4lV15wAm2j3ZFgT6Hn6y4+rj6p0DU9bB/Cp4XqDbVh3VIo+yyGNsw0cT/vmcimFe1MSqFg== dependencies: "@babel/code-frame" "7.10.4" ally.js "1.4.1" @@ -1416,10 +1411,10 @@ stacktrace-parser "0.1.10" strip-ansi "6.0.0" -"@next/react-refresh-utils@9.5.4-canary.23": - version "9.5.4-canary.23" - resolved "https://registry.yarnpkg.com/@next/react-refresh-utils/-/react-refresh-utils-9.5.4-canary.23.tgz#a0a5c3b10108dc6ef1e17ff68e09bd7dcae76278" - integrity sha512-9Bne33O1uveH7YRjfX0UCJLfsUcP/lIZMc1JDmTkZuQOIFcTg8wuWOXC2mwQIAVtPZ8S9Lg37vK/c0ngZO9omw== +"@next/react-refresh-utils@9.5.4-canary.20": + version "9.5.4-canary.20" + resolved "https://registry.yarnpkg.com/@next/react-refresh-utils/-/react-refresh-utils-9.5.4-canary.20.tgz#2eac9bbf1cb19303b6e9690ec49c6355ab055e2f" + integrity sha512-5B9/GLFqnv6/lx/7kySB8EiqB/R/mXWmH53pcbHKVNdXvoD4oi2fT7PWHXA05JQdr0P1cYIPA1ytrrnIf8F1EQ== "@nodelib/fs.scandir@2.1.3": version "2.1.3" @@ -5039,10 +5034,10 @@ next-tick@~1.0.0: resolved "https://registry.yarnpkg.com/next-tick/-/next-tick-1.0.0.tgz#ca86d1fe8828169b0120208e3dc8424b9db8342c" integrity sha1-yobR/ogoFpsBICCOPchCS524NCw= -next@^9.5.4-canary.23: - version "9.5.4-canary.23" - resolved "https://registry.yarnpkg.com/next/-/next-9.5.4-canary.23.tgz#ce0e7b9e284b5f9b718610ff5363827d3dfecd44" - integrity sha512-uNMIonQUZr5uZvmuMJ1Pq2akfzEQa60mQPVkMUUe12eHcE3efsA1M3W+SZfcSnSkCna53qU9Km1pNdGbVLe1Cg== +next@9.5.4-canary.20: + version "9.5.4-canary.20" + resolved "https://registry.yarnpkg.com/next/-/next-9.5.4-canary.20.tgz#041ae6c400b8ab7b7aabba3d66bdcda428f241c3" + integrity sha512-rQvdk3NDYyrB1KvQv2SzAoZlcpOJV2GA93l7BVbByp0l006d3dkFDML7XKEqqtYcvtDlzdKS/V9hde0psKFkAg== dependencies: "@ampproject/toolbox-optimizer" "2.6.0" "@babel/code-frame" "7.10.4" @@ -5062,10 +5057,9 @@ next@^9.5.4-canary.23: "@babel/preset-typescript" "7.10.4" "@babel/runtime" "7.11.2" "@babel/types" "7.11.5" - "@next/env" "9.5.4-canary.23" - "@next/polyfill-module" "9.5.4-canary.23" - "@next/react-dev-overlay" "9.5.4-canary.23" - "@next/react-refresh-utils" "9.5.4-canary.23" + "@next/polyfill-module" "9.5.4-canary.20" + "@next/react-dev-overlay" "9.5.4-canary.20" + "@next/react-refresh-utils" "9.5.4-canary.20" ast-types "0.13.2" babel-plugin-transform-define "2.0.0" babel-plugin-transform-react-remove-prop-types "0.4.24"