From 8cc7ff21d35d71a704658daae1d38a01c55a4c3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Best?= Date: Tue, 30 Jan 2024 09:22:13 +0100 Subject: [PATCH] chore: Fix landing page ISR * chore: Testing PPR for docs landing page * chore: Remove PPR * chore: Dump bundle size in a file * chore: Try fixing demo path again * chore: Only send ISR invalidation once * chore: Unsuspend GHA status --- .../workflows/test-against-nextjs-release.yml | 8 +- packages/docs/package.json | 3 +- .../src/app/(pages)/_landing/bundle-size.tsx | 16 +- .../docs/src/app/(pages)/_landing/demo.tsx | 7 +- .../src/app/(pages)/_landing/features.tsx | 3 +- packages/nuqs/.gitignore | 1 + packages/nuqs/package.json | 1 + pnpm-lock.yaml | 209 +++++------------- turbo.json | 2 +- 9 files changed, 83 insertions(+), 167 deletions(-) create mode 100644 packages/nuqs/.gitignore diff --git a/.github/workflows/test-against-nextjs-release.yml b/.github/workflows/test-against-nextjs-release.yml index 6fca1723d..7658c8021 100644 --- a/.github/workflows/test-against-nextjs-release.yml +++ b/.github/workflows/test-against-nextjs-release.yml @@ -56,6 +56,12 @@ jobs: jobName: next@${{ inputs.version }}${{ matrix.base-path && ' basePath' || ''}}${{ matrix.window-history-support && ' WHS' || ''}} env: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} + + invalidate-isr-cache: + name: Invalidate ISR cache + runs-on: ubuntu-latest + needs: test_against_nextjs_release + if: ${{ always() }} + steps: - name: Invalidate ISR cache for GitHub Actions status on landing page run: curl -s "https://nuqs.47ng.com/api/isr?tag=github-actions-status&token=${{ secrets.ISR_TOKEN }}" - if: always() diff --git a/packages/docs/package.json b/packages/docs/package.json index 3106f4431..621687c79 100644 --- a/packages/docs/package.json +++ b/packages/docs/package.json @@ -19,9 +19,8 @@ "class-variance-authority": "^0.7.0", "clsx": "^2.1.0", "dayjs": "^1.11.10", - "execa": "^8.0.1", "lucide-react": "^0.298.0", - "next": "14.0.4", + "next": "14.1.0", "next-docs-mdx": "^6.0.2", "next-docs-ui": "^6.0.2", "next-docs-zeta": "^6.0.2", diff --git a/packages/docs/src/app/(pages)/_landing/bundle-size.tsx b/packages/docs/src/app/(pages)/_landing/bundle-size.tsx index b95280eb3..0e21fc5d9 100644 --- a/packages/docs/src/app/(pages)/_landing/bundle-size.tsx +++ b/packages/docs/src/app/(pages)/_landing/bundle-size.tsx @@ -1,11 +1,15 @@ -import { execa } from 'execa' +import fs from 'node:fs/promises' import path from 'node:path' import prettyBytes from 'pretty-bytes' export async function BundleSize() { - const { stdout } = await execa('./node_modules/.bin/size-limit', ['--json'], { - cwd: path.resolve(process.cwd(), '../../packages/nuqs') - }) - const [{ size }] = JSON.parse(stdout) - return prettyBytes(size) + const filePath = path.resolve(process.cwd(), '../../packages/nuqs/size.json') + try { + const json = await fs.readFile(filePath, 'utf8') + const [{ size }] = JSON.parse(json) + return prettyBytes(size) + } catch (error) { + console.error(error) + return 'less than 4KB' + } } diff --git a/packages/docs/src/app/(pages)/_landing/demo.tsx b/packages/docs/src/app/(pages)/_landing/demo.tsx index 8e88959d9..cfe879393 100644 --- a/packages/docs/src/app/(pages)/_landing/demo.tsx +++ b/packages/docs/src/app/(pages)/_landing/demo.tsx @@ -1,14 +1,11 @@ import { CodeBlock } from '@/src/components/code-block' import fs from 'node:fs/promises' -import path from 'node:path' import { Suspense } from 'react' import { Demo } from './demo.client' export async function LandingDemo() { - const demoFilePath = path.resolve( - process.cwd(), - 'src/app/(pages)/_landing/demo.client.tsx' - ) + const demoFilePath = + process.cwd() + '/src/app/(pages)/_landing/demo.client.tsx' const demoFile = await fs.readFile(demoFilePath, 'utf8') const demoCode = demoFile .split('\n') diff --git a/packages/docs/src/app/(pages)/_landing/features.tsx b/packages/docs/src/app/(pages)/_landing/features.tsx index 9fc3db789..ec77982c0 100644 --- a/packages/docs/src/app/(pages)/_landing/features.tsx +++ b/packages/docs/src/app/(pages)/_landing/features.tsx @@ -14,6 +14,7 @@ import { } from 'lucide-react' import React from 'react' import { BundleSize } from './bundle-size' +import { GitHubActionsStatus } from './gha-status' export function FeaturesSection(props: React.ComponentProps<'section'>) { return ( @@ -113,7 +114,7 @@ export function FeaturesSection(props: React.ComponentProps<'section'>) { title={ Tested - {/* */} + } description="Tested against every Next.js release." diff --git a/packages/nuqs/.gitignore b/packages/nuqs/.gitignore new file mode 100644 index 000000000..ddb5807a2 --- /dev/null +++ b/packages/nuqs/.gitignore @@ -0,0 +1 @@ +size.json diff --git a/packages/nuqs/package.json b/packages/nuqs/package.json index 7998ca1c5..3e3dbfa1b 100644 --- a/packages/nuqs/package.json +++ b/packages/nuqs/package.json @@ -50,6 +50,7 @@ "scripts": { "dev": "tsup --format esm --watch --external=react", "build": "tsup --clean --external=react", + "postbuild": "size-limit --json > size.json", "test": "run-p test:*", "test:types": "tsd", "test:unit": "vitest run", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 88dbff8f6..9eb86ef0a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -68,24 +68,21 @@ importers: dayjs: specifier: ^1.11.10 version: 1.11.10 - execa: - specifier: ^8.0.1 - version: 8.0.1 lucide-react: specifier: ^0.298.0 version: 0.298.0(react@18.2.0) next: - specifier: 14.0.4 - version: 14.0.4(react-dom@18.2.0)(react@18.2.0) + specifier: 14.1.0 + version: 14.1.0(react-dom@18.2.0)(react@18.2.0) next-docs-mdx: specifier: ^6.0.2 - version: 6.0.2(@types/react@18.2.45)(next@14.0.4)(react-dom@18.2.0)(react@18.2.0) + version: 6.0.2(@types/react@18.2.45)(next@14.1.0)(react-dom@18.2.0)(react@18.2.0) next-docs-ui: specifier: ^6.0.2 - version: 6.0.2(@types/react-dom@18.2.17)(@types/react@18.2.45)(next@14.0.4)(react-dom@18.2.0)(react@18.2.0)(tailwindcss@3.3.6) + version: 6.0.2(@types/react-dom@18.2.17)(@types/react@18.2.45)(next@14.1.0)(react-dom@18.2.0)(react@18.2.0)(tailwindcss@3.3.6) next-docs-zeta: specifier: ^6.0.2 - version: 6.0.2(@types/react@18.2.45)(next@14.0.4)(react-dom@18.2.0)(react@18.2.0) + version: 6.0.2(@types/react@18.2.45)(next@14.1.0)(react-dom@18.2.0)(react@18.2.0) nuqs: specifier: workspace:* version: link:../nuqs @@ -988,10 +985,6 @@ packages: resolution: {integrity: sha512-Ms8ZswqY65/YfcjrlcIwMPD7Rg/dVjdLapMcSHG26W6O67EJDF435ShW4H4LXi1xKO1oRc97tLXUpx8jpLe86A==} dev: true - /@next/env@14.0.4: - resolution: {integrity: sha512-irQnbMLbUNQpP1wcE5NstJtbuA/69kRfzBrpAD7Gsn8zm/CY6YQYc3HQBz8QPxwISG26tIm5afvvVbu508oBeQ==} - dev: false - /@next/env@14.1.0: resolution: {integrity: sha512-Py8zIo+02ht82brwwhTg36iogzFqGLPXlRGKQw5s+qP/kMNc4MAyDeEwBKDijk6zTIbegEgu8Qy7C1LboslQAw==} dev: false @@ -1005,15 +998,6 @@ packages: dev: true optional: true - /@next/swc-darwin-arm64@14.0.4: - resolution: {integrity: sha512-mF05E/5uPthWzyYDyptcwHptucf/jj09i2SXBPwNzbgBNc+XnwzrL0U6BmPjQeOL+FiB+iG1gwBeq7mlDjSRPg==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [darwin] - requiresBuild: true - dev: false - optional: true - /@next/swc-darwin-arm64@14.1.0: resolution: {integrity: sha512-nUDn7TOGcIeyQni6lZHfzNoo9S0euXnu0jhsbMOmMJUBfgsnESdjN97kM7cBqQxZa8L/bM9om/S5/1dzCrW6wQ==} engines: {node: '>= 10'} @@ -1032,15 +1016,6 @@ packages: dev: true optional: true - /@next/swc-darwin-x64@14.0.4: - resolution: {integrity: sha512-IZQ3C7Bx0k2rYtrZZxKKiusMTM9WWcK5ajyhOZkYYTCc8xytmwSzR1skU7qLgVT/EY9xtXDG0WhY6fyujnI3rw==} - engines: {node: '>= 10'} - cpu: [x64] - os: [darwin] - requiresBuild: true - dev: false - optional: true - /@next/swc-darwin-x64@14.1.0: resolution: {integrity: sha512-1jgudN5haWxiAl3O1ljUS2GfupPmcftu2RYJqZiMJmmbBT5M1XDffjUtRUzP4W3cBHsrvkfOFdQ71hAreNQP6g==} engines: {node: '>= 10'} @@ -1059,15 +1034,6 @@ packages: dev: true optional: true - /@next/swc-linux-arm64-gnu@14.0.4: - resolution: {integrity: sha512-VwwZKrBQo/MGb1VOrxJ6LrKvbpo7UbROuyMRvQKTFKhNaXjUmKTu7wxVkIuCARAfiI8JpaWAnKR+D6tzpCcM4w==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: false - optional: true - /@next/swc-linux-arm64-gnu@14.1.0: resolution: {integrity: sha512-RHo7Tcj+jllXUbK7xk2NyIDod3YcCPDZxj1WLIYxd709BQ7WuRYl3OWUNG+WUfqeQBds6kvZYlc42NJJTNi4tQ==} engines: {node: '>= 10'} @@ -1086,15 +1052,6 @@ packages: dev: true optional: true - /@next/swc-linux-arm64-musl@14.0.4: - resolution: {integrity: sha512-8QftwPEW37XxXoAwsn+nXlodKWHfpMaSvt81W43Wh8dv0gkheD+30ezWMcFGHLI71KiWmHK5PSQbTQGUiidvLQ==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: false - optional: true - /@next/swc-linux-arm64-musl@14.1.0: resolution: {integrity: sha512-v6kP8sHYxjO8RwHmWMJSq7VZP2nYCkRVQ0qolh2l6xroe9QjbgV8siTbduED4u0hlk0+tjS6/Tuy4n5XCp+l6g==} engines: {node: '>= 10'} @@ -1113,15 +1070,6 @@ packages: dev: true optional: true - /@next/swc-linux-x64-gnu@14.0.4: - resolution: {integrity: sha512-/s/Pme3VKfZAfISlYVq2hzFS8AcAIOTnoKupc/j4WlvF6GQ0VouS2Q2KEgPuO1eMBwakWPB1aYFIA4VNVh667A==} - engines: {node: '>= 10'} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: false - optional: true - /@next/swc-linux-x64-gnu@14.1.0: resolution: {integrity: sha512-zJ2pnoFYB1F4vmEVlb/eSe+VH679zT1VdXlZKX+pE66grOgjmKJHKacf82g/sWE4MQ4Rk2FMBCRnX+l6/TVYzQ==} engines: {node: '>= 10'} @@ -1140,15 +1088,6 @@ packages: dev: true optional: true - /@next/swc-linux-x64-musl@14.0.4: - resolution: {integrity: sha512-m8z/6Fyal4L9Bnlxde5g2Mfa1Z7dasMQyhEhskDATpqr+Y0mjOBZcXQ7G5U+vgL22cI4T7MfvgtrM2jdopqWaw==} - engines: {node: '>= 10'} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: false - optional: true - /@next/swc-linux-x64-musl@14.1.0: resolution: {integrity: sha512-rbaIYFt2X9YZBSbH/CwGAjbBG2/MrACCVu2X0+kSykHzHnYH5FjHxwXLkcoJ10cX0aWCEynpu+rP76x0914atg==} engines: {node: '>= 10'} @@ -1167,15 +1106,6 @@ packages: dev: true optional: true - /@next/swc-win32-arm64-msvc@14.0.4: - resolution: {integrity: sha512-7Wv4PRiWIAWbm5XrGz3D8HUkCVDMMz9igffZG4NB1p4u1KoItwx9qjATHz88kwCEal/HXmbShucaslXCQXUM5w==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [win32] - requiresBuild: true - dev: false - optional: true - /@next/swc-win32-arm64-msvc@14.1.0: resolution: {integrity: sha512-o1N5TsYc8f/HpGt39OUQpQ9AKIGApd3QLueu7hXk//2xq5Z9OxmV6sQfNp8C7qYmiOlHYODOGqNNa0e9jvchGQ==} engines: {node: '>= 10'} @@ -1194,15 +1124,6 @@ packages: dev: true optional: true - /@next/swc-win32-ia32-msvc@14.0.4: - resolution: {integrity: sha512-zLeNEAPULsl0phfGb4kdzF/cAVIfaC7hY+kt0/d+y9mzcZHsMS3hAS829WbJ31DkSlVKQeHEjZHIdhN+Pg7Gyg==} - engines: {node: '>= 10'} - cpu: [ia32] - os: [win32] - requiresBuild: true - dev: false - optional: true - /@next/swc-win32-ia32-msvc@14.1.0: resolution: {integrity: sha512-XXIuB1DBRCFwNO6EEzCTMHT5pauwaSj4SWs7CYnME57eaReAKBXCnkUE80p/pAZcewm7hs+vGvNqDPacEXHVkw==} engines: {node: '>= 10'} @@ -1221,15 +1142,6 @@ packages: dev: true optional: true - /@next/swc-win32-x64-msvc@14.0.4: - resolution: {integrity: sha512-yEh2+R8qDlDCjxVpzOTEpBLQTEFAcP2A8fUFLaWNap9GitYKkKv1//y2S6XY6zsR4rCOPRpU7plYDR+az2n30A==} - engines: {node: '>= 10'} - cpu: [x64] - os: [win32] - requiresBuild: true - dev: false - optional: true - /@next/swc-win32-x64-msvc@14.1.0: resolution: {integrity: sha512-9WEbVRRAqJ3YFVqEZIxUqkiO8l1nool1LmNxygr5HWF8AcSYsEpneUDhmjUVJEzO2A04+oPtZdombzzPPkTtgg==} engines: {node: '>= 10'} @@ -1266,8 +1178,8 @@ packages: engines: {node: '>=12.4.0'} dev: true - /@nolyfill/shared@1.0.24: - resolution: {integrity: sha512-TGCpg3k5N7jj9AgU/1xFw9K1g4AC1vEE5ZFkW77oPNNLzprxT17PvFaNr/lr3BkkT5fJ5LNMntaTIq+pyWaeEA==} + /@nolyfill/shared@1.0.28: + resolution: {integrity: sha512-UJTshFMDgugBcYXGLopbL1enYpGREOEfjUMQKLPLeJqWfbfElGtYbGbUcucCENa7cicGo3M5u/DnPiZe/PYQyw==} dev: true /@nolyfill/side-channel@1.0.24: @@ -1275,11 +1187,11 @@ packages: engines: {node: '>=12.4.0'} dev: true - /@nolyfill/string.prototype.padend@1.0.24: - resolution: {integrity: sha512-uKO+748OF2xvJ+Xs5ZWnWQah6pwUnDUiAcb/ScNutLcVPEI8plS2bm3KkZUo7BeA2CgC6xD1EIKYkycz/cm2Yw==} + /@nolyfill/string.prototype.padend@1.0.28: + resolution: {integrity: sha512-70w/Hd+I79jfqpSv/cBZnwA9CBV1XxmtwnLgBhJtcWk3vlWTEdkcrJPK53PmedPa80dwFX29fbFf9mGcPagedg==} engines: {node: '>=12.4.0'} dependencies: - '@nolyfill/shared': 1.0.24 + '@nolyfill/shared': 1.0.28 dev: true /@octokit/auth-token@4.0.0: @@ -3370,6 +3282,7 @@ packages: /caniuse-lite@1.0.30001570: resolution: {integrity: sha512-+3e0ASu4sw1SWaoCtvPeyXp+5PsjigkSt8OXZbF9StH5pQWbxEjLAZE3n8Aup5udop1uRiKA7a4utUk/uoSpUw==} + dev: true /caniuse-lite@1.0.30001579: resolution: {integrity: sha512-u5AUVkixruKHJjw/pj9wISlcMpgFWzSrczLZbrqBSxukQixmg0SJ5sZTpvaFvxU0HoQKd4yoyAogyrAz9pzJnA==} @@ -3760,6 +3673,7 @@ packages: path-key: 3.1.1 shebang-command: 2.0.0 which: 2.0.2 + dev: true /crypto-random-string@4.0.0: resolution: {integrity: sha512-x8dy3RnvYdlUcPOjkEHqozhiwzKNSq7GcPuXFbnyMOCHxX8V3OgIg/pYuabl2sbUPfIJaeAQB7PMOK8DFIdoRA==} @@ -3926,6 +3840,18 @@ packages: supports-color: 8.1.1 dev: true + /debug@4.3.4: + resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==} + engines: {node: '>=6.0'} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + dependencies: + ms: 2.1.2 + dev: false + /debug@4.3.4(supports-color@8.1.1): resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==} engines: {node: '>=6.0'} @@ -3937,6 +3863,7 @@ packages: dependencies: ms: 2.1.2 supports-color: 8.1.1 + dev: true /decamelize-keys@1.1.1: resolution: {integrity: sha512-WiPxgEirIV0/eIOMcnFBA3/IJZAZqKnwAwWyvvdi4lsr1WCN22nhdf/3db3DoZcUjTV2SqfzIwNyp6y2xs3nmg==} @@ -4324,6 +4251,7 @@ packages: onetime: 6.0.0 signal-exit: 4.1.0 strip-final-newline: 3.0.0 + dev: true /executable@4.1.1: resolution: {integrity: sha512-8iA79xD3uAch729dUG8xaaBBFGaEa0wdD2VkYLFHwlqosEj/jT66AzcreRDSgV7ehnNLBW2WR5jIXwGKjVdTLg==} @@ -4548,6 +4476,7 @@ packages: /get-stream@8.0.1: resolution: {integrity: sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==} engines: {node: '>=16'} + dev: true /getos@3.2.1: resolution: {integrity: sha512-U56CfOK17OKgTVqozZjUKNdkfEv6jk5WISBJ8SHoagjE6L69zOwl3Z+O8myjY9MEW3i2HPWQBt/LTbCgcC973Q==} @@ -4603,6 +4532,7 @@ packages: /glob-to-regexp@0.4.1: resolution: {integrity: sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==} + dev: true /glob@7.1.6: resolution: {integrity: sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==} @@ -4706,6 +4636,7 @@ packages: /has-flag@4.0.0: resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==} engines: {node: '>=8'} + dev: true /hast-util-from-html@2.0.1: resolution: {integrity: sha512-RXQBLMl9kjKVNkJTIO6bZyb2n+cUH8LFaSSzo82jiLT6Tfc+Pt7VQCS+/h3YwG4jaNE2TA2sdJisGWR+aJrp0g==} @@ -4920,6 +4851,7 @@ packages: /human-signals@5.0.0: resolution: {integrity: sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==} engines: {node: '>=16.17.0'} + dev: true /husky@8.0.3: resolution: {integrity: sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==} @@ -5137,6 +5069,7 @@ packages: /is-stream@3.0.0: resolution: {integrity: sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + dev: true /is-text-path@2.0.0: resolution: {integrity: sha512-+oDTluR6WEjdXEJMnC2z6A4FRwFoYuvShVVEGsS7ewc0UTi2QtAKMDJuL4BDEVt+5T7MjFo12RP8ghOM75oKJw==} @@ -5161,6 +5094,7 @@ packages: /isexe@2.0.0: resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} + dev: true /isstream@0.1.2: resolution: {integrity: sha512-Yljz7ffyPbrLpLngrMtZ7NduUgVvi6wG9RJ9IUcyCd59YQ911PBJphODUcbOVbqYfxe1wuYf/LJ8PauMRwsM/g==} @@ -5798,6 +5732,7 @@ packages: /merge-stream@2.0.0: resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} + dev: true /merge2@1.4.1: resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} @@ -6117,7 +6052,7 @@ packages: resolution: {integrity: sha512-o/sd0nMof8kYff+TqcDx3VSrgBTcZpSvYcAHIfHhv5VAuNmisCxjhx6YmxS8PFEpb9z5WKWKPdzf0jM23ro3RQ==} dependencies: '@types/debug': 4.1.12 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.3.4 decode-named-character-reference: 1.0.2 devlop: 1.1.0 micromark-core-commonmark: 2.0.0 @@ -6170,6 +6105,7 @@ packages: /mimic-fn@4.0.0: resolution: {integrity: sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==} engines: {node: '>=12'} + dev: true /min-indent@1.0.1: resolution: {integrity: sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==} @@ -6251,7 +6187,7 @@ packages: resolution: {integrity: sha512-EZSPZB70jiVsivaBLYDCyntd5eH8NTSMOn3rB+HxwdmKThGELLdYv8qVIMWvZEFy9w8ZZpW9h9OB32l1rGtj7g==} dev: true - /next-docs-mdx@6.0.2(@types/react@18.2.45)(next@14.0.4)(react-dom@18.2.0)(react@18.2.0): + /next-docs-mdx@6.0.2(@types/react@18.2.45)(next@14.1.0)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-AaONK2jAKog94OTXt6Gfoh5rp351G4FxMlGN2dSNfrkJ10yNBUMw25MBvJum9tsq/TUrRxSU4AW07ZVkiu8Cmg==} peerDependencies: next: '>= 13.4' @@ -6260,8 +6196,8 @@ packages: estree-util-value-to-estree: 3.0.1 fast-glob: 3.3.2 gray-matter: 4.0.3 - next: 14.0.4(react-dom@18.2.0)(react@18.2.0) - next-docs-zeta: 6.0.2(@types/react@18.2.45)(next@14.0.4)(react-dom@18.2.0)(react@18.2.0) + next: 14.1.0(react-dom@18.2.0)(react@18.2.0) + next-docs-zeta: 6.0.2(@types/react@18.2.45)(next@14.1.0)(react-dom@18.2.0)(react@18.2.0) zod: 3.22.4 transitivePeerDependencies: - '@types/react' @@ -6270,7 +6206,7 @@ packages: - supports-color dev: false - /next-docs-ui@6.0.2(@types/react-dom@18.2.17)(@types/react@18.2.45)(next@14.0.4)(react-dom@18.2.0)(react@18.2.0)(tailwindcss@3.3.6): + /next-docs-ui@6.0.2(@types/react-dom@18.2.17)(@types/react@18.2.45)(next@14.1.0)(react-dom@18.2.0)(react@18.2.0)(tailwindcss@3.3.6): resolution: {integrity: sha512-UfhibJaQT/FB/mkdADJksbM3JVlx/OvAhnZn7/cUc696oThgwXWCFgavyTuTouxSD4iZjMbK3jMJKyqFQrtIaA==} peerDependencies: next: '>= 13' @@ -6289,9 +6225,9 @@ packages: clsx: 2.1.0 cmdk: 0.2.0(@types/react@18.2.45)(react-dom@18.2.0)(react@18.2.0) lucide-react: 0.294.0(react@18.2.0) - next: 14.0.4(react-dom@18.2.0)(react@18.2.0) - next-docs-zeta: 6.0.2(@types/react@18.2.45)(next@14.0.4)(react-dom@18.2.0)(react@18.2.0) - next-themes: 0.2.1(next@14.0.4)(react-dom@18.2.0)(react@18.2.0) + next: 14.1.0(react-dom@18.2.0)(react@18.2.0) + next-docs-zeta: 6.0.2(@types/react@18.2.45)(next@14.1.0)(react-dom@18.2.0)(react@18.2.0) + next-themes: 0.2.1(next@14.1.0)(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) react-medium-image-zoom: 5.1.8(react-dom@18.2.0)(react@18.2.0) @@ -6304,7 +6240,7 @@ packages: - tailwindcss dev: false - /next-docs-zeta@6.0.2(@types/react@18.2.45)(next@14.0.4)(react-dom@18.2.0)(react@18.2.0): + /next-docs-zeta@6.0.2(@types/react@18.2.45)(next@14.1.0)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-OEhzFDq5r4ejTG/FbDJgvsnKOuUwT5qHR/jFGe4CrJWlpigYDSRqyNVuDtJD9FbrudSLNudz5Xx/8Kyim/Wr2w==} peerDependencies: next: '>= 13.4' @@ -6315,7 +6251,7 @@ packages: flexsearch: 0.7.21 github-slugger: 2.0.0 negotiator: 0.6.3 - next: 14.0.4(react-dom@18.2.0)(react@18.2.0) + next: 14.1.0(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) react-remove-scroll: 2.5.7(@types/react@18.2.45)(react@18.2.0) @@ -6333,14 +6269,14 @@ packages: - supports-color dev: false - /next-themes@0.2.1(next@14.0.4)(react-dom@18.2.0)(react@18.2.0): + /next-themes@0.2.1(next@14.1.0)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-B+AKNfYNIzh0vqQQKqQItTS8evEouKD7H5Hj3kmuPERwddR2TxvDSFZuTj6T7Jfn1oyeUyJMydPl1Bkxkh0W7A==} peerDependencies: next: '*' react: '*' react-dom: '*' dependencies: - next: 14.0.4(react-dom@18.2.0)(react@18.2.0) + next: 14.1.0(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false @@ -6384,46 +6320,6 @@ packages: - babel-plugin-macros dev: true - /next@14.0.4(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-qbwypnM7327SadwFtxXnQdGiKpkuhaRLE2uq62/nRul9cj9KhQ5LhHmlziTNqUidZotw/Q1I9OjirBROdUJNgA==} - engines: {node: '>=18.17.0'} - hasBin: true - peerDependencies: - '@opentelemetry/api': ^1.1.0 - react: ^18.2.0 - react-dom: ^18.2.0 - sass: ^1.3.0 - peerDependenciesMeta: - '@opentelemetry/api': - optional: true - sass: - optional: true - dependencies: - '@next/env': 14.0.4 - '@swc/helpers': 0.5.2 - busboy: 1.6.0 - caniuse-lite: 1.0.30001570 - graceful-fs: 4.2.11 - postcss: 8.4.31 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - styled-jsx: 5.1.1(react@18.2.0) - watchpack: 2.4.0 - optionalDependencies: - '@next/swc-darwin-arm64': 14.0.4 - '@next/swc-darwin-x64': 14.0.4 - '@next/swc-linux-arm64-gnu': 14.0.4 - '@next/swc-linux-arm64-musl': 14.0.4 - '@next/swc-linux-x64-gnu': 14.0.4 - '@next/swc-linux-x64-musl': 14.0.4 - '@next/swc-win32-arm64-msvc': 14.0.4 - '@next/swc-win32-ia32-msvc': 14.0.4 - '@next/swc-win32-x64-msvc': 14.0.4 - transitivePeerDependencies: - - '@babel/core' - - babel-plugin-macros - dev: false - /next@14.1.0(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-wlzrsbfeSU48YQBjZhDzOwhWhGsy+uQycR8bHAOt1LY1bn3zZEcDyHQOEoN3aWzQ8LHCAJ1nqrWCc9XF2+O45Q==} engines: {node: '>=18.17.0'} @@ -6537,7 +6433,7 @@ packages: pidtree: 0.3.1 read-pkg: 3.0.0 shell-quote: 1.8.1 - string.prototype.padend: /@nolyfill/string.prototype.padend@1.0.24 + string.prototype.padend: /@nolyfill/string.prototype.padend@1.0.28 dev: true /npm-run-path@4.0.1: @@ -6552,6 +6448,7 @@ packages: engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} dependencies: path-key: 4.0.0 + dev: true /npm@10.2.5: resolution: {integrity: sha512-lXdZ7titEN8CH5YJk9C/aYRU9JeDxQ4d8rwIIDsvH3SMjLjHTukB2CFstMiB30zXs4vCrPN2WH6cDq1yHBeJAw==} @@ -6657,6 +6554,7 @@ packages: engines: {node: '>=12'} dependencies: mimic-fn: 4.0.0 + dev: true /ospath@1.2.2: resolution: {integrity: sha512-o6E5qJV5zkAbIDNhGSIlyOhScKXgQrSRMilfph0clDfM0nEnBOlKlH4sWDmG95BW/CvwNz0vmm7dJVtU2KlMiA==} @@ -6836,10 +6734,12 @@ packages: /path-key@3.1.1: resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==} engines: {node: '>=8'} + dev: true /path-key@4.0.0: resolution: {integrity: sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==} engines: {node: '>=12'} + dev: true /path-parse@1.0.7: resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} @@ -7799,6 +7699,7 @@ packages: engines: {node: '>=8'} dependencies: shebang-regex: 3.0.0 + dev: true /shebang-regex@1.0.0: resolution: {integrity: sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ==} @@ -7808,6 +7709,7 @@ packages: /shebang-regex@3.0.0: resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} engines: {node: '>=8'} + dev: true /shell-quote@1.8.1: resolution: {integrity: sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA==} @@ -7840,6 +7742,7 @@ packages: /signal-exit@4.1.0: resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==} engines: {node: '>=14'} + dev: true /signale@1.4.0: resolution: {integrity: sha512-iuh+gPf28RkltuJC7W5MRi6XAjTDCAPC/prJUpQoG4vIP3MJZ+GTydVnodXA7pwvTKb2cA0m9OFZW/cdWy/I/w==} @@ -8065,6 +7968,7 @@ packages: /strip-final-newline@3.0.0: resolution: {integrity: sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==} engines: {node: '>=12'} + dev: true /strip-indent@3.0.0: resolution: {integrity: sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==} @@ -8144,6 +8048,7 @@ packages: engines: {node: '>=10'} dependencies: has-flag: 4.0.0 + dev: true /supports-hyperlinks@2.3.0: resolution: {integrity: sha512-RpsAZlpWcDwOPQA22aCH4J0t7L8JmAvsCxfOSEwm7cQs3LshN36QaTkwd70DnBOXDWGssw2eUoc8CaRWT0XunA==} @@ -8943,6 +8848,7 @@ packages: dependencies: glob-to-regexp: 0.4.1 graceful-fs: 4.2.11 + dev: true /web-namespaces@2.0.1: resolution: {integrity: sha512-bKr1DkiNa2krS7qxNtdrtHAmzuYGFQLiQ13TsorsdT6ULTkPLKuu5+GsFpDlg6JFjUTwX2DyhMPG2be8uPrqsQ==} @@ -9018,6 +8924,7 @@ packages: hasBin: true dependencies: isexe: 2.0.0 + dev: true /why-is-node-running@2.2.2: resolution: {integrity: sha512-6tSwToZxTOcotxHeA+qGCq1mVzKR3CwcJGmVcY+QE8SHy6TnpFnh8PAvPNHYr7EcuVeG0QSMxtYCuO1ta/G/oA==} diff --git a/turbo.json b/turbo.json index a93367538..39c8b2117 100644 --- a/turbo.json +++ b/turbo.json @@ -9,7 +9,7 @@ "dependsOn": ["^build"] }, "nuqs#build": { - "outputs": ["dist/**"] + "outputs": ["dist/**", "size.json"] }, "e2e#build": { "outputs": [".next/**", "!.next/cache/**", "cypress/**"],