-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: extract hardcoded package.json declarations to fixtures (#309)
* test: extract hardcoded package into fixture file * ci: allow renovate to process package.json files also in tests * chore: allign prisma and @prisma/client version * style: fix formating issues * chore: pin nexus version in dev dependencies * test: pin version for all prisma specific dependencies to 4.0 for test-past-prisma
- Loading branch information
1 parent
68884c5
commit 8cebf8a
Showing
10 changed files
with
1,218 additions
and
1,779 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"name": "kitchen-sink", | ||
"version": "1.0.0", | ||
"license": "MIT", | ||
"scripts": { | ||
"reflect": "yarn -s reflect:prisma && yarn -s reflect:nexus", | ||
"reflect:prisma": "cross-env DEBUG='*' prisma generate", | ||
"reflect:nexus": "cross-env REFLECT=true ts-node --transpile-only src/schema", | ||
"build": "tsc", | ||
"start": "node build/server", | ||
"dev:server": "yarn ts-node-dev --transpile-only server", | ||
"db:migrate": "prisma db push --force-reset --accept-data-loss && ts-node prisma/seed" | ||
}, | ||
"dependencies": { | ||
"@prisma/client": "__dynamic__", | ||
"@types/node": "^18.11.9", | ||
"apollo-server": "^3.11.1", | ||
"cross-env": "^7.0.3", | ||
"dotenv": "^9.0.0", | ||
"graphql": "^15.8.0", | ||
"nexus": "1.1.0", | ||
"prisma": "__dynamic__", | ||
"ts-node": "^10.9.1", | ||
"ts-node-dev": "^1.1.6", | ||
"typescript": "4.5.2" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"name": "ts-node-import-error", | ||
"version": "1.0.0", | ||
"license": "MIT", | ||
"scripts": { | ||
"build": "prisma generate" | ||
}, | ||
"dependencies": { | ||
"@prisma/client": "__dynamic__", | ||
"graphql": "^15.8.0", | ||
"nexus": "1.1.0", | ||
"prisma": "__dynamic__" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"name": "ts-node-unused", | ||
"version": "1.0.0", | ||
"license": "MIT", | ||
"scripts": { | ||
"build": "prisma generate" | ||
}, | ||
"dependencies": { | ||
"@prisma/client": "__dynamic__", | ||
"graphql": "^15.8.0", | ||
"nexus": "1.1.0", | ||
"prisma": "__dynamic__" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.