3010: Apollo 4 major update and complete security overhaul to prepare for public api support
* 2919: rewrite for update to apollo 4 (#131) * rewrite for update to apollo 4 * removed container tests, edited make to publish any branch to staging * revert makefile * cleanup * update 1 * more fixes to get it working on aws * enabled csrf prevention protection, testing if build works * switched to express version * changed the healthcheck url * added cache to restdatasources * 3011: create a login mutation on graphql server that responds with a access token (#133) * 3011 added login rest endpoint and general scope fixes * changed login auth to basic auth username and password * minor changes from CR feedback * force update * added tighter timeout for idle knex connection * Refactor authentication and scopes (#134) * big refactor of scopes in graphql * cr fixes * some security fixes (#135) * some security fixes * cleanup * update staging * minor readme change
This commit is contained in:
+24
-30
@@ -4,11 +4,8 @@
|
||||
"description": "Photowall GraphQL API",
|
||||
"main": "src/index.ts",
|
||||
"scripts": {
|
||||
"exportSQL": "cd src/__test__/db_generator/ && npm install && node index.js && cd ../../../",
|
||||
"test": "npm run exportSQL && jest --detectOpenHandles",
|
||||
"test:dev": "npm run exportSQL && jest --watch",
|
||||
"unit": "jest --testPathIgnorePatterns=\"src/__test__/all.test.ts\"",
|
||||
"unit:dev": "jest --testPathIgnorePatterns=\"src/__test__/all.test.ts\" --watch src/**/*",
|
||||
"test": "jest",
|
||||
"test:dev": "jest --watch src/**/*",
|
||||
"test:manual": "cd manual-tests && ts-node test-scopes.ts"
|
||||
},
|
||||
"engines": {
|
||||
@@ -17,47 +14,44 @@
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@aws-sdk/client-s3": "^3.194.0",
|
||||
"@aws-sdk/client-sqs": "^3.194.0",
|
||||
"@aws-sdk/client-translate": "^3.195.0",
|
||||
"@aws-sdk/s3-request-presigner": "^3.194.0",
|
||||
"@newrelic/apollo-server-plugin": "^2.0.1",
|
||||
"apollo-datasource": "^3.3.2",
|
||||
"apollo-datasource-rest": "^3.7.0",
|
||||
"apollo-server": "^3.10.3",
|
||||
"apollo-server-caching": "^3.3.0",
|
||||
"async-redis": "^2.0.0",
|
||||
"axios": "^1.1.3",
|
||||
"@apollo/datasource-rest": "^4.3.2",
|
||||
"@apollo/server": "^4.2.0",
|
||||
"@apollo/utils.keyvaluecache": "^2.0.0",
|
||||
"@aws-sdk/client-s3": "^3.216.0",
|
||||
"@aws-sdk/client-sqs": "^3.216.0",
|
||||
"@aws-sdk/client-translate": "^3.216.0",
|
||||
"@aws-sdk/s3-request-presigner": "^3.216.0",
|
||||
"@newrelic/apollo-server-plugin": "^2.1.0",
|
||||
"axios": "^1.2.0",
|
||||
"body-parser": "^1.20.1",
|
||||
"cors": "^2.8.5",
|
||||
"datasource-sql": "^2.0.1",
|
||||
"dotenv": "^16.0.3",
|
||||
"express": "^4.18.2",
|
||||
"graphql": "^16.6.0",
|
||||
"graphql-scalars": "^1.20.0",
|
||||
"graphql-scalars": "^1.20.1",
|
||||
"jsonwebtoken": "^8.5.1",
|
||||
"jwk-to-pem": "^2.0.5",
|
||||
"knex": "^2.3.0",
|
||||
"knex-stringcase": "^1.4.6",
|
||||
"newrelic": "^9.4.0",
|
||||
"newrelic": "^9.7.0",
|
||||
"nodemon": "^2.0.20",
|
||||
"pg": "^8.8.0",
|
||||
"pg-hstore": "^2.3.4",
|
||||
"prettier": "^2.7.1",
|
||||
"prettier": "^2.8.0",
|
||||
"slug": "^8.2.2",
|
||||
"stringcase": "^4.3.1",
|
||||
"ts-node": "^10.9.1",
|
||||
"typescript": "^4.8.4",
|
||||
"util": "^0.12.5",
|
||||
"validator": "^13.7.0"
|
||||
"typescript": "^4.9.3",
|
||||
"util": "^0.12.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/jest": "^29.2.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.41.0",
|
||||
"@typescript-eslint/parser": "^5.41.0",
|
||||
"eslint": "^8.26.0",
|
||||
"@types/jest": "^29.2.3",
|
||||
"@typescript-eslint/eslint-plugin": "^5.44.0",
|
||||
"@typescript-eslint/parser": "^5.44.0",
|
||||
"eslint": "^8.28.0",
|
||||
"eslint-config-prettier": "^8.5.0",
|
||||
"eslint-plugin-prettier": "^4.2.1",
|
||||
"isomorphic-fetch": "^3.0.0",
|
||||
"jest": "^29.2.2",
|
||||
"testcontainers": "^8.16.0",
|
||||
"jest": "^29.3.1",
|
||||
"ts-jest": "^29.0.3"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user