1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-27 08:58:30 -04:00

migrate from outdated 🧶 to npm (#1054)

This commit is contained in:
Jake Jarvis 2022-08-22 12:34:10 -04:00 committed by GitHub
parent 1ca003b617
commit 595dda8347
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 17273 additions and 5867 deletions

View File

@ -35,7 +35,7 @@
"forwardPorts": [3000], "forwardPorts": [3000],
// Use 'postCreateCommand' to run commands after the container is created. // Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "yarn install --frozen-lockfile && ./node_modules/.bin/prisma generate", "postCreateCommand": "npm install --legacy-peer-deps && ./node_modules/.bin/prisma generate",
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. // Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "node" "remoteUser": "node"

View File

@ -8,8 +8,8 @@ updates:
versioning-strategy: increase versioning-strategy: increase
ignore: ignore:
- dependency-name: "@fontsource/*" - dependency-name: "@fontsource/*"
- dependency-name: "@types/*"
- dependency-name: "@jakejarvis/eslint-config" - dependency-name: "@jakejarvis/eslint-config"
- dependency-name: "@types/node"
labels: labels:
- "📦 dependencies" - "📦 dependencies"
commit-message: commit-message:

1
.gitignore vendored
View File

@ -3,7 +3,6 @@
# node/npm/yarn # node/npm/yarn
node_modules/ node_modules/
package-lock.json
npm-debug.log* npm-debug.log*
yarn-debug.log* yarn-debug.log*
yarn-error.log* yarn-error.log*

View File

@ -1 +1 @@
16.16.0 16.17.0

1
.npmrc Normal file
View File

@ -0,0 +1 @@
legacy-peer-deps=true

View File

@ -7,7 +7,6 @@
"files.eol": "\n", "files.eol": "\n",
"files.insertFinalNewline": true, "files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true, "files.trimTrailingWhitespace": true,
"npm.packageManager": "yarn",
"search.exclude": { "search.exclude": {
"**/.next": true, "**/.next": true,
"**/node_modules": true "**/node_modules": true

View File

@ -10,13 +10,13 @@ My humble abode on the World Wide Web, created and deployed using [Next.js](http
I keep an ongoing list of [post ideas](https://github.com/jakejarvis/jarv.is/issues/1) and [coding to-dos](https://github.com/jakejarvis/jarv.is/issues/714) as issues in this repo. Outside contributions, improvements, and/or corrections are welcome too! I keep an ongoing list of [post ideas](https://github.com/jakejarvis/jarv.is/issues/1) and [coding to-dos](https://github.com/jakejarvis/jarv.is/issues/714) as issues in this repo. Outside contributions, improvements, and/or corrections are welcome too!
## 🧶 Getting Started ## 🕹️ Getting Started
Run `yarn install` to install the necessary dependencies and `yarn dev` to start the local server, and then open [http://localhost:3000/](http://localhost:3000/). Pages will live-refresh when source files are changed. Run `npm install` to install the necessary dependencies and `npm run dev` to start the local server, and then open [http://localhost:3000/](http://localhost:3000/). Pages will live-refresh when source files are changed.
Most production steps are handled [automatically by Vercel](https://vercel.com/docs/concepts/next.js/overview#supported-next.js-features), but running `yarn build` locally will still generate an unoptimized, less-than-ideal static version. Most production steps are handled [automatically by Vercel](https://vercel.com/docs/concepts/next.js/overview#supported-next.js-features), but running `npm run build` locally will still generate an unoptimized, less-than-ideal static version.
**⚡ Bonus tip:** [Volta](https://volta.sh/), a magical, blazing-fast alternative to [nvm](https://github.com/nvm-sh/nvm), is used to pin Node.js and Yarn versions for development but is completely optional. **⚡ Bonus tip:** [Volta](https://volta.sh/), a magical, blazing-fast alternative to [nvm](https://github.com/nvm-sh/nvm), is used to pin the exact Node.js version used for development. It's completely optional but I highly recommend it in general!
## 🌎 Related ## 🌎 Related

17248
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -23,13 +23,13 @@
"@giscus/react": "^2.2.0", "@giscus/react": "^2.2.0",
"@hcaptcha/react-hcaptcha": "^1.4.4", "@hcaptcha/react-hcaptcha": "^1.4.4",
"@novnc/novnc": "github:novnc/novnc#cdfb33665195eb9a73fb00feb6ebaccd1068cd50", "@novnc/novnc": "github:novnc/novnc#cdfb33665195eb9a73fb00feb6ebaccd1068cd50",
"@octokit/graphql": "^5.0.0", "@octokit/graphql": "^5.0.1",
"@octokit/graphql-schema": "^10.74.2", "@octokit/graphql-schema": "^11.1.0",
"@primer/octicons": "^17.4.1", "@primer/octicons": "^17.4.1",
"@prisma/client": "^4.2.1", "@prisma/client": "^4.2.1",
"@react-spring/web": "^9.5.2", "@react-spring/web": "^9.5.2",
"@sentry/node": "^7.10.0", "@sentry/node": "^7.11.1",
"@sentry/tracing": "^7.10.0", "@sentry/tracing": "^7.11.1",
"@stitches/react": "^1.2.8", "@stitches/react": "^1.2.8",
"comma-number": "^2.1.0", "comma-number": "^2.1.0",
"copy-to-clipboard": "^3.3.2", "copy-to-clipboard": "^3.3.2",
@ -41,8 +41,8 @@
"formik": "^2.2.9", "formik": "^2.2.9",
"gray-matter": "^4.0.3", "gray-matter": "^4.0.3",
"hex-to-rgba": "^2.0.1", "hex-to-rgba": "^2.0.1",
"marked": "^4.0.18", "marked": "^4.0.19",
"next": "12.2.5", "next": "12.2.6-canary.1",
"next-mdx-remote": "^4.1.0", "next-mdx-remote": "^4.1.0",
"next-seo": "^5.5.0", "next-seo": "^5.5.0",
"obj-str": "^1.1.0", "obj-str": "^1.1.0",
@ -60,13 +60,13 @@
"react-player": "^2.10.1", "react-player": "^2.10.1",
"react-textarea-autosize": "^8.3.4", "react-textarea-autosize": "^8.3.4",
"react-twitter-embed": "^4.0.4", "react-twitter-embed": "^4.0.4",
"rehype-prism-plus": "^1.4.2", "rehype-prism-plus": "^1.5.0",
"rehype-slug": "^5.0.1", "rehype-slug": "^5.0.1",
"remark-gfm": "^3.0.1", "remark-gfm": "^3.0.1",
"remark-smartypants": "^2.0.0", "remark-smartypants": "^2.0.0",
"remark-unwrap-images": "^3.0.1", "remark-unwrap-images": "^3.0.1",
"remove-markdown": "^0.5.0", "remove-markdown": "^0.5.0",
"simple-icons": "^7.6.0", "simple-icons": "^7.8.0",
"sitemap": "^7.1.1", "sitemap": "^7.1.1",
"swr": "^1.3.0" "swr": "^1.3.0"
}, },
@ -74,7 +74,7 @@
"@jakejarvis/eslint-config": "*", "@jakejarvis/eslint-config": "*",
"@svgr/webpack": "^6.3.1", "@svgr/webpack": "^6.3.1",
"@types/comma-number": "^2.1.0", "@types/comma-number": "^2.1.0",
"@types/marked": "^4.0.3", "@types/marked": "^4.0.6",
"@types/node": "*", "@types/node": "*",
"@types/novnc__novnc": "^1.3.0", "@types/novnc__novnc": "^1.3.0",
"@types/prop-types": "^15.7.5", "@types/prop-types": "^15.7.5",
@ -82,12 +82,12 @@
"@types/react-dom": "^18.0.6", "@types/react-dom": "^18.0.6",
"@types/react-is": "^17.0.3", "@types/react-is": "^17.0.3",
"@types/remove-markdown": "^0.3.1", "@types/remove-markdown": "^0.3.1",
"@types/uglify-js": "^3.16.0", "@types/uglify-js": "^3.17.0",
"@typescript-eslint/eslint-plugin": "^5.33.0", "@typescript-eslint/eslint-plugin": "^5.33.1",
"@typescript-eslint/parser": "^5.33.0", "@typescript-eslint/parser": "^5.33.1",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",
"eslint": "~8.21.0", "eslint": "~8.22.0",
"eslint-config-next": "12.2.5", "eslint-config-next": "12.2.6-canary.1",
"eslint-config-prettier": "~8.5.0", "eslint-config-prettier": "~8.5.0",
"eslint-plugin-prettier": "~4.2.1", "eslint-plugin-prettier": "~4.2.1",
"lint-staged": "^13.0.3", "lint-staged": "^13.0.3",
@ -95,7 +95,7 @@
"prisma": "^4.2.1", "prisma": "^4.2.1",
"simple-git-hooks": "^2.8.0", "simple-git-hooks": "^2.8.0",
"typescript": "^4.7.4", "typescript": "^4.7.4",
"uglify-js": "^3.16.3" "uglify-js": "^3.17.0"
}, },
"engines": { "engines": {
"node": ">=16.x" "node": ">=16.x"
@ -112,9 +112,8 @@
"eslint" "eslint"
] ]
}, },
"packageManager": "yarn@1.22.19",
"volta": { "volta": {
"node": "16.16.0", "node": "16.17.0",
"yarn": "1.22.19" "npm": "8.18.0"
} }
} }

5840
yarn.lock

File diff suppressed because it is too large Load Diff