Skip to content

Instantly share code, notes, and snippets.

@jacobparis
Last active July 26, 2024 23:53
Show Gist options
  • Save jacobparis/c7302ce2b17c01edfba72d8eab378667 to your computer and use it in GitHub Desktop.
Save jacobparis/c7302ce2b17c01edfba72d8eab378667 to your computer and use it in GitHub Desktop.
The final hunk in this patch fails and I don't know why
patch package.json < package.json.patch
{
"name": "package-name",
"private": true,
"sideEffects": false,
"type": "module",
"imports": {
"#*": "./*"
},
"scripts": {
"build": "run-s build:*",
"build:icons": "tsx ./other/build-icons.ts",
"build:remix": "remix vite:build --sourcemapClient --sourcemapServer",
"build:server": "tsx ./other/build-server.ts",
"predev": "npm run build:icons --silent",
"dev": "node ./server/dev-server.js",
"prisma:studio": "prisma studio",
"format": "prettier --write .",
"lint": "eslint .",
"setup": "npm run build && prisma generate && prisma migrate deploy",
"start": "cross-env NODE_ENV=production node .",
"start:mocks": "cross-env NODE_ENV=production MOCKS=true tsx .",
"typecheck": "tsc",
"validate": "run-p lint typecheck"
},
"eslintIgnore": [
"/node_modules",
"/build",
"/public/build",
"/server-build"
],
"dependencies": {
"@conform-to/react": "^1.0.2",
"@conform-to/zod": "^1.0.2",
"@epic-web/cachified": "^5.1.2",
"@epic-web/client-hints": "^1.3.0",
"@epic-web/invariant": "^1.0.0",
"@epic-web/remember": "^1.0.2",
"@epic-web/totp": "^1.1.2",
"@kentcdodds/workshop-utils": "3.14.1",
"@nasa-gcn/remix-seo": "^2.0.0",
"@paralleldrive/cuid2": "^2.2.2",
"@prisma/client": "^5.10.2",
"@radix-ui/react-checkbox": "^1.0.4",
"@radix-ui/react-dropdown-menu": "^2.0.6",
"@radix-ui/react-label": "^2.0.2",
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-toast": "^1.1.5",
"@radix-ui/react-tooltip": "^1.0.7",
"@react-email/components": "0.0.15",
"@remix-run/express": "2.8.1",
"@remix-run/node": "2.8.1",
"@remix-run/react": "2.8.1",
"@remix-run/server-runtime": "2.8.1",
"@sentry/profiling-node": "^7.105.0",
"@sentry/remix": "^7.107.0",
"@sentry/vite-plugin": "^2.15.0",
"address": "^2.0.2",
"bcryptjs": "^2.4.3",
"better-sqlite3": "^9.4.3",
"chalk": "^5.3.0",
"class-variance-authority": "^0.7.0",
"close-with-grace": "^1.3.0",
"clsx": "^2.1.0",
"compression": "^1.7.4",
"cookie": "^0.6.0",
"cross-env": "^7.0.3",
"crypto-js": "^4.2.0",
"date-fns": "^3.3.1",
"dotenv": "^16.4.5",
"eslint-plugin-remix-react-routes": "^1.0.5",
"execa": "^8.0.1",
"express": "^4.18.3",
"express-rate-limit": "^7.2.0",
"get-port": "^7.0.0",
"glob": "^10.3.10",
"helmet": "^7.1.0",
"intl-parse-accept-language": "^1.0.0",
"isbot": "^5.1.1",
"litefs-js": "^1.1.2",
"lru-cache": "^10.2.0",
"morgan": "^1.10.0",
"prisma": "^5.10.2",
"qrcode": "^1.5.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"remix-auth": "^3.6.0",
"remix-auth-form": "^1.4.0",
"remix-auth-github": "^1.6.0",
"remix-utils": "^7.5.0",
"set-cookie-parser": "^2.6.0",
"sonner": "^1.4.3",
"source-map-support": "^0.5.21",
"spin-delay": "^1.2.0",
"tailwind-merge": "^2.2.1",
"tailwindcss": "^3.4.1",
"tailwindcss-animate": "^1.0.7",
"tailwindcss-radix": "^2.8.0",
"zod": "^3.22.4"
},
"devDependencies": {
"@faker-js/faker": "^8.4.1",
"@remix-run/dev": "2.8.1",
"@remix-run/eslint-config": "2.8.1",
"@remix-run/serve": "2.8.1",
"@remix-run/testing": "2.8.1",
"@sly-cli/sly": "^1.10.0",
"@total-typescript/ts-reset": "^0.5.1",
"@types/bcryptjs": "^2.4.6",
"@types/better-sqlite3": "^7.6.9",
"@types/compression": "^1.7.5",
"@types/cookie": "^0.6.0",
"@types/eslint": "^8.56.5",
"@types/express": "^4.17.21",
"@types/fs-extra": "^11.0.4",
"@types/glob": "^8.1.0",
"@types/morgan": "^1.9.9",
"@types/node": "^20.11.24",
"@types/qrcode": "^1.5.5",
"@types/react": "^18.2.63",
"@types/react-dom": "^18.2.20",
"@types/set-cookie-parser": "^2.4.7",
"@types/source-map-support": "^0.5.10",
"@vitejs/plugin-react": "^4.2.1",
"autoprefixer": "^10.4.18",
"enforce-unique": "^1.3.0",
"esbuild": "^0.20.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"fs-extra": "^11.2.0",
"msw": "2.2.2",
"node-html-parser": "^6.1.12",
"npm-run-all": "^4.1.5",
"prettier": "^3.2.5",
"prettier-plugin-sql": "^0.18.0",
"prettier-plugin-tailwindcss": "^0.5.11",
"remix-flat-routes": "^0.6.4",
"tsx": "^4.7.1",
"typescript": "^5.4.5",
"vite": "^5.1.5"
},
"engines": {
"node": "20"
},
"epic-stack": true
}
--- package.json
+++ package.json
@@ -32,2 +32,2 @@
- "@conform-to/react": "^1.0.2",
- "@conform-to/zod": "^1.0.2",
+ "@conform-to/react": "^1.0.4",
+ "@conform-to/zod": "^1.0.4",
@@ -42,1 +42,1 @@
- "@prisma/client": "^5.10.2",
+ "@prisma/client": "^5.11.0",
@@ -50,5 +50,5 @@
- "@remix-run/express": "2.8.1",
- "@remix-run/node": "2.8.1",
- "@remix-run/react": "2.8.1",
- "@remix-run/server-runtime": "2.8.1",
- "@sentry/profiling-node": "^7.105.0",
+ "@remix-run/express": "2.8.1",
+ "@remix-run/node": "2.8.1",
+ "@remix-run/react": "2.8.1",
+ "@remix-run/server-runtime": "2.8.1",
+ "@sentry/profiling-node": "^7.107.0",
@@ -56,1 +56,1 @@
- "@sentry/vite-plugin": "^2.15.0",
+ "@sentry/vite-plugin": "^2.16.0",
@@ -68,1 +68,1 @@
- "date-fns": "^3.3.1",
+ "date-fns": "^3.6.0",
@@ -78,1 +78,1 @@
- "isbot": "^5.1.1",
+ "isbot": "^5.1.2",
@@ -82,1 +82,1 @@
- "prisma": "^5.10.2",
+ "prisma": "^5.11.0",
@@ -88,1 +88,1 @@
- "remix-auth-github": "^1.6.0",
+ "remix-auth-github": "^1.7.0",
@@ -93,2 +93,2 @@
- "spin-delay": "^1.2.0",
- "tailwind-merge": "^2.2.1",
+ "spin-delay": "^2.0.0",
+ "tailwind-merge": "^2.2.2",
@@ -102,4 +102,4 @@
- "@remix-run/dev": "2.8.1",
- "@remix-run/eslint-config": "2.8.1",
- "@remix-run/serve": "2.8.1",
- "@remix-run/testing": "2.8.1",
+ "@remix-run/dev": "2.8.1",
+ "@remix-run/eslint-config": "2.8.1",
+ "@remix-run/serve": "2.8.1",
+ "@remix-run/testing": "2.8.1",
@@ -112,1 +112,1 @@
- "@types/eslint": "^8.56.5",
+ "@types/eslint": "^8.56.6",
@@ -117,1 +117,1 @@
- "@types/node": "^20.11.24",
+ "@types/node": "^20.11.30",
@@ -119,2 +119,2 @@
- "@types/react": "^18.2.63",
- "@types/react-dom": "^18.2.20",
+ "@types/react": "^18.2.67",
+ "@types/react-dom": "^18.2.22",
@@ -126,1 +126,1 @@
- "esbuild": "^0.20.1",
+ "esbuild": "^0.20.2",
@@ -130,1 +130,1 @@
- "msw": "2.2.2",
+ "msw": "2.2.8",
@@ -135,1 +135,1 @@
- "prettier-plugin-tailwindcss": "^0.5.11",
+ "prettier-plugin-tailwindcss": "^0.5.12",
@@ -138,3 +138,3 @@
- "typescript": "^5.4.5",
- "vite": "^5.1.5"
+ "typescript": "^5.4.2",
+ "vite": "^5.1.6"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment