From 2d912fe64468a24461c4f7e7b4a3a3c5f734b537 Mon Sep 17 00:00:00 2001 From: eddie <66155195+just-toby@users.noreply.github.com> Date: Wed, 23 Aug 2023 09:09:56 -0700 Subject: [PATCH] fix: remove extra slash in URLs (#625) --- .github/workflows/lint.yaml | 4 ++-- docusaurus.config.js | 4 ++-- package.json | 4 ++-- yarn.lock | 7 +------ 4 files changed, 7 insertions(+), 12 deletions(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index dc7624501b..28f7e23ef9 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -12,9 +12,9 @@ jobs: uses: actions/checkout@v3 - name: Set up node - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 16 - name: Install dependencies run: yarn --frozen-lockfile diff --git a/docusaurus.config.js b/docusaurus.config.js index 4f619ad441..723a621971 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -13,7 +13,7 @@ module.exports = { }, title: 'Uniswap', tagline: 'Documentation and Guides', - url: 'https://docs.uniswap.org/', + url: 'https://docs.uniswap.org', baseUrl: '/', onBrokenLinks: 'warn', onBrokenMarkdownLinks: 'ignore', @@ -200,7 +200,7 @@ module.exports = { { docs: { routeBasePath: '/', - sidebarPath: require.resolve("./sidebars.js"), + sidebarPath: require.resolve('./sidebars.js'), remarkPlugins: [math], rehypePlugins: [katex], editUrl: 'https://github.com/uniswap/uniswap-docs/tree/main/', diff --git a/package.json b/package.json index 7dc54e40f7..e7eda93573 100644 --- a/package.json +++ b/package.json @@ -72,7 +72,7 @@ }, "engines": { "npm": "please-use-yarn", - "node": "14", + "node": "16", "yarn": ">=1.22" } -} +} \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index b3c65068ff..100ead7a8d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3927,16 +3927,11 @@ caniuse-api@^3.0.0: lodash.memoize "^4.1.2" lodash.uniq "^4.5.0" -caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001181, caniuse-lite@^1.0.30001219, caniuse-lite@^1.0.30001297, caniuse-lite@^1.0.30001313: +caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001181, caniuse-lite@^1.0.30001219, caniuse-lite@^1.0.30001297, caniuse-lite@^1.0.30001313, caniuse-lite@^1.0.30001519: version "1.0.30001519" resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001519.tgz" integrity sha512-0QHgqR+Jv4bxHMp8kZ1Kn8CH55OikjKJ6JmKkZYP1F3D7w+lnFXF70nG5eNfsZS89jadi5Ywy5UCSKLAglIRkg== -caniuse-lite@^1.0.30001519: - version "1.0.30001519" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001519.tgz#3e7b8b8a7077e78b0eb054d69e6edf5c7df35601" - integrity sha512-0QHgqR+Jv4bxHMp8kZ1Kn8CH55OikjKJ6JmKkZYP1F3D7w+lnFXF70nG5eNfsZS89jadi5Ywy5UCSKLAglIRkg== - ccount@^1.0.0, ccount@^1.0.3: version "1.1.0" resolved "https://registry.yarnpkg.com/ccount/-/ccount-1.1.0.tgz#246687debb6014735131be8abab2d93898f8d043"