From 253a7c56332b1247548ae99bd59ba7fd4806c5de Mon Sep 17 00:00:00 2001 From: Max Leiter Date: Thu, 27 Oct 2022 20:30:43 -0700 Subject: [PATCH 1/4] @vercel/analytics --- package.json | 3 ++- pages/_app.tsx | 10 +++++++--- pnpm-lock.yaml | 28 +++++++++++++++++++--------- 3 files changed, 28 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index 6bf31031..d880aa3d 100644 --- a/package.json +++ b/package.json @@ -16,11 +16,12 @@ "dependencies": { "@next/bundle-analyzer": "12.2.5", "@supabase/supabase-js": "1.35.6", + "@vercel/analytics": "^0.1.2", "@vercel/og": "^0.0.18", "lodash.debounce": "4.0.8", "next": "12.3.1", "next-remote-watch": "1.0.0", - "next-themes": "0.2.1", + "next-themes": "0.2.0", "postcss": "^8.4.18", "react": "18.2.0", "react-dom": "18.2.0", diff --git a/pages/_app.tsx b/pages/_app.tsx index b082c4cd..a7a445bc 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -1,13 +1,17 @@ import React from 'react' import type { AppProps } from 'next/app' +import { Analytics } from '@vercel/analytics/react' import '@styles/global.css' import { ThemeProvider } from 'next-themes' export default function MyApp({ Component, pageProps }: AppProps) { return ( - - - + <> + + + + + ) } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8832c54e..56123b84 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -11,6 +11,7 @@ specifiers: '@types/rss': 0.0.29 '@typescript-eslint/eslint-plugin': 5.36.2 '@typescript-eslint/parser': 5.36.2 + '@vercel/analytics': ^0.1.2 '@vercel/og': ^0.0.18 concurrently: 7.4.0 critters: 0.0.16 @@ -25,7 +26,7 @@ specifiers: marked: 4.1.0 next: 12.3.1 next-remote-watch: 1.0.0 - next-themes: 0.2.1 + next-themes: 0.2.0 postcss: ^8.4.18 postcss-flexbugs-fixes: 5.0.2 postcss-hover-media-feature: 1.0.2 @@ -46,11 +47,12 @@ specifiers: dependencies: '@next/bundle-analyzer': 12.2.5 '@supabase/supabase-js': 1.35.6 + '@vercel/analytics': 0.1.2_react@18.2.0 '@vercel/og': 0.0.18 lodash.debounce: 4.0.8 next: 12.3.1_biqbaboplfbrettd7655fr4n2y next-remote-watch: 1.0.0 - next-themes: 0.2.1_azq6kxkn3od7qdylwkyksrwopy + next-themes: 0.2.0_azq6kxkn3od7qdylwkyksrwopy postcss: 8.4.18 react: 18.2.0 react-dom: 18.2.0_react@18.2.0 @@ -769,6 +771,14 @@ packages: eslint-visitor-keys: 3.3.0 dev: true + /@vercel/analytics/0.1.2_react@18.2.0: + resolution: {integrity: sha512-eV2XRMRQJzPcwAskfNicAwFr5+e/u76JcS2fJooWvaT9xAg/sX0RzkgRxDZXPjnRts2ErvjhoETmbnquAMBY9A==} + peerDependencies: + react: ^16.8||^17||^18 + dependencies: + react: 18.2.0 + dev: false + /@vercel/og/0.0.18: resolution: {integrity: sha512-cEid22FkiNrgJ/HtawA6V3+x2jhP+KqwwNG97afFsFmZ/oPsh3Bm01NzCVSpeR96/aPaT2/59pbFXGxulxgp7g==} engines: {node: '>=16'} @@ -921,7 +931,7 @@ packages: postcss: ^8.1.0 dependencies: browserslist: 4.21.4 - caniuse-lite: 1.0.30001422 + caniuse-lite: 1.0.30001423 fraction.js: 4.2.0 normalize-range: 0.1.2 picocolors: 1.0.0 @@ -992,7 +1002,7 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true dependencies: - caniuse-lite: 1.0.30001422 + caniuse-lite: 1.0.30001423 electron-to-chromium: 1.4.284 node-releases: 2.0.6 update-browserslist-db: 1.0.10_browserslist@4.21.4 @@ -1026,8 +1036,8 @@ packages: resolution: {integrity: sha512-dU+Tx2fsypxTgtLoE36npi3UqcjSSMNYfkqgmoEhtZrraP5VWq0K7FkWVTYa8eMPtnU/G2txVsfdCJTn9uzpuQ==} dev: false - /caniuse-lite/1.0.30001422: - resolution: {integrity: sha512-hSesn02u1QacQHhaxl/kNMZwqVG35Sz/8DgvmgedxSH8z9UUpcDYSPYgsj3x5dQNRcNp6BwpSfQfVzYUTm+fog==} + /caniuse-lite/1.0.30001423: + resolution: {integrity: sha512-09iwWGOlifvE1XuHokFMP7eR38a0JnajoyL3/i87c8ZjRWRrdKo1fqjNfugfBD0UDBIOz0U+jtNhJ0EPm1VleQ==} /chalk/2.4.2: resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} @@ -2753,8 +2763,8 @@ packages: - supports-color dev: false - /next-themes/0.2.1_azq6kxkn3od7qdylwkyksrwopy: - resolution: {integrity: sha512-B+AKNfYNIzh0vqQQKqQItTS8evEouKD7H5Hj3kmuPERwddR2TxvDSFZuTj6T7Jfn1oyeUyJMydPl1Bkxkh0W7A==} + /next-themes/0.2.0_azq6kxkn3od7qdylwkyksrwopy: + resolution: {integrity: sha512-myhpDL4vadBD9YDSHiewqvzorGzB03N84e+3LxCwHRlM/hiBOaW+UsKsQojQAzC7fdcJA0l2ppveXcYaVV+hxQ==} peerDependencies: next: '*' react: '*' @@ -2789,7 +2799,7 @@ packages: dependencies: '@next/env': 12.3.1 '@swc/helpers': 0.4.11 - caniuse-lite: 1.0.30001422 + caniuse-lite: 1.0.30001423 postcss: 8.4.14 react: 18.2.0 react-dom: 18.2.0_react@18.2.0 From aabfa1d82c8d9f7b46404e341ce1672366f29cea Mon Sep 17 00:00:00 2001 From: Max Leiter Date: Thu, 27 Oct 2022 20:34:23 -0700 Subject: [PATCH 2/4] deps: add globby --- package.json | 1 + pnpm-lock.yaml | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/package.json b/package.json index 6c043b13..d47aa64a 100644 --- a/package.json +++ b/package.json @@ -47,6 +47,7 @@ "eslint-plugin-import": "2.26.0", "eslint-plugin-react": "7.31.7", "eslint-plugin-react-hooks": "4.6.0", + "globby": "^13.1.2", "gray-matter": "4.0.3", "marked": "4.1.0", "postcss-flexbugs-fixes": "5.0.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 78071de4..b98c10c3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -21,6 +21,7 @@ specifiers: eslint-plugin-import: 2.26.0 eslint-plugin-react: 7.31.7 eslint-plugin-react-hooks: 4.6.0 + globby: ^13.1.2 gray-matter: 4.0.3 lodash.debounce: 4.0.8 marked: 4.1.0 @@ -78,6 +79,7 @@ devDependencies: eslint-plugin-import: 2.26.0_iepzrjnvahcxaf6zc7cutko6om eslint-plugin-react: 7.31.7_eslint@8.23.0 eslint-plugin-react-hooks: 4.6.0_eslint@8.23.0 + globby: 13.1.2 gray-matter: 4.0.3 marked: 4.1.0 postcss-flexbugs-fixes: 5.0.2_postcss@8.4.18 @@ -2199,6 +2201,17 @@ packages: slash: 3.0.0 dev: true + /globby/13.1.2: + resolution: {integrity: sha512-LKSDZXToac40u8Q1PQtZihbNdTYSNMuWe+K5l+oa6KgDzSvVrHXlJy40hUP522RjAIoNLJYBJi7ow+rbFpIhHQ==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + dependencies: + dir-glob: 3.0.1 + fast-glob: 3.2.12 + ignore: 5.2.0 + merge2: 1.4.1 + slash: 4.0.0 + dev: true + /graceful-fs/4.2.10: resolution: {integrity: sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==} requiresBuild: true @@ -3808,6 +3821,11 @@ packages: engines: {node: '>=8'} dev: true + /slash/4.0.0: + resolution: {integrity: sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==} + engines: {node: '>=12'} + dev: true + /source-map-js/1.0.2: resolution: {integrity: sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==} engines: {node: '>=0.10.0'} From 9b76427959225af63c7e6fa86b0e1f058b316f89 Mon Sep 17 00:00:00 2001 From: Max Leiter Date: Thu, 27 Oct 2022 20:36:09 -0700 Subject: [PATCH 3/4] fix globby usage --- scripts/sitemap.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/sitemap.ts b/scripts/sitemap.ts index 64b6a788..f30fcdc2 100644 --- a/scripts/sitemap.ts +++ b/scripts/sitemap.ts @@ -1,5 +1,5 @@ import fs from 'fs' -import globby from 'globby' +import { globby } from 'globby' import path from 'path' import prettier from 'prettier' From c4ba627c922f8738b4efbbcdbae147074b6d9301 Mon Sep 17 00:00:00 2001 From: Max Leiter Date: Thu, 27 Oct 2022 21:16:30 -0700 Subject: [PATCH 4/4] downgrade globby --- package.json | 3 ++- pnpm-lock.yaml | 51 ++++++++++++++++------------------------------ scripts/sitemap.ts | 2 +- tsconfig.json | 31 +++++++--------------------- 4 files changed, 28 insertions(+), 59 deletions(-) diff --git a/package.json b/package.json index d47aa64a..cbba9389 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ "@supabase/supabase-js": "1.35.6", "@vercel/analytics": "^0.1.2", "@vercel/og": "^0.0.18", + "globby": "^11.0.0", "lodash.debounce": "4.0.8", "next": "12.3.1", "next-remote-watch": "1.0.0", @@ -28,6 +29,7 @@ "rss-parser": "3.12.0", "sitemap": "7.1.1", "swr": "1.3.0", + "tiny-glob": "^0.2.9", "youtubei": "0.0.1-rc.36" }, "devDependencies": { @@ -47,7 +49,6 @@ "eslint-plugin-import": "2.26.0", "eslint-plugin-react": "7.31.7", "eslint-plugin-react-hooks": "4.6.0", - "globby": "^13.1.2", "gray-matter": "4.0.3", "marked": "4.1.0", "postcss-flexbugs-fixes": "5.0.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b98c10c3..a94dc84c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -21,7 +21,7 @@ specifiers: eslint-plugin-import: 2.26.0 eslint-plugin-react: 7.31.7 eslint-plugin-react-hooks: 4.6.0 - globby: ^13.1.2 + globby: ^11.0.0 gray-matter: 4.0.3 lodash.debounce: 4.0.8 marked: 4.1.0 @@ -40,6 +40,7 @@ specifiers: rss-parser: 3.12.0 sitemap: 7.1.1 swr: 1.3.0 + tiny-glob: ^0.2.9 ts-node: 10.9.1 typescript: 4.8.2 typescript-plugin-css-modules: 3.4.0 @@ -50,6 +51,7 @@ dependencies: '@supabase/supabase-js': 1.35.6 '@vercel/analytics': 0.1.2_react@18.2.0 '@vercel/og': 0.0.18 + globby: 11.1.0 lodash.debounce: 4.0.8 next: 12.3.1_biqbaboplfbrettd7655fr4n2y next-remote-watch: 1.0.0 @@ -60,6 +62,7 @@ dependencies: rss-parser: 3.12.0 sitemap: 7.1.1 swr: 1.3.0_react@18.2.0 + tiny-glob: 0.2.9 youtubei: 0.0.1-rc.36 devDependencies: @@ -79,7 +82,6 @@ devDependencies: eslint-plugin-import: 2.26.0_iepzrjnvahcxaf6zc7cutko6om eslint-plugin-react: 7.31.7_eslint@8.23.0 eslint-plugin-react-hooks: 4.6.0_eslint@8.23.0 - globby: 13.1.2 gray-matter: 4.0.3 marked: 4.1.0 postcss-flexbugs-fixes: 5.0.2_postcss@8.4.18 @@ -470,12 +472,10 @@ packages: dependencies: '@nodelib/fs.stat': 2.0.5 run-parallel: 1.2.0 - dev: true /@nodelib/fs.stat/2.0.5: resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==} engines: {node: '>= 8'} - dev: true /@nodelib/fs.walk/1.2.8: resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} @@ -483,7 +483,6 @@ packages: dependencies: '@nodelib/fs.scandir': 2.1.5 fastq: 1.13.0 - dev: true /@polka/url/1.0.0-next.21: resolution: {integrity: sha512-a5Sab1C4/icpTZVzZc5Ghpz88yQtGOyNqYXcZgOssB2uuAr+wF/MvN6bgtW32q7HHrvBki+BsZ0OuNv6EV3K9g==} @@ -893,7 +892,6 @@ packages: /array-union/2.1.0: resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==} engines: {node: '>=8'} - dev: true /array.prototype.flat/1.3.0: resolution: {integrity: sha512-12IUEkHsAhA4DY5s0FPgNXIdc8VRSqD9Zp78a5au9abH/SOBrsp082JOWFNTjkMozh8mqcdiKuaLGhPeYztxSw==} @@ -1394,7 +1392,6 @@ packages: engines: {node: '>=8'} dependencies: path-type: 4.0.0 - dev: true /doctrine/2.1.0: resolution: {integrity: sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==} @@ -2003,7 +2000,6 @@ packages: glob-parent: 5.1.2 merge2: 1.4.1 micromatch: 4.0.5 - dev: true /fast-json-stable-stringify/2.1.0: resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==} @@ -2021,7 +2017,6 @@ packages: resolution: {integrity: sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==} dependencies: reusify: 1.0.4 - dev: true /fflate/0.7.4: resolution: {integrity: sha512-5u2V/CDW15QM1XbbgS+0DfPxVB+jUKhWEKuuFuHncbk3tEEqzmoXL+2KyOFuKGqOnmdIy0/davWF1CkuwtibCw==} @@ -2189,6 +2184,10 @@ packages: type-fest: 0.20.2 dev: true + /globalyzer/0.1.0: + resolution: {integrity: sha512-40oNTM9UfG6aBmuKxk/giHn5nQ8RVz/SS4Ir6zgzOv9/qC3kKZ9v4etGTcJbEl/NyVQH7FGU7d+X1egr57Md2Q==} + dev: false + /globby/11.1.0: resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==} engines: {node: '>=10'} @@ -2199,18 +2198,10 @@ packages: ignore: 5.2.0 merge2: 1.4.1 slash: 3.0.0 - dev: true - /globby/13.1.2: - resolution: {integrity: sha512-LKSDZXToac40u8Q1PQtZihbNdTYSNMuWe+K5l+oa6KgDzSvVrHXlJy40hUP522RjAIoNLJYBJi7ow+rbFpIhHQ==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - dependencies: - dir-glob: 3.0.1 - fast-glob: 3.2.12 - ignore: 5.2.0 - merge2: 1.4.1 - slash: 4.0.0 - dev: true + /globrex/0.1.2: + resolution: {integrity: sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg==} + dev: false /graceful-fs/4.2.10: resolution: {integrity: sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==} @@ -2319,7 +2310,6 @@ packages: /ignore/5.2.0: resolution: {integrity: sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==} engines: {node: '>= 4'} - dev: true /image-size/0.5.5: resolution: {integrity: sha512-6TDAlDPZxUFCv+fuOkIoXT/V/f3Qbq8e37p+YOiYrUv3v9cc3/6x78VdfPgFVaB9dZYeLUfKgHRebpkm/oP2VQ==} @@ -2660,7 +2650,6 @@ packages: /merge2/1.4.1: resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} engines: {node: '>= 8'} - dev: true /methods/1.1.2: resolution: {integrity: sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==} @@ -2673,7 +2662,6 @@ packages: dependencies: braces: 3.0.2 picomatch: 2.3.1 - dev: true /mime-db/1.25.0: resolution: {integrity: sha512-5k547tI4Cy+Lddr/hdjNbBEWBwSl8EBc5aSdKvedav8DReADgWJzcYiktaRIw3GtGC1jjwldXtTzvqJZmtvC7w==} @@ -3027,7 +3015,6 @@ packages: /path-type/4.0.0: resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} engines: {node: '>=8'} - dev: true /picocolors/1.0.0: resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==} @@ -3527,7 +3514,6 @@ packages: /queue-microtask/1.2.3: resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} - dev: true /range-parser/1.2.1: resolution: {integrity: sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==} @@ -3628,7 +3614,6 @@ packages: /reusify/1.0.4: resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==} engines: {iojs: '>=1.0.0', node: '>=0.10.0'} - dev: true /rimraf/3.0.2: resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==} @@ -3655,7 +3640,6 @@ packages: resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} dependencies: queue-microtask: 1.2.3 - dev: true /rxjs/7.5.7: resolution: {integrity: sha512-z9MzKh/UcOqB3i20H6rtrlaE/CgjLOvheWK/9ILrbhROGTweAi1BaFsTT9FbwZi5Trr1qNRs+MXkhmR06awzQA==} @@ -3819,12 +3803,6 @@ packages: /slash/3.0.0: resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} engines: {node: '>=8'} - dev: true - - /slash/4.0.0: - resolution: {integrity: sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==} - engines: {node: '>=12'} - dev: true /source-map-js/1.0.2: resolution: {integrity: sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==} @@ -4002,6 +3980,13 @@ packages: resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==} dev: true + /tiny-glob/0.2.9: + resolution: {integrity: sha512-g/55ssRPUjShh+xkfx9UPDXqhckHEsHr4Vd9zX55oSdGZc/MD0m3sferOkwWtp98bv+kcVfEHtRJgBVJzelrzg==} + dependencies: + globalyzer: 0.1.0 + globrex: 0.1.2 + dev: false + /to-regex-range/5.0.1: resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} engines: {node: '>=8.0'} diff --git a/scripts/sitemap.ts b/scripts/sitemap.ts index f30fcdc2..64b6a788 100644 --- a/scripts/sitemap.ts +++ b/scripts/sitemap.ts @@ -1,5 +1,5 @@ import fs from 'fs' -import { globby } from 'globby' +import globby from 'globby' import path from 'path' import prettier from 'prettier' diff --git a/tsconfig.json b/tsconfig.json index c1d773e6..67b6b356 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,10 +6,7 @@ "jsx": "preserve", "target": "es2020", "module": "esnext", - "lib": [ - "dom", - "es2019" - ], + "lib": ["dom", "es2019"], "noEmit": true, "moduleResolution": "node", "allowSyntheticDefaultImports": true, @@ -30,27 +27,13 @@ "resolveJsonModule": true, "isolatedModules": true, "paths": { - "@components/*": [ - "components/*" - ], - "@lib/*": [ - "lib/*" - ], - "@styles/*": [ - "styles/*" - ], - "@data/*": [ - "data/*" - ] + "@components/*": ["components/*"], + "@lib/*": ["lib/*"], + "@styles/*": ["styles/*"], + "@data/*": ["data/*"] }, "incremental": true }, - "exclude": [ - "node_modules" - ], - "include": [ - "**/*.ts", - "**/*.tsx", - "**/*.js" - ] + "exclude": ["node_modules"], + "include": ["**/*.ts", "**/*.tsx", "**/*.js"], }