diff --git a/.github/workflows/build-website.yml b/.github/workflows/build-website.yml index e5a1c16183..190aaddc85 100644 --- a/.github/workflows/build-website.yml +++ b/.github/workflows/build-website.yml @@ -30,9 +30,9 @@ jobs: continue-on-error: true steps: - name: Checkout master - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Use Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: 12.x - name: Cache Dependencies diff --git a/.github/workflows/graphback-ci.yml b/.github/workflows/graphback-ci.yml index b89b769f85..f04484e9a4 100644 --- a/.github/workflows/graphback-ci.yml +++ b/.github/workflows/graphback-ci.yml @@ -46,7 +46,7 @@ jobs: timeout-minutes: 60 services: mongodb: - image: mongo:4.2.9 + image: mongo:6.0.5 env: MONGO_INITDB_DATABASE: users MONGO_INITDB_ROOT_USERNAME: mongodb @@ -54,7 +54,7 @@ jobs: ports: - 27017:27017 postgres: - image: postgres:12 + image: postgres:15 env: POSTGRES_PASSWORD: postgres POSTGRES_USER: postgresql @@ -65,9 +65,9 @@ jobs: options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 steps: - name: Checkout master - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Use Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: 12.x - name: Cache Dependencies @@ -99,9 +99,9 @@ jobs: needs: build steps: - name: Checkout master - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Use Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: 12.x - name: Cache Dependencies diff --git a/integration/package.json b/integration/package.json index 2833625097..9f1e138020 100644 --- a/integration/package.json +++ b/integration/package.json @@ -19,15 +19,15 @@ "@graphql-tools/graphql-file-loader": "6.2.6", "apollo-server": "2.19.0", "apollo-server-testing": "2.19.0", - "graphql": "15.4.0", + "graphql": "16.6.0", "jest": "26.6.3", - "knex": "0.21.13", - "mongodb": "3.6.3", - "node-fetch": "2.6.1", - "rimraf": "3.0.2", - "ts-node": "9.1.1", + "knex": "2.4.2", + "mongodb": "5.2.0", + "node-fetch": "3.3.1", + "rimraf": "5.0.0", + "ts-node": "10.9.1", "tsutils": "3.17.1", - "typescript": "4.1.3" + "typescript": "5.0.4" }, "license": "Apache-2.0" } diff --git a/package.json b/package.json index 892b4cff5b..8735c3b376 100644 --- a/package.json +++ b/package.json @@ -10,30 +10,30 @@ "@typescript-eslint/eslint-plugin": "4.9.1", "@typescript-eslint/eslint-plugin-tslint": "4.9.1", "@typescript-eslint/parser": "4.9.1", - "del-cli": "3.0.1", - "eslint": "7.15.0", - "eslint-plugin-flowtype": "5.2.0", + "del-cli": "5.0.0", + "eslint": "8.38.0", + "eslint-plugin-flowtype": "8.0.3", "eslint-plugin-import": "2.22.1", "eslint-plugin-jsx-a11y": "6.4.1", "eslint-plugin-no-null": "1.0.2", "eslint-plugin-react": "7.21.5", "eslint-plugin-react-hooks": "4.2.0", - "eslint-plugin-unused-imports": "0.1.3", - "husky": "4.3.6", + "eslint-plugin-unused-imports": "2.0.0", + "husky": "8.0.3", "jest": "26.6.3", "lerna": "3.22.1", - "lerna-changelog": "1.0.1", + "lerna-changelog": "2.2.0", "npm-run-all": "4.1.5", "nyc": "15.1.0", "replace": "1.2.0", "ts-jest": "26.4.4", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "6.1.3", "tslint-config-prettier": "1.18.0", "tslint-microsoft-contrib": "6.2.0", "typedoc": "0.19.2", - "typedoc-plugin-markdown": "2.4.2", - "typescript": "4.1.3" + "typedoc-plugin-markdown": "3.15.1", + "typescript": "5.0.4" }, "scripts": { "bench": "cd performance && yarn start", diff --git a/packages/create-graphback/package.json b/packages/create-graphback/package.json index e991672cf3..9f3874a8f3 100644 --- a/packages/create-graphback/package.json +++ b/packages/create-graphback/package.json @@ -33,32 +33,32 @@ "license": "Apache-2.0", "devDependencies": { "@types/chalk": "0.4.31", - "@types/inquirer": "7.3.1", + "@types/inquirer": "9.0.3", "@types/jest": "26.0.19", - "@types/node": "12.19.9", + "@types/node": "18.15.11", "@types/node-emoji": "1.8.1", "@types/parse-github-url": "1.0.0", "@types/request": "2.48.5", - "@types/tar": "4.0.4", - "@types/yargs": "15.0.12", + "@types/tar": "6.1.4", + "@types/yargs": "17.0.24", "jest": "26.6.3", - "rimraf": "3.0.2", + "rimraf": "5.0.0", "ts-jest": "26.4.4", - "ts-node": "9.1.1", - "typescript": "4.1.3", + "ts-node": "10.9.1", + "typescript": "5.0.4", "typescript-eslint-parser": "21.0.2" }, "dependencies": { "chalk": "2.4.2", "figlet": "1.5.0", - "inquirer": "7.3.3", + "inquirer": "9.1.5", "node-emoji": "1.10.0", "ora": "3.4.0", "parse-github-url": "1.0.2", "request": "2.88.2", "tar": "6.0.5", "tmp": "0.2.1", - "yargs": "16.2.0" + "yargs": "17.7.1" }, "jest": { "transform": { diff --git a/packages/graphback-cli/package.json b/packages/graphback-cli/package.json index 737b985797..e73c55d2ec 100644 --- a/packages/graphback-cli/package.json +++ b/packages/graphback-cli/package.json @@ -32,15 +32,15 @@ "devDependencies": { "@types/chalk": "0.4.31", "@types/jest": "26.0.19", - "@types/node": "12.19.9", + "@types/node": "18.15.11", "@types/node-emoji": "1.8.1", - "@types/yargs": "15.0.12", + "@types/yargs": "17.0.24", "jest": "26.6.3", - "lint-staged": "10.5.3", - "rimraf": "3.0.2", + "lint-staged": "13.2.1", + "rimraf": "5.0.0", "ts-jest": "26.4.4", - "ts-node": "9.1.1", - "typescript": "4.1.3", + "ts-node": "10.9.1", + "typescript": "5.0.4", "typescript-eslint-parser": "21.0.2" }, "dependencies": { @@ -49,9 +49,9 @@ "chokidar": "3.4.3", "debounce": "1.2.0", "graphback": "1.1.2", - "graphql-config": "3.2.0", + "graphql-config": "4.5.0", "node-emoji": "1.10.0", - "yargs": "16.2.0" + "yargs": "17.7.1" }, "jest": { "transform": { diff --git a/packages/graphback-codegen-client/package.json b/packages/graphback-codegen-client/package.json index 7099474234..0f503bc551 100644 --- a/packages/graphback-codegen-client/package.json +++ b/packages/graphback-codegen-client/package.json @@ -32,20 +32,20 @@ }, "devDependencies": { "@types/jest": "26.0.19", - "@types/node": "12.19.9", - "graphql": "15.4.0", + "@types/node": "18.15.11", + "graphql": "16.6.0", "jest": "26.6.3", - "rimraf": "3.0.2", + "rimraf": "5.0.0", "ts-jest": "26.4.4", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tsutils": "3.17.1", - "typescript": "4.1.3" + "typescript": "5.0.4" }, "dependencies": { "@graphback/core": "1.1.2", "pluralize": "8.0.0" }, "peerDependencies": { - "graphql": "^14.0.0 || ^15.0.0" + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0" } } diff --git a/packages/graphback-codegen-schema/package.json b/packages/graphback-codegen-schema/package.json index a9e0b23925..6fbeafdd67 100644 --- a/packages/graphback-codegen-schema/package.json +++ b/packages/graphback-codegen-schema/package.json @@ -32,24 +32,24 @@ }, "devDependencies": { "@types/jest": "26.0.19", - "@types/node": "12.19.9", + "@types/node": "18.15.11", "dataloader": "2.0.0", - "graphql": "15.4.0", + "graphql": "16.6.0", "jest": "26.6.3", - "rimraf": "3.0.2", + "rimraf": "5.0.0", "ts-jest": "26.4.4", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tsutils": "3.17.1", - "typescript": "4.1.3" + "typescript": "5.0.4" }, "dependencies": { "@graphback/core": "1.1.2", "@graphql-tools/utils": "7.1.4", - "graphql-compose": "7.23.0", + "graphql-compose": "9.0.10", "graphql-metadata": "0.7.6", "pluralize": "8.0.0" }, "peerDependencies": { - "graphql": "^14.0.0 || ^15.0.0" + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0" } } diff --git a/packages/graphback-core/package.json b/packages/graphback-core/package.json index 3c4d573b75..eb0a809f93 100644 --- a/packages/graphback-core/package.json +++ b/packages/graphback-core/package.json @@ -29,15 +29,15 @@ }, "devDependencies": { "@types/jest": "26.0.19", - "@types/node": "12.19.9", - "@types/pino": "6.3.4", - "graphql": "15.4.0", + "@types/node": "18.15.11", + "@types/pino": "7.0.4", + "graphql": "16.6.0", "jest": "26.6.3", - "rimraf": "3.0.2", + "rimraf": "5.0.0", "ts-jest": "26.4.4", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "6.1.3", - "typescript": "4.1.3" + "typescript": "5.0.4" }, "license": "Apache-2.0", "publishConfig": { @@ -47,19 +47,19 @@ "@graphql-tools/merge": "6.2.6", "@graphql-tools/utils": "7.1.4", "@types/bson": "4.0.3", - "bson": "4.2.2", + "bson": "5.2.0", "dataloader": "2.0.0", - "glob": "7.1.6", - "graphql-compose": "7.23.0", + "glob": "10.1.0", + "graphql-compose": "9.0.10", "graphql-fields-list": "2.2.1", "graphql-metadata": "0.7.6", "graphql-scalars": "1.6.1", - "graphql-subscriptions": "1.1.0", - "pino": "6.8.0", + "graphql-subscriptions": "2.0.0", + "pino": "8.11.0", "pluralize": "8.0.0" }, "peerDependencies": { - "bson-ext": "2.x.x", - "graphql": "^14.0.0 || ^15.0.0" + "bson-ext": "2.x.x || 4.x", + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0" } } diff --git a/packages/graphback-datasync/package.json b/packages/graphback-datasync/package.json index 2c726f46c2..a5de803ff6 100644 --- a/packages/graphback-datasync/package.json +++ b/packages/graphback-datasync/package.json @@ -32,16 +32,16 @@ }, "devDependencies": { "@types/jest": "26.0.19", - "@types/node": "12.19.9", - "graphql": "15.4.0", + "@types/node": "18.15.11", + "graphql": "16.6.0", "jest": "26.6.3", "jest-date-mock": "1.0.8", - "mongodb-memory-server": "6.9.2", - "rimraf": "3.0.2", + "mongodb-memory-server": "8.12.2", + "rimraf": "5.0.0", "ts-jest": "26.4.4", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tsutils": "3.17.1", - "typescript": "4.1.3" + "typescript": "5.0.4" }, "dependencies": { "@graphback/codegen-schema": "1.1.2", @@ -49,13 +49,13 @@ "@graphback/runtime-mongo": "1.1.2", "@graphql-tools/utils": "7.1.4", "graphback": "1.1.2", - "graphql-compose": "7.23.0", + "graphql-compose": "9.0.10", "graphql-metadata": "0.7.6", - "graphql-subscriptions": "1.1.0", - "mongodb": "3.6.3", + "graphql-subscriptions": "2.0.0", + "mongodb": "5.2.0", "pluralize": "8.0.0" }, "peerDependencies": { - "graphql": "^14.0.0 || ^15.0.0" + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0" } } diff --git a/packages/graphback-keycloak-authz/package.json b/packages/graphback-keycloak-authz/package.json index 1e37bb070f..583314c43a 100644 --- a/packages/graphback-keycloak-authz/package.json +++ b/packages/graphback-keycloak-authz/package.json @@ -31,23 +31,23 @@ }, "devDependencies": { "@types/jest": "26.0.19", - "@types/node": "12.19.9", - "graphql": "15.4.0", + "@types/node": "18.15.11", + "graphql": "16.6.0", "jest": "26.6.3", - "keycloak-connect": "11.0.3", + "keycloak-connect": "21.0.2", "keycloak-connect-graphql": "0.6.4", - "rimraf": "3.0.2", + "rimraf": "5.0.0", "ts-jest": "26.4.4", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tsutils": "3.17.1", - "typescript": "4.1.3" + "typescript": "5.0.4" }, "dependencies": { "@graphback/core": "1.1.2", - "graphql-subscriptions": "1.1.0" + "graphql-subscriptions": "2.0.0" }, "peerDependencies": { - "graphql": "^14.0.0 || ^15.0.0", + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0", "keycloak-connect-graphql": "^0.5.0 || ^0.6.0" } } diff --git a/packages/graphback-runtime-knex/package.json b/packages/graphback-runtime-knex/package.json index 082dcea2a7..534402303c 100644 --- a/packages/graphback-runtime-knex/package.json +++ b/packages/graphback-runtime-knex/package.json @@ -33,24 +33,24 @@ "devDependencies": { "@graphback/codegen-schema": "0.15.0", "@types/jest": "26.0.19", - "@types/node": "12.19.9", - "graphql": "15.4.0", + "@types/node": "18.15.11", + "graphql": "16.6.0", "graphql-migrations": "1.1.2", "jest": "26.6.3", - "rimraf": "3.0.2", + "rimraf": "5.0.0", "sqlite3": "5.0.0", "ts-jest": "26.4.4", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tsutils": "3.17.1", - "typescript": "4.1.3" + "typescript": "5.0.4" }, "dependencies": { "@graphback/core": "1.1.2", "dataloader": "2.0.0", - "graphql-subscriptions": "1.1.0" + "graphql-subscriptions": "2.0.0" }, "peerDependencies": { - "graphql": "^14.0.0 || ^15.0.0", - "knex": "0.20.x || 0.21.x" + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0", + "knex": "0.20.x || 0.21.x || 2.4.x" } } diff --git a/packages/graphback-runtime-mongodb/package.json b/packages/graphback-runtime-mongodb/package.json index 2e2325e57f..4f1974a9b5 100644 --- a/packages/graphback-runtime-mongodb/package.json +++ b/packages/graphback-runtime-mongodb/package.json @@ -33,27 +33,27 @@ "devDependencies": { "@graphback/codegen-schema": "1.1.2", "@types/jest": "26.0.19", - "@types/node": "12.19.9", - "graphql": "15.4.0", + "@types/node": "18.15.11", + "graphql": "16.6.0", "jest": "26.6.3", "jest-date-mock": "1.0.8", - "mongodb-memory-server-global": "6.9.2", - "rimraf": "3.0.2", + "mongodb-memory-server-global": "8.12.2", + "rimraf": "5.0.0", "ts-jest": "26.4.4", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tsutils": "3.17.1", - "typescript": "4.1.3" + "typescript": "5.0.4" }, "dependencies": { "@graphback/core": "1.1.2", - "@types/mongodb": "3.6.3", + "@types/mongodb": "4.0.6", "dataloader": "2.0.0", - "escape-string-regexp": "4.0.0", + "escape-string-regexp": "5.0.0", "graphql-metadata": "0.7.6", - "graphql-subscriptions": "1.1.0" + "graphql-subscriptions": "2.0.0" }, "peerDependencies": { - "graphql": "^14.0.0 || ^15.0.0", - "mongodb": "3.6.3" + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0", + "mongodb": "5.2.0" } } diff --git a/packages/graphback/package.json b/packages/graphback/package.json index 9b74866985..3c96dd08e6 100644 --- a/packages/graphback/package.json +++ b/packages/graphback/package.json @@ -28,14 +28,14 @@ }, "devDependencies": { "@types/jest": "26.0.19", - "@types/node": "12.19.9", - "graphql": "15.4.0", + "@types/node": "18.15.11", + "graphql": "16.6.0", "jest": "26.6.3", - "rimraf": "3.0.2", + "rimraf": "5.0.0", "ts-jest": "26.4.4", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tsutils": "3.17.1", - "typescript": "4.1.3" + "typescript": "5.0.4" }, "license": "Apache-2.0", "dependencies": { @@ -43,10 +43,10 @@ "@graphback/codegen-schema": "1.1.2", "@graphback/core": "1.1.2", "@graphql-tools/merge": "6.2.6", - "graphql-subscriptions": "1.1.0", + "graphql-subscriptions": "2.0.0", "tslib": "2.0.3" }, "peerDependencies": { - "graphql": "^14.0.0 || ^15.0.0" + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0" } } diff --git a/packages/graphql-migrations/package.json b/packages/graphql-migrations/package.json index 8d526ab50a..784e3f50d2 100644 --- a/packages/graphql-migrations/package.json +++ b/packages/graphql-migrations/package.json @@ -24,35 +24,35 @@ }, "dependencies": { "@graphback/core": "1.1.2", - "@graphql-inspector/core": "2.3.0", + "@graphql-inspector/core": "4.0.3", "@types/jest": "26.0.19", "case": "1.6.3", "chalk": "3.0.0", - "glob": "7.1.6", + "glob": "10.1.0", "graphql-metadata": "0.7.6", "lodash": "4.17.20", "lodash-es": "4.17.15", "node-emoji": "1.10.0", - "pino": "6.8.0", + "pino": "8.11.0", "ts-jest": "26.4.4" }, "devDependencies": { "@types/jest": "26.0.19", "@types/lodash": "4.14.165", - "@types/node": "12.19.9", - "graphql": "15.4.0", + "@types/node": "18.15.11", + "graphql": "16.6.0", "graphql-tools": "7.0.2", "jest": "26.6.3", "pg": "8.5.1", - "rimraf": "3.0.2", + "rimraf": "5.0.0", "sqlite3": "5.0.0", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tsutils": "3.17.1", - "typescript": "4.1.3" + "typescript": "5.0.4" }, "peerDependencies": { - "graphql": "^14.0.0 || ^15.0.0", - "knex": "0.20.x || 0.21.x" + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0", + "knex": "0.20.x || 0.21.x || 2.4.x" }, "engines": { "node": ">=10.15.3" diff --git a/packages/graphql-serve/package.json b/packages/graphql-serve/package.json index e9eedc6530..5fdec5ab90 100644 --- a/packages/graphql-serve/package.json +++ b/packages/graphql-serve/package.json @@ -30,19 +30,19 @@ "@types/chalk": "2.2.0", "@types/express": "4.17.9", "@types/jest": "26.0.19", - "@types/node": "12.19.9", - "@types/pino": "6.3.4", + "@types/node": "18.15.11", + "@types/pino": "7.0.4", "@typescript-eslint/eslint-plugin": "4.9.1", "@typescript-eslint/parser": "4.9.1", "babel-eslint": "10.1.0", - "eslint": "7.15.0", - "eslint-config-prettier": "6.15.0", - "graphql-request": "3.3.0", + "eslint": "8.38.0", + "eslint-config-prettier": "8.8.0", + "graphql-request": "6.0.0", "jest": "26.6.3", - "rimraf": "3.0.2", + "rimraf": "5.0.0", "ts-jest": "26.4.4", - "ts-node": "9.1.1", - "typescript": "4.1.3" + "ts-node": "10.9.1", + "typescript": "5.0.4" }, "dependencies": { "@graphback/codegen-client": "1.1.2", @@ -56,15 +56,15 @@ "chalk": "4.1.0", "cors": "2.8.5", "express": "4.17.1", - "get-port": "5.1.1", - "glob": "7.1.6", + "get-port": "6.1.2", + "glob": "10.1.0", "graphback": "1.1.2", - "graphql": "15.4.0", - "mongodb": "3.6.3", - "mongodb-memory-server": "6.9.2", - "yargs": "16.2.0" + "graphql": "16.6.0", + "mongodb": "5.2.0", + "mongodb-memory-server": "8.12.2", + "yargs": "17.7.1" }, "peerDependencies": { - "graphql": "^14.0.0 || ^15.0.0" + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0" } } diff --git a/templates/ts-apollo-mongo-apache-kafka-backend/Dockerfile b/templates/ts-apollo-mongo-apache-kafka-backend/Dockerfile index 6d03533ab5..8dfc19d895 100644 --- a/templates/ts-apollo-mongo-apache-kafka-backend/Dockerfile +++ b/templates/ts-apollo-mongo-apache-kafka-backend/Dockerfile @@ -1,5 +1,5 @@ # Stage 1 - the build process -FROM node:10 as compile-server +FROM node:19 as compile-server WORKDIR /usr/src/app COPY . . RUN npm install diff --git a/templates/ts-apollo-mongo-apache-kafka-backend/package.json b/templates/ts-apollo-mongo-apache-kafka-backend/package.json index b59706a8a0..31692bd3ed 100644 --- a/templates/ts-apollo-mongo-apache-kafka-backend/package.json +++ b/templates/ts-apollo-mongo-apache-kafka-backend/package.json @@ -17,27 +17,27 @@ "@aerogear/graphql-kafka-subscriptions": "0.4.1", "apollo-server-express": "2.19.0", "cors": "2.8.5", - "dotenv": "8.2.0", + "dotenv": "16.0.3", "express": "4.17.1", "graphback": "1.1.2", - "graphql": "15.4.0", - "graphql-config": "3.2.0", - "graphql-subscriptions": "1.1.2", + "graphql": "16.6.0", + "graphql-config": "4.5.0", + "graphql-subscriptions": "2.0.0", "graphql-tag": "2.11.0", - "mongodb": "3.6.3" + "mongodb": "5.2.0" }, "devDependencies": { "@graphql-cli/codegen": "1.17.16", "@graphql-codegen/add": "2.0.2", "@graphql-codegen/typescript": "1.19.0", - "@types/glob": "7.1.3", + "@types/glob": "8.1.0", "@types/graphql": "14.2.3", "@types/node-fetch": "2.5.7", - "@types/uuid": "8.3.0", + "@types/uuid": "9.0.1", "graphback-cli": "1.1.2", "graphql-cli": "4.1.0", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "6.1.3", - "typescript": "4.1.3" + "typescript": "5.0.4" } } diff --git a/templates/ts-apollo-mongodb-backend/Dockerfile b/templates/ts-apollo-mongodb-backend/Dockerfile index 6d03533ab5..8dfc19d895 100644 --- a/templates/ts-apollo-mongodb-backend/Dockerfile +++ b/templates/ts-apollo-mongodb-backend/Dockerfile @@ -1,5 +1,5 @@ # Stage 1 - the build process -FROM node:10 as compile-server +FROM node:19 as compile-server WORKDIR /usr/src/app COPY . . RUN npm install diff --git a/templates/ts-apollo-mongodb-backend/package.json b/templates/ts-apollo-mongodb-backend/package.json index 84fc980c1b..ae35a7a318 100644 --- a/templates/ts-apollo-mongodb-backend/package.json +++ b/templates/ts-apollo-mongodb-backend/package.json @@ -16,26 +16,26 @@ "@graphback/runtime-mongo": "1.1.2", "apollo-server-express": "2.19.0", "cors": "2.8.5", - "dotenv": "8.2.0", + "dotenv": "16.0.3", "express": "4.17.1", "graphback": "1.1.2", - "graphql": "15.4.0", - "graphql-config": "3.2.0", - "graphql-subscriptions": "1.1.0", + "graphql": "16.6.0", + "graphql-config": "4.5.0", + "graphql-subscriptions": "2.0.0", "graphql-tag": "2.11.0", - "mongodb": "3.6.3" + "mongodb": "5.2.0" }, "devDependencies": { "@graphql-cli/codegen": "1.17.16", "@graphql-codegen/add": "2.0.2", "@graphql-codegen/typescript": "1.19.0", - "@types/glob": "7.1.3", + "@types/glob": "8.1.0", "@types/graphql": "14.2.3", "@types/node-fetch": "2.5.7", "graphback-cli": "1.1.2", "graphql-cli": "4.1.0", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "6.1.3", - "typescript": "4.1.3" + "typescript": "5.0.4" } } diff --git a/templates/ts-apollo-mongodb-datasync-backend/Dockerfile b/templates/ts-apollo-mongodb-datasync-backend/Dockerfile index 6d03533ab5..8dfc19d895 100644 --- a/templates/ts-apollo-mongodb-datasync-backend/Dockerfile +++ b/templates/ts-apollo-mongodb-datasync-backend/Dockerfile @@ -1,5 +1,5 @@ # Stage 1 - the build process -FROM node:10 as compile-server +FROM node:19 as compile-server WORKDIR /usr/src/app COPY . . RUN npm install diff --git a/templates/ts-apollo-mongodb-datasync-backend/package.json b/templates/ts-apollo-mongodb-datasync-backend/package.json index 8512228c50..6c091a34e9 100644 --- a/templates/ts-apollo-mongodb-datasync-backend/package.json +++ b/templates/ts-apollo-mongodb-datasync-backend/package.json @@ -16,26 +16,26 @@ "@graphback/datasync": "1.1.2", "apollo-server-express": "2.19.0", "cors": "2.8.5", - "dotenv": "8.2.0", + "dotenv": "16.0.3", "express": "4.17.1", "graphback": "1.1.2", - "graphql": "15.4.0", - "graphql-config": "3.2.0", - "graphql-subscriptions": "1.1.0", + "graphql": "16.6.0", + "graphql-config": "4.5.0", + "graphql-subscriptions": "2.0.0", "graphql-tag": "2.11.0", - "mongodb": "3.6.3" + "mongodb": "5.2.0" }, "devDependencies": { "@graphql-cli/codegen": "1.17.16", "@graphql-codegen/add": "2.0.2", "@graphql-codegen/typescript": "1.19.0", - "@types/glob": "7.1.3", + "@types/glob": "8.1.0", "@types/graphql": "14.2.3", "@types/node-fetch": "2.5.7", "graphback-cli": "1.1.2", "graphql-cli": "4.1.0", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "6.1.3", - "typescript": "4.1.3" + "typescript": "5.0.4" } } diff --git a/templates/ts-apollo-postgres-backend/Dockerfile b/templates/ts-apollo-postgres-backend/Dockerfile index 6d03533ab5..8dfc19d895 100644 --- a/templates/ts-apollo-postgres-backend/Dockerfile +++ b/templates/ts-apollo-postgres-backend/Dockerfile @@ -1,5 +1,5 @@ # Stage 1 - the build process -FROM node:10 as compile-server +FROM node:19 as compile-server WORKDIR /usr/src/app COPY . . RUN npm install diff --git a/templates/ts-apollo-postgres-backend/docker-compose.yml b/templates/ts-apollo-postgres-backend/docker-compose.yml index e4587c7d66..46a634f27b 100644 --- a/templates/ts-apollo-postgres-backend/docker-compose.yml +++ b/templates/ts-apollo-postgres-backend/docker-compose.yml @@ -2,7 +2,7 @@ version: '3' services: postgres: - image: postgres:11.10 + image: postgres:15.2 ports: - "55432:5432" environment: diff --git a/templates/ts-apollo-postgres-backend/package.json b/templates/ts-apollo-postgres-backend/package.json index 62bfb205f6..9a33b3d3f6 100644 --- a/templates/ts-apollo-postgres-backend/package.json +++ b/templates/ts-apollo-postgres-backend/package.json @@ -16,28 +16,28 @@ "@graphback/runtime-knex": "1.1.2", "apollo-server-express": "2.19.0", "cors": "2.8.5", - "dotenv": "8.2.0", + "dotenv": "16.0.3", "express": "4.17.1", "graphback": "1.1.2", - "graphql": "15.4.0", - "graphql-config": "3.2.0", + "graphql": "16.6.0", + "graphql-config": "4.5.0", "graphql-migrations": "1.1.2", - "graphql-subscriptions": "1.1.0", + "graphql-subscriptions": "2.0.0", "graphql-tag": "2.11.0", - "knex": "0.21.13", + "knex": "2.4.2", "pg": "8.5.1" }, "devDependencies": { "@graphql-cli/codegen": "1.17.16", "@graphql-codegen/add": "2.0.2", "@graphql-codegen/typescript": "1.19.0", - "@types/glob": "7.1.3", + "@types/glob": "8.1.0", "@types/graphql": "14.2.3", "@types/node-fetch": "2.5.7", "graphback-cli": "1.1.2", "graphql-cli": "4.1.0", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "6.1.3", - "typescript": "4.1.3" + "typescript": "5.0.4" } } diff --git a/templates/ts-fastify-mongodb-backend/Dockerfile b/templates/ts-fastify-mongodb-backend/Dockerfile index 6d03533ab5..8dfc19d895 100644 --- a/templates/ts-fastify-mongodb-backend/Dockerfile +++ b/templates/ts-fastify-mongodb-backend/Dockerfile @@ -1,5 +1,5 @@ # Stage 1 - the build process -FROM node:10 as compile-server +FROM node:19 as compile-server WORKDIR /usr/src/app COPY . . RUN npm install diff --git a/templates/ts-fastify-mongodb-backend/package.json b/templates/ts-fastify-mongodb-backend/package.json index 406c7945bb..b757c391f8 100644 --- a/templates/ts-fastify-mongodb-backend/package.json +++ b/templates/ts-fastify-mongodb-backend/package.json @@ -15,29 +15,29 @@ "dependencies": { "@graphback/runtime-mongo": "1.1.2", "@graphql-tools/schema": "7.1.2", - "dotenv": "8.2.0", - "fastify": "3.9.2", - "fastify-cors": "4.1.0", + "dotenv": "16.0.3", + "fastify": "4.15.0", + "fastify-cors": "6.1.0", "graphback": "1.1.2", - "graphql": "15.4.0", - "graphql-config": "3.2.0", - "graphql-subscriptions": "1.1.0", + "graphql": "16.6.0", + "graphql-config": "4.5.0", + "graphql-subscriptions": "2.0.0", "graphql-tag": "2.11.0", - "mercurius": "6.5.0", - "mongodb": "3.6.3" + "mercurius": "12.2.0", + "mongodb": "5.2.0" }, "devDependencies": { "@graphql-cli/codegen": "1.17.16", "@graphql-codegen/add": "2.0.2", "@graphql-codegen/typescript": "1.19.0", - "@types/glob": "7.1.3", + "@types/glob": "8.1.0", "@types/graphql": "14.2.3", - "@types/node": "14.14.14", + "@types/node": "18.15.11", "@types/node-fetch": "2.5.7", "graphback-cli": "1.1.2", "graphql-cli": "4.1.0", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "6.1.3", - "typescript": "4.1.3" + "typescript": "5.0.4" } } diff --git a/templates/ts-react-apollo-client/package.json b/templates/ts-react-apollo-client/package.json index 779cd1e984..4573027317 100644 --- a/templates/ts-react-apollo-client/package.json +++ b/templates/ts-react-apollo-client/package.json @@ -9,18 +9,18 @@ "@graphql-codegen/typescript-operations": "1.17.12", "@graphql-codegen/typescript-react-apollo": "2.2.1", "graphback-cli": "1.1.2", - "graphql": "15.4.0", + "graphql": "16.6.0", "graphql-cli": "4.1.0", "tslint": "6.1.3", - "typescript": "4.1.3" + "typescript": "5.0.4" }, "dependencies": { "@apollo/client": "3.3.4", "@material-ui/core": "4.11.2", - "graphql": "15.4.0", + "graphql": "16.6.0", "react": "17.0.1", "react-dom": "17.0.1", - "react-scripts": "3.4.4" + "react-scripts": "5.0.1" }, "scripts": { "start": "react-scripts start",