From cf2f48263dbc1f40ef78969ac5beeead036ff25e Mon Sep 17 00:00:00 2001 From: Seia-Soto Date: Thu, 4 Mar 2021 07:36:21 +0900 Subject: [PATCH] Add automatic deploy and favicon --- .github/workflows/deploy.yml | 19 ++ .gitignore | 2 + package.json | 4 +- pages/_app.jsx | 4 + scripts/mkstatic.js | 6 + scripts/sitemap.js | 4 + yarn.lock | 463 +++++++++++++++++++++++++++++++++-- 7 files changed, 486 insertions(+), 16 deletions(-) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..7254e2f --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,19 @@ +name: Deploy to production + +on: [ + push +] + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: amondnet/vercel-action@v20 + with: + vercel-token: ${{ secrets.VERCEL_TOKEN }} # Required + github-token: ${{ secrets.GITHUB_TOKEN }} # Optional + vercel-args: '--prod' # Optional + vercel-org-id: ${{ secrets.ORG_ID }} # Required + vercel-project-id: ${{ secrets.PROJECT_ID }} # Required + working-directory: ./ diff --git a/.gitignore b/.gitignore index 1f22b9c..4c12a08 100644 --- a/.gitignore +++ b/.gitignore @@ -114,3 +114,5 @@ dist .yarn/build-state.yml .yarn/install-state.gz .pnp.* + +.vercel diff --git a/package.json b/package.json index a5beda1..7a2b4ca 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "build": "next build", "start": "next start", "export": "next build && next export && yarn sitemap && yarn mkstatic", + "serve": "serve out", "lint": "eslint --ext .js", "sitemap": "yarn node scripts/sitemap", "mkstatic": "yarn node scripts/mkstatic" @@ -48,6 +49,7 @@ "eslint-plugin-import": "^2.22.1", "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^4.3.1", - "eslint-plugin-react": "^7.22.0" + "eslint-plugin-react": "^7.22.0", + "serve": "^11.3.2" } } diff --git a/pages/_app.jsx b/pages/_app.jsx index 59ef874..6768ca6 100644 --- a/pages/_app.jsx +++ b/pages/_app.jsx @@ -1,5 +1,6 @@ import * as React from 'react' import * as PropTypes from 'prop-types' +import Head from 'next/head' import { useRouter } from 'next/router' import { NextSeo } from 'next-seo' import { @@ -41,6 +42,9 @@ const App = ({ Component, pageProps }) => { title={site.name} description='Just a blog, __init__?' /> + + + filename !== 'index.mdx') + console.log('Found new post:', slug, 'with', assets.length, 'assets') + for (let k = 0, s = assets.length; k < s; k++) { const origin = path.join(postDir, assets[k]) const target = path.join(assetsDir, assets[k]) + console.log('Copying', origin, 'to', target) + fs.copyFileSync(origin, target) } } diff --git a/scripts/sitemap.js b/scripts/sitemap.js index 4d0396f..bb641df 100644 --- a/scripts/sitemap.js +++ b/scripts/sitemap.js @@ -1,3 +1,5 @@ +console.log('Creating sitemap from directory hierarchy') + const esm = require('esm') const fs = require('fs') const path = require('path') @@ -12,4 +14,6 @@ sitemap const file = path.resolve(process.cwd(), 'out/sitemap.xml') fs.writeFileSync(file, data.toString(), 'utf8') + + console.log('Wrote into', file) }) diff --git a/yarn.lock b/yarn.lock index bef6750..64e1418 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1580,6 +1580,13 @@ __metadata: languageName: node linkType: hard +"@zeit/schemas@npm:2.6.0": + version: 2.6.0 + resolution: "@zeit/schemas@npm:2.6.0" + checksum: 0e015fadf7006c8e4d134148321212e6179f8ed94ca41488a10178b3fbe78eb3a13d540f8b19d7438be48315b369ffd0fc6c0e222417b30b412a4409a911cc99 + languageName: node + linkType: hard + "abbrev@npm:1": version: 1.1.1 resolution: "abbrev@npm:1.1.1" @@ -1587,6 +1594,16 @@ __metadata: languageName: node linkType: hard +"accepts@npm:~1.3.5": + version: 1.3.7 + resolution: "accepts@npm:1.3.7" + dependencies: + mime-types: ~2.1.24 + negotiator: 0.6.2 + checksum: 2686fa30dbc850db1bf458dc8171fba13c54ed6cb25f4298ec7c2f88b8dfc50351f25c40abe3a948e4ec7a0cc8ea83d1c55c2f73ffa612d18840a8778d4a2ee0 + languageName: node + linkType: hard + "acorn-dynamic-import@npm:^4.0.0": version: 4.0.0 resolution: "acorn-dynamic-import@npm:4.0.0" @@ -1632,6 +1649,18 @@ __metadata: languageName: node linkType: hard +"ajv@npm:6.5.3": + version: 6.5.3 + resolution: "ajv@npm:6.5.3" + dependencies: + fast-deep-equal: ^2.0.1 + fast-json-stable-stringify: ^2.0.0 + json-schema-traverse: ^0.4.1 + uri-js: ^4.2.2 + checksum: 8ea3290d534eb2b82cb59f98caef9cb267d3e05e6eb5e7ca9f81d50d490ea427ca8d2b55ba92e0425a2a9e7f61342d48964ba044c3829d3d25b30415132c93cc + languageName: node + linkType: hard + "ajv@npm:^6.10.0, ajv@npm:^6.12.3, ajv@npm:^6.12.4, ajv@npm:^6.12.5": version: 6.12.6 resolution: "ajv@npm:6.12.6" @@ -1663,6 +1692,15 @@ __metadata: languageName: node linkType: hard +"ansi-align@npm:^2.0.0": + version: 2.0.0 + resolution: "ansi-align@npm:2.0.0" + dependencies: + string-width: ^2.0.0 + checksum: acd73a693a39a0cbc8f9f34528f685fa881a720de8ca5d9b65266486ed7dfb158918a8198fa0ef29c24b10c121ad677d42255232073593ab15631d547e47ba73 + languageName: node + linkType: hard + "ansi-colors@npm:^4.1.1": version: 4.1.1 resolution: "ansi-colors@npm:4.1.1" @@ -1726,6 +1764,13 @@ __metadata: languageName: node linkType: hard +"arch@npm:^2.1.0": + version: 2.2.0 + resolution: "arch@npm:2.2.0" + checksum: 4a8d92a9a7ee185fd0f2cbe40f8c3eb6147afa86bf07b03e2cf8c8f024d2f14c42a8cf7ed06a8ce1bbe17d123a19e83d46ebddd77acb49c8ce68194cf99ab711 + languageName: node + linkType: hard + "are-we-there-yet@npm:~1.1.2": version: 1.1.5 resolution: "are-we-there-yet@npm:1.1.5" @@ -1736,6 +1781,13 @@ __metadata: languageName: node linkType: hard +"arg@npm:2.0.0": + version: 2.0.0 + resolution: "arg@npm:2.0.0" + checksum: 2601e7335979395180e9cbfbff7512df1e967c8ce7b19cef19d0e2897e18cbacf832aef13b35b337cb94857f3ef45e800955d271363e3652174df87943d63297 + languageName: node + linkType: hard + "arg@npm:^5.0.0": version: 5.0.0 resolution: "arg@npm:5.0.0" @@ -2008,6 +2060,21 @@ __metadata: languageName: node linkType: hard +"boxen@npm:1.3.0": + version: 1.3.0 + resolution: "boxen@npm:1.3.0" + dependencies: + ansi-align: ^2.0.0 + camelcase: ^4.0.0 + chalk: ^2.0.1 + cli-boxes: ^1.0.0 + string-width: ^2.0.0 + term-size: ^1.2.0 + widest-line: ^2.0.0 + checksum: 1e402785f9bd5994d0679adb98fd4137200553bbc14073aefa9e5f4fa9b001b713561c978e3976cebc520a25e3eb4babd2288b7fa8dfe28b5cf041e8dedec1c2 + languageName: node + linkType: hard + "brace-expansion@npm:^1.1.7": version: 1.1.11 resolution: "brace-expansion@npm:1.1.11" @@ -2184,6 +2251,13 @@ __metadata: languageName: node linkType: hard +"bytes@npm:3.0.0": + version: 3.0.0 + resolution: "bytes@npm:3.0.0" + checksum: 98d6c0ab36f7a5527226fd928e65495ffd3d53cb22da627eba3300eed36bd283ae3dfdf3a0aa017df13a09115b5b8847e3d51f66c2f0304a262264c86a317c05 + languageName: node + linkType: hard + "bytes@npm:3.1.0": version: 3.1.0 resolution: "bytes@npm:3.1.0" @@ -2215,6 +2289,13 @@ __metadata: languageName: node linkType: hard +"camelcase@npm:^4.0.0": + version: 4.1.0 + resolution: "camelcase@npm:4.1.0" + checksum: 6ca41b5114ef3683013fb51cf9a11c60dcfeef90ceb0075c2d77b7455819e2acdcc7fb5c033314f862212acb23056f1774879dfc580938a9a27ecc345856d1a3 + languageName: node + linkType: hard + "caniuse-lite@npm:^1.0.30001173, caniuse-lite@npm:^1.0.30001179": version: 1.0.30001187 resolution: "caniuse-lite@npm:1.0.30001187" @@ -2236,7 +2317,18 @@ __metadata: languageName: node linkType: hard -"chalk@npm:2.4.2, chalk@npm:^2.0.0, chalk@npm:^2.4.2": +"chalk@npm:2.4.1": + version: 2.4.1 + resolution: "chalk@npm:2.4.1" + dependencies: + ansi-styles: ^3.2.1 + escape-string-regexp: ^1.0.5 + supports-color: ^5.3.0 + checksum: 4622cdba475f17904bf025e38bcdee324e5289a5d677d2d3a8ec57a7ca5d71a1a7d7db633c15ab71bab96cc54607841162ebbae64f7beb4fb07c5df0bb452199 + languageName: node + linkType: hard + +"chalk@npm:2.4.2, chalk@npm:^2.0.0, chalk@npm:^2.0.1, chalk@npm:^2.4.2": version: 2.4.2 resolution: "chalk@npm:2.4.2" dependencies: @@ -2338,6 +2430,23 @@ __metadata: languageName: node linkType: hard +"cli-boxes@npm:^1.0.0": + version: 1.0.0 + resolution: "cli-boxes@npm:1.0.0" + checksum: 1227f15d826bd7d192dfa8ccb1013027739b1d60336de540abc957d4664a047c7dc5d1aa8f39633adcc0bc01f48201dfc9fe198a115dbae874794a9048db9840 + languageName: node + linkType: hard + +"clipboardy@npm:1.2.3": + version: 1.2.3 + resolution: "clipboardy@npm:1.2.3" + dependencies: + arch: ^2.1.0 + execa: ^0.8.0 + checksum: 3eb91f63059260a8e4040d5760107355eda2d9213e2ddf05c2dcfdf9a22dcc475d4e21a3045494b11c8cdae949a747c198b7b6cdd5003701c38b2bb420caf756 + languageName: node + linkType: hard + "code-point-at@npm:^1.0.0": version: 1.1.0 resolution: "code-point-at@npm:1.1.0" @@ -2434,6 +2543,30 @@ __metadata: languageName: node linkType: hard +"compressible@npm:~2.0.14": + version: 2.0.18 + resolution: "compressible@npm:2.0.18" + dependencies: + mime-db: ">= 1.43.0 < 2" + checksum: 8ac178b6ef4f72adc51e495f23f7212a4764395dde24e476046cca1db988859eef96453e11563bcf40d1bf74469cdd7db29539fd4ac553577d9812d3f112fada + languageName: node + linkType: hard + +"compression@npm:1.7.3": + version: 1.7.3 + resolution: "compression@npm:1.7.3" + dependencies: + accepts: ~1.3.5 + bytes: 3.0.0 + compressible: ~2.0.14 + debug: 2.6.9 + on-headers: ~1.0.1 + safe-buffer: 5.1.2 + vary: ~1.1.2 + checksum: 20599747a7a6b0855e362428d382d4edcd226cea682d20c6e33a7768fb448b2f8b4974f18c5e27fa6abfbbb193aba1ef0b7db87bd7cea24a7d5f7c216573e1fe + languageName: node + linkType: hard + "compute-scroll-into-view@npm:1.0.14": version: 1.0.14 resolution: "compute-scroll-into-view@npm:1.0.14" @@ -2476,6 +2609,13 @@ __metadata: languageName: node linkType: hard +"content-disposition@npm:0.5.2": + version: 0.5.2 + resolution: "content-disposition@npm:0.5.2" + checksum: 5d54ba7c9a6e865d1fea321e43d9e56be091aa20706f4632a236ebe7824ed3cb0eac314b80e76a9db2092d287d69add03efcaf743068ee0be1f71159c14a134c + languageName: node + linkType: hard + "convert-source-map@npm:1.7.0, convert-source-map@npm:^1.5.0, convert-source-map@npm:^1.7.0": version: 1.7.0 resolution: "convert-source-map@npm:1.7.0" @@ -2551,6 +2691,17 @@ __metadata: languageName: node linkType: hard +"cross-spawn@npm:^5.0.1": + version: 5.1.0 + resolution: "cross-spawn@npm:5.1.0" + dependencies: + lru-cache: ^4.0.1 + shebang-command: ^1.2.0 + which: ^1.2.9 + checksum: 96018c42a94a2f69e27c11688db638c343109e4eda5cc6586a83a1d2f102ef2ef4d184919593036748d386ddb67cc3e66658fefec85a4659958cde792f1a9ddc + languageName: node + linkType: hard + "cross-spawn@npm:^7.0.2": version: 7.0.3 resolution: "cross-spawn@npm:7.0.3" @@ -2661,7 +2812,7 @@ __metadata: languageName: node linkType: hard -"debug@npm:^2.6.9": +"debug@npm:2.6.9, debug@npm:^2.6.9": version: 2.6.9 resolution: "debug@npm:2.6.9" dependencies: @@ -3276,6 +3427,36 @@ __metadata: languageName: node linkType: hard +"execa@npm:^0.7.0": + version: 0.7.0 + resolution: "execa@npm:0.7.0" + dependencies: + cross-spawn: ^5.0.1 + get-stream: ^3.0.0 + is-stream: ^1.1.0 + npm-run-path: ^2.0.0 + p-finally: ^1.0.0 + signal-exit: ^3.0.0 + strip-eof: ^1.0.0 + checksum: 7210f5334e5da185365eccc129bedb2f7dc6e5872fb1f09f36fc603e32790d79bfad61ddc6219d057d7fa65c69c17025cdb51b859e7d5a64e94d261ddbbbf260 + languageName: node + linkType: hard + +"execa@npm:^0.8.0": + version: 0.8.0 + resolution: "execa@npm:0.8.0" + dependencies: + cross-spawn: ^5.0.1 + get-stream: ^3.0.0 + is-stream: ^1.1.0 + npm-run-path: ^2.0.0 + p-finally: ^1.0.0 + signal-exit: ^3.0.0 + strip-eof: ^1.0.0 + checksum: 1a5fd2f5702b1c47605ed06836acdd8b7dafa1cdd39c517ef1414fc3e94ccc93f605d285edbafc8ad9e36992b27a386f529bfeb5434509f800d03896be2dd09f + languageName: node + linkType: hard + "expand-template@npm:^2.0.3": version: 2.0.3 resolution: "expand-template@npm:2.0.3" @@ -3313,6 +3494,13 @@ __metadata: languageName: node linkType: hard +"fast-deep-equal@npm:^2.0.1": + version: 2.0.1 + resolution: "fast-deep-equal@npm:2.0.1" + checksum: ad315b79abe335f25271821447bdbbca5d7a6e5930da498fbb2628d28399e958a679adddbb665f5b2943bfd83d9dd375ac5fb45e9004c9516177008ebb7efc16 + languageName: node + linkType: hard + "fast-deep-equal@npm:^3.1.1": version: 3.1.3 resolution: "fast-deep-equal@npm:3.1.3" @@ -3334,6 +3522,15 @@ __metadata: languageName: node linkType: hard +"fast-url-parser@npm:1.1.3": + version: 1.1.3 + resolution: "fast-url-parser@npm:1.1.3" + dependencies: + punycode: ^1.3.2 + checksum: 8dbc306b736e32963fe4391a581401c422d826497ce5cacf6e7c60525febfbcea477fbc5b012fe3316f6634a20fa00882168c5ed792ff3ef904c5bc6a11a598d + languageName: node + linkType: hard + "file-entry-cache@npm:^6.0.0": version: 6.0.0 resolution: "file-entry-cache@npm:6.0.0" @@ -3568,6 +3765,13 @@ fsevents@~2.3.1: languageName: node linkType: hard +"get-stream@npm:^3.0.0": + version: 3.0.0 + resolution: "get-stream@npm:3.0.0" + checksum: 83ed722c1b43b3889f12cc4530d663b282a6fee915856d0c7122138d4864a3db54d252df2f9de032d1a2bb6b5a807083954992e583180b500013b2351fb5f440 + languageName: node + linkType: hard + "getpass@npm:^0.1.1": version: 0.1.7 resolution: "getpass@npm:0.1.7" @@ -4158,6 +4362,13 @@ fsevents@~2.3.1: languageName: node linkType: hard +"is-stream@npm:^1.1.0": + version: 1.1.0 + resolution: "is-stream@npm:1.1.0" + checksum: 39843ee9ff68ebda05237199f18831eb6e0e28db7799ee9ddaac5573b0681f18b4dc427afdb7b7ad906db545e4648999c42a1810b277acc8451593ff59da00fa + languageName: node + linkType: hard + "is-string@npm:^1.0.5": version: 1.0.5 resolution: "is-string@npm:1.0.5" @@ -4524,6 +4735,16 @@ fsevents@~2.3.1: languageName: node linkType: hard +"lru-cache@npm:^4.0.1": + version: 4.1.5 + resolution: "lru-cache@npm:4.1.5" + dependencies: + pseudomap: ^1.0.2 + yallist: ^2.1.2 + checksum: 6a098d23629357451d4324e1e4fefccdd6df316df29e25571c6148220ced923258381ebeafdf919f90e28c780b650427390582618c1d5fe097873e656d062511 + languageName: node + linkType: hard + "lru-cache@npm:^6.0.0": version: 6.0.0 resolution: "lru-cache@npm:6.0.0" @@ -4629,14 +4850,30 @@ fsevents@~2.3.1: languageName: node linkType: hard -"mime-db@npm:1.46.0": +"mime-db@npm:1.46.0, mime-db@npm:>= 1.43.0 < 2": version: 1.46.0 resolution: "mime-db@npm:1.46.0" checksum: 4e137ac502ca5ba6c583e552c5fa6abd0c2157592f647824ba7246b771eb42c65c2a1816fc52b27afdbb88a026127f1d5fba354f9dcde591b3b464be07c3d27e languageName: node linkType: hard -"mime-types@npm:^2.1.12, mime-types@npm:^2.1.27, mime-types@npm:~2.1.19": +"mime-db@npm:~1.33.0": + version: 1.33.0 + resolution: "mime-db@npm:1.33.0" + checksum: f33acedd5b2bfd57fe987aa01c209abd3c6f762c6746c2a1ffefa77f8c10d39a2af9a591bd44f39f8d42a5ee30e43407cfd8535392773f211c2c7d7b6def90d4 + languageName: node + linkType: hard + +"mime-types@npm:2.1.18": + version: 2.1.18 + resolution: "mime-types@npm:2.1.18" + dependencies: + mime-db: ~1.33.0 + checksum: f1e2fed4f9d04a0d158c48b42f8ac5f1a655b27399674f7bd9f16e6784221ec4c2d30b20f24174f741ee6aa2556170f63b3ec9f51cb4e99e0a04c56799c8317c + languageName: node + linkType: hard + +"mime-types@npm:^2.1.12, mime-types@npm:^2.1.27, mime-types@npm:~2.1.19, mime-types@npm:~2.1.24": version: 2.1.29 resolution: "mime-types@npm:2.1.29" dependencies: @@ -4673,7 +4910,7 @@ fsevents@~2.3.1: languageName: node linkType: hard -"minimatch@npm:^3.0.4": +"minimatch@npm:3.0.4, minimatch@npm:^3.0.4": version: 3.0.4 resolution: "minimatch@npm:3.0.4" dependencies: @@ -4770,6 +5007,13 @@ fsevents@~2.3.1: languageName: node linkType: hard +"negotiator@npm:0.6.2": + version: 0.6.2 + resolution: "negotiator@npm:0.6.2" + checksum: 4b230bd15f0862d16c54ce0243fcfcf835ad59c8e58c467b4504dd28c9868cff71ff485b02cc575dc69dca819b58a1fadc9fb28403f45721f38a8fffde007d54 + languageName: node + linkType: hard + "next-compose-plugins@npm:^2.2.1": version: 2.2.1 resolution: "next-compose-plugins@npm:2.2.1" @@ -4992,6 +5236,15 @@ fsevents@~2.3.1: languageName: node linkType: hard +"npm-run-path@npm:^2.0.0": + version: 2.0.2 + resolution: "npm-run-path@npm:2.0.2" + dependencies: + path-key: ^2.0.0 + checksum: 0a1bc9a1e0faa7e54a011929b830121d5da393f50cbe37c83f3ffd67781b6d176739ba6e8eab5d56faa05738a60f7eb50389673767db0dc887073932f80b9b60 + languageName: node + linkType: hard + "npmlog@npm:^4.0.1, npmlog@npm:^4.1.2": version: 4.1.2 resolution: "npmlog@npm:4.1.2" @@ -5087,6 +5340,13 @@ fsevents@~2.3.1: languageName: node linkType: hard +"on-headers@npm:~1.0.1": + version: 1.0.2 + resolution: "on-headers@npm:1.0.2" + checksum: 51e75c80755169e765aa76238722e5ad1623f62b13bbc23544ade20cdbb6950cf0e6aa91de35d02ec956f47dc072ee460d8eef82354e4abf8fa692885cb3f2d8 + languageName: node + linkType: hard + "once@npm:^1.3.0, once@npm:^1.3.1, once@npm:^1.4.0": version: 1.4.0 resolution: "once@npm:1.4.0" @@ -5117,6 +5377,13 @@ fsevents@~2.3.1: languageName: node linkType: hard +"p-finally@npm:^1.0.0": + version: 1.0.0 + resolution: "p-finally@npm:1.0.0" + checksum: 01f49b2d9c67573b3a1cb253cd9e1ecf5c912b6ba5de8824118bbc8d647bfa6296820b5a536e91ec68a54395d4e1c58de9a381ded3b688074fb446a8fe351931 + languageName: node + linkType: hard + "p-limit@npm:3.1.0": version: 3.1.0 resolution: "p-limit@npm:3.1.0" @@ -5282,6 +5549,20 @@ fsevents@~2.3.1: languageName: node linkType: hard +"path-is-inside@npm:1.0.2": + version: 1.0.2 + resolution: "path-is-inside@npm:1.0.2" + checksum: 9c1841199d18398ee5f6d79f57eaa57f8eb85743353ea97c6d933423f246f044575a10c1847c638c36440b050aef82665b9cb4fc60950866cd239f3d51835ef4 + languageName: node + linkType: hard + +"path-key@npm:^2.0.0": + version: 2.0.1 + resolution: "path-key@npm:2.0.1" + checksum: 7dc807a2baa11d6bc0fca72148a0a0ca69ab73d98fbe42e10d22764d1ef547767f2b4ff827c6bc66e733388cd8d54297a45a39499825b9fdfd18959202384029 + languageName: node + linkType: hard + "path-key@npm:^3.1.0": version: 3.1.1 resolution: "path-key@npm:3.1.1" @@ -5296,6 +5577,13 @@ fsevents@~2.3.1: languageName: node linkType: hard +"path-to-regexp@npm:2.2.1": + version: 2.2.1 + resolution: "path-to-regexp@npm:2.2.1" + checksum: 1f9be3a4100c23f845892406bcdfcf79d62044ce24c1c50dca28719123ce7d338ac584e98d21d23eef2702754925511812e768523e59916777ec1f444438d9a4 + languageName: node + linkType: hard + "path-type@npm:^2.0.0": version: 2.0.0 resolution: "path-type@npm:2.0.0" @@ -5497,6 +5785,13 @@ fsevents@~2.3.1: languageName: node linkType: hard +"pseudomap@npm:^1.0.2": + version: 1.0.2 + resolution: "pseudomap@npm:1.0.2" + checksum: 1ad1802645e830d99f9c1db97efc6902d2316b660454633229f636dd59e751d00498dd325d3b18d49f2be990a2c9d28f8bfe6f9b544a8220a5faa2bfb4694bb7 + languageName: node + linkType: hard + "psl@npm:^1.1.28": version: 1.8.0 resolution: "psl@npm:1.8.0" @@ -5535,7 +5830,7 @@ fsevents@~2.3.1: languageName: node linkType: hard -"punycode@npm:^1.2.4": +"punycode@npm:^1.2.4, punycode@npm:^1.3.2": version: 1.4.1 resolution: "punycode@npm:1.4.1" checksum: 5ce1e044cee2b12f1c65ccd523d7e71d6578f2c77f5c21c2e7a9d588535559c9508571d42638c131dab93cbe9a7b37bce1a7475d43fc8236c99dfe1efc36cfa5 @@ -5596,6 +5891,13 @@ fsevents@~2.3.1: languageName: node linkType: hard +"range-parser@npm:1.2.0": + version: 1.2.0 + resolution: "range-parser@npm:1.2.0" + checksum: 8260023192a5def4c6db4ced82e6546306937f1202417b846f2e8b565426e71697086f509a070f66fd23a57e9f96aba108f08d16d4be23d418c8c68a73b539bd + languageName: node + linkType: hard + "raw-body@npm:2.4.1": version: 2.4.1 resolution: "raw-body@npm:2.4.1" @@ -5608,7 +5910,7 @@ fsevents@~2.3.1: languageName: node linkType: hard -"rc@npm:^1.2.7": +"rc@npm:^1.0.1, rc@npm:^1.1.6, rc@npm:^1.2.7": version: 1.2.8 resolution: "rc@npm:1.2.8" dependencies: @@ -5874,6 +6176,25 @@ fsevents@~2.3.1: languageName: node linkType: hard +"registry-auth-token@npm:3.3.2": + version: 3.3.2 + resolution: "registry-auth-token@npm:3.3.2" + dependencies: + rc: ^1.1.6 + safe-buffer: ^5.0.1 + checksum: e23c360fd85760a9fb75bd9deea1dc4bf7d8d0cca995e267db40d748ef9d106ffc79d7dde36d9c29b5b76e49b10de79240748f8a411f75eaee74c10e65607739 + languageName: node + linkType: hard + +"registry-url@npm:3.1.0": + version: 3.1.0 + resolution: "registry-url@npm:3.1.0" + dependencies: + rc: ^1.0.1 + checksum: f0bdf9be94c196506846ddc4cbb6a2aee1b90025c36739d1b309c2e9b2c765ab7900cb020e5ae1141f2300d3b2723efa8f24e907bc44f37adde595fbd1d30695 + languageName: node + linkType: hard + "regjsgen@npm:^0.5.1": version: 0.5.2 resolution: "regjsgen@npm:0.5.2" @@ -6038,6 +6359,13 @@ fsevents@~2.3.1: languageName: node linkType: hard +"safe-buffer@npm:5.1.2, safe-buffer@npm:~5.1.0, safe-buffer@npm:~5.1.1": + version: 5.1.2 + resolution: "safe-buffer@npm:5.1.2" + checksum: 2708587c1b5e70a5e420714ceb59f30f5791c6e831d39812125a008eca63a4ac18578abd020a0776ea497ff03b4543f2b2a223a7b9073bf2d6c7af9ec6829218 + languageName: node + linkType: hard + "safe-buffer@npm:^5.0.1, safe-buffer@npm:^5.1.0, safe-buffer@npm:^5.1.1, safe-buffer@npm:^5.1.2, safe-buffer@npm:^5.2.0, safe-buffer@npm:~5.2.0": version: 5.2.1 resolution: "safe-buffer@npm:5.2.1" @@ -6045,13 +6373,6 @@ fsevents@~2.3.1: languageName: node linkType: hard -"safe-buffer@npm:~5.1.0, safe-buffer@npm:~5.1.1": - version: 5.1.2 - resolution: "safe-buffer@npm:5.1.2" - checksum: 2708587c1b5e70a5e420714ceb59f30f5791c6e831d39812125a008eca63a4ac18578abd020a0776ea497ff03b4543f2b2a223a7b9073bf2d6c7af9ec6829218 - languageName: node - linkType: hard - "safer-buffer@npm:>= 2.1.2 < 3, safer-buffer@npm:^2.0.2, safer-buffer@npm:^2.1.0, safer-buffer@npm:~2.1.0": version: 2.1.2 resolution: "safer-buffer@npm:2.1.2" @@ -6126,6 +6447,41 @@ fsevents@~2.3.1: languageName: node linkType: hard +"serve-handler@npm:6.1.3": + version: 6.1.3 + resolution: "serve-handler@npm:6.1.3" + dependencies: + bytes: 3.0.0 + content-disposition: 0.5.2 + fast-url-parser: 1.1.3 + mime-types: 2.1.18 + minimatch: 3.0.4 + path-is-inside: 1.0.2 + path-to-regexp: 2.2.1 + range-parser: 1.2.0 + checksum: 493e7556ec53bc6c8616ffc58697d93c5ebc8ddeb38de39b5381140a8467bb720fbbd58fbe91de25ea9ccc98ce8b11131ccd7e160ddf891ca5199e7f1437cc18 + languageName: node + linkType: hard + +"serve@npm:^11.3.2": + version: 11.3.2 + resolution: "serve@npm:11.3.2" + dependencies: + "@zeit/schemas": 2.6.0 + ajv: 6.5.3 + arg: 2.0.0 + boxen: 1.3.0 + chalk: 2.4.1 + clipboardy: 1.2.3 + compression: 1.7.3 + serve-handler: 6.1.3 + update-check: 1.5.2 + bin: + serve: bin/serve.js + checksum: b455b7e3e895f9b9cb4f1dd7430face76278770cf5dc0fffa89e7eac38ed955e5bc1e3f3f435bc4dd05fa0548a09cc6cdf7af5938da2b1b377af3a3080f9eca7 + languageName: node + linkType: hard + "set-blocking@npm:~2.0.0": version: 2.0.0 resolution: "set-blocking@npm:2.0.0" @@ -6178,6 +6534,15 @@ fsevents@~2.3.1: languageName: node linkType: hard +"shebang-command@npm:^1.2.0": + version: 1.2.0 + resolution: "shebang-command@npm:1.2.0" + dependencies: + shebang-regex: ^1.0.0 + checksum: 2a1e0092a6b80b14ec742ef4e982be8aa670edc7de3e8c68b26744fb535051f7d92518106387b52e9aabe0c1ceae33d23a7dfdb94c3d7f5035c3868b723a2854 + languageName: node + linkType: hard + "shebang-command@npm:^2.0.0": version: 2.0.0 resolution: "shebang-command@npm:2.0.0" @@ -6187,6 +6552,13 @@ fsevents@~2.3.1: languageName: node linkType: hard +"shebang-regex@npm:^1.0.0": + version: 1.0.0 + resolution: "shebang-regex@npm:1.0.0" + checksum: cf1a41cb09023e7d39739d7145fcba57c3fabc6728b78ce706f7315cf52dfadf30f7eea664e069224fbcbbfb6ab853bc55ac45f494b47ee73fc209c98487fae5 + languageName: node + linkType: hard + "shebang-regex@npm:^3.0.0": version: 3.0.0 resolution: "shebang-regex@npm:3.0.0" @@ -6462,7 +6834,7 @@ fsevents@~2.3.1: languageName: node linkType: hard -"string-width@npm:^1.0.2 || 2": +"string-width@npm:^1.0.2 || 2, string-width@npm:^2.0.0, string-width@npm:^2.1.1": version: 2.1.1 resolution: "string-width@npm:2.1.1" dependencies: @@ -6577,6 +6949,13 @@ fsevents@~2.3.1: languageName: node linkType: hard +"strip-eof@npm:^1.0.0": + version: 1.0.0 + resolution: "strip-eof@npm:1.0.0" + checksum: 905cd8718ad2e7b3a9c4bc6a9ed409c38b8cef638845a9471884547de0dbe611828d584e749a38d3eebc2d3c830ea9c619d78875a639b7413d93080661807376 + languageName: node + linkType: hard + "strip-json-comments@npm:^3.1.0, strip-json-comments@npm:^3.1.1": version: 3.1.1 resolution: "strip-json-comments@npm:3.1.1" @@ -6729,6 +7108,15 @@ fsevents@~2.3.1: languageName: node linkType: hard +"term-size@npm:^1.2.0": + version: 1.2.0 + resolution: "term-size@npm:1.2.0" + dependencies: + execa: ^0.7.0 + checksum: 3620b140f84262fefbae5264ee9872cc5e26b05250050d379fb7dd2f123d2b9a49e329c3da4333cd4f9e5855689b10f7d18d0a962f42c4ed6369affb28dcefbb + languageName: node + linkType: hard + "text-table@npm:^0.2.0": version: 0.2.0 resolution: "text-table@npm:0.2.0" @@ -6954,6 +7342,7 @@ fsevents@~2.3.1: react-dom: ^17.0.1 react-ga: ^3.3.0 react-icons: ^4.2.0 + serve: ^11.3.2 sitemap: ^6.4.0 languageName: unknown linkType: soft @@ -7103,6 +7492,16 @@ fsevents@~2.3.1: languageName: node linkType: hard +"update-check@npm:1.5.2": + version: 1.5.2 + resolution: "update-check@npm:1.5.2" + dependencies: + registry-auth-token: 3.3.2 + registry-url: 3.1.0 + checksum: b2dd841107f79ba6a5fb9c5cfe46ef3485c04fc958e88f6893b9951732fefc4815cfb2e4bb507ad39eaf02c485d9e0f0778c089a220ac510c374b206bee63063 + languageName: node + linkType: hard + "uri-js@npm:^4.2.2": version: 4.4.1 resolution: "uri-js@npm:4.4.1" @@ -7226,6 +7625,13 @@ fsevents@~2.3.1: languageName: node linkType: hard +"vary@npm:~1.1.2": + version: 1.1.2 + resolution: "vary@npm:1.1.2" + checksum: 591f059f727ac1ba0d97cb7767f8583a03fcbb07db7be2b7dce838ede520ec0e958a41cb19077054769077fdc49a9b9a2dc391c83426bfee89c054b8cc7404bf + languageName: node + linkType: hard + "verror@npm:1.10.0": version: 1.10.0 resolution: "verror@npm:1.10.0" @@ -7324,6 +7730,17 @@ fsevents@~2.3.1: languageName: node linkType: hard +"which@npm:^1.2.9": + version: 1.3.1 + resolution: "which@npm:1.3.1" + dependencies: + isexe: ^2.0.0 + bin: + which: ./bin/which + checksum: 298d95f9c185c4da22c1bfb1fdfa37c2ba56df8a6b98706ab361bf31a7d3a4845afaecfc48d4de7a259048842b5f2977f51b56f5c06c1f6a83dcf5a9e3de634a + languageName: node + linkType: hard + "which@npm:^2.0.1, which@npm:^2.0.2": version: 2.0.2 resolution: "which@npm:2.0.2" @@ -7344,6 +7761,15 @@ fsevents@~2.3.1: languageName: node linkType: hard +"widest-line@npm:^2.0.0": + version: 2.0.1 + resolution: "widest-line@npm:2.0.1" + dependencies: + string-width: ^2.1.1 + checksum: dd98e47483dd3c5c2cc5515d576f386d0a42c11d3841bdd5040aeb819a2c84735a0cc65d3a3c9f9c000425c09678092d37d6d670c05192313ad7fdfd6111883f + languageName: node + linkType: hard + "word-wrap@npm:^1.2.3": version: 1.2.3 resolution: "word-wrap@npm:1.2.3" @@ -7365,6 +7791,13 @@ fsevents@~2.3.1: languageName: node linkType: hard +"yallist@npm:^2.1.2": + version: 2.1.2 + resolution: "yallist@npm:2.1.2" + checksum: f83e3d18eeba68a0276be2ab09260be3f2a300307e84b1565c620ef71f03f106c3df9bec4c3a91e5fa621a038f8826c19b3786804d3795dd4f999e5b6be66ea3 + languageName: node + linkType: hard + "yallist@npm:^4.0.0": version: 4.0.0 resolution: "yallist@npm:4.0.0"