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..5288fac51a 100644 --- a/.github/workflows/graphback-ci.yml +++ b/.github/workflows/graphback-ci.yml @@ -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..16ac180203 100644 --- a/integration/package.json +++ b/integration/package.json @@ -19,13 +19,13 @@ "@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.5.0", "jest": "26.6.3", - "knex": "0.21.13", - "mongodb": "3.6.3", - "node-fetch": "2.6.1", + "knex": "2.2.0", + "mongodb": "4.8.1", + "node-fetch": "3.2.9", "rimraf": "3.0.2", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tsutils": "3.17.1", "typescript": "4.1.3" }, diff --git a/package.json b/package.json index 892b4cff5b..b545071297 100644 --- a/package.json +++ b/package.json @@ -10,16 +10,16 @@ "@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.20.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.1", "jest": "26.6.3", "lerna": "3.22.1", "lerna-changelog": "1.0.1", @@ -27,12 +27,12 @@ "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", + "typedoc-plugin-markdown": "3.13.4", "typescript": "4.1.3" }, "scripts": { @@ -99,6 +99,6 @@ }, "homepage": "https://github.com/aerogear/graphback#readme", "resolutions": { - "@types/react": "16.14.2" + "@types/react": "18.0.15" } } diff --git a/packages/create-graphback/package.json b/packages/create-graphback/package.json index e991672cf3..b6751f3efc 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": "8.2.1", "@types/jest": "26.0.19", - "@types/node": "12.19.9", + "@types/node": "16.11.45", "@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.1", + "@types/yargs": "17.0.10", "jest": "26.6.3", "rimraf": "3.0.2", "ts-jest": "26.4.4", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "typescript": "4.1.3", "typescript-eslint-parser": "21.0.2" }, "dependencies": { "chalk": "2.4.2", "figlet": "1.5.0", - "inquirer": "7.3.3", + "inquirer": "9.0.2", "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.5.1" }, "jest": { "transform": { diff --git a/packages/graphback-cli/package.json b/packages/graphback-cli/package.json index 737b985797..c1fb097241 100644 --- a/packages/graphback-cli/package.json +++ b/packages/graphback-cli/package.json @@ -32,14 +32,14 @@ "devDependencies": { "@types/chalk": "0.4.31", "@types/jest": "26.0.19", - "@types/node": "12.19.9", + "@types/node": "16.11.45", "@types/node-emoji": "1.8.1", - "@types/yargs": "15.0.12", + "@types/yargs": "17.0.10", "jest": "26.6.3", - "lint-staged": "10.5.3", + "lint-staged": "13.0.3", "rimraf": "3.0.2", "ts-jest": "26.4.4", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "typescript": "4.1.3", "typescript-eslint-parser": "21.0.2" }, @@ -49,9 +49,9 @@ "chokidar": "3.4.3", "debounce": "1.2.0", "graphback": "1.1.2", - "graphql-config": "3.2.0", + "graphql-config": "4.3.2", "node-emoji": "1.10.0", - "yargs": "16.2.0" + "yargs": "17.5.1" }, "jest": { "transform": { diff --git a/packages/graphback-codegen-client/package.json b/packages/graphback-codegen-client/package.json index 7099474234..b8ea888b48 100644 --- a/packages/graphback-codegen-client/package.json +++ b/packages/graphback-codegen-client/package.json @@ -32,12 +32,12 @@ }, "devDependencies": { "@types/jest": "26.0.19", - "@types/node": "12.19.9", - "graphql": "15.4.0", + "@types/node": "16.11.45", + "graphql": "16.5.0", "jest": "26.6.3", "rimraf": "3.0.2", "ts-jest": "26.4.4", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tsutils": "3.17.1", "typescript": "4.1.3" }, @@ -46,6 +46,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-codegen-schema/package.json b/packages/graphback-codegen-schema/package.json index a9e0b23925..7f260f1422 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": "16.11.45", "dataloader": "2.0.0", - "graphql": "15.4.0", + "graphql": "16.5.0", "jest": "26.6.3", "rimraf": "3.0.2", "ts-jest": "26.4.4", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tsutils": "3.17.1", "typescript": "4.1.3" }, "dependencies": { "@graphback/core": "1.1.2", "@graphql-tools/utils": "7.1.4", - "graphql-compose": "7.23.0", + "graphql-compose": "9.0.8", "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..2808880f94 100644 --- a/packages/graphback-core/package.json +++ b/packages/graphback-core/package.json @@ -29,13 +29,13 @@ }, "devDependencies": { "@types/jest": "26.0.19", - "@types/node": "12.19.9", - "@types/pino": "6.3.4", - "graphql": "15.4.0", + "@types/node": "16.11.45", + "@types/pino": "7.0.4", + "graphql": "16.5.0", "jest": "26.6.3", "rimraf": "3.0.2", "ts-jest": "26.4.4", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tslint": "6.1.3", "typescript": "4.1.3" }, @@ -49,17 +49,17 @@ "@types/bson": "4.0.3", "bson": "4.2.2", "dataloader": "2.0.0", - "glob": "7.1.6", - "graphql-compose": "7.23.0", + "glob": "8.0.3", + "graphql-compose": "9.0.8", "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.3.1", "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..366fb6b778 100644 --- a/packages/graphback-datasync/package.json +++ b/packages/graphback-datasync/package.json @@ -32,14 +32,14 @@ }, "devDependencies": { "@types/jest": "26.0.19", - "@types/node": "12.19.9", - "graphql": "15.4.0", + "@types/node": "16.11.45", + "graphql": "16.5.0", "jest": "26.6.3", "jest-date-mock": "1.0.8", - "mongodb-memory-server": "6.9.2", + "mongodb-memory-server": "8.8.0", "rimraf": "3.0.2", "ts-jest": "26.4.4", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tsutils": "3.17.1", "typescript": "4.1.3" }, @@ -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.8", "graphql-metadata": "0.7.6", - "graphql-subscriptions": "1.1.0", - "mongodb": "3.6.3", + "graphql-subscriptions": "2.0.0", + "mongodb": "4.8.1", "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..7d493eefa4 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": "16.11.45", + "graphql": "16.5.0", "jest": "26.6.3", - "keycloak-connect": "11.0.3", + "keycloak-connect": "19.0.0", "keycloak-connect-graphql": "0.6.4", "rimraf": "3.0.2", "ts-jest": "26.4.4", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tsutils": "3.17.1", "typescript": "4.1.3" }, "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..cf83f6fb23 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": "16.11.45", + "graphql": "16.5.0", "graphql-migrations": "1.1.2", "jest": "26.6.3", "rimraf": "3.0.2", "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" }, "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.2.x" } } diff --git a/packages/graphback-runtime-mongodb/package.json b/packages/graphback-runtime-mongodb/package.json index 2e2325e57f..9905cf4289 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": "16.11.45", + "graphql": "16.5.0", "jest": "26.6.3", "jest-date-mock": "1.0.8", - "mongodb-memory-server-global": "6.9.2", + "mongodb-memory-server-global": "8.8.0", "rimraf": "3.0.2", "ts-jest": "26.4.4", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tsutils": "3.17.1", "typescript": "4.1.3" }, "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": "4.8.1" } } diff --git a/packages/graphback/package.json b/packages/graphback/package.json index 9b74866985..1827a55333 100644 --- a/packages/graphback/package.json +++ b/packages/graphback/package.json @@ -28,12 +28,12 @@ }, "devDependencies": { "@types/jest": "26.0.19", - "@types/node": "12.19.9", - "graphql": "15.4.0", + "@types/node": "16.11.45", + "graphql": "16.5.0", "jest": "26.6.3", "rimraf": "3.0.2", "ts-jest": "26.4.4", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tsutils": "3.17.1", "typescript": "4.1.3" }, @@ -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..473279d9d6 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": "3.3.0", "@types/jest": "26.0.19", "case": "1.6.3", "chalk": "3.0.0", - "glob": "7.1.6", + "glob": "8.0.3", "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.3.1", "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": "16.11.45", + "graphql": "16.5.0", "graphql-tools": "7.0.2", "jest": "26.6.3", "pg": "8.5.1", "rimraf": "3.0.2", "sqlite3": "5.0.0", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "tsutils": "3.17.1", "typescript": "4.1.3" }, "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.2.x" }, "engines": { "node": ">=10.15.3" diff --git a/packages/graphql-serve/package.json b/packages/graphql-serve/package.json index e9eedc6530..688040feb9 100644 --- a/packages/graphql-serve/package.json +++ b/packages/graphql-serve/package.json @@ -30,18 +30,18 @@ "@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": "16.11.45", + "@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.20.0", + "eslint-config-prettier": "8.5.0", + "graphql-request": "4.3.0", "jest": "26.6.3", "rimraf": "3.0.2", "ts-jest": "26.4.4", - "ts-node": "9.1.1", + "ts-node": "10.9.1", "typescript": "4.1.3" }, "dependencies": { @@ -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": "8.0.3", "graphback": "1.1.2", - "graphql": "15.4.0", - "mongodb": "3.6.3", - "mongodb-memory-server": "6.9.2", - "yargs": "16.2.0" + "graphql": "16.5.0", + "mongodb": "4.8.1", + "mongodb-memory-server": "8.8.0", + "yargs": "17.5.1" }, "peerDependencies": { - "graphql": "^14.0.0 || ^15.0.0" + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0" } } diff --git a/templates/package.json b/templates/package.json index 60d488bc39..a9b65103f5 100644 --- a/templates/package.json +++ b/templates/package.json @@ -21,6 +21,6 @@ }, "homepage": "https://github.com/aerogear/graphback#readme", "resolutions": { - "@types/react": "16.14.2" + "@types/react": "18.0.15" } } diff --git a/templates/ts-apollo-mongo-apache-kafka-backend/Dockerfile b/templates/ts-apollo-mongo-apache-kafka-backend/Dockerfile index 6d03533ab5..942c3244c6 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:18 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..93c192c22f 100644 --- a/templates/ts-apollo-mongo-apache-kafka-backend/package.json +++ b/templates/ts-apollo-mongo-apache-kafka-backend/package.json @@ -17,14 +17,14 @@ "@aerogear/graphql-kafka-subscriptions": "0.4.1", "apollo-server-express": "2.19.0", "cors": "2.8.5", - "dotenv": "8.2.0", + "dotenv": "16.0.1", "express": "4.17.1", "graphback": "1.1.2", - "graphql": "15.4.0", - "graphql-config": "3.2.0", - "graphql-subscriptions": "1.1.2", + "graphql": "16.5.0", + "graphql-config": "4.3.2", + "graphql-subscriptions": "2.0.0", "graphql-tag": "2.11.0", - "mongodb": "3.6.3" + "mongodb": "4.8.1" }, "devDependencies": { "@graphql-cli/codegen": "1.17.16", @@ -36,7 +36,7 @@ "@types/uuid": "8.3.0", "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" } diff --git a/templates/ts-apollo-mongodb-backend/Dockerfile b/templates/ts-apollo-mongodb-backend/Dockerfile index 6d03533ab5..942c3244c6 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:18 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..b7d22c92cb 100644 --- a/templates/ts-apollo-mongodb-backend/package.json +++ b/templates/ts-apollo-mongodb-backend/package.json @@ -16,14 +16,14 @@ "@graphback/runtime-mongo": "1.1.2", "apollo-server-express": "2.19.0", "cors": "2.8.5", - "dotenv": "8.2.0", + "dotenv": "16.0.1", "express": "4.17.1", "graphback": "1.1.2", - "graphql": "15.4.0", - "graphql-config": "3.2.0", - "graphql-subscriptions": "1.1.0", + "graphql": "16.5.0", + "graphql-config": "4.3.2", + "graphql-subscriptions": "2.0.0", "graphql-tag": "2.11.0", - "mongodb": "3.6.3" + "mongodb": "4.8.1" }, "devDependencies": { "@graphql-cli/codegen": "1.17.16", @@ -34,7 +34,7 @@ "@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" } diff --git a/templates/ts-apollo-mongodb-datasync-backend/Dockerfile b/templates/ts-apollo-mongodb-datasync-backend/Dockerfile index 6d03533ab5..942c3244c6 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:18 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..6cf02d5fcf 100644 --- a/templates/ts-apollo-mongodb-datasync-backend/package.json +++ b/templates/ts-apollo-mongodb-datasync-backend/package.json @@ -16,14 +16,14 @@ "@graphback/datasync": "1.1.2", "apollo-server-express": "2.19.0", "cors": "2.8.5", - "dotenv": "8.2.0", + "dotenv": "16.0.1", "express": "4.17.1", "graphback": "1.1.2", - "graphql": "15.4.0", - "graphql-config": "3.2.0", - "graphql-subscriptions": "1.1.0", + "graphql": "16.5.0", + "graphql-config": "4.3.2", + "graphql-subscriptions": "2.0.0", "graphql-tag": "2.11.0", - "mongodb": "3.6.3" + "mongodb": "4.8.1" }, "devDependencies": { "@graphql-cli/codegen": "1.17.16", @@ -34,7 +34,7 @@ "@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" } diff --git a/templates/ts-apollo-postgres-backend/Dockerfile b/templates/ts-apollo-postgres-backend/Dockerfile index 6d03533ab5..942c3244c6 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:18 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..85c4742e2d 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:14.4 ports: - "55432:5432" environment: diff --git a/templates/ts-apollo-postgres-backend/package.json b/templates/ts-apollo-postgres-backend/package.json index 62bfb205f6..0c79a90f57 100644 --- a/templates/ts-apollo-postgres-backend/package.json +++ b/templates/ts-apollo-postgres-backend/package.json @@ -16,15 +16,15 @@ "@graphback/runtime-knex": "1.1.2", "apollo-server-express": "2.19.0", "cors": "2.8.5", - "dotenv": "8.2.0", + "dotenv": "16.0.1", "express": "4.17.1", "graphback": "1.1.2", - "graphql": "15.4.0", - "graphql-config": "3.2.0", + "graphql": "16.5.0", + "graphql-config": "4.3.2", "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.2.0", "pg": "8.5.1" }, "devDependencies": { @@ -36,7 +36,7 @@ "@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" } diff --git a/templates/ts-fastify-mongodb-backend/Dockerfile b/templates/ts-fastify-mongodb-backend/Dockerfile index 6d03533ab5..942c3244c6 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:18 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..f76e3fa7ad 100644 --- a/templates/ts-fastify-mongodb-backend/package.json +++ b/templates/ts-fastify-mongodb-backend/package.json @@ -15,16 +15,16 @@ "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.1", + "fastify": "4.3.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.5.0", + "graphql-config": "4.3.2", + "graphql-subscriptions": "2.0.0", "graphql-tag": "2.11.0", - "mercurius": "6.5.0", - "mongodb": "3.6.3" + "mercurius": "10.1.0", + "mongodb": "4.8.1" }, "devDependencies": { "@graphql-cli/codegen": "1.17.16", @@ -32,11 +32,11 @@ "@graphql-codegen/typescript": "1.19.0", "@types/glob": "7.1.3", "@types/graphql": "14.2.3", - "@types/node": "14.14.14", + "@types/node": "16.11.45", "@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" } diff --git a/templates/ts-react-apollo-client/package.json b/templates/ts-react-apollo-client/package.json index 779cd1e984..0b511a0985 100644 --- a/templates/ts-react-apollo-client/package.json +++ b/templates/ts-react-apollo-client/package.json @@ -9,7 +9,7 @@ "@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.5.0", "graphql-cli": "4.1.0", "tslint": "6.1.3", "typescript": "4.1.3" @@ -17,10 +17,10 @@ "dependencies": { "@apollo/client": "3.3.4", "@material-ui/core": "4.11.2", - "graphql": "15.4.0", + "graphql": "16.5.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",