From 2308454b341276031b048adc3d92fd06de761a2a Mon Sep 17 00:00:00 2001 From: Jake Jarvis Date: Mon, 14 Apr 2025 11:52:45 -0400 Subject: [PATCH] bump react --- README.md | 4 ++-- lib/env.ts | 7 ------- package.json | 8 ++++---- pnpm-lock.yaml | 48 ++++++++++++++++++++++++------------------------ 4 files changed, 30 insertions(+), 37 deletions(-) diff --git a/README.md b/README.md index 5ee71ddc..e5df2871 100644 --- a/README.md +++ b/README.md @@ -14,9 +14,9 @@ My humble abode on the World Wide Web, created and deployed using [Next.js](http I highly recommend spinning up a [Codespace](https://github.com/features/codespaces) with the button above to start inside of a preconfigured and tested environment. But you can also clone this repository locally, run `pnpm install` to pull down the necessary dependencies and `pnpm dev` to start the local server, and then open [localhost:3000](http://localhost:3000/) in a browser. Pages will live-refresh when source files are changed. -**Be sure to populate the required environment variables!** Refer to [`lib/env.ts`](lib/env.ts), which documents (and strictly [type-checks](https://env.t3.gg/docs/introduction)) these variables. [`.env.example`](.env.example) should be copied and used as a template for a new `.env.local` file, which the local development server will then ingest. +**Be sure to populate the required environment variables!** Refer to [`lib/env.ts`](lib/env.ts), which documents (and strictly [type-checks](https://env.t3.gg/docs/introduction)) these variables. The included [`.env.example`](.env.example) file should be copied and used as a template for a new `.env.local` file, which the local `next dev` server will then ingest. -> ⚠️ **Currently, there are a few assumptions [sprinkled](https://github.com/search?q=repo%3Ajakejarvis%2Fjarv.is%20VERCEL_&type=code) throughout the repository that this code will be deployed to [Vercel](https://nextjs.org/docs/app/building-your-application/deploying#managed-nextjs-with-vercel) and _only_ Vercel.** If this is not the case, do a quick Command+F for `VERCEL_` and update [their variables](https://vercel.com/docs/environment-variables/system-environment-variables#system-environment-variables) to more appropriate versions. I'll correct this soon™ now that some escape hatches (namely [OpenNext](https://opennext.js.org/)) actually exist... +> ⚠️ **Currently, there are a few assumptions sprinkled throughout the code that this repo will be deployed to [Vercel](https://nextjs.org/docs/app/building-your-application/deploying#managed-nextjs-with-vercel) and _only_ Vercel.** I'll correct this soon™ now that some escape hatches (namely [OpenNext](https://opennext.js.org/)) actually exist... ## 🌎 Related diff --git a/lib/env.ts b/lib/env.ts index be175576..c81e7fa9 100644 --- a/lib/env.ts +++ b/lib/env.ts @@ -1,14 +1,7 @@ import { createEnv } from "@t3-oss/env-nextjs"; -import { vercel } from "@t3-oss/env-nextjs/presets-valibot"; import * as v from "valibot"; export const env = createEnv({ - extends: [ - // NOTE: Some assumptions are sprinkled throughout the code that this site is being deployed on Vercel. If not, find - // and replace `env.VERCEL_` (especially `VERCEL_ENV` and `VERCEL_PROJECT_PRODUCTION_URL`) with more appropriate - // variables. - vercel(), - ], server: { /** * Required. GitHub API token used for [/projects](../app/projects/page.tsx) grid. Only needs the `public_repo` diff --git a/package.json b/package.json index 8766f9c6..9675da65 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "react-lite-youtube-embed": "^2.4.0", "react-schemaorg": "^2.0.0", "react-textarea-autosize": "^8.5.9", - "react-timeago": "^8.0.0", + "react-timeago": "^8.2.0", "react-turnstile": "^1.1.4", "react-tweet": "^3.2.2", "rehype-mdx-import-media": "^1.2.0", @@ -78,7 +78,7 @@ "@types/react": "^19.1.1", "@types/react-dom": "^19.1.2", "@types/react-is": "^19.0.0", - "babel-plugin-react-compiler": "19.0.0-beta-e993439-20250405", + "babel-plugin-react-compiler": "19.0.0-beta-ebf51a3-20250411", "cross-env": "^7.0.3", "eslint": "^9.24.0", "eslint-config-next": "15.3.1-canary.7", @@ -89,7 +89,7 @@ "eslint-plugin-mdx": "^3.4.0", "eslint-plugin-prettier": "^5.2.6", "eslint-plugin-react": "^7.37.5", - "eslint-plugin-react-compiler": "19.0.0-beta-e993439-20250405", + "eslint-plugin-react-compiler": "19.0.0-beta-ebf51a3-20250411", "eslint-plugin-react-hooks": "^5.2.0", "husky": "^9.1.7", "lint-staged": "^15.5.1", @@ -107,7 +107,7 @@ "engines": { "node": ">=20.x" }, - "packageManager": "pnpm@10.8.0+sha512.0e82714d1b5b43c74610193cb20734897c1d00de89d0e18420aebc5977fa13d780a9cb05734624e81ebd81cc876cd464794850641c48b9544326b5622ca29971", + "packageManager": "pnpm@10.8.1+sha512.c50088ba998c67b8ca8c99df8a5e02fd2ae2e2b29aaf238feaa9e124248d3f48f9fb6db2424949ff901cffbb5e0f0cc1ad6aedb602cd29450751d11c35023677", "cacheDirectories": [ "node_modules", ".next/cache" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 834ed6cf..5e9f07b8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -46,7 +46,7 @@ importers: version: 1.34.7 '@vercel/analytics': specifier: ^1.5.0 - version: 1.5.0(next@15.3.1-canary.7(@babel/core@7.26.10)(babel-plugin-react-compiler@19.0.0-beta-e993439-20250405)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(react@19.1.0) + version: 1.5.0(next@15.3.1-canary.7(@babel/core@7.26.10)(babel-plugin-react-compiler@19.0.0-beta-ebf51a3-20250411)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(react@19.1.0) clsx: specifier: ^2.1.1 version: 2.1.1 @@ -64,7 +64,7 @@ importers: version: 4.2.2 geist: specifier: ^1.3.1 - version: 1.3.1(next@15.3.1-canary.7(@babel/core@7.26.10)(babel-plugin-react-compiler@19.0.0-beta-e993439-20250405)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)) + version: 1.3.1(next@15.3.1-canary.7(@babel/core@7.26.10)(babel-plugin-react-compiler@19.0.0-beta-ebf51a3-20250411)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)) html-entities: specifier: ^2.6.0 version: 2.6.0 @@ -73,7 +73,7 @@ importers: version: 0.488.0(react@19.1.0) next: specifier: 15.3.1-canary.7 - version: 15.3.1-canary.7(@babel/core@7.26.10)(babel-plugin-react-compiler@19.0.0-beta-e993439-20250405)(react-dom@19.1.0(react@19.1.0))(react@19.1.0) + version: 15.3.1-canary.7(@babel/core@7.26.10)(babel-plugin-react-compiler@19.0.0-beta-ebf51a3-20250411)(react-dom@19.1.0(react@19.1.0))(react@19.1.0) polished: specifier: ^4.3.1 version: 4.3.1 @@ -105,8 +105,8 @@ importers: specifier: ^8.5.9 version: 8.5.9(@types/react@19.1.1)(react@19.1.0) react-timeago: - specifier: ^8.0.0 - version: 8.0.0(react@19.1.0) + specifier: ^8.2.0 + version: 8.2.0(react@19.1.0) react-turnstile: specifier: ^1.1.4 version: 1.1.4(react-dom@19.1.0(react@19.1.0))(react@19.1.0) @@ -187,8 +187,8 @@ importers: specifier: ^19.0.0 version: 19.0.0 babel-plugin-react-compiler: - specifier: 19.0.0-beta-e993439-20250405 - version: 19.0.0-beta-e993439-20250405 + specifier: 19.0.0-beta-ebf51a3-20250411 + version: 19.0.0-beta-ebf51a3-20250411 cross-env: specifier: ^7.0.3 version: 7.0.3 @@ -220,8 +220,8 @@ importers: specifier: ^7.37.5 version: 7.37.5(eslint@9.24.0) eslint-plugin-react-compiler: - specifier: 19.0.0-beta-e993439-20250405 - version: 19.0.0-beta-e993439-20250405(eslint@9.24.0) + specifier: 19.0.0-beta-ebf51a3-20250411 + version: 19.0.0-beta-ebf51a3-20250411(eslint@9.24.0) eslint-plugin-react-hooks: specifier: ^5.2.0 version: 5.2.0(eslint@9.24.0) @@ -1213,8 +1213,8 @@ packages: resolution: {integrity: sha512-qIj0G9wZbMGNLjLmg1PT6v2mE9AH2zlnADJD/2tC6E00hgmhUOfEB6greHPAfLRSufHqROIUTkw6E+M3lH0PTQ==} engines: {node: '>= 0.4'} - babel-plugin-react-compiler@19.0.0-beta-e993439-20250405: - resolution: {integrity: sha512-bPAx2GvDZbhdCbliGQICGgeaCmJGDZt+DuRtrWbW83NLTIkCwvV4chvW0fR2mowtleTdgIc+4Ibc2TgNahgpfA==} + babel-plugin-react-compiler@19.0.0-beta-ebf51a3-20250411: + resolution: {integrity: sha512-q84bNR9JG1crykAlJUt5Ud0/5BUyMFuQww/mrwIQDFBaxsikqBDj3f/FNDsVd2iR26A1HvXKWPEIfgJDv8/V2g==} bail@2.0.2: resolution: {integrity: sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==} @@ -1693,8 +1693,8 @@ packages: eslint-config-prettier: optional: true - eslint-plugin-react-compiler@19.0.0-beta-e993439-20250405: - resolution: {integrity: sha512-8ZQU4qGc8NOfsM7u7tf7gXmZ+d4tSK+7BFb+Fvs4s9ItQ12m/G6ttSGxompH/Jq7nXgnJ20EqQRshwVG6GwUdA==} + eslint-plugin-react-compiler@19.0.0-beta-ebf51a3-20250411: + resolution: {integrity: sha512-R7ncuwbCPFAoeMlS56DGGSJFxmRtlWafYH/iWyep5Ks0RaPqTCL4k5gA87axUBBcITsaIgUGkbqAxDxl8Xfm5A==} engines: {node: ^14.17.0 || ^16.0.0 || >= 18.0.0} peerDependencies: eslint: '>=7' @@ -3008,8 +3008,8 @@ packages: peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 - react-timeago@8.0.0: - resolution: {integrity: sha512-I/Lsewkw87xryZVXU8mv8o2lsnxTd7uHBJF9fl76vRx/GkAFNctgSg9q0hOKvgv9V6cTXmDiuXJJYyblD4kGRA==} + react-timeago@8.2.0: + resolution: {integrity: sha512-RWDlG3Jj+iwv+yNEDweA/Qk1mxE8i/Oc4oW8Irp29ZfBp+eNpqqYPMLPYQJyfRMJcGB8CmWkEGMYhB4fW8eZlQ==} peerDependencies: react: ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 @@ -4636,9 +4636,9 @@ snapshots: dependencies: crypto-js: 4.2.0 - '@vercel/analytics@1.5.0(next@15.3.1-canary.7(@babel/core@7.26.10)(babel-plugin-react-compiler@19.0.0-beta-e993439-20250405)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(react@19.1.0)': + '@vercel/analytics@1.5.0(next@15.3.1-canary.7(@babel/core@7.26.10)(babel-plugin-react-compiler@19.0.0-beta-ebf51a3-20250411)(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(react@19.1.0)': optionalDependencies: - next: 15.3.1-canary.7(@babel/core@7.26.10)(babel-plugin-react-compiler@19.0.0-beta-e993439-20250405)(react-dom@19.1.0(react@19.1.0))(react@19.1.0) + next: 15.3.1-canary.7(@babel/core@7.26.10)(babel-plugin-react-compiler@19.0.0-beta-ebf51a3-20250411)(react-dom@19.1.0(react@19.1.0))(react@19.1.0) react: 19.1.0 abbrev@2.0.0: {} @@ -4770,7 +4770,7 @@ snapshots: axobject-query@4.1.0: {} - babel-plugin-react-compiler@19.0.0-beta-e993439-20250405: + babel-plugin-react-compiler@19.0.0-beta-ebf51a3-20250411: dependencies: '@babel/types': 7.27.0 @@ -5350,7 +5350,7 @@ snapshots: optionalDependencies: eslint-config-prettier: 10.1.2(eslint@9.24.0) - eslint-plugin-react-compiler@19.0.0-beta-e993439-20250405(eslint@9.24.0): + eslint-plugin-react-compiler@19.0.0-beta-ebf51a3-20250411(eslint@9.24.0): dependencies: '@babel/core': 7.26.10 '@babel/parser': 7.27.0 @@ -5610,9 +5610,9 @@ snapshots: functions-have-names@1.2.3: {} - geist@1.3.1(next@15.3.1-canary.7(@babel/core@7.26.10)(babel-plugin-react-compiler@19.0.0-beta-e993439-20250405)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)): + geist@1.3.1(next@15.3.1-canary.7(@babel/core@7.26.10)(babel-plugin-react-compiler@19.0.0-beta-ebf51a3-20250411)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)): dependencies: - next: 15.3.1-canary.7(@babel/core@7.26.10)(babel-plugin-react-compiler@19.0.0-beta-e993439-20250405)(react-dom@19.1.0(react@19.1.0))(react@19.1.0) + next: 15.3.1-canary.7(@babel/core@7.26.10)(babel-plugin-react-compiler@19.0.0-beta-ebf51a3-20250411)(react-dom@19.1.0(react@19.1.0))(react@19.1.0) gensync@1.0.0-beta.2: {} @@ -6743,7 +6743,7 @@ snapshots: natural-compare@1.4.0: {} - next@15.3.1-canary.7(@babel/core@7.26.10)(babel-plugin-react-compiler@19.0.0-beta-e993439-20250405)(react-dom@19.1.0(react@19.1.0))(react@19.1.0): + next@15.3.1-canary.7(@babel/core@7.26.10)(babel-plugin-react-compiler@19.0.0-beta-ebf51a3-20250411)(react-dom@19.1.0(react@19.1.0))(react@19.1.0): dependencies: '@next/env': 15.3.1-canary.7 '@swc/counter': 0.1.3 @@ -6763,7 +6763,7 @@ snapshots: '@next/swc-linux-x64-musl': 15.3.1-canary.7 '@next/swc-win32-arm64-msvc': 15.3.1-canary.7 '@next/swc-win32-x64-msvc': 15.3.1-canary.7 - babel-plugin-react-compiler: 19.0.0-beta-e993439-20250405 + babel-plugin-react-compiler: 19.0.0-beta-ebf51a3-20250411 sharp: 0.34.1 transitivePeerDependencies: - '@babel/core' @@ -7081,7 +7081,7 @@ snapshots: transitivePeerDependencies: - '@types/react' - react-timeago@8.0.0(react@19.1.0): + react-timeago@8.2.0(react@19.1.0): dependencies: react: 19.1.0