diff --git a/.github/ISSUE_TEMPLATE b/.github/ISSUE_TEMPLATE index d814fbe0..6227bc1a 100644 --- a/.github/ISSUE_TEMPLATE +++ b/.github/ISSUE_TEMPLATE @@ -35,7 +35,7 @@ I'm a gentledev I: ``` ``` -If the result is lower than 18.16.0, there is +If the result is lower than 20.11.1, there is poor chances I even have a look to it. Please, use the last [NodeJS LTS version](https://nodejs.org/en/). diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 60385933..04c0eef3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,12 +16,12 @@ jobs: strategy: matrix: - node-version: [18.x, 20.x] + node-version: [20.x] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} cache: 'npm' diff --git a/package-lock.json b/package-lock.json index 80971476..427b2547 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,11 +16,11 @@ "conventional-changelog-cli": "^4.1.0", "cz-conventional-changelog": "^3.3.0", "lerna": "^8.1.2", - "metapak": "^5.1.8", - "metapak-nfroidure": "16.0.1" + "metapak": "^6.0.0", + "metapak-nfroidure": "18.0.0" }, "engines": { - "node": ">=18.16.0" + "node": ">=20.11.1" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -13613,15 +13613,15 @@ } }, "node_modules/metapak": { - "version": "5.1.8", - "resolved": "https://registry.npmjs.org/metapak/-/metapak-5.1.8.tgz", - "integrity": "sha512-fc4GGFfqZlJMpkTyJwMj9A07tfapOqK/omkKZ5+dwslxl7bIoO5F07MUpjo3ci23824IOUZW/gxfCYncdZ6rdg==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/metapak/-/metapak-6.0.0.tgz", + "integrity": "sha512-nIV+gBWvVnI2cBD/AWdVk8sv2dCITQOWzcySGbuPqT4cXiFD4Ah+rs310boK53NindZ+Gi1cmnE+AvsDSK+apg==", "dev": true, "dependencies": { - "application-services": "^5.0.0", + "application-services": "^6.0.0", "chalk": "^5.3.0", "commander": "^12.0.0", - "common-services": "^15.0.0", + "common-services": "^16.0.0", "debug": "^4.3.4", "diff": "^5.2.0", "glob": "^10.3.10", @@ -13636,23 +13636,23 @@ "metapak": "bin/metapak.js" }, "engines": { - "node": ">=18.16.0" + "node": ">=20.11.1" } }, "node_modules/metapak-nfroidure": { - "version": "16.0.1", - "resolved": "https://registry.npmjs.org/metapak-nfroidure/-/metapak-nfroidure-16.0.1.tgz", - "integrity": "sha512-DKwarPqEz5SM5b49hEsIAthXFzfuxnEimlPKoQAF2ycXv6fLUZL75Kapw7x/QxGJpXW4vEZW9mvUWqct6iPBrA==", + "version": "18.0.0", + "resolved": "https://registry.npmjs.org/metapak-nfroidure/-/metapak-nfroidure-18.0.0.tgz", + "integrity": "sha512-FhYpCAyQ24zusrDJVVO9PE7ey5TEOBAlrVrMzFYnx3yohPfQTYBOOaEmOuO5zsjB4W2UIZxxOuRAlxCDJqthKA==", "dev": true, "dependencies": { "escape-string-regexp": "^5.0.0", "yerror": "^8.0.0" }, "engines": { - "node": ">=18.16.0" + "node": ">=20.11.1" }, "peerDependencies": { - "metapak": "^5.0.0" + "metapak": "^6.0.0" } }, "node_modules/metapak-nfroidure/node_modules/escape-string-regexp": { @@ -13667,31 +13667,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/metapak/node_modules/@types/node": { - "version": "18.19.18", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.18.tgz", - "integrity": "sha512-80CP7B8y4PzZF0GWx15/gVWRrB5y/bIjNI84NK3cmQJu0WZwvmj2WMA5LcofQFVfLqqCSp545+U2LsrVzX36Zg==", - "dev": true, - "dependencies": { - "undici-types": "~5.26.4" - } - }, - "node_modules/metapak/node_modules/application-services": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/application-services/-/application-services-5.0.1.tgz", - "integrity": "sha512-f//YFmF/p93u9b76uMGfS0TfpJ+ptw/utzQovwLEkzZ8ZYxe6bs5Dnv5iaCGSfmtEyq/n1IeqWZSTOCtX14WRg==", - "dev": true, - "dependencies": { - "common-services": "^15.1.0", - "dotenv": "^16.4.5", - "knifecycle": "^17.0.1", - "pkg-dir": "^8.0.0", - "yerror": "^8.0.0" - }, - "engines": { - "node": ">=18.16.0" - } - }, "node_modules/metapak/node_modules/chalk": { "version": "5.3.0", "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz", @@ -13713,21 +13688,6 @@ "node": ">=18" } }, - "node_modules/metapak/node_modules/common-services": { - "version": "15.1.0", - "resolved": "https://registry.npmjs.org/common-services/-/common-services-15.1.0.tgz", - "integrity": "sha512-KbCjalwNkFe4Rl8Vj6/YgKjt0LeJR6uzziPqWoqucBqydRmRUDtWue9zLJzN4RkxCbAm+vtvLydvZX+KNHJKSw==", - "dev": true, - "dependencies": { - "@types/node": "^18.11.9", - "knifecycle": "^17.0.1", - "type-fest": "^4.10.3", - "yerror": "^8.0.0" - }, - "engines": { - "node": ">=18.16.0" - } - }, "node_modules/metapak/node_modules/glob": { "version": "10.3.10", "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz", @@ -19734,15 +19694,15 @@ "jest": "^29.7.0", "jsarch": "^6.0.3", "jsdoc-to-markdown": "^8.0.0", - "metapak": "^5.1.8", - "metapak-nfroidure": "16.0.1", + "metapak": "^6.0.0", + "metapak-nfroidure": "18.0.0", "prettier": "^3.0.3", "rimraf": "^5.0.5", "streamtest": "^2.0.0", "typescript": "^5.2.2" }, "engines": { - "node": ">=18.16.0" + "node": ">=20.11.1" }, "peerDependencies": { "esbuild": ">=0.19.5", @@ -19773,14 +19733,14 @@ "eslint-plugin-prettier": "^5.0.1", "jest": "^29.7.0", "jsdoc-to-markdown": "^8.0.0", - "metapak": "^5.1.8", - "metapak-nfroidure": "16.0.1", + "metapak": "^6.0.0", + "metapak-nfroidure": "18.0.0", "prettier": "^3.0.3", "rimraf": "^5.0.5", "typescript": "^5.2.2" }, "engines": { - "node": ">=18.16.0" + "node": ">=20.11.1" } }, "packages/whook-aws-lambda": { @@ -19824,14 +19784,14 @@ "eslint-plugin-prettier": "^5.0.1", "jest": "^29.7.0", "jsdoc-to-markdown": "^8.0.0", - "metapak": "^5.1.8", - "metapak-nfroidure": "16.0.1", + "metapak": "^6.0.0", + "metapak-nfroidure": "18.0.0", "prettier": "^3.0.3", "rimraf": "^5.0.5", "typescript": "^5.2.2" }, "engines": { - "node": ">=18.16.0" + "node": ">=20.11.1" } }, "packages/whook-cors": { @@ -19858,14 +19818,14 @@ "eslint-plugin-prettier": "^5.0.1", "jest": "^29.7.0", "jsdoc-to-markdown": "^8.0.0", - "metapak": "^5.1.8", - "metapak-nfroidure": "16.0.1", + "metapak": "^6.0.0", + "metapak-nfroidure": "18.0.0", "prettier": "^3.0.3", "rimraf": "^5.0.5", "typescript": "^5.2.2" }, "engines": { - "node": ">=18.16.0" + "node": ">=20.11.1" } }, "packages/whook-create": { @@ -19897,14 +19857,14 @@ "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.1", "jest": "^29.7.0", - "metapak": "^5.1.8", - "metapak-nfroidure": "16.0.1", + "metapak": "^6.0.0", + "metapak-nfroidure": "18.0.0", "prettier": "^3.0.3", "rimraf": "^5.0.5", "typescript": "^5.2.2" }, "engines": { - "node": ">=18.16.0" + "node": ">=20.11.1" } }, "packages/whook-create/node_modules/chalk": { @@ -20119,8 +20079,8 @@ "eslint-plugin-prettier": "^5.0.1", "jest": "^29.7.0", "jsarch": "^6.0.3", - "metapak": "^5.1.8", - "metapak-nfroidure": "16.0.1", + "metapak": "^6.0.0", + "metapak-nfroidure": "18.0.0", "prettier": "^3.0.3", "rimraf": "^5.0.5", "schema2dts": "^5.3.0", @@ -20128,7 +20088,7 @@ "typescript": "^5.2.2" }, "engines": { - "node": ">=18.16.0" + "node": ">=20.11.1" } }, "packages/whook-gcp-functions": { @@ -20165,14 +20125,14 @@ "eslint-plugin-prettier": "^5.0.1", "jest": "^29.7.0", "jsdoc-to-markdown": "^8.0.0", - "metapak": "^5.1.8", - "metapak-nfroidure": "16.0.1", + "metapak": "^6.0.0", + "metapak-nfroidure": "18.0.0", "prettier": "^3.0.3", "rimraf": "^5.0.5", "typescript": "^5.2.2" }, "engines": { - "node": ">=18.16.0" + "node": ">=20.11.1" } }, "packages/whook-graphiql": { @@ -20200,14 +20160,14 @@ "eslint-plugin-prettier": "^5.0.1", "jest": "^29.7.0", "jsdoc-to-markdown": "^8.0.0", - "metapak": "^5.1.8", - "metapak-nfroidure": "16.0.1", + "metapak": "^6.0.0", + "metapak-nfroidure": "18.0.0", "prettier": "^3.0.3", "rimraf": "^5.0.5", "typescript": "^5.2.2" }, "engines": { - "node": ">=18.16.0" + "node": ">=20.11.1" } }, "packages/whook-graphql": { @@ -20240,14 +20200,14 @@ "graphql-tag": "^2.12.6", "jest": "^29.7.0", "jsdoc-to-markdown": "^8.0.0", - "metapak": "^5.1.8", - "metapak-nfroidure": "16.0.1", + "metapak": "^6.0.0", + "metapak-nfroidure": "18.0.0", "prettier": "^3.0.3", "rimraf": "^5.0.5", "typescript": "^5.2.2" }, "engines": { - "node": ">=18.16.0" + "node": ">=20.11.1" } }, "packages/whook-http-router": { @@ -20292,15 +20252,15 @@ "eslint-plugin-prettier": "^5.0.1", "jest": "^29.7.0", "jsdoc-to-markdown": "^8.0.0", - "metapak": "^5.1.8", - "metapak-nfroidure": "16.0.1", + "metapak": "^6.0.0", + "metapak-nfroidure": "18.0.0", "prettier": "^3.0.3", "rimraf": "^5.0.5", "streamtest": "^2.0.0", "typescript": "^5.2.2" }, "engines": { - "node": ">=18.16.0" + "node": ">=20.11.1" } }, "packages/whook-http-router/node_modules/ms": { @@ -20331,14 +20291,14 @@ "eslint-plugin-prettier": "^5.0.1", "jest": "^29.7.0", "jsdoc-to-markdown": "^8.0.0", - "metapak": "^5.1.8", - "metapak-nfroidure": "16.0.1", + "metapak": "^6.0.0", + "metapak-nfroidure": "18.0.0", "prettier": "^3.0.3", "rimraf": "^5.0.5", "typescript": "^5.2.2" }, "engines": { - "node": ">=18.16.0" + "node": ">=20.11.1" } }, "packages/whook-http-server/node_modules/ms": { @@ -20374,15 +20334,15 @@ "jest": "^29.7.0", "jsarch": "^6.0.3", "jsdoc-to-markdown": "^8.0.0", - "metapak": "^5.1.8", - "metapak-nfroidure": "16.0.1", + "metapak": "^6.0.0", + "metapak-nfroidure": "18.0.0", "prettier": "^3.0.3", "rimraf": "^5.0.5", "streamtest": "^2.0.0", "typescript": "^5.2.2" }, "engines": { - "node": ">=18.16.0" + "node": ">=20.11.1" } }, "packages/whook-http-transaction/node_modules/ms": { @@ -20413,14 +20373,14 @@ "eslint-plugin-prettier": "^5.0.1", "jest": "^29.7.0", "jsdoc-to-markdown": "^8.0.0", - "metapak": "^5.1.8", - "metapak-nfroidure": "16.0.1", + "metapak": "^6.0.0", + "metapak-nfroidure": "18.0.0", "prettier": "^3.0.3", "rimraf": "^5.0.5", "typescript": "^5.2.2" }, "engines": { - "node": ">=18.16.0" + "node": ">=20.11.1" } }, "packages/whook-oauth2": { @@ -20453,14 +20413,14 @@ "http-auth-utils": "^6.0.0", "jest": "^29.7.0", "jsdoc-to-markdown": "^8.0.0", - "metapak": "^5.1.8", - "metapak-nfroidure": "16.0.1", + "metapak": "^6.0.0", + "metapak-nfroidure": "18.0.0", "prettier": "^3.0.3", "rimraf": "^5.0.5", "typescript": "^5.2.2" }, "engines": { - "node": ">=18.16.0" + "node": ">=20.11.1" } }, "packages/whook-swagger-ui": { @@ -20490,14 +20450,14 @@ "eslint-plugin-prettier": "^5.0.1", "jest": "^29.7.0", "jsdoc-to-markdown": "^8.0.0", - "metapak": "^5.1.8", - "metapak-nfroidure": "16.0.1", + "metapak": "^6.0.0", + "metapak-nfroidure": "18.0.0", "prettier": "^3.0.3", "rimraf": "^5.0.5", "typescript": "^5.2.2" }, "engines": { - "node": ">=18.16.0" + "node": ">=20.11.1" } }, "packages/whook-versions": { @@ -20524,14 +20484,14 @@ "eslint-plugin-prettier": "^5.0.1", "jest": "^29.7.0", "jsdoc-to-markdown": "^8.0.0", - "metapak": "^5.1.8", - "metapak-nfroidure": "16.0.1", + "metapak": "^6.0.0", + "metapak-nfroidure": "18.0.0", "prettier": "^3.0.3", "rimraf": "^5.0.5", "typescript": "^5.2.2" }, "engines": { - "node": ">=18.16.0" + "node": ">=20.11.1" } }, "packages/whook/node_modules/chalk": { diff --git a/package.json b/package.json index 2024f1a7..256b9290 100644 --- a/package.json +++ b/package.json @@ -62,8 +62,8 @@ "conventional-changelog-cli": "^4.1.0", "cz-conventional-changelog": "^3.3.0", "lerna": "^8.1.2", - "metapak": "^5.1.8", - "metapak-nfroidure": "16.0.1" + "metapak": "^6.0.0", + "metapak-nfroidure": "18.0.0" }, "contributors": [ { @@ -73,7 +73,7 @@ } ], "engines": { - "node": ">=18.16.0" + "node": ">=20.11.1" }, "config": { "commitizen": { @@ -100,4 +100,4 @@ "conventional-changelog-cli" ] } -} +} \ No newline at end of file diff --git a/packages/whook-authorization/package.json b/packages/whook-authorization/package.json index b5a4a9f3..4248e399 100644 --- a/packages/whook-authorization/package.json +++ b/packages/whook-authorization/package.json @@ -72,15 +72,15 @@ "eslint-plugin-prettier": "^5.0.1", "jest": "^29.7.0", "jsdoc-to-markdown": "^8.0.0", - "metapak": "^5.1.8", - "metapak-nfroidure": "16.0.1", + "metapak": "^6.0.0", + "metapak-nfroidure": "18.0.0", "prettier": "^3.0.3", "rimraf": "^5.0.5", "typescript": "^5.2.2" }, "contributors": [], "engines": { - "node": ">=18.16.0" + "node": ">=20.11.1" }, "files": [ "dist", @@ -166,4 +166,4 @@ "test": "npm run jest", "type-check": "tsc --pretty --noEmit" } -} +} \ No newline at end of file diff --git a/packages/whook-aws-lambda/package.json b/packages/whook-aws-lambda/package.json index 2333f525..75ef2a15 100644 --- a/packages/whook-aws-lambda/package.json +++ b/packages/whook-aws-lambda/package.json @@ -79,15 +79,15 @@ "eslint-plugin-prettier": "^5.0.1", "jest": "^29.7.0", "jsdoc-to-markdown": "^8.0.0", - "metapak": "^5.1.8", - "metapak-nfroidure": "16.0.1", + "metapak": "^6.0.0", + "metapak-nfroidure": "18.0.0", "prettier": "^3.0.3", "rimraf": "^5.0.5", "typescript": "^5.2.2" }, "contributors": [], "engines": { - "node": ">=18.16.0" + "node": ">=20.11.1" }, "files": [ "dist", @@ -173,4 +173,4 @@ "test": "npm run jest", "type-check": "tsc --pretty --noEmit" } -} +} \ No newline at end of file diff --git a/packages/whook-cors/package.json b/packages/whook-cors/package.json index 4fa1a5f8..7b5c930f 100644 --- a/packages/whook-cors/package.json +++ b/packages/whook-cors/package.json @@ -71,15 +71,15 @@ "eslint-plugin-prettier": "^5.0.1", "jest": "^29.7.0", "jsdoc-to-markdown": "^8.0.0", - "metapak": "^5.1.8", - "metapak-nfroidure": "16.0.1", + "metapak": "^6.0.0", + "metapak-nfroidure": "18.0.0", "prettier": "^3.0.3", "rimraf": "^5.0.5", "typescript": "^5.2.2" }, "contributors": [], "engines": { - "node": ">=18.16.0" + "node": ">=20.11.1" }, "files": [ "dist", @@ -165,4 +165,4 @@ "test": "npm run jest", "type-check": "tsc --pretty --noEmit" } -} +} \ No newline at end of file diff --git a/packages/whook-create/package.json b/packages/whook-create/package.json index ac354dd9..e29e4ec6 100644 --- a/packages/whook-create/package.json +++ b/packages/whook-create/package.json @@ -89,15 +89,15 @@ "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.1", "jest": "^29.7.0", - "metapak": "^5.1.8", - "metapak-nfroidure": "16.0.1", + "metapak": "^6.0.0", + "metapak-nfroidure": "18.0.0", "prettier": "^3.0.3", "rimraf": "^5.0.5", "typescript": "^5.2.2" }, "contributors": [], "engines": { - "node": ">=18.16.0" + "node": ">=20.11.1" }, "files": [ "dist", @@ -169,4 +169,4 @@ ], "prettierPath": null } -} +} \ No newline at end of file diff --git a/packages/whook-create/src/services/__snapshots__/createWhook.test.ts.snap b/packages/whook-create/src/services/__snapshots__/createWhook.test.ts.snap index a6ca4a82..715757ca 100644 --- a/packages/whook-create/src/services/__snapshots__/createWhook.test.ts.snap +++ b/packages/whook-create/src/services/__snapshots__/createWhook.test.ts.snap @@ -92,7 +92,7 @@ DEV_MODE=1 "version": "0.0.0", "license": "SEE LICENSE", "engines": { - "node": ">=18.16.0" + "node": ">=20.11.1" }, "main": "dist/index.js", "types": "dist/index.d.ts", @@ -118,14 +118,14 @@ DEV_MODE=1 "postbuild": "NODE_ENV=\${NODE_ENV:-development} tsx bin/build.js", "prettier": "prettier --write 'src/**/*.ts'", "rebuild": "swc ./src -s -d dist -C jsc.target=es2022", + "repl": "NODE_ENV=\${NODE_ENV:-development} tsx bin/repl.js", "start": "NODE_ENV=\${NODE_ENV:-development} node bin/start.js", "test": "NODE_ENV=test npm run build && npm run jest", "type-check": "tsc --pretty --noEmit", "watch": "NODE_ENV=\${NODE_ENV:-development} DEV_MODE=1 DESTROY_SOCKETS=1 tsx bin/watch.js", "whook": "NODE_ENV=\${NODE_ENV:-development} whook", "whook-debug": "NODE_OPTIONS=\${NODE_OPTIONS:-'--inspect'} NODE_ENV=\${NODE_ENV:-development} DEBUG=\${DEBUG:-whook} tsx bin/whook.js", - "whook-dev": "NODE_ENV=\${NODE_ENV:-development} tsx bin/whook.js", - "repl": "NODE_ENV=\${NODE_ENV:-development} tsx bin/repl.js" + "whook-dev": "NODE_ENV=\${NODE_ENV:-development} tsx bin/whook.js" }, "files": [ "bin", @@ -432,7 +432,7 @@ DEV_MODE=1 "version": "0.0.0", "license": "SEE LICENSE", "engines": { - "node": ">=18.16.0" + "node": ">=20.11.1" }, "main": "dist/index.js", "types": "dist/index.d.ts", @@ -458,14 +458,14 @@ DEV_MODE=1 "postbuild": "NODE_ENV=\${NODE_ENV:-development} tsx bin/build.js", "prettier": "prettier --write 'src/**/*.ts'", "rebuild": "swc ./src -s -d dist -C jsc.target=es2022", + "repl": "NODE_ENV=\${NODE_ENV:-development} tsx bin/repl.js", "start": "NODE_ENV=\${NODE_ENV:-development} node bin/start.js", "test": "NODE_ENV=test npm run build && npm run jest", "type-check": "tsc --pretty --noEmit", "watch": "NODE_ENV=\${NODE_ENV:-development} DEV_MODE=1 DESTROY_SOCKETS=1 tsx bin/watch.js", "whook": "NODE_ENV=\${NODE_ENV:-development} whook", "whook-debug": "NODE_OPTIONS=\${NODE_OPTIONS:-'--inspect'} NODE_ENV=\${NODE_ENV:-development} DEBUG=\${DEBUG:-whook} tsx bin/whook.js", - "whook-dev": "NODE_ENV=\${NODE_ENV:-development} tsx bin/whook.js", - "repl": "NODE_ENV=\${NODE_ENV:-development} tsx bin/repl.js" + "whook-dev": "NODE_ENV=\${NODE_ENV:-development} tsx bin/whook.js" }, "files": [ "bin", @@ -804,7 +804,7 @@ DEV_MODE=1 "version": "0.0.0", "license": "SEE LICENSE", "engines": { - "node": ">=18.16.0" + "node": ">=20.11.1" }, "main": "dist/index.js", "types": "dist/index.d.ts", @@ -830,14 +830,14 @@ DEV_MODE=1 "postbuild": "NODE_ENV=\${NODE_ENV:-development} tsx bin/build.js", "prettier": "prettier --write 'src/**/*.ts'", "rebuild": "swc ./src -s -d dist -C jsc.target=es2022", + "repl": "NODE_ENV=\${NODE_ENV:-development} tsx bin/repl.js", "start": "NODE_ENV=\${NODE_ENV:-development} node bin/start.js", "test": "NODE_ENV=test npm run build && npm run jest", "type-check": "tsc --pretty --noEmit", "watch": "NODE_ENV=\${NODE_ENV:-development} DEV_MODE=1 DESTROY_SOCKETS=1 tsx bin/watch.js", "whook": "NODE_ENV=\${NODE_ENV:-development} whook", "whook-debug": "NODE_OPTIONS=\${NODE_OPTIONS:-'--inspect'} NODE_ENV=\${NODE_ENV:-development} DEBUG=\${DEBUG:-whook} tsx bin/whook.js", - "whook-dev": "NODE_ENV=\${NODE_ENV:-development} tsx bin/whook.js", - "repl": "NODE_ENV=\${NODE_ENV:-development} tsx bin/repl.js" + "whook-dev": "NODE_ENV=\${NODE_ENV:-development} tsx bin/whook.js" }, "files": [ "bin", @@ -1159,7 +1159,7 @@ DEV_MODE=1 "version": "0.0.0", "license": "SEE LICENSE", "engines": { - "node": ">=18.16.0" + "node": ">=20.11.1" }, "main": "dist/index.js", "types": "dist/index.d.ts", @@ -1185,14 +1185,14 @@ DEV_MODE=1 "postbuild": "NODE_ENV=\${NODE_ENV:-development} tsx bin/build.js", "prettier": "prettier --write 'src/**/*.ts'", "rebuild": "swc ./src -s -d dist -C jsc.target=es2022", + "repl": "NODE_ENV=\${NODE_ENV:-development} tsx bin/repl.js", "start": "NODE_ENV=\${NODE_ENV:-development} node bin/start.js", "test": "NODE_ENV=test npm run build && npm run jest", "type-check": "tsc --pretty --noEmit", "watch": "NODE_ENV=\${NODE_ENV:-development} DEV_MODE=1 DESTROY_SOCKETS=1 tsx bin/watch.js", "whook": "NODE_ENV=\${NODE_ENV:-development} whook", "whook-debug": "NODE_OPTIONS=\${NODE_OPTIONS:-'--inspect'} NODE_ENV=\${NODE_ENV:-development} DEBUG=\${DEBUG:-whook} tsx bin/whook.js", - "whook-dev": "NODE_ENV=\${NODE_ENV:-development} tsx bin/whook.js", - "repl": "NODE_ENV=\${NODE_ENV:-development} tsx bin/repl.js" + "whook-dev": "NODE_ENV=\${NODE_ENV:-development} tsx bin/whook.js" }, "files": [ "bin", diff --git a/packages/whook-create/src/services/createWhook.test.ts b/packages/whook-create/src/services/createWhook.test.ts index 68699879..46d22e73 100644 --- a/packages/whook-create/src/services/createWhook.test.ts +++ b/packages/whook-create/src/services/createWhook.test.ts @@ -201,7 +201,7 @@ describe('initCreateWhook', () => { "typescript": "^5.2.2", }, "engines": { - "node": ">=18.16.0", + "node": ">=20.11.1", }, "eslintConfig": { "env": { @@ -423,7 +423,7 @@ describe('initCreateWhook', () => { "typescript": "^5.2.2", }, "engines": { - "node": ">=18.16.0", + "node": ">=20.11.1", }, "eslintConfig": { "env": { @@ -630,7 +630,7 @@ describe('initCreateWhook', () => { "typescript": "^5.2.2", }, "engines": { - "node": ">=18.16.0", + "node": ">=20.11.1", }, "eslintConfig": { "env": { diff --git a/packages/whook-example/package.json b/packages/whook-example/package.json index 0126f838..a4416bbc 100644 --- a/packages/whook-example/package.json +++ b/packages/whook-example/package.json @@ -56,14 +56,14 @@ "postbuild": "NODE_ENV=${NODE_ENV:-development} tsx bin/build.js", "prettier": "prettier --write 'src/**/*.ts'", "rebuild": "swc ./src -s -d dist -C jsc.target=es2022", + "repl": "NODE_ENV=${NODE_ENV:-development} tsx bin/repl.js", "start": "NODE_ENV=${NODE_ENV:-development} node bin/start.js", "test": "NODE_ENV=test npm run build && npm run jest", "type-check": "tsc --pretty --noEmit", "watch": "NODE_ENV=${NODE_ENV:-development} DEV_MODE=1 DESTROY_SOCKETS=1 tsx bin/watch.js", "whook": "NODE_ENV=${NODE_ENV:-development} whook", "whook-debug": "NODE_OPTIONS=${NODE_OPTIONS:-'--inspect'} NODE_ENV=${NODE_ENV:-development} DEBUG=${DEBUG:-whook} tsx bin/whook.js", - "whook-dev": "NODE_ENV=${NODE_ENV:-development} tsx bin/whook.js", - "repl": "NODE_ENV=${NODE_ENV:-development} tsx bin/repl.js" + "whook-dev": "NODE_ENV=${NODE_ENV:-development} tsx bin/whook.js" }, "author": { "name": "Nicolas Froidure", @@ -115,8 +115,8 @@ "eslint-plugin-prettier": "^5.0.1", "jest": "^29.7.0", "jsarch": "^6.0.3", - "metapak": "^5.1.8", - "metapak-nfroidure": "16.0.1", + "metapak": "^6.0.0", + "metapak-nfroidure": "18.0.0", "prettier": "^3.0.3", "rimraf": "^5.0.5", "schema2dts": "^5.3.0", @@ -125,7 +125,7 @@ }, "contributors": [], "engines": { - "node": ">=18.16.0" + "node": ">=20.11.1" }, "files": [ "bin", @@ -205,4 +205,4 @@ ] } } -} +} \ No newline at end of file diff --git a/packages/whook-gcp-functions/package.json b/packages/whook-gcp-functions/package.json index c4165a54..9f241d26 100644 --- a/packages/whook-gcp-functions/package.json +++ b/packages/whook-gcp-functions/package.json @@ -78,15 +78,15 @@ "eslint-plugin-prettier": "^5.0.1", "jest": "^29.7.0", "jsdoc-to-markdown": "^8.0.0", - "metapak": "^5.1.8", - "metapak-nfroidure": "16.0.1", + "metapak": "^6.0.0", + "metapak-nfroidure": "18.0.0", "prettier": "^3.0.3", "rimraf": "^5.0.5", "typescript": "^5.2.2" }, "contributors": [], "engines": { - "node": ">=18.16.0" + "node": ">=20.11.1" }, "files": [ "dist", @@ -172,4 +172,4 @@ "test": "npm run jest", "type-check": "tsc --pretty --noEmit" } -} +} \ No newline at end of file diff --git a/packages/whook-graphiql/package.json b/packages/whook-graphiql/package.json index 34b1e518..1f99e2d5 100644 --- a/packages/whook-graphiql/package.json +++ b/packages/whook-graphiql/package.json @@ -87,15 +87,15 @@ "eslint-plugin-prettier": "^5.0.1", "jest": "^29.7.0", "jsdoc-to-markdown": "^8.0.0", - "metapak": "^5.1.8", - "metapak-nfroidure": "16.0.1", + "metapak": "^6.0.0", + "metapak-nfroidure": "18.0.0", "prettier": "^3.0.3", "rimraf": "^5.0.5", "typescript": "^5.2.2" }, "contributors": [], "engines": { - "node": ">=18.16.0" + "node": ">=20.11.1" }, "files": [ "dist", @@ -167,4 +167,4 @@ ], "prettierPath": null } -} +} \ No newline at end of file diff --git a/packages/whook-graphql/package.json b/packages/whook-graphql/package.json index 059dee16..e0c9d75c 100644 --- a/packages/whook-graphql/package.json +++ b/packages/whook-graphql/package.json @@ -92,15 +92,15 @@ "graphql-tag": "^2.12.6", "jest": "^29.7.0", "jsdoc-to-markdown": "^8.0.0", - "metapak": "^5.1.8", - "metapak-nfroidure": "16.0.1", + "metapak": "^6.0.0", + "metapak-nfroidure": "18.0.0", "prettier": "^3.0.3", "rimraf": "^5.0.5", "typescript": "^5.2.2" }, "contributors": [], "engines": { - "node": ">=18.16.0" + "node": ">=20.11.1" }, "files": [ "dist", @@ -172,4 +172,4 @@ ], "prettierPath": null } -} +} \ No newline at end of file diff --git a/packages/whook-http-router/package.json b/packages/whook-http-router/package.json index f70b0db2..09d4f121 100644 --- a/packages/whook-http-router/package.json +++ b/packages/whook-http-router/package.json @@ -90,8 +90,8 @@ "eslint-plugin-prettier": "^5.0.1", "jest": "^29.7.0", "jsdoc-to-markdown": "^8.0.0", - "metapak": "^5.1.8", - "metapak-nfroidure": "16.0.1", + "metapak": "^6.0.0", + "metapak-nfroidure": "18.0.0", "prettier": "^3.0.3", "rimraf": "^5.0.5", "streamtest": "^2.0.0", @@ -99,7 +99,7 @@ }, "contributors": [], "engines": { - "node": ">=18.16.0" + "node": ">=20.11.1" }, "files": [ "dist", @@ -185,4 +185,4 @@ "test": "npm run jest", "type-check": "tsc --pretty --noEmit" } -} +} \ No newline at end of file diff --git a/packages/whook-http-server/package.json b/packages/whook-http-server/package.json index 818b64f0..3f421b94 100644 --- a/packages/whook-http-server/package.json +++ b/packages/whook-http-server/package.json @@ -71,15 +71,15 @@ "eslint-plugin-prettier": "^5.0.1", "jest": "^29.7.0", "jsdoc-to-markdown": "^8.0.0", - "metapak": "^5.1.8", - "metapak-nfroidure": "16.0.1", + "metapak": "^6.0.0", + "metapak-nfroidure": "18.0.0", "prettier": "^3.0.3", "rimraf": "^5.0.5", "typescript": "^5.2.2" }, "contributors": [], "engines": { - "node": ">=18.16.0" + "node": ">=20.11.1" }, "files": [ "dist", @@ -165,4 +165,4 @@ "test": "npm run jest", "type-check": "tsc --pretty --noEmit" } -} +} \ No newline at end of file diff --git a/packages/whook-http-transaction/package.json b/packages/whook-http-transaction/package.json index 0bf7d996..bc08809e 100644 --- a/packages/whook-http-transaction/package.json +++ b/packages/whook-http-transaction/package.json @@ -77,8 +77,8 @@ "jest": "^29.7.0", "jsarch": "^6.0.3", "jsdoc-to-markdown": "^8.0.0", - "metapak": "^5.1.8", - "metapak-nfroidure": "16.0.1", + "metapak": "^6.0.0", + "metapak-nfroidure": "18.0.0", "prettier": "^3.0.3", "rimraf": "^5.0.5", "streamtest": "^2.0.0", @@ -86,7 +86,7 @@ }, "contributors": [], "engines": { - "node": ">=18.16.0" + "node": ">=20.11.1" }, "files": [ "dist", @@ -179,4 +179,4 @@ ] } } -} +} \ No newline at end of file diff --git a/packages/whook-method-override/package.json b/packages/whook-method-override/package.json index f2354b87..81b50fc8 100644 --- a/packages/whook-method-override/package.json +++ b/packages/whook-method-override/package.json @@ -70,15 +70,15 @@ "eslint-plugin-prettier": "^5.0.1", "jest": "^29.7.0", "jsdoc-to-markdown": "^8.0.0", - "metapak": "^5.1.8", - "metapak-nfroidure": "16.0.1", + "metapak": "^6.0.0", + "metapak-nfroidure": "18.0.0", "prettier": "^3.0.3", "rimraf": "^5.0.5", "typescript": "^5.2.2" }, "contributors": [], "engines": { - "node": ">=18.16.0" + "node": ">=20.11.1" }, "files": [ "dist", @@ -164,4 +164,4 @@ "test": "npm run jest", "type-check": "tsc --pretty --noEmit" } -} +} \ No newline at end of file diff --git a/packages/whook-oauth2/package.json b/packages/whook-oauth2/package.json index 6a96964a..52053864 100644 --- a/packages/whook-oauth2/package.json +++ b/packages/whook-oauth2/package.json @@ -68,15 +68,15 @@ "http-auth-utils": "^6.0.0", "jest": "^29.7.0", "jsdoc-to-markdown": "^8.0.0", - "metapak": "^5.1.8", - "metapak-nfroidure": "16.0.1", + "metapak": "^6.0.0", + "metapak-nfroidure": "18.0.0", "prettier": "^3.0.3", "rimraf": "^5.0.5", "typescript": "^5.2.2" }, "contributors": [], "engines": { - "node": ">=18.16.0" + "node": ">=20.11.1" }, "files": [ "dist", @@ -162,4 +162,4 @@ "test": "npm run jest", "type-check": "tsc --pretty --noEmit" } -} +} \ No newline at end of file diff --git a/packages/whook-swagger-ui/package.json b/packages/whook-swagger-ui/package.json index 682f3388..3561b003 100644 --- a/packages/whook-swagger-ui/package.json +++ b/packages/whook-swagger-ui/package.json @@ -89,15 +89,15 @@ "eslint-plugin-prettier": "^5.0.1", "jest": "^29.7.0", "jsdoc-to-markdown": "^8.0.0", - "metapak": "^5.1.8", - "metapak-nfroidure": "16.0.1", + "metapak": "^6.0.0", + "metapak-nfroidure": "18.0.0", "prettier": "^3.0.3", "rimraf": "^5.0.5", "typescript": "^5.2.2" }, "contributors": [], "engines": { - "node": ">=18.16.0" + "node": ">=20.11.1" }, "files": [ "dist", @@ -169,4 +169,4 @@ ], "prettierPath": null } -} +} \ No newline at end of file diff --git a/packages/whook-versions/package.json b/packages/whook-versions/package.json index 0f328c99..53c84358 100644 --- a/packages/whook-versions/package.json +++ b/packages/whook-versions/package.json @@ -72,15 +72,15 @@ "eslint-plugin-prettier": "^5.0.1", "jest": "^29.7.0", "jsdoc-to-markdown": "^8.0.0", - "metapak": "^5.1.8", - "metapak-nfroidure": "16.0.1", + "metapak": "^6.0.0", + "metapak-nfroidure": "18.0.0", "prettier": "^3.0.3", "rimraf": "^5.0.5", "typescript": "^5.2.2" }, "contributors": [], "engines": { - "node": ">=18.16.0" + "node": ">=20.11.1" }, "files": [ "dist", @@ -166,4 +166,4 @@ "test": "npm run jest", "type-check": "tsc --pretty --noEmit" } -} +} \ No newline at end of file diff --git a/packages/whook/package.json b/packages/whook/package.json index db103f1a..a7283875 100644 --- a/packages/whook/package.json +++ b/packages/whook/package.json @@ -98,8 +98,8 @@ "jest": "^29.7.0", "jsarch": "^6.0.3", "jsdoc-to-markdown": "^8.0.0", - "metapak": "^5.1.8", - "metapak-nfroidure": "16.0.1", + "metapak": "^6.0.0", + "metapak-nfroidure": "18.0.0", "prettier": "^3.0.3", "rimraf": "^5.0.5", "streamtest": "^2.0.0", @@ -132,7 +132,7 @@ }, "contributors": [], "engines": { - "node": ">=18.16.0" + "node": ">=20.11.1" }, "jest": { "coverageReporters": [ @@ -211,4 +211,4 @@ ] } } -} +} \ No newline at end of file