Skip to content

Commit

Permalink
move engine to node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Del Core committed Sep 20, 2024
1 parent 948f617 commit ace6dbd
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 128 deletions.
2 changes: 1 addition & 1 deletion packages/cli-alias/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
"ts-node": "^10.9.1"
},
"engines": {
"node": ">=14"
"node": ">=20"
}
}
3 changes: 1 addition & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"start:dev": "ts-node src/index.ts"
},
"dependencies": {
"@antfu/install-pkg": "^0.1.1",
"@hypermod/core": "^0.3.0",
"@hypermod/fetcher": "^0.9.0",
"@hypermod/initializer": "^0.5.3",
Expand All @@ -35,6 +34,6 @@
"ts-node": "^10.9.1"
},
"engines": {
"node": ">=14"
"node": ">=20"
}
}
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@
"temp": "^0.8.4"
},
"engines": {
"node": ">=14"
"node": ">=20"
}
}
4 changes: 2 additions & 2 deletions packages/fetcher/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"license": "MIT",
"repository": "https://github.com/hypermod-io/hypermod-community/tree/main/packages/fetcher",
"dependencies": {
"@antfu/install-pkg": "^0.1.1",
"@babel/core": "^7.23.0",
"@babel/parser": "^7.23.0",
"@babel/plugin-proposal-class-properties": "^7.13.0",
Expand All @@ -20,10 +21,9 @@
"chalk": "^4.1.0",
"fs-extra": "^9.1.0",
"globby": "^11.1.0",
"live-plugin-manager": "^0.18.1",
"tsx": "^4.19.1"
},
"engines": {
"node": ">=14"
"node": ">=20"
}
}
2 changes: 1 addition & 1 deletion packages/initializer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"semver": "^7.3.5"
},
"engines": {
"node": ">=14"
"node": ">=20"
}
}
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"license": "MIT",
"repository": "https://github.com/hypermod-io/hypermod-community/tree/main/packages/utils",
"engines": {
"node": ">=14"
"node": ">=20"
},
"dependencies": {
"jscodeshift": "^0.13.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/validator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"@types/lodash": "^4.14.176"
},
"engines": {
"node": ">=14"
"node": ">=20"
}
}
122 changes: 3 additions & 119 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2756,20 +2756,6 @@
dependencies:
"@babel/types" "^7.20.7"

"@types/debug@^4.1.7":
version "4.1.12"
resolved "https://registry.npmjs.org/@types/debug/-/debug-4.1.12.tgz"
integrity sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==
dependencies:
"@types/ms" "*"

"@types/fs-extra@^9.0.13":
version "9.0.13"
resolved "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-9.0.13.tgz"
integrity sha512-nEnwB++1u5lVDM2UI4c1+5R+FYaKfaAzS4OococimjVm3nQw3TuzH5UNsocrcTBbhnerblyHj4A49qXbIiZdpA==
dependencies:
"@types/node" "*"

"@types/graceful-fs@^4.1.3":
version "4.1.9"
resolved "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.9.tgz"
Expand Down Expand Up @@ -2833,11 +2819,6 @@
resolved "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz"
integrity sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==

"@types/lockfile@^1.0.2":
version "1.0.4"
resolved "https://registry.npmjs.org/@types/lockfile/-/lockfile-1.0.4.tgz"
integrity sha512-Q8oFIHJHr+htLrTXN2FuZfg+WXVHQRwU/hC2GpUu+Q8e3FUM9EDkS2pE3R2AO1ZGu56f479ybdMCNF1DAu8cAQ==

"@types/lodash@^4.14.176":
version "4.14.202"
resolved "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.202.tgz"
Expand All @@ -2855,24 +2836,11 @@
dependencies:
minipass "*"

"@types/ms@*":
version "0.7.34"
resolved "https://registry.npmjs.org/@types/ms/-/ms-0.7.34.tgz"
integrity sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==

"@types/neo-async@^2.6.0":
version "2.6.6"
resolved "https://registry.npmjs.org/@types/neo-async/-/neo-async-2.6.6.tgz"
integrity sha512-D22UBilfSj6IMhC5Fs6+sbZveSTgG0qPVw4mFbQaadLaU7COikojl/TJpKxX0woidAbbWJ42MJ9ANOr9ODi6Yw==

"@types/node-fetch@^2.5.12":
version "2.6.9"
resolved "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.6.9.tgz"
integrity sha512-bQVlnMLFJ2d35DkPNjEPmd9ueO/rh5EiaZt2bhqiSarPjZIuIV6bPQVqcrEyvNo+AfTrRGVazle1tl597w3gfA==
dependencies:
"@types/node" "*"
form-data "^4.0.0"

