From 85764a7d280a0128cb55cac8262103afe3a89b8c Mon Sep 17 00:00:00 2001 From: JohanHjelsethStorstad <82723971+JohanHjelsethStorstad@users.noreply.github.com> Date: Sat, 14 Oct 2023 14:17:23 +0200 Subject: [PATCH] fix: prisma/client should be dev-dependency --- .gitignore | 2 ++ package-lock.json | 10 ++++++---- package.json | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 35757245c..47bbbe83f 100644 --- a/.gitignore +++ b/.gitignore @@ -39,3 +39,5 @@ src/prisma/migrations # environment variables .env + +.rest diff --git a/package-lock.json b/package-lock.json index 964a316d3..5b8dc4947 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,6 @@ "@fortawesome/free-brands-svg-icons": "^6.4.2", "@fortawesome/free-solid-svg-icons": "^6.4.2", "@fortawesome/react-fontawesome": "^0.2.0", - "@prisma/client": "^5.4.2", "eslint": "8.48.0", "eslint-config-next": "13.4.19", "google-map-react": "^2.2.1", @@ -24,6 +23,7 @@ "uuid": "^9.0.0" }, "devDependencies": { + "@prisma/client": "^5.4.2", "prisma": "^5.4.2" } }, @@ -382,6 +382,7 @@ "version": "5.4.2", "resolved": "https://registry.npmjs.org/@prisma/client/-/client-5.4.2.tgz", "integrity": "sha512-2xsPaz4EaMKj1WS9iW6MlPhmbqtBsXAOeVttSePp8vTFTtvzh2hZbDgswwBdSCgPzmmwF+tLB259QzggvCmJqA==", + "dev": true, "hasInstallScript": true, "dependencies": { "@prisma/engines-version": "5.4.1-2.ac9d7041ed77bcc8a8dbd2ab6616b39013829574" @@ -402,13 +403,14 @@ "version": "5.4.2", "resolved": "https://registry.npmjs.org/@prisma/engines/-/engines-5.4.2.tgz", "integrity": "sha512-fqeucJ3LH0e1eyFdT0zRx+oETLancu5+n4lhiYECyEz6H2RDskPJHJYHkVc0LhkU4Uv7fuEnppKU3nVKNzMh8g==", - "devOptional": true, + "dev": true, "hasInstallScript": true }, "node_modules/@prisma/engines-version": { "version": "5.4.1-2.ac9d7041ed77bcc8a8dbd2ab6616b39013829574", "resolved": "https://registry.npmjs.org/@prisma/engines-version/-/engines-version-5.4.1-2.ac9d7041ed77bcc8a8dbd2ab6616b39013829574.tgz", - "integrity": "sha512-wvupDL4AA1vf4TQNANg7kR7y98ITqPsk6aacfBxZKtrJKRIsWjURHkZCGcQliHdqCiW/hGreO6d6ZuSv9MhdAA==" + "integrity": "sha512-wvupDL4AA1vf4TQNANg7kR7y98ITqPsk6aacfBxZKtrJKRIsWjURHkZCGcQliHdqCiW/hGreO6d6ZuSv9MhdAA==", + "dev": true }, "node_modules/@rushstack/eslint-patch": { "version": "1.3.3", @@ -2841,7 +2843,7 @@ "version": "5.4.2", "resolved": "https://registry.npmjs.org/prisma/-/prisma-5.4.2.tgz", "integrity": "sha512-GDMZwZy7mysB2oXU+angQqJ90iaPFdD0rHaZNkn+dio5NRkGLmMqmXs31//tg/qXT3iB0cTQwnGGQNuirhSTZg==", - "devOptional": true, + "dev": true, "hasInstallScript": true, "dependencies": { "@prisma/engines": "5.4.2" diff --git a/package.json b/package.json index 51f9aa3fa..3cd14e834 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,6 @@ "@fortawesome/free-brands-svg-icons": "^6.4.2", "@fortawesome/free-solid-svg-icons": "^6.4.2", "@fortawesome/react-fontawesome": "^0.2.0", - "@prisma/client": "^5.4.2", "eslint": "8.48.0", "eslint-config-next": "13.4.19", "google-map-react": "^2.2.1", @@ -29,6 +28,7 @@ "uuid": "^9.0.0" }, "devDependencies": { + "@prisma/client": "^5.4.2", "prisma": "^5.4.2" } }