-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #268 from esek/fix/dont-require-lu
Manually set LU card to null if passed as an empty string
- Loading branch information
Showing
5 changed files
with
164 additions
and
112 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,105 +1,104 @@ | ||
{ | ||
"name": "ekorre-ts", | ||
"version": "1.7.0", | ||
"description": "E-Sektionens backend", | ||
"main": "src/index.ts", | ||
"scripts": { | ||
"run": "node -r ts-node/register/transpile-only -r tsconfig-paths/register build/src/index.js", | ||
"build": "tsc --project ./tsconfig.build.json", | ||
"prestart": "npm run build", | ||
"start": "npm run run", | ||
"dev": "nodemon -e ts,graphql --watch src --exec \"node --nolazy --inspect -r tsconfig-paths/register -r ts-node/register src/index.ts\"", | ||
"prettier-format": "prettier --config .prettierrc \"src/**/*.ts\" \"test/**/*.ts\" --write", | ||
"lint": "eslint src test", | ||
"test": "jest", | ||
"test:prebuild": "jest test/unit test/integration", | ||
"test:unit": "jest test/unit", | ||
"test:integration": "jest test/integration", | ||
"test:regression": "jest test/regression --coverage=false", | ||
"benchmark": "ts-node tools/benchmark/index.ts", | ||
"prisma:ci": "prisma generate && prisma db push --accept-data-loss && prisma db seed", | ||
"prisma:reset": "prisma migrate reset --skip-seed; prisma db push; prisma db seed", | ||
"prisma:generate": "prisma generate", | ||
"prisma:push": "prisma db push", | ||
"prisma:migrate": "prisma migrate dev", | ||
"graphql:generate": "graphql-codegen --config codegen.yml", | ||
"generate": "npm run graphql:generate && npm run prisma:generate" | ||
}, | ||
"author": "Emil Blennow <[email protected]", | ||
"contributors": [ | ||
"Emil Eriksson <[email protected]>", | ||
"Axel Froborg <[email protected]>", | ||
"Marcus Lindell <[email protected]>", | ||
"Eric Weidow <[email protected]>", | ||
"Axel Andersson <[email protected]>" | ||
], | ||
"bugs": { | ||
"email": "[email protected]" | ||
}, | ||
"license": "AGPL-3.0-only", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/esek/ekorre.git" | ||
}, | ||
"prisma": { | ||
"seed": "ts-node prisma/data/seed.ts" | ||
}, | ||
"dependencies": { | ||
"@esek/auth-server": "5.0.2", | ||
"@graphql-tools/graphql-file-loader": "^7.5.13", | ||
"@graphql-tools/load": "^7.8.8", | ||
"@graphql-tools/schema": "^9.0.12", | ||
"@prisma/client": "^5.0.0", | ||
"apollo-server-core": "^3.11.1", | ||
"apollo-server-errors": "^3.3.1", | ||
"apollo-server-express": "^3.11.1", | ||
"axios": "^1.2.2", | ||
"cookie-parser": "^1.4.6", | ||
"dataloader": "^2.1.0", | ||
"dotenv": "^16.0.3", | ||
"express": "^4.18.2", | ||
"express-fileupload": "^1.4.0", | ||
"graphql": "^16.6.0", | ||
"graphql-scalars": "^1.20.1", | ||
"jsdom": "^20.0.3", | ||
"jsonwebtoken": "^9.0.0", | ||
"regenerator-runtime": "^0.13.11", | ||
"set-cookie-parser": "^2.5.1", | ||
"ts-node": "^10.9.1", | ||
"tsconfig-paths": "^4.1.2", | ||
"typescript": "^4.9.4" | ||
}, | ||
"devDependencies": { | ||
"@graphql-codegen/cli": "^2.16.2", | ||
"@graphql-codegen/introspection": "2.2.3", | ||
"@graphql-codegen/typescript": "2.8.6", | ||
"@graphql-codegen/typescript-resolvers": "2.7.11", | ||
"@trivago/prettier-plugin-sort-imports": "^4.0.0", | ||
"@types/cookie-parser": "^1.4.3", | ||
"@types/express": "^4.17.15", | ||
"@types/express-fileupload": "^1.4.1", | ||
"@types/inquirer": "^9.0.3", | ||
"@types/jest": "^29.2.5", | ||
"@types/jsdom": "^20.0.1", | ||
"@types/jsonwebtoken": "^9.0.0", | ||
"@types/node": "^18.11.18", | ||
"@types/set-cookie-parser": "^2.4.2", | ||
"@types/supertest": "^2.0.12", | ||
"@typescript-eslint/eslint-plugin": "^5.48.0", | ||
"@typescript-eslint/parser": "^5.48.0", | ||
"eslint": "^8.31.0", | ||
"eslint-config-airbnb-typescript": "^17.0.0", | ||
"eslint-config-prettier": "^8.6.0", | ||
"eslint-import-resolver-typescript": "^3.5.2", | ||
"eslint-plugin-import": "^2.26.0", | ||
"inquirer": "^9.1.4", | ||
"jest": "^29.3.1", | ||
"nanospinner": "^1.1.0", | ||
"nodemon": "^2.0.20", | ||
"prettier": "^2.8.1", | ||
"prisma": "^5.0.0", | ||
"prisma-dbml-generator": "^0.10.0", | ||
"supertest": "^6.3.3", | ||
"ts-jest": "^29.0.3" | ||
} | ||
} | ||
"name": "ekorre-ts", | ||
"version": "1.7.1", | ||
"description": "E-Sektionens backend", | ||
"main": "src/index.ts", | ||
"scripts": { | ||
"run": "node -r ts-node/register/transpile-only -r tsconfig-paths/register build/src/index.js", | ||
"build": "tsc --project ./tsconfig.build.json", | ||
"prestart": "npm run build", | ||
"start": "npm run run", | ||
"dev": "nodemon -e ts,graphql --watch src --exec \"node --nolazy --inspect -r tsconfig-paths/register -r ts-node/register src/index.ts\"", | ||
"prettier-format": "prettier --config .prettierrc \"src/**/*.ts\" \"test/**/*.ts\" --write", | ||
"lint": "eslint src test", | ||
"test": "jest", | ||
"test:prebuild": "jest test/unit test/integration", | ||
"test:unit": "jest test/unit", | ||
"test:integration": "jest test/integration", | ||
"test:regression": "jest test/regression --coverage=false", | ||
"benchmark": "ts-node tools/benchmark/index.ts", | ||
"prisma:ci": "prisma generate && prisma db push --accept-data-loss && prisma db seed", | ||
"prisma:reset": "prisma migrate reset --skip-seed; prisma db push; prisma db seed", | ||
"prisma:generate": "prisma generate", | ||
"prisma:push": "prisma db push", | ||
"prisma:migrate": "prisma migrate dev", | ||
"graphql:generate": "graphql-codegen --config codegen.yml", | ||
"generate": "npm run graphql:generate && npm run prisma:generate" | ||
}, | ||
"author": "Emil Blennow <[email protected]", | ||
"contributors": [ | ||
"Emil Eriksson <[email protected]>", | ||
"Axel Froborg <[email protected]>", | ||
"Marcus Lindell <[email protected]>", | ||
"Eric Weidow <[email protected]>" | ||
], | ||
"bugs": { | ||
"email": "[email protected]" | ||
}, | ||
"license": "AGPL-3.0-only", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/esek/ekorre.git" | ||
}, | ||
"prisma": { | ||
"seed": "ts-node prisma/data/seed.ts" | ||
}, | ||
"dependencies": { | ||
"@esek/auth-server": "5.0.2", | ||
"@graphql-tools/graphql-file-loader": "^7.5.13", | ||
"@graphql-tools/load": "^7.8.8", | ||
"@graphql-tools/schema": "^9.0.12", | ||
"@prisma/client": "^5.0.0", | ||
"apollo-server-core": "^3.11.1", | ||
"apollo-server-errors": "^3.3.1", | ||
"apollo-server-express": "^3.11.1", | ||
"axios": "^1.2.2", | ||
"cookie-parser": "^1.4.6", | ||
"dataloader": "^2.1.0", | ||
"dotenv": "^16.0.3", | ||
"express": "^4.18.2", | ||
"express-fileupload": "^1.4.0", | ||
"graphql": "^16.6.0", | ||
"graphql-scalars": "^1.20.1", | ||
"jsdom": "^20.0.3", | ||
"jsonwebtoken": "^9.0.0", | ||
"regenerator-runtime": "^0.13.11", | ||
"set-cookie-parser": "^2.5.1", | ||
"ts-node": "^10.9.1", | ||
"tsconfig-paths": "^4.1.2", | ||
"typescript": "^4.9.4" | ||
}, | ||
"devDependencies": { | ||
"@graphql-codegen/cli": "^2.16.2", | ||
"@graphql-codegen/introspection": "2.2.3", | ||
"@graphql-codegen/typescript": "2.8.6", | ||
"@graphql-codegen/typescript-resolvers": "2.7.11", | ||
"@trivago/prettier-plugin-sort-imports": "^4.0.0", | ||
"@types/cookie-parser": "^1.4.3", | ||
"@types/express": "^4.17.15", | ||
"@types/express-fileupload": "^1.4.1", | ||
"@types/inquirer": "^9.0.3", | ||
"@types/jest": "^29.2.5", | ||
"@types/jsdom": "^20.0.1", | ||
"@types/jsonwebtoken": "^9.0.0", | ||
"@types/node": "^18.11.18", | ||
"@types/set-cookie-parser": "^2.4.2", | ||
"@types/supertest": "^2.0.12", | ||
"@typescript-eslint/eslint-plugin": "^5.48.0", | ||
"@typescript-eslint/parser": "^5.48.0", | ||
"eslint": "^8.31.0", | ||
"eslint-config-airbnb-typescript": "^17.0.0", | ||
"eslint-config-prettier": "^8.6.0", | ||
"eslint-import-resolver-typescript": "^3.5.2", | ||
"eslint-plugin-import": "^2.26.0", | ||
"inquirer": "^9.1.4", | ||
"jest": "^29.3.1", | ||
"nanospinner": "^1.1.0", | ||
"nodemon": "^2.0.20", | ||
"prettier": "^2.8.1", | ||
"prisma": "^5.0.0", | ||
"prisma-dbml-generator": "^0.10.0", | ||
"supertest": "^6.3.3", | ||
"ts-jest": "^29.0.3" | ||
} | ||
} |
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