"@types/node@*", "@types/node@^16.11.0":
version "16.18.68"
resolved "https://registry.npmjs.org/@types/node/-/node-16.18.68.tgz"
Expand All @@ -2898,7 +2866,7 @@
resolved "https://registry.npmjs.org/@types/semver/-/semver-6.2.7.tgz"
integrity sha512-blctEWbzUFzQx799RZjzzIdBJOXmE37YYEyDtKkx5Dg+V7o/zyyAxLPiI98A2jdTtDgxZleMdfV+7p8WbRJ1OQ==

"@types/semver@^7.3.12", "@types/semver@^7.3.9", "@types/semver@^7.5.0":
"@types/semver@^7.3.12", "@types/semver@^7.5.0":
version "7.5.6"
resolved "https://registry.npmjs.org/@types/semver/-/semver-7.5.6.tgz"
integrity sha512-dn1l8LaMea/IjDoHNd9J52uBbInB796CDffS6VdIxvqYCPSG0V0DzHp76GpaWnlhg88uYyPbXCDIowa86ybd5A==
Expand All @@ -2921,26 +2889,13 @@
"@types/minipass" "*"
"@types/node" "*"

"@types/tar@^6.1.1":
version "6.1.10"
resolved "https://registry.npmjs.org/@types/tar/-/tar-6.1.10.tgz"
integrity sha512-60ZO+W0tRKJ3ggdzJKp75xKVlNogKYMqGvr2bMH/+k3T0BagfYTnbmVDFMJB1BFttz6yRgP5MDGP27eh7brrqw==
dependencies:
"@types/node" "*"
minipass "^4.0.0"

"@types/through@*":
version "0.0.33"
resolved "https://registry.npmjs.org/@types/through/-/through-0.0.33.tgz"
integrity sha512-HsJ+z3QuETzP3cswwtzt2vEIiHBk/dCcHGhbmG5X3ecnwFD/lPrMpliGXxSCg03L9AhrdwA4Oz/qfspkDW+xGQ==
dependencies:
"@types/node" "*"

"@types/[email protected]":
version "4.0.1"
resolved "https://registry.npmjs.org/@types/url-join/-/url-join-4.0.1.tgz"
integrity sha512-wDXw9LEEUHyV+7UWy7U315nrJGJ7p1BzaCxDpEoLr789Dk1WDVMMlf3iBfbG2F8NdWnYyFbtTxUn2ZNbm1Q4LQ==

"@types/write-file-atomic@^4.0.0":
version "4.0.3"
resolved "https://registry.npmjs.org/@types/write-file-atomic/-/write-file-atomic-4.0.3.tgz"
Expand Down Expand Up @@ -3944,7 +3899,7 @@ debug@^2.2.0, debug@^2.3.3:
dependencies:
ms "2.0.0"

debug@^4.0.1, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.3, debug@^4.3.4:
debug@^4.0.1, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.4:
version "4.3.4"
resolved "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz"
integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==
Expand Down Expand Up @@ -4739,15 +4694,6 @@ fragment-cache@^0.2.1:
dependencies:
map-cache "^0.2.2"

fs-extra@^10.0.0:
version "10.1.0"
resolved "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz"
integrity sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==
dependencies:
graceful-fs "^4.2.0"
jsonfile "^6.0.1"
universalify "^2.0.0"

fs-extra@^7.0.1:
version "7.0.1"
resolved "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.1.tgz"
Expand Down Expand Up @@ -6224,26 +6170,6 @@ lines-and-columns@^1.1.6:
resolved "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz"
integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==

live-plugin-manager@^0.18.1:
version "0.18.1"
resolved "https://registry.npmjs.org/live-plugin-manager/-/live-plugin-manager-0.18.1.tgz"
integrity sha512-GvLMSaZ1Cc18o91NiHLRuPXm1z7xDiUXUGgQ6jAwGM/x0FY8vXXHa/+LMNb2zrkAV2bWULCs0FEwX9yRsmFZmw==
dependencies:
"@types/debug" "^4.1.7"
"@types/fs-extra" "^9.0.13"
"@types/lockfile" "^1.0.2"
"@types/node-fetch" "^2.5.12"
"@types/semver" "^7.3.9"
"@types/tar" "^6.1.1"
"@types/url-join" "4.0.1"
debug "^4.3.3"
fs-extra "^10.0.0"
lockfile "^1.0.4"
node-fetch "^2.6.6"
semver "^7.3.5"
tar "^6.1.11"
url-join "^4.0.1"

