diff --git a/README.md b/README.md index ad0673a..aa4020b 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ This project aims to have a starter kit for creating a new Node with typescript, Tech(Library or Framework) | Version | --- | --- | Jest (Testing) | 28.1.0 -Typescript | 4.7.2 +Typescript | 4.7.3 GraphQL | 16.5.0 ## Setup @@ -26,6 +26,8 @@ ENVIRONMENT=development WHITELIST_URLS=https://someurl.com #GRAPHIQL Default to "false" GRAPHIQL=true +#PLAYGROUND GRAPHQL Default to "false" +PLAYGROUND_GRAPHQL=true # PORT EXPOSE APP Default to 4000 PORT=4000 ``` diff --git a/package-lock.json b/package-lock.json index 778e87d..1271aab 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@aleleba/create-node-ts-graphql-server", - "version": "1.0.7", + "version": "1.0.8", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@aleleba/create-node-ts-graphql-server", - "version": "1.0.7", + "version": "1.0.8", "license": "MIT", "dependencies": { "@graphql-tools/schema": "^8.3.13", @@ -32,8 +32,8 @@ "@babel/preset-env": "^7.18.2", "@babel/preset-typescript": "^7.17.12", "@babel/register": "^7.17.7", - "@types/jest": "^27.5.1", - "@types/node": "^17.0.36", + "@types/jest": "^28.1.1", + "@types/node": "^17.0.39", "@types/webpack": "^5.28.0", "@types/webpack-node-externals": "^2.5.3", "@typescript-eslint/eslint-plugin": "^5.27.0", @@ -41,15 +41,15 @@ "babel-loader": "^8.2.5", "clean-webpack-plugin": "^4.0.0", "compression-webpack-plugin": "^10.0.0", - "eslint": "^8.16.0", + "eslint": "^8.17.0", "eslint-webpack-plugin": "^3.1.1", "jest": "^28.1.0", "nodemon": "^2.0.16", "supertest": "^6.2.3", - "ts-jest": "^28.0.3", + "ts-jest": "^28.0.4", "ts-loader": "^9.3.0", - "typescript": "^4.7.2", - "webpack": "^5.72.1", + "typescript": "^4.7.3", + "webpack": "^5.73.0", "webpack-cli": "^4.9.2", "webpack-manifest-plugin": "^5.0.0", "webpack-node-externals": "^3.0.0", @@ -3174,9 +3174,9 @@ } }, "node_modules/@types/jest": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@types/jest/-/jest-27.5.1.tgz", - "integrity": "sha512-fUy7YRpT+rHXto1YlL+J9rs0uLGyiqVt3ZOTQR+4ROc47yNl8WLdVLgUloBRhOxP1PZvguHl44T3H0wAWxahYQ==", + "version": "28.1.1", + "resolved": "https://registry.npmjs.org/@types/jest/-/jest-28.1.1.tgz", + "integrity": "sha512-C2p7yqleUKtCkVjlOur9BWVA4HgUQmEj/HWCt5WzZ5mLXrWnyIfl0wGuArc+kBXsy0ZZfLp+7dywB4HtSVYGVA==", "dev": true, "dependencies": { "jest-matcher-utils": "^27.0.0", @@ -3196,9 +3196,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "17.0.36", - "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.36.tgz", - "integrity": "sha512-V3orv+ggDsWVHP99K3JlwtH20R7J4IhI1Kksgc+64q5VxgfRkQG8Ws3MFm/FZOKDYGy9feGFlZ70/HpCNe9QaA==", + "version": "17.0.39", + "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.39.tgz", + "integrity": "sha512-JDU3YLlnPK3WDao6/DlXLOgSNpG13ct+CwIO17V8q0/9fWJyeMJJ/VyZ1lv8kDprihvZMydzVwf0tQOqGiY2Nw==", "dev": true }, "node_modules/@types/prettier": { @@ -5456,9 +5456,9 @@ } }, "node_modules/eslint": { - "version": "8.16.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.16.0.tgz", - "integrity": "sha512-MBndsoXY/PeVTDJeWsYj7kLZ5hQpJOfMYLsF6LicLHQWbRDG19lK5jOix4DPl8yY4SUFcE3txy86OzFLWT+yoA==", + "version": "8.17.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.17.0.tgz", + "integrity": "sha512-gq0m0BTJfci60Fz4nczYxNAlED+sMcihltndR8t9t1evnU/azx53x3t2UHXC/uRjcbvRw/XctpaNygSTcQD+Iw==", "dev": true, "dependencies": { "@eslint/eslintrc": "^1.3.0", @@ -11318,9 +11318,9 @@ } }, "node_modules/ts-jest": { - "version": "28.0.3", - "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-28.0.3.tgz", - "integrity": "sha512-HzgbEDQ2KgVtDmpXToqAcKTyGHdHsG23i/iUjfxji92G5eT09S1m9UHZd7csF0Bfgh9txM4JzwHnv7r1waFPlw==", + "version": "28.0.4", + "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-28.0.4.tgz", + "integrity": "sha512-S6uRDDdCJBvnZqyGjB4VCnwbQrbgdL8WPeP4jevVSpYsBaeGRQAIS08o3Svav2Ex+oXwLgJ/m7F24TNq62kA1A==", "dev": true, "dependencies": { "bs-logger": "0.x", @@ -11340,7 +11340,6 @@ }, "peerDependencies": { "@babel/core": ">=7.0.0-beta.0 <8", - "@types/jest": "^27.0.0", "babel-jest": "^28.0.0", "jest": "^28.0.0", "typescript": ">=4.3" @@ -11349,9 +11348,6 @@ "@babel/core": { "optional": true }, - "@types/jest": { - "optional": true - }, "babel-jest": { "optional": true }, @@ -11605,9 +11601,9 @@ } }, "node_modules/typescript": { - "version": "4.7.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.2.tgz", - "integrity": "sha512-Mamb1iX2FDUpcTRzltPxgWMKy3fhg0TN378ylbktPGPK/99KbDtMQ4W1hwgsbPAsG3a0xKa1vmw4VKZQbkvz5A==", + "version": "4.7.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.3.tgz", + "integrity": "sha512-WOkT3XYvrpXx4vMMqlD+8R8R37fZkjyLGlxavMc4iB8lrl8L0DeTcHbYgw/v0N/z9wAFsgBhcsF0ruoySS22mA==", "dev": true, "bin": { "tsc": "bin/tsc", @@ -11947,9 +11943,9 @@ "dev": true }, "node_modules/webpack": { - "version": "5.72.1", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.72.1.tgz", - "integrity": "sha512-dXG5zXCLspQR4krZVR6QgajnZOjW2K/djHvdcRaDQvsjV9z9vaW6+ja5dZOYbqBBjF6kGXka/2ZyxNdc+8Jung==", + "version": "5.73.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.73.0.tgz", + "integrity": "sha512-svjudQRPPa0YiOYa2lM/Gacw0r6PvxptHj4FuEKQ2kX05ZLkjbVc5MnPs6its5j7IZljnIqSVo/OsY2X0IpHGA==", "dev": true, "dependencies": { "@types/eslint-scope": "^3.7.3", @@ -14678,9 +14674,9 @@ } }, "@types/jest": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/@types/jest/-/jest-27.5.1.tgz", - "integrity": "sha512-fUy7YRpT+rHXto1YlL+J9rs0uLGyiqVt3ZOTQR+4ROc47yNl8WLdVLgUloBRhOxP1PZvguHl44T3H0wAWxahYQ==", + "version": "28.1.1", + "resolved": "https://registry.npmjs.org/@types/jest/-/jest-28.1.1.tgz", + "integrity": "sha512-C2p7yqleUKtCkVjlOur9BWVA4HgUQmEj/HWCt5WzZ5mLXrWnyIfl0wGuArc+kBXsy0ZZfLp+7dywB4HtSVYGVA==", "dev": true, "requires": { "jest-matcher-utils": "^27.0.0", @@ -14700,9 +14696,9 @@ "dev": true }, "@types/node": { - "version": "17.0.36", - "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.36.tgz", - "integrity": "sha512-V3orv+ggDsWVHP99K3JlwtH20R7J4IhI1Kksgc+64q5VxgfRkQG8Ws3MFm/FZOKDYGy9feGFlZ70/HpCNe9QaA==", + "version": "17.0.39", + "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.39.tgz", + "integrity": "sha512-JDU3YLlnPK3WDao6/DlXLOgSNpG13ct+CwIO17V8q0/9fWJyeMJJ/VyZ1lv8kDprihvZMydzVwf0tQOqGiY2Nw==", "dev": true }, "@types/prettier": { @@ -16420,9 +16416,9 @@ "dev": true }, "eslint": { - "version": "8.16.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.16.0.tgz", - "integrity": "sha512-MBndsoXY/PeVTDJeWsYj7kLZ5hQpJOfMYLsF6LicLHQWbRDG19lK5jOix4DPl8yY4SUFcE3txy86OzFLWT+yoA==", + "version": "8.17.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.17.0.tgz", + "integrity": "sha512-gq0m0BTJfci60Fz4nczYxNAlED+sMcihltndR8t9t1evnU/azx53x3t2UHXC/uRjcbvRw/XctpaNygSTcQD+Iw==", "dev": true, "requires": { "@eslint/eslintrc": "^1.3.0", @@ -20786,9 +20782,9 @@ } }, "ts-jest": { - "version": "28.0.3", - "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-28.0.3.tgz", - "integrity": "sha512-HzgbEDQ2KgVtDmpXToqAcKTyGHdHsG23i/iUjfxji92G5eT09S1m9UHZd7csF0Bfgh9txM4JzwHnv7r1waFPlw==", + "version": "28.0.4", + "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-28.0.4.tgz", + "integrity": "sha512-S6uRDDdCJBvnZqyGjB4VCnwbQrbgdL8WPeP4jevVSpYsBaeGRQAIS08o3Svav2Ex+oXwLgJ/m7F24TNq62kA1A==", "dev": true, "requires": { "bs-logger": "0.x", @@ -20969,9 +20965,9 @@ } }, "typescript": { - "version": "4.7.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.2.tgz", - "integrity": "sha512-Mamb1iX2FDUpcTRzltPxgWMKy3fhg0TN378ylbktPGPK/99KbDtMQ4W1hwgsbPAsG3a0xKa1vmw4VKZQbkvz5A==", + "version": "4.7.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.3.tgz", + "integrity": "sha512-WOkT3XYvrpXx4vMMqlD+8R8R37fZkjyLGlxavMc4iB8lrl8L0DeTcHbYgw/v0N/z9wAFsgBhcsF0ruoySS22mA==", "dev": true }, "undefsafe": { @@ -21233,9 +21229,9 @@ "dev": true }, "webpack": { - "version": "5.72.1", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.72.1.tgz", - "integrity": "sha512-dXG5zXCLspQR4krZVR6QgajnZOjW2K/djHvdcRaDQvsjV9z9vaW6+ja5dZOYbqBBjF6kGXka/2ZyxNdc+8Jung==", + "version": "5.73.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.73.0.tgz", + "integrity": "sha512-svjudQRPPa0YiOYa2lM/Gacw0r6PvxptHj4FuEKQ2kX05ZLkjbVc5MnPs6its5j7IZljnIqSVo/OsY2X0IpHGA==", "dev": true, "requires": { "@types/eslint-scope": "^3.7.3", diff --git a/package.json b/package.json index 9ba884a..91ddf3f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@aleleba/create-node-ts-graphql-server", - "version": "1.0.8", + "version": "1.0.9", "description": "Node with Typescript and GraphQL Server", "bin": "./bin/cli.js", "main": "index.js", @@ -52,8 +52,8 @@ "@babel/preset-env": "^7.18.2", "@babel/preset-typescript": "^7.17.12", "@babel/register": "^7.17.7", - "@types/jest": "^27.5.1", - "@types/node": "^17.0.36", + "@types/jest": "^28.1.1", + "@types/node": "^17.0.39", "@types/webpack": "^5.28.0", "@types/webpack-node-externals": "^2.5.3", "@typescript-eslint/eslint-plugin": "^5.27.0", @@ -61,15 +61,15 @@ "babel-loader": "^8.2.5", "clean-webpack-plugin": "^4.0.0", "compression-webpack-plugin": "^10.0.0", - "eslint": "^8.16.0", + "eslint": "^8.17.0", "eslint-webpack-plugin": "^3.1.1", "jest": "^28.1.0", "nodemon": "^2.0.16", "supertest": "^6.2.3", - "ts-jest": "^28.0.3", + "ts-jest": "^28.0.4", "ts-loader": "^9.3.0", - "typescript": "^4.7.2", - "webpack": "^5.72.1", + "typescript": "^4.7.3", + "webpack": "^5.73.0", "webpack-cli": "^4.9.2", "webpack-manifest-plugin": "^5.0.0", "webpack-node-externals": "^3.0.0",