mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-26 13:18:26 -04:00
migrate from outdated 🧶 to npm (#1054)
This commit is contained in:
parent
1ca003b617
commit
595dda8347
@ -35,7 +35,7 @@
|
||||
"forwardPorts": [3000],
|
||||
|
||||
// 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.
|
||||
"remoteUser": "node"
|
||||
|
2
.github/dependabot.yml
vendored
2
.github/dependabot.yml
vendored
@ -8,8 +8,8 @@ updates:
|
||||
versioning-strategy: increase
|
||||
ignore:
|
||||
- dependency-name: "@fontsource/*"
|
||||
- dependency-name: "@types/*"
|
||||
- dependency-name: "@jakejarvis/eslint-config"
|
||||
- dependency-name: "@types/node"
|
||||
labels:
|
||||
- "📦 dependencies"
|
||||
commit-message:
|
||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,7 +3,6 @@
|
||||
|
||||
# node/npm/yarn
|
||||
node_modules/
|
||||
package-lock.json
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
|
@ -1 +1 @@
|
||||
16.16.0
|
||||
16.17.0
|
||||
|
1
.vscode/settings.json
vendored
1
.vscode/settings.json
vendored
@ -7,7 +7,6 @@
|
||||
"files.eol": "\n",
|
||||
"files.insertFinalNewline": true,
|
||||
"files.trimTrailingWhitespace": true,
|
||||
"npm.packageManager": "yarn",
|
||||
"search.exclude": {
|
||||
"**/.next": true,
|
||||
"**/node_modules": true
|
||||
|
@ -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!
|
||||
|
||||
## 🧶 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
|
||||
|
||||
|
17248
package-lock.json
generated
Normal file
17248
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
35
package.json
35
package.json
@ -23,13 +23,13 @@
|
||||
"@giscus/react": "^2.2.0",
|
||||
"@hcaptcha/react-hcaptcha": "^1.4.4",
|
||||
"@novnc/novnc": "github:novnc/novnc#cdfb33665195eb9a73fb00feb6ebaccd1068cd50",
|
||||
"@octokit/graphql": "^5.0.0",
|
||||
"@octokit/graphql-schema": "^10.74.2",
|
||||
"@octokit/graphql": "^5.0.1",
|
||||
"@octokit/graphql-schema": "^11.1.0",
|
||||
"@primer/octicons": "^17.4.1",
|
||||
"@prisma/client": "^4.2.1",
|
||||
"@react-spring/web": "^9.5.2",
|
||||
"@sentry/node": "^7.10.0",
|
||||
"@sentry/tracing": "^7.10.0",
|
||||
"@sentry/node": "^7.11.1",
|
||||
"@sentry/tracing": "^7.11.1",
|
||||
"@stitches/react": "^1.2.8",
|
||||
"comma-number": "^2.1.0",
|
||||
"copy-to-clipboard": "^3.3.2",
|
||||
@ -41,8 +41,8 @@
|
||||
"formik": "^2.2.9",
|
||||
"gray-matter": "^4.0.3",
|
||||
"hex-to-rgba": "^2.0.1",
|
||||
"marked": "^4.0.18",
|
||||
"next": "12.2.5",
|
||||
"marked": "^4.0.19",
|
||||
"next": "12.2.6-canary.1",
|
||||
"next-mdx-remote": "^4.1.0",
|
||||
"next-seo": "^5.5.0",
|
||||
"obj-str": "^1.1.0",
|
||||
@ -60,13 +60,13 @@
|
||||
"react-player": "^2.10.1",
|
||||
"react-textarea-autosize": "^8.3.4",
|
||||
"react-twitter-embed": "^4.0.4",
|
||||
"rehype-prism-plus": "^1.4.2",
|
||||
"rehype-prism-plus": "^1.5.0",
|
||||
"rehype-slug": "^5.0.1",
|
||||
"remark-gfm": "^3.0.1",
|
||||
"remark-smartypants": "^2.0.0",
|
||||
"remark-unwrap-images": "^3.0.1",
|
||||
"remove-markdown": "^0.5.0",
|
||||
"simple-icons": "^7.6.0",
|
||||
"simple-icons": "^7.8.0",
|
||||
"sitemap": "^7.1.1",
|
||||
"swr": "^1.3.0"
|
||||
},
|
||||
@ -74,7 +74,7 @@
|
||||
"@jakejarvis/eslint-config": "*",
|
||||
"@svgr/webpack": "^6.3.1",
|
||||
"@types/comma-number": "^2.1.0",
|
||||
"@types/marked": "^4.0.3",
|
||||
"@types/marked": "^4.0.6",
|
||||
"@types/node": "*",
|
||||
"@types/novnc__novnc": "^1.3.0",
|
||||
"@types/prop-types": "^15.7.5",
|
||||
@ -82,12 +82,12 @@
|
||||
"@types/react-dom": "^18.0.6",
|
||||
"@types/react-is": "^17.0.3",
|
||||
"@types/remove-markdown": "^0.3.1",
|
||||
"@types/uglify-js": "^3.16.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.33.0",
|
||||
"@typescript-eslint/parser": "^5.33.0",
|
||||
"@types/uglify-js": "^3.17.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.33.1",
|
||||
"@typescript-eslint/parser": "^5.33.1",
|
||||
"cross-env": "^7.0.3",
|
||||
"eslint": "~8.21.0",
|
||||
"eslint-config-next": "12.2.5",
|
||||
"eslint": "~8.22.0",
|
||||
"eslint-config-next": "12.2.6-canary.1",
|
||||
"eslint-config-prettier": "~8.5.0",
|
||||
"eslint-plugin-prettier": "~4.2.1",
|
||||
"lint-staged": "^13.0.3",
|
||||
@ -95,7 +95,7 @@
|
||||
"prisma": "^4.2.1",
|
||||
"simple-git-hooks": "^2.8.0",
|
||||
"typescript": "^4.7.4",
|
||||
"uglify-js": "^3.16.3"
|
||||
"uglify-js": "^3.17.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.x"
|
||||
@ -112,9 +112,8 @@
|
||||
"eslint"
|
||||
]
|
||||
},
|
||||
"packageManager": "yarn@1.22.19",
|
||||
"volta": {
|
||||
"node": "16.16.0",
|
||||
"yarn": "1.22.19"
|
||||
"node": "16.17.0",
|
||||
"npm": "8.18.0"
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user