mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-26 18:48:28 -04:00
fix codespaces
This commit is contained in:
parent
e614e70240
commit
abc3d76d4f
@ -1,16 +0,0 @@
|
|||||||
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.236.0/containers/typescript-node/.devcontainer/base.Dockerfile
|
|
||||||
|
|
||||||
# [Choice] Node.js version (use -bullseye variants on local arm64/Apple Silicon): 18, 16, 14, 18-bullseye, 16-bullseye, 14-bullseye, 18-buster, 16-buster, 14-buster
|
|
||||||
ARG VARIANT="16-bullseye"
|
|
||||||
FROM mcr.microsoft.com/vscode/devcontainers/typescript-node:0-${VARIANT}
|
|
||||||
|
|
||||||
# [Optional] Uncomment this section to install additional OS packages.
|
|
||||||
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
|
|
||||||
# && apt-get -y install --no-install-recommends <your-package-list-here>
|
|
||||||
|
|
||||||
# [Optional] Uncomment if you want to install an additional version of node using nvm
|
|
||||||
# ARG EXTRA_NODE_VERSION=10
|
|
||||||
# RUN su node -c "source /usr/local/share/nvm/nvm.sh && nvm install ${EXTRA_NODE_VERSION}"
|
|
||||||
|
|
||||||
# [Optional] Uncomment if you want to install more global node packages
|
|
||||||
# RUN su node -c "npm install -g <your-package-list -here>"
|
|
@ -1,48 +1,31 @@
|
|||||||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
|
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
|
||||||
// https://github.com/microsoft/vscode-dev-containers/tree/v0.236.0/containers/typescript-node
|
// https://github.com/devcontainers/images/tree/main/src/base-ubuntu
|
||||||
{
|
{
|
||||||
"name": "Node.js & TypeScript",
|
"name": "Ubuntu",
|
||||||
"build": {
|
"image": "mcr.microsoft.com/vscode/devcontainers/base:ubuntu-22.04",
|
||||||
"dockerfile": "Dockerfile",
|
"remoteUser": "vscode",
|
||||||
// Update 'VARIANT' to pick a Node version: 18, 16, 14.
|
"features": {
|
||||||
// Append -bullseye or -buster to pin to an OS version.
|
"ghcr.io/devcontainers/features/common-utils:2": {
|
||||||
// Use -bullseye variants on local on arm64/Apple Silicon.
|
"upgradePackages": true,
|
||||||
"args": {
|
"configureZshAsDefaultShell": true
|
||||||
"VARIANT": "16-bullseye"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
"ghcr.io/devcontainers/features/git:1": {},
|
||||||
// Configure tool-specific properties.
|
"ghcr.io/devcontainers/features/git-lfs:1": {},
|
||||||
"customizations": {
|
"ghcr.io/devcontainers/features/github-cli:1": {},
|
||||||
// Configure properties specific to VS Code.
|
"ghcr.io/devcontainers/features/sshd:1": {},
|
||||||
"vscode": {
|
"ghcr.io/jakejarvis/devcontainer-features/volta": {}
|
||||||
"settings": {
|
|
||||||
"editor.insertSpaces": true,
|
|
||||||
"editor.tabSize": 2,
|
|
||||||
"eslint.options": {
|
|
||||||
"extensions": [".js", ".jsx", ".ts", ".tsx", ".md", ".mdx"]
|
|
||||||
},
|
},
|
||||||
"eslint.runtime": "node", // https://github.com/mdx-js/vscode-mdx#known-vscode-eslint-issues
|
"overrideFeatureInstallOrder": [
|
||||||
"eslint.validate": [
|
"ghcr.io/devcontainers/features/common-utils"
|
||||||
"javascript",
|
|
||||||
"javascriptreact",
|
|
||||||
"typescript",
|
|
||||||
"typescriptreact",
|
|
||||||
"markdown",
|
|
||||||
"mdx"
|
|
||||||
],
|
],
|
||||||
"files.eol": "\n",
|
"postCreateCommand": "npm install --legacy-peer-deps && npx prisma generate",
|
||||||
"files.insertFinalNewline": true,
|
"forwardPorts": [
|
||||||
"files.trimTrailingWhitespace": true,
|
3000
|
||||||
"search.exclude": {
|
],
|
||||||
"**/.next": true,
|
"customizations": {
|
||||||
"**/node_modules": true
|
"vscode": {
|
||||||
},
|
|
||||||
"typescript.preferences.importModuleSpecifierEnding": "minimal",
|
|
||||||
"typescript.tsdk": "node_modules/typescript/lib"
|
|
||||||
},
|
|
||||||
// Add the IDs of extensions you want installed when the container is created.
|
|
||||||
"extensions": [
|
"extensions": [
|
||||||
|
"EditorConfig.EditorConfig",
|
||||||
"dbaeumer.vscode-eslint",
|
"dbaeumer.vscode-eslint",
|
||||||
"prisma.prisma",
|
"prisma.prisma",
|
||||||
"unifiedjs.vscode-mdx",
|
"unifiedjs.vscode-mdx",
|
||||||
@ -50,13 +33,16 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"portsAttributes": {
|
||||||
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
"3000": {
|
||||||
"forwardPorts": [3000],
|
"label": "next dev",
|
||||||
|
"onAutoForward": "notify"
|
||||||
// Use 'postCreateCommand' to run commands after the container is created.
|
}
|
||||||
"postCreateCommand": "npm install --legacy-peer-deps && ./node_modules/.bin/prisma generate",
|
},
|
||||||
|
"otherPortsAttributes": {
|
||||||
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
|
"onAutoForward": "silent"
|
||||||
"remoteUser": "node"
|
},
|
||||||
|
"containerEnv": {
|
||||||
|
"NEXT_TELEMETRY_DISABLED": "1"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
3
.vscode/extensions.json
vendored
3
.vscode/extensions.json
vendored
@ -2,7 +2,6 @@
|
|||||||
"recommendations": [
|
"recommendations": [
|
||||||
"dbaeumer.vscode-eslint",
|
"dbaeumer.vscode-eslint",
|
||||||
"prisma.prisma",
|
"prisma.prisma",
|
||||||
"unifiedjs.vscode-mdx",
|
"unifiedjs.vscode-mdx"
|
||||||
"wix.vscode-import-cost"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
@ -1,8 +1,5 @@
|
|||||||
{
|
{
|
||||||
"editor.insertSpaces": true,
|
"editor.insertSpaces": true,
|
||||||
"editor.rulers": [
|
|
||||||
120
|
|
||||||
],
|
|
||||||
"editor.tabSize": 2,
|
"editor.tabSize": 2,
|
||||||
"eslint.options": {
|
"eslint.options": {
|
||||||
"extensions": [".js", ".jsx", ".ts", ".tsx", ".md", ".mdx"]
|
"extensions": [".js", ".jsx", ".ts", ".tsx", ".md", ".mdx"]
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
[](https://nextjs.org/)
|
[](https://nextjs.org/)
|
||||||
[](LICENSE)
|
[](LICENSE)
|
||||||
[](https://github.com/jakejarvis/jarv.is)
|
[](https://github.com/jakejarvis/jarv.is)
|
||||||
[](http://jarvis2i2vp4j4tbxjogsnqdemnte5xhzyi7hziiyzxwge3hzmh57zad.onion/)
|
|
||||||
|
|
||||||
My humble abode on the World Wide Web, created and deployed using [Next.js](https://nextjs.org/), [Stitches](https://stitches.dev/), [PlanetScale](https://planetscale.com/), [Vercel](https://vercel.com/), [and more](https://jarv.is/humans.txt).
|
My humble abode on the World Wide Web, created and deployed using [Next.js](https://nextjs.org/), [Stitches](https://stitches.dev/), [PlanetScale](https://planetscale.com/), [Vercel](https://vercel.com/), [and more](https://jarv.is/humans.txt).
|
||||||
|
|
||||||
|
874
package-lock.json
generated
874
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
36
package.json
36
package.json
@ -19,15 +19,15 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@giscus/react": "^2.2.6",
|
"@giscus/react": "^2.2.6",
|
||||||
"@hcaptcha/react-hcaptcha": "^1.4.4",
|
"@hcaptcha/react-hcaptcha": "^1.4.4",
|
||||||
"@next/font": "13.1.1",
|
"@next/font": "13.1.3",
|
||||||
"@novnc/novnc": "github:novnc/novnc#cd94c2aed2582fd85ec5ecc444967fc7ec60a649",
|
"@novnc/novnc": "github:novnc/novnc#cd94c2aed2582fd85ec5ecc444967fc7ec60a649",
|
||||||
"@octokit/graphql": "^5.0.4",
|
"@octokit/graphql": "^5.0.4",
|
||||||
"@octokit/graphql-schema": "^12.41.0",
|
"@octokit/graphql-schema": "^12.41.1",
|
||||||
"@primer/octicons": "^17.10.1",
|
"@primer/octicons": "^17.10.2",
|
||||||
"@prisma/client": "^4.8.1",
|
"@prisma/client": "^4.9.0",
|
||||||
"@react-spring/web": "^9.6.1",
|
"@react-spring/web": "^9.6.1",
|
||||||
"@sentry/node": "^7.29.0",
|
"@sentry/node": "^7.31.1",
|
||||||
"@sentry/tracing": "^7.29.0",
|
"@sentry/tracing": "^7.31.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.3",
|
"copy-to-clipboard": "^3.3.3",
|
||||||
@ -39,8 +39,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.2.5",
|
"marked": "^4.2.12",
|
||||||
"next": "13.1.1",
|
"next": "13.1.3",
|
||||||
"next-mdx-remote": "^4.2.1",
|
"next-mdx-remote": "^4.2.1",
|
||||||
"next-seo": "^5.15.0",
|
"next-seo": "^5.15.0",
|
||||||
"obj-str": "^1.1.0",
|
"obj-str": "^1.1.0",
|
||||||
@ -64,9 +64,9 @@
|
|||||||
"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": "^8.2.0",
|
"simple-icons": "^8.3.0",
|
||||||
"sitemap": "^7.1.1",
|
"sitemap": "^7.1.1",
|
||||||
"swr": "^2.0.0"
|
"swr": "^2.0.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jakejarvis/eslint-config": "*",
|
"@jakejarvis/eslint-config": "*",
|
||||||
@ -76,22 +76,22 @@
|
|||||||
"@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",
|
||||||
"@types/react": "^18.0.26",
|
"@types/react": "^18.0.27",
|
||||||
"@types/react-dom": "^18.0.10",
|
"@types/react-dom": "^18.0.10",
|
||||||
"@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.17.1",
|
"@types/uglify-js": "^3.17.1",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.48.0",
|
"@typescript-eslint/eslint-plugin": "^5.48.2",
|
||||||
"@typescript-eslint/parser": "^5.48.0",
|
"@typescript-eslint/parser": "^5.48.2",
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
"eslint": "~8.31.0",
|
"eslint": "~8.32.0",
|
||||||
"eslint-config-next": "13.1.1",
|
"eslint-config-next": "13.1.3",
|
||||||
"eslint-config-prettier": "~8.6.0",
|
"eslint-config-prettier": "~8.6.0",
|
||||||
"eslint-plugin-mdx": "~2.0.5",
|
"eslint-plugin-mdx": "~2.0.5",
|
||||||
"eslint-plugin-prettier": "~4.2.1",
|
"eslint-plugin-prettier": "~4.2.1",
|
||||||
"lint-staged": "^13.1.0",
|
"lint-staged": "^13.1.0",
|
||||||
"prettier": "^2.8.1",
|
"prettier": "^2.8.3",
|
||||||
"prisma": "^4.8.1",
|
"prisma": "^4.9.0",
|
||||||
"simple-git-hooks": "^2.8.1",
|
"simple-git-hooks": "^2.8.1",
|
||||||
"typescript": "^4.9.4",
|
"typescript": "^4.9.4",
|
||||||
"uglify-js": "^3.17.4"
|
"uglify-js": "^3.17.4"
|
||||||
@ -116,6 +116,6 @@
|
|||||||
},
|
},
|
||||||
"volta": {
|
"volta": {
|
||||||
"node": "18.13.0",
|
"node": "18.13.0",
|
||||||
"npm": "9.2.0"
|
"npm": "9.3.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user