[email protected]:
version "2.8.5"
resolved "https://registry.npmjs.org/lmdb/-/lmdb-2.8.5.tgz"
Expand Down Expand Up @@ -6312,13 +6238,6 @@ locate-path@^6.0.0:
dependencies:
p-locate "^5.0.0"

lockfile@^1.0.4:
version "1.0.4"
resolved "https://registry.npmjs.org/lockfile/-/lockfile-1.0.4.tgz"
integrity sha512-cvbTwETRfsFh4nHsL1eGWapU1XFi5Ot9E85sWAwia7Y7EgB7vfqcZhTKZ+l7hCGxSPoushMv5GKhT5PdLv03WA==
dependencies:
signal-exit "^3.0.2"

lodash.debounce@^4.0.8:
version "4.0.8"
resolved "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz"
Expand Down Expand Up @@ -6579,11 +6498,6 @@ minipass@^3.0.0:
dependencies:
yallist "^4.0.0"

minipass@^4.0.0:
version "4.2.8"
resolved "https://registry.npmjs.org/minipass/-/minipass-4.2.8.tgz"
integrity sha512-fNzuVyifolSLFL4NzpF+wEF4qrgqaaKX0haXPQEdQ7NKAN+WecoKMHV09YcuL/DHxrUsYQOK3MiuDf7Ip2OXfQ==

minipass@^5.0.0:
version "5.0.0"
resolved "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz"
Expand Down Expand Up @@ -6707,13 +6621,6 @@ node-dir@^0.1.17:
dependencies:
minimatch "^3.0.2"

node-fetch@^2.6.6:
version "2.7.0"
resolved "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz"
integrity sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==
dependencies:
whatwg-url "^5.0.0"

[email protected]:
version "5.0.7"
resolved "https://registry.npmjs.org/node-gyp-build-optional-packages/-/node-gyp-build-optional-packages-5.0.7.tgz"
Expand Down Expand Up @@ -8031,7 +7938,7 @@ tapable@^1.0.0:
resolved "https://registry.npmjs.org/tapable/-/tapable-1.1.3.tgz"
integrity sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA==

tar@^6.1.0, tar@^6.1.11:
tar@^6.1.0:
version "6.2.0"
resolved "https://registry.npmjs.org/tar/-/tar-6.2.0.tgz"
integrity sha512-/Wo7DcT0u5HUV486xg675HtjNd3BXZ6xDbzsCUZPt5iw8bTQ63bP0Raut3mvro9u+CUyq7YQd8Cx55fsZXxqLQ==
Expand Down Expand Up @@ -8133,11 +8040,6 @@ to-regex@^3.0.1, to-regex@^3.0.2:
regex-not "^1.0.2"
safe-regex "^1.1.0"

tr46@~0.0.3:
version "0.0.3"
resolved "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz"
integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==

trim-newlines@^3.0.0:
version "3.0.1"
resolved "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz"
Expand Down Expand Up @@ -8395,11 +8297,6 @@ urix@^0.1.0:
resolved "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz"
integrity sha512-Am1ousAhSLBeB9cG/7k7r2R0zj50uDRlZHPGbazid5s9rlF1F/QKYObEKSIunSjIOkJZqwRRLpvewjEkM7pSqg==

url-join@^4.0.1:
version "4.0.1"
resolved "https://registry.npmjs.org/url-join/-/url-join-4.0.1.tgz"
integrity sha512-jk1+QP6ZJqyOiuEI9AEWQfju/nB2Pw466kbA0LEZljHwKeMgd9WrAEgEGxjPDD2+TNbbb37rTyhEfrCXfuKXnA==

url-parse-lax@^3.0.0:
version "3.0.0"
resolved "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-3.0.0.tgz"
Expand Down Expand Up @@ -8475,19 +8372,6 @@ weak-lru-cache@^1.2.2:
resolved "https://registry.npmjs.org/weak-lru-cache/-/weak-lru-cache-1.2.2.tgz"
integrity sha512-DEAoo25RfSYMuTGc9vPJzZcZullwIqRDSI9LOy+fkCJPi6hykCnfKaXTuPBDuXAUcqHXyOgFtHNp/kB2FjYHbw==

webidl-conversions@^3.0.0:
version "3.0.1"
resolved "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz"
integrity sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==

whatwg-url@^5.0.0:
version "5.0.0"
resolved "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz"
integrity sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==
dependencies:
tr46 "~0.0.3"
webidl-conversions "^3.0.0"

which-boxed-primitive@^1.0.2:
version "1.0.2"
resolved "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz"
Expand Down

0 comments on commit ace6dbd

Please sign in to comment.