From c063cb2916592b4001d61128804d20e64ee2e7ac Mon Sep 17 00:00:00 2001 From: ianwremmel <1182361+ianwremmel@users.noreply.github.com> Date: Sun, 25 May 2025 12:29:50 -0700 Subject: [PATCH 1/3] chore(nx): update nx --- .gitignore | 2 + package-lock.json | 803 ++++++------------ package.json | 2 +- packages/@clc/nx/package.json | 2 +- .../tool-deps/package.json | 2 +- .../tool-foundation/package.json | 2 +- .../tool-inliner/package.json | 2 +- .../tool-json-schema/package.json | 2 +- .../tool-stack/package.json | 2 +- .../tool-tool/package.json | 2 +- patches/nx+19.2.3.patch | 86 -- patches/nx+21.1.2.patch | 216 +++++ 12 files changed, 476 insertions(+), 647 deletions(-) delete mode 100644 patches/nx+19.2.3.patch create mode 100644 patches/nx+21.1.2.patch diff --git a/.gitignore b/.gitignore index 5423aeed..964e7ab6 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,5 @@ volume .nx tsconfig.tsbuildinfo +.cursor/rules/nx-rules.mdc +.github/instructions/nx.instructions.md diff --git a/package-lock.json b/package-lock.json index 1d0190f0..7ce80446 100644 --- a/package-lock.json +++ b/package-lock.json @@ -61,7 +61,7 @@ "markdown-toc": "^1.2.0", "multi-semantic-release": "^3.0.1", "npm-run-all": "^4.1.5", - "nx": "^19.1.1", + "nx": "21.1.2", "openapi-typescript": "^6.7.6", "patch-package": "^8.0.0", "prettier": "^3.3.0", @@ -1930,110 +1930,6 @@ "node": ">=18.0.0" } }, - "node_modules/@aws-sdk/client-sso-oidc": { - "version": "3.787.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-sso-oidc/-/client-sso-oidc-3.787.0.tgz", - "integrity": "sha512-nu7bObQFZN4gvhJ8hvdygK4BqVJ1+QkFiW3yM70/xZUkJAwAPoQUDYod52DNi/bvnk8eGgFDeSF2mJwFi333tQ==", - "peer": true, - "dependencies": { - "@aws-crypto/sha256-browser": "5.2.0", - "@aws-crypto/sha256-js": "5.2.0", - "@aws-sdk/core": "3.775.0", - "@aws-sdk/credential-provider-node": "3.787.0", - "@aws-sdk/middleware-host-header": "3.775.0", - "@aws-sdk/middleware-logger": "3.775.0", - "@aws-sdk/middleware-recursion-detection": "3.775.0", - "@aws-sdk/middleware-user-agent": "3.787.0", - "@aws-sdk/region-config-resolver": "3.775.0", - "@aws-sdk/types": "3.775.0", - "@aws-sdk/util-endpoints": "3.787.0", - "@aws-sdk/util-user-agent-browser": "3.775.0", - "@aws-sdk/util-user-agent-node": "3.787.0", - "@smithy/config-resolver": "^4.1.0", - "@smithy/core": "^3.2.0", - "@smithy/fetch-http-handler": "^5.0.2", - "@smithy/hash-node": "^4.0.2", - "@smithy/invalid-dependency": "^4.0.2", - "@smithy/middleware-content-length": "^4.0.2", - "@smithy/middleware-endpoint": "^4.1.0", - "@smithy/middleware-retry": "^4.1.0", - "@smithy/middleware-serde": "^4.0.3", - "@smithy/middleware-stack": "^4.0.2", - "@smithy/node-config-provider": "^4.0.2", - "@smithy/node-http-handler": "^4.0.4", - "@smithy/protocol-http": "^5.1.0", - "@smithy/smithy-client": "^4.2.0", - "@smithy/types": "^4.2.0", - "@smithy/url-parser": "^4.0.2", - "@smithy/util-base64": "^4.0.0", - "@smithy/util-body-length-browser": "^4.0.0", - "@smithy/util-body-length-node": "^4.0.0", - "@smithy/util-defaults-mode-browser": "^4.0.8", - "@smithy/util-defaults-mode-node": "^4.0.8", - "@smithy/util-endpoints": "^3.0.2", - "@smithy/util-middleware": "^4.0.2", - "@smithy/util-retry": "^4.0.2", - "@smithy/util-utf8": "^4.0.0", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=18.0.0" - } - }, - "node_modules/@aws-sdk/client-sso-oidc/node_modules/@aws-sdk/core": { - "version": "3.775.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/core/-/core-3.775.0.tgz", - "integrity": "sha512-8vpW4WihVfz0DX+7WnnLGm3GuQER++b0IwQG35JlQMlgqnc44M//KbJPsIHA0aJUJVwJAEShgfr5dUbY8WUzaA==", - "peer": true, - "dependencies": { - "@aws-sdk/types": "3.775.0", - "@smithy/core": "^3.2.0", - "@smithy/node-config-provider": "^4.0.2", - "@smithy/property-provider": "^4.0.2", - "@smithy/protocol-http": "^5.1.0", - "@smithy/signature-v4": "^5.0.2", - "@smithy/smithy-client": "^4.2.0", - "@smithy/types": "^4.2.0", - "@smithy/util-middleware": "^4.0.2", - "fast-xml-parser": "4.4.1", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=18.0.0" - } - }, - "node_modules/@aws-sdk/client-sso-oidc/node_modules/@aws-sdk/region-config-resolver": { - "version": "3.775.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/region-config-resolver/-/region-config-resolver-3.775.0.tgz", - "integrity": "sha512-40iH3LJjrQS3LKUJAl7Wj0bln7RFPEvUYKFxtP8a+oKFDO0F65F52xZxIJbPn6sHkxWDAnZlGgdjZXM3p2g5wQ==", - "peer": true, - "dependencies": { - "@aws-sdk/types": "3.775.0", - "@smithy/node-config-provider": "^4.0.2", - "@smithy/types": "^4.2.0", - "@smithy/util-config-provider": "^4.0.0", - "@smithy/util-middleware": "^4.0.2", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=18.0.0" - } - }, - "node_modules/@aws-sdk/client-sso-oidc/node_modules/@aws-sdk/util-endpoints": { - "version": "3.787.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-endpoints/-/util-endpoints-3.787.0.tgz", - "integrity": "sha512-fd3zkiOkwnbdbN0Xp9TsP5SWrmv0SpT70YEdbb8wAj2DWQwiCmFszaSs+YCvhoCdmlR3Wl9Spu0pGpSAGKeYvQ==", - "peer": true, - "dependencies": { - "@aws-sdk/types": "3.775.0", - "@smithy/types": "^4.2.0", - "@smithy/util-endpoints": "^3.0.2", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=18.0.0" - } - }, "node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/core": { "version": "3.775.0", "resolved": "https://registry.npmjs.org/@aws-sdk/core/-/core-3.775.0.tgz", @@ -6875,38 +6771,11 @@ "url": "https://github.com/chalk/chalk?sponsor=1" } }, - "node_modules/@cspotcode/source-map-support": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", - "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==", - "dev": true, - "optional": true, - "peer": true, - "dependencies": { - "@jridgewell/trace-mapping": "0.3.9" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/@cspotcode/source-map-support/node_modules/@jridgewell/trace-mapping": { - "version": "0.3.9", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz", - "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==", - "dev": true, - "optional": true, - "peer": true, - "dependencies": { - "@jridgewell/resolve-uri": "^3.0.3", - "@jridgewell/sourcemap-codec": "^1.4.10" - } - }, "node_modules/@emnapi/core": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.4.0.tgz", "integrity": "sha512-H+N/FqT07NmLmt6OFFtDfwe8PNygprzBikrEMyQfgqSmT0vzE515Pz7R8izwB9q/zsH/MA64AKoul3sA6/CzVg==", "license": "MIT", - "optional": true, "dependencies": { "@emnapi/wasi-threads": "1.0.1", "tslib": "^2.4.0" @@ -6917,7 +6786,6 @@ "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.4.0.tgz", "integrity": "sha512-64WYIf4UYcdLnbKn/umDlNjQDSS8AgZrI/R9+x5ilkUVFxXcA1Ebl+gQLc/6mERA4407Xof0R7wEyEuj091CVw==", "license": "MIT", - "optional": true, "dependencies": { "tslib": "^2.4.0" } @@ -6927,7 +6795,6 @@ "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.0.1.tgz", "integrity": "sha512-iIBu7mwkq4UQGeMEM8bLwNK962nXdhodeScX4slfQnRhEMMzvYivHhutCIk8uojvmASXXPC2WNEjwxFWk72Oqw==", "license": "MIT", - "optional": true, "dependencies": { "tslib": "^2.4.0" } @@ -9317,32 +9184,12 @@ "node": ">= 8" } }, - "node_modules/@nrwl/devkit": { - "version": "19.2.3", - "resolved": "https://registry.npmjs.org/@nrwl/devkit/-/devkit-19.2.3.tgz", - "integrity": "sha512-OL6sc70gR/USasvbYzyYY44Hd5ZCde2UfiA5h8VeAYAJbq+JmtscpvjcnZ7OIsXyYEOxe1rypULElqu/8qpKzQ==", - "dependencies": { - "@nx/devkit": "19.2.3" - } - }, - "node_modules/@nrwl/tao": { - "version": "19.2.3", - "resolved": "https://registry.npmjs.org/@nrwl/tao/-/tao-19.2.3.tgz", - "integrity": "sha512-vwo6ogcy6A9vJggDOsHGi1F0cTRqSqRypbgq/EdNuZqL7rGyZB/ctId69/i8dV6cLkl8BJG/4WpEe5BIrMTsjA==", - "dependencies": { - "nx": "19.2.3", - "tslib": "^2.3.0" - }, - "bin": { - "tao": "index.js" - } - }, "node_modules/@nx/devkit": { - "version": "19.2.3", - "resolved": "https://registry.npmjs.org/@nx/devkit/-/devkit-19.2.3.tgz", - "integrity": "sha512-if1WwRVexrQBBADObEcxVIivq4QRZWY/nYRhCQy/qfFI6Cu2jBSI6ZQ1uy7to2L2sQPLgn8v2beQZiAeZdIktg==", + "version": "21.1.2", + "resolved": "https://registry.npmjs.org/@nx/devkit/-/devkit-21.1.2.tgz", + "integrity": "sha512-1dgjwSsNDdp/VXydZnSfzfVwySEB3C9yjzeIw6+3+nRvZfH16a7ggZE7MF5sJTq4d+01hAgIDz3KyvGa6Jf73g==", + "license": "MIT", "dependencies": { - "@nrwl/devkit": "19.2.3", "ejs": "^3.1.7", "enquirer": "~2.3.6", "ignore": "^5.0.4", @@ -9353,13 +9200,14 @@ "yargs-parser": "21.1.1" }, "peerDependencies": { - "nx": ">= 17 <= 20" + "nx": "21.1.2" } }, "node_modules/@nx/devkit/node_modules/brace-expansion": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0" } @@ -9368,6 +9216,7 @@ "version": "9.0.3", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "license": "ISC", "dependencies": { "brace-expansion": "^2.0.1" }, @@ -9379,9 +9228,9 @@ } }, "node_modules/@nx/devkit/node_modules/semver": { - "version": "7.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.1.tgz", - "integrity": "sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==", + "version": "7.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", + "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", "license": "ISC", "bin": { "semver": "bin/semver.js" @@ -9391,154 +9240,134 @@ } }, "node_modules/@nx/nx-darwin-arm64": { - "version": "19.2.3", - "resolved": "https://registry.npmjs.org/@nx/nx-darwin-arm64/-/nx-darwin-arm64-19.2.3.tgz", - "integrity": "sha512-1beJscdMraGgLHpvjyC5FXUzpdQYW8JwnPK0Yj9iti9Vnahtx3PLQHCFOFwoE0KZF9VEL1KsZSSVPljMgW/j+g==", + "version": "21.1.2", + "resolved": "https://registry.npmjs.org/@nx/nx-darwin-arm64/-/nx-darwin-arm64-21.1.2.tgz", + "integrity": "sha512-9dO32jd+h7SrvQafJph6b7Bsmp2IotTE0w7dAGb4MGBQni3JWCXaxlMMpWUZXWW1pM5uIkFJO5AASW4UOI7w2w==", "cpu": [ "arm64" ], + "license": "MIT", "optional": true, "os": [ "darwin" - ], - "engines": { - "node": ">= 10" - } + ] }, "node_modules/@nx/nx-darwin-x64": { - "version": "19.2.3", - "resolved": "https://registry.npmjs.org/@nx/nx-darwin-x64/-/nx-darwin-x64-19.2.3.tgz", - "integrity": "sha512-wCpIRThGKL/FebPe+WaFk/V6nk31mMc83APoEyhyS5kAodqeKjb6iPud+QNydtUJ/jsF9aQ/DaHIioKC9wbg8A==", + "version": "21.1.2", + "resolved": "https://registry.npmjs.org/@nx/nx-darwin-x64/-/nx-darwin-x64-21.1.2.tgz", + "integrity": "sha512-5sf+4PRVg9pDVgD53NE1hoPz4lC8Ni34UovQsOrZgDvwU5mqPbIhTzVYRDH86i/086AcCvjT5tEt7rEcuRwlKw==", "cpu": [ "x64" ], + "license": "MIT", "optional": true, "os": [ "darwin" - ], - "engines": { - "node": ">= 10" - } + ] }, "node_modules/@nx/nx-freebsd-x64": { - "version": "19.2.3", - "resolved": "https://registry.npmjs.org/@nx/nx-freebsd-x64/-/nx-freebsd-x64-19.2.3.tgz", - "integrity": "sha512-ytY18USCyf83wqyUgFaeRO/3zvysJXPJf1Di8czBhiUSroSMB6088OaeqW7SnzdcYNdACZUv0Q6PupXpx3w2Ng==", + "version": "21.1.2", + "resolved": "https://registry.npmjs.org/@nx/nx-freebsd-x64/-/nx-freebsd-x64-21.1.2.tgz", + "integrity": "sha512-E5HR44fimXlQuAgn/tP9esmvxbzt/92AIl0PBT6L3Juh/xYiXKWhda63H4+UNT8AcLRxVXwfZrGPuGCDs+7y/Q==", "cpu": [ "x64" ], + "license": "MIT", "optional": true, "os": [ "freebsd" - ], - "engines": { - "node": ">= 10" - } + ] }, "node_modules/@nx/nx-linux-arm-gnueabihf": { - "version": "19.2.3", - "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm-gnueabihf/-/nx-linux-arm-gnueabihf-19.2.3.tgz", - "integrity": "sha512-FPtqIMzdOzYSSDnLXUpcrflqEsNe6UgpAgYoHLVbWiR47O3qJnpQRDfYUsP7Lv+2C0CBKNXgwPEvmDLXKHcfYg==", + "version": "21.1.2", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm-gnueabihf/-/nx-linux-arm-gnueabihf-21.1.2.tgz", + "integrity": "sha512-V4n6DE+r12gwJHFjZs+e2GmWYZdhpgA2DYWbsYWRYb1XQCNUg4vPzt+YFzWZ+K2o91k93EBnlLfrag7CqxUslw==", "cpu": [ "arm" ], + "license": "MIT", "optional": true, "os": [ "linux" - ], - "engines": { - "node": ">= 10" - } + ] }, "node_modules/@nx/nx-linux-arm64-gnu": { - "version": "19.2.3", - "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm64-gnu/-/nx-linux-arm64-gnu-19.2.3.tgz", - "integrity": "sha512-VOuzPD5FBPZmctvXqdB9K1MYVzkV8TgOZFS7Md6ClH7UwJTEOjnMoomYCMM1VlOZV4P0S5E0u/Zere5YWh+ZWw==", + "version": "21.1.2", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm64-gnu/-/nx-linux-arm64-gnu-21.1.2.tgz", + "integrity": "sha512-NFhsp27O+mS3r7PWLmJgyZy42WQ72c2pTQSpYfhaBbZPTI5DqBHdANa0sEPmV+ON24qkl5CZKvsmhzjsNmyW6A==", "cpu": [ "arm64" ], + "license": "MIT", "optional": true, "os": [ "linux" - ], - "engines": { - "node": ">= 10" - } + ] }, "node_modules/@nx/nx-linux-arm64-musl": { - "version": "19.2.3", - "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm64-musl/-/nx-linux-arm64-musl-19.2.3.tgz", - "integrity": "sha512-qd6QZysktt0D7rNCOlBaV3ME0/J0VwvC1cmdjtZoljwtsX6Zc56AEdfwsgGzsZNU4w+N+BtXxowan3D44iiSzQ==", + "version": "21.1.2", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm64-musl/-/nx-linux-arm64-musl-21.1.2.tgz", + "integrity": "sha512-BgS9npARwcnw+hoaRsbas6vdBAJRBAj5qSeL57LO8Dva+e/6PYqoNyVJ0BgJ98xPXDpzM/NnpeRsndQGpLyhDw==", "cpu": [ "arm64" ], + "license": "MIT", "optional": true, "os": [ "linux" - ], - "engines": { - "node": ">= 10" - } + ] }, "node_modules/@nx/nx-linux-x64-gnu": { - "version": "19.2.3", - "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-19.2.3.tgz", - "integrity": "sha512-wE08BstTD65dt6c+9L9bEp98PxFwc7CuaUVX2cZTDFAERBXCMhu7y6Gb1JbiAvfVci4+yLrm+h0E1ieY1wMTXw==", + "version": "21.1.2", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-21.1.2.tgz", + "integrity": "sha512-tjBINbymQgxnIlNK/m6B0P5eiGRSHSYPNkFdh3+sra80AP/ymHGLRxxZy702Ga2xg8RVr9zEvuXYHI+QBa1YmA==", "cpu": [ "x64" ], + "license": "MIT", "optional": true, "os": [ "linux" - ], - "engines": { - "node": ">= 10" - } + ] }, "node_modules/@nx/nx-linux-x64-musl": { - "version": "19.2.3", - "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-musl/-/nx-linux-x64-musl-19.2.3.tgz", - "integrity": "sha512-IA09+NZ0kKPSfK/dXsyjZ8TN+hN/1PcnbdNuUCn1Opmbrdda9GBfzHSDFKXxoA6TVB/j/qnXHKgKxhhVH05TGg==", + "version": "21.1.2", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-musl/-/nx-linux-x64-musl-21.1.2.tgz", + "integrity": "sha512-+0V0YAOWMh1wvpQZuayQ7y+sj2MhE3l7z0JMD9SX/4xv9zLOWGv+EiUmN/fGoU/mwsSkH2wTCo6G6quKF1E8jQ==", "cpu": [ "x64" ], + "license": "MIT", "optional": true, "os": [ "linux" - ], - "engines": { - "node": ">= 10" - } + ] }, "node_modules/@nx/nx-win32-arm64-msvc": { - "version": "19.2.3", - "resolved": "https://registry.npmjs.org/@nx/nx-win32-arm64-msvc/-/nx-win32-arm64-msvc-19.2.3.tgz", - "integrity": "sha512-fkbcTp+XuxGaL5e4Ve8AjxNEim5Ifdn61ofaxEDMoGjauKvKZBejbLhBFOonCKDqntXsY8D2nDXjhcsdNYxzMg==", + "version": "21.1.2", + "resolved": "https://registry.npmjs.org/@nx/nx-win32-arm64-msvc/-/nx-win32-arm64-msvc-21.1.2.tgz", + "integrity": "sha512-E+ECMQIMJ6R47BMW5YpDyOhTqczvFaL8k24umRkcvlRh3SraczyxBVPkYHDukDp7tCeIszc5EvdWc83C3W8U4w==", "cpu": [ "arm64" ], + "license": "MIT", "optional": true, "os": [ "win32" - ], - "engines": { - "node": ">= 10" - } + ] }, "node_modules/@nx/nx-win32-x64-msvc": { - "version": "19.2.3", - "resolved": "https://registry.npmjs.org/@nx/nx-win32-x64-msvc/-/nx-win32-x64-msvc-19.2.3.tgz", - "integrity": "sha512-E2q3c504xjFXTY+/iq57DOZmS6CPA8RbFwLf6bCG5wo2BDajxmvU3VCeCSkxqXEwCY7NJSI3PT1V/3vRDzJ3lQ==", + "version": "21.1.2", + "resolved": "https://registry.npmjs.org/@nx/nx-win32-x64-msvc/-/nx-win32-x64-msvc-21.1.2.tgz", + "integrity": "sha512-J9rNTBOS7Ld6CybU/cou1Fg52AHSYsiwpZISM2RNM0XIoVSDk3Jsvh4OJgS2rvV0Sp/cgDg3ieOMAreekH+TKw==", "cpu": [ "x64" ], + "license": "MIT", "optional": true, "os": [ "win32" - ], - "engines": { - "node": ">= 10" - } + ] }, "node_modules/@octokit/auth-token": { "version": "3.0.3", @@ -11488,15 +11317,16 @@ } }, "node_modules/@swc/core": { - "version": "1.5.24", - "resolved": "https://registry.npmjs.org/@swc/core/-/core-1.5.24.tgz", - "integrity": "sha512-Eph9zvO4xvqWZGVzTdtdEJ0Vqf0VIML/o/e4Qd2RLOqtfgnlRi7avmMu5C0oqciJ0tk+hqdUKVUZ4JPoPaiGvQ==", + "version": "1.11.29", + "resolved": "https://registry.npmjs.org/@swc/core/-/core-1.11.29.tgz", + "integrity": "sha512-g4mThMIpWbNhV8G2rWp5a5/Igv8/2UFRJx2yImrLGMgrDDYZIopqZ/z0jZxDgqNA1QDx93rpwNF7jGsxVWcMlA==", "devOptional": true, "hasInstallScript": true, + "license": "Apache-2.0", "peer": true, "dependencies": { "@swc/counter": "^0.1.3", - "@swc/types": "^0.1.7" + "@swc/types": "^0.1.21" }, "engines": { "node": ">=10" @@ -11506,19 +11336,19 @@ "url": "https://opencollective.com/swc" }, "optionalDependencies": { - "@swc/core-darwin-arm64": "1.5.24", - "@swc/core-darwin-x64": "1.5.24", - "@swc/core-linux-arm-gnueabihf": "1.5.24", - "@swc/core-linux-arm64-gnu": "1.5.24", - "@swc/core-linux-arm64-musl": "1.5.24", - "@swc/core-linux-x64-gnu": "1.5.24", - "@swc/core-linux-x64-musl": "1.5.24", - "@swc/core-win32-arm64-msvc": "1.5.24", - "@swc/core-win32-ia32-msvc": "1.5.24", - "@swc/core-win32-x64-msvc": "1.5.24" + "@swc/core-darwin-arm64": "1.11.29", + "@swc/core-darwin-x64": "1.11.29", + "@swc/core-linux-arm-gnueabihf": "1.11.29", + "@swc/core-linux-arm64-gnu": "1.11.29", + "@swc/core-linux-arm64-musl": "1.11.29", + "@swc/core-linux-x64-gnu": "1.11.29", + "@swc/core-linux-x64-musl": "1.11.29", + "@swc/core-win32-arm64-msvc": "1.11.29", + "@swc/core-win32-ia32-msvc": "1.11.29", + "@swc/core-win32-x64-msvc": "1.11.29" }, "peerDependencies": { - "@swc/helpers": "*" + "@swc/helpers": ">=0.5.17" }, "peerDependenciesMeta": { "@swc/helpers": { @@ -11527,12 +11357,13 @@ } }, "node_modules/@swc/core-darwin-arm64": { - "version": "1.5.24", - "resolved": "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.5.24.tgz", - "integrity": "sha512-M7oLOcC0sw+UTyAuL/9uyB9GeO4ZpaBbH76JSH6g1m0/yg7LYJZGRmplhDmwVSDAR5Fq4Sjoi1CksmmGkgihGA==", + "version": "1.11.29", + "resolved": "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.11.29.tgz", + "integrity": "sha512-whsCX7URzbuS5aET58c75Dloby3Gtj/ITk2vc4WW6pSDQKSPDuONsIcZ7B2ng8oz0K6ttbi4p3H/PNPQLJ4maQ==", "cpu": [ "arm64" ], + "license": "Apache-2.0 AND MIT", "optional": true, "os": [ "darwin" @@ -11543,12 +11374,13 @@ } }, "node_modules/@swc/core-darwin-x64": { - "version": "1.5.24", - "resolved": "https://registry.npmjs.org/@swc/core-darwin-x64/-/core-darwin-x64-1.5.24.tgz", - "integrity": "sha512-MfcFjGGYognpSBSos2pYUNYJSmqEhuw5ceGr6qAdME7ddbjGXliza4W6FggsM+JnWwpqa31+e7/R+GetW4WkaQ==", + "version": "1.11.29", + "resolved": "https://registry.npmjs.org/@swc/core-darwin-x64/-/core-darwin-x64-1.11.29.tgz", + "integrity": "sha512-S3eTo/KYFk+76cWJRgX30hylN5XkSmjYtCBnM4jPLYn7L6zWYEPajsFLmruQEiTEDUg0gBEWLMNyUeghtswouw==", "cpu": [ "x64" ], + "license": "Apache-2.0 AND MIT", "optional": true, "os": [ "darwin" @@ -11559,12 +11391,13 @@ } }, "node_modules/@swc/core-linux-arm-gnueabihf": { - "version": "1.5.24", - "resolved": "https://registry.npmjs.org/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.5.24.tgz", - "integrity": "sha512-amI2pwtcWV3E/m/nf+AQtn1LWDzKLZyjCmWd3ms7QjEueWYrY8cU1Y4Wp7wNNsxIoPOi8zek1Uj2wwFD/pttNQ==", + "version": "1.11.29", + "resolved": "https://registry.npmjs.org/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.11.29.tgz", + "integrity": "sha512-o9gdshbzkUMG6azldHdmKklcfrcMx+a23d/2qHQHPDLUPAN+Trd+sDQUYArK5Fcm7TlpG4sczz95ghN0DMkM7g==", "cpu": [ "arm" ], + "license": "Apache-2.0", "optional": true, "os": [ "linux" @@ -11575,12 +11408,13 @@ } }, "node_modules/@swc/core-linux-arm64-gnu": { - "version": "1.5.24", - "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.5.24.tgz", - "integrity": "sha512-sTSvmqMmgT1ynH/nP75Pc51s+iT4crZagHBiDOf5cq+kudUYjda9lWMs7xkXB/TUKFHPCRK0HGunl8bkwiIbuw==", + "version": "1.11.29", + "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.11.29.tgz", + "integrity": "sha512-sLoaciOgUKQF1KX9T6hPGzvhOQaJn+3DHy4LOHeXhQqvBgr+7QcZ+hl4uixPKTzxk6hy6Hb0QOvQEdBAAR1gXw==", "cpu": [ "arm64" ], + "license": "Apache-2.0 AND MIT", "optional": true, "os": [ "linux" @@ -11591,12 +11425,13 @@ } }, "node_modules/@swc/core-linux-arm64-musl": { - "version": "1.5.24", - "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.5.24.tgz", - "integrity": "sha512-vd2/hfOBGbrX21FxsFdXCUaffjkHvlZkeE2UMRajdXifwv79jqOHIJg3jXG1F3ZrhCghCzirFts4tAZgcG8XWg==", + "version": "1.11.29", + "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.11.29.tgz", + "integrity": "sha512-PwjB10BC0N+Ce7RU/L23eYch6lXFHz7r3NFavIcwDNa/AAqywfxyxh13OeRy+P0cg7NDpWEETWspXeI4Ek8otw==", "cpu": [ "arm64" ], + "license": "Apache-2.0 AND MIT", "optional": true, "os": [ "linux" @@ -11607,12 +11442,13 @@ } }, "node_modules/@swc/core-linux-x64-gnu": { - "version": "1.5.24", - "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.5.24.tgz", - "integrity": "sha512-Zrdzi7NqzQxm2BvAG5KyOSBEggQ7ayrxh599AqqevJmsUXJ8o2nMiWQOBvgCGp7ye+Biz3pvZn1EnRzAp+TpUg==", + "version": "1.11.29", + "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.11.29.tgz", + "integrity": "sha512-i62vBVoPaVe9A3mc6gJG07n0/e7FVeAvdD9uzZTtGLiuIfVfIBta8EMquzvf+POLycSk79Z6lRhGPZPJPYiQaA==", "cpu": [ "x64" ], + "license": "Apache-2.0 AND MIT", "optional": true, "os": [ "linux" @@ -11623,12 +11459,13 @@ } }, "node_modules/@swc/core-linux-x64-musl": { - "version": "1.5.24", - "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.5.24.tgz", - "integrity": "sha512-1F8z9NRi52jdZQCGc5sflwYSctL6omxiVmIFVp8TC9nngjQKc00TtX/JC2Eo2HwvgupkFVl5YQJidAck9YtmJw==", + "version": "1.11.29", + "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.11.29.tgz", + "integrity": "sha512-YER0XU1xqFdK0hKkfSVX1YIyCvMDI7K07GIpefPvcfyNGs38AXKhb2byySDjbVxkdl4dycaxxhRyhQ2gKSlsFQ==", "cpu": [ "x64" ], + "license": "Apache-2.0 AND MIT", "optional": true, "os": [ "linux" @@ -11639,12 +11476,13 @@ } }, "node_modules/@swc/core-win32-arm64-msvc": { - "version": "1.5.24", - "resolved": "https://registry.npmjs.org/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.5.24.tgz", - "integrity": "sha512-cKpP7KvS6Xr0jFSTBXY53HZX/YfomK5EMQYpCVDOvfsZeYHN20sQSKXfpVLvA/q2igVt1zzy1XJcOhpJcgiKLg==", + "version": "1.11.29", + "resolved": "https://registry.npmjs.org/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.11.29.tgz", + "integrity": "sha512-po+WHw+k9g6FAg5IJ+sMwtA/fIUL3zPQ4m/uJgONBATCVnDDkyW6dBA49uHNVtSEvjvhuD8DVWdFP847YTcITw==", "cpu": [ "arm64" ], + "license": "Apache-2.0 AND MIT", "optional": true, "os": [ "win32" @@ -11655,12 +11493,13 @@ } }, "node_modules/@swc/core-win32-ia32-msvc": { - "version": "1.5.24", - "resolved": "https://registry.npmjs.org/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.5.24.tgz", - "integrity": "sha512-IoPWfi0iwqjZuf7gE223+B97/ZwkKbu7qL5KzGP7g3hJrGSKAvv7eC5Y9r2iKKtLKyv5R/T6Ho0kFR/usi7rHw==", + "version": "1.11.29", + "resolved": "https://registry.npmjs.org/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.11.29.tgz", + "integrity": "sha512-h+NjOrbqdRBYr5ItmStmQt6x3tnhqgwbj9YxdGPepbTDamFv7vFnhZR0YfB3jz3UKJ8H3uGJ65Zw1VsC+xpFkg==", "cpu": [ "ia32" ], + "license": "Apache-2.0 AND MIT", "optional": true, "os": [ "win32" @@ -11671,12 +11510,13 @@ } }, "node_modules/@swc/core-win32-x64-msvc": { - "version": "1.5.24", - "resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.5.24.tgz", - "integrity": "sha512-zHgF2k1uVJL8KIW+PnVz1To4a3Cz9THbh2z2lbehaF/gKHugH4c3djBozU4das1v35KOqf5jWIEviBLql2wDLQ==", + "version": "1.11.29", + "resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.11.29.tgz", + "integrity": "sha512-Q8cs2BDV9wqDvqobkXOYdC+pLUSEpX/KvI0Dgfun1F+LzuLotRFuDhrvkU9ETJA6OnD2+Fn/ieHgloiKA/Mn/g==", "cpu": [ "x64" ], + "license": "Apache-2.0 AND MIT", "optional": true, "os": [ "win32" @@ -11691,13 +11531,15 @@ "resolved": "https://registry.npmjs.org/@swc/counter/-/counter-0.1.3.tgz", "integrity": "sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==", "devOptional": true, + "license": "Apache-2.0", "peer": true }, "node_modules/@swc/types": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/@swc/types/-/types-0.1.7.tgz", - "integrity": "sha512-scHWahbHF0eyj3JsxG9CFJgFdFNaVQCNAimBlT6PzS3n/HptxqREjsm4OH6AN3lYcffZYSPxXW8ua2BEHp0lJQ==", + "version": "0.1.21", + "resolved": "https://registry.npmjs.org/@swc/types/-/types-0.1.21.tgz", + "integrity": "sha512-2YEtj5HJVbKivud9N4bpPBAyZhj4S2Ipe5LkUG94alTpr7in/GU/EARgPAd3BwU+YOmFVJC2+kjqhGRi3r0ZpQ==", "devOptional": true, + "license": "Apache-2.0", "peer": true, "dependencies": { "@swc/counter": "^0.1.3" @@ -11711,44 +11553,11 @@ "node": ">= 10" } }, - "node_modules/@tsconfig/node10": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.9.tgz", - "integrity": "sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==", - "dev": true, - "optional": true, - "peer": true - }, - "node_modules/@tsconfig/node12": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.11.tgz", - "integrity": "sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==", - "dev": true, - "optional": true, - "peer": true - }, - "node_modules/@tsconfig/node14": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.3.tgz", - "integrity": "sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==", - "dev": true, - "optional": true, - "peer": true - }, - "node_modules/@tsconfig/node16": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.4.tgz", - "integrity": "sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==", - "dev": true, - "optional": true, - "peer": true - }, "node_modules/@tybys/wasm-util": { "version": "0.9.0", "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.9.0.tgz", "integrity": "sha512-6+7nlbMVX/PVDCwaIQ8nTOPveOcFLSt8GcXdx8hD0bt39uWxYT88uXzqTd4fTvqta7oeUJqudepapKNt2DYJFw==", "license": "MIT", - "optional": true, "dependencies": { "tslib": "^2.4.0" } @@ -12546,21 +12355,23 @@ "license": "BSD-2-Clause" }, "node_modules/@yarnpkg/parsers": { - "version": "3.0.0-rc.46", - "resolved": "https://registry.npmjs.org/@yarnpkg/parsers/-/parsers-3.0.0-rc.46.tgz", - "integrity": "sha512-aiATs7pSutzda/rq8fnuPwTglyVwjM22bNnK2ZgjrpAjQHSSl3lztd2f9evst1W/qnC58DRz7T7QndUDumAR4Q==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@yarnpkg/parsers/-/parsers-3.0.2.tgz", + "integrity": "sha512-/HcYgtUSiJiot/XWGLOlGxPYUG65+/31V8oqk17vZLW1xlCoR4PampyePljOxY2n8/3jz9+tIFzICsyGujJZoA==", + "license": "BSD-2-Clause", "dependencies": { "js-yaml": "^3.10.0", "tslib": "^2.4.0" }, "engines": { - "node": ">=14.15.0" + "node": ">=18.12.0" } }, "node_modules/@yarnpkg/parsers/node_modules/argparse": { "version": "1.0.10", "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "license": "MIT", "dependencies": { "sprintf-js": "~1.0.2" } @@ -12569,6 +12380,7 @@ "version": "3.14.1", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "license": "MIT", "dependencies": { "argparse": "^1.0.7", "esprima": "^4.0.0" @@ -12630,17 +12442,6 @@ "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" } }, - "node_modules/acorn-walk": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.2.tgz", - "integrity": "sha512-cjkyv4OtNCIeqhHrfS81QWXoCBPExR/J62oyEqepVw8WaQeSqpW2uhuLPh1m9eWhDuOo/jUXVTlifvesOWp/4A==", - "dev": true, - "optional": true, - "peer": true, - "engines": { - "node": ">=0.4.0" - } - }, "node_modules/agent-base": { "version": "6.0.2", "dev": true, @@ -12777,14 +12578,6 @@ "node": ">=8" } }, - "node_modules/arg": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", - "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==", - "dev": true, - "optional": true, - "peer": true - }, "node_modules/argparse": { "version": "2.0.1", "license": "Python-2.0" @@ -13019,9 +12812,10 @@ "dev": true }, "node_modules/async": { - "version": "3.2.5", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.5.tgz", - "integrity": "sha512-baNZyqaaLhyLVKm/DlvdW051MSgO6b8eVfIezl9E5PqWxFgzLm/wQntEW4zOytVburDEr0JlALEpdOFwvErLsg==" + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.6.tgz", + "integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==", + "license": "MIT" }, "node_modules/asynckit": { "version": "0.4.0", @@ -13087,11 +12881,12 @@ } }, "node_modules/axios": { - "version": "1.6.7", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.7.tgz", - "integrity": "sha512-/hDJGff6/c7u0hDkvkGxR/oy6CbCs8ziCsC7SqmhjfozqiJGc8Z11wrv9z9lYfY4K8l+H9TpjcMDX0xOZmx+RA==", + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.9.0.tgz", + "integrity": "sha512-re4CqKTJaURpzbLHtIi6XpDv20/CnpXOtjRY5/CU32L8gU8ek9UIivcfvSWvmKEngmVbrUtPpdDwWDWL7DNHvg==", + "license": "MIT", "dependencies": { - "follow-redirects": "^1.15.4", + "follow-redirects": "^1.15.6", "form-data": "^4.0.0", "proxy-from-env": "^1.1.0" } @@ -13243,52 +13038,6 @@ "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/babel-plugin-macros": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz", - "integrity": "sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg==", - "dev": true, - "optional": true, - "peer": true, - "dependencies": { - "@babel/runtime": "^7.12.5", - "cosmiconfig": "^7.0.0", - "resolve": "^1.19.0" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - } - }, - "node_modules/babel-plugin-macros/node_modules/cosmiconfig": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.1.0.tgz", - "integrity": "sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA==", - "dev": true, - "optional": true, - "peer": true, - "dependencies": { - "@types/parse-json": "^4.0.0", - "import-fresh": "^3.2.1", - "parse-json": "^5.0.0", - "path-type": "^4.0.0", - "yaml": "^1.10.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/babel-plugin-macros/node_modules/yaml": { - "version": "1.10.2", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", - "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", - "dev": true, - "optional": true, - "peer": true, - "engines": { - "node": ">= 6" - } - }, "node_modules/babel-plugin-polyfill-corejs2": { "version": "0.4.11", "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.11.tgz", @@ -14446,14 +14195,6 @@ "node": ">=8" } }, - "node_modules/create-require": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", - "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==", - "dev": true, - "optional": true, - "peer": true - }, "node_modules/cross-fetch": { "version": "3.1.8", "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.8.tgz", @@ -15085,17 +14826,6 @@ "node": ">=0.8.0" } }, - "node_modules/diff": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", - "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", - "dev": true, - "optional": true, - "peer": true, - "engines": { - "node": ">=0.3.1" - } - }, "node_modules/diff-sequences": { "version": "29.6.3", "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.6.3.tgz", @@ -15147,22 +14877,30 @@ } }, "node_modules/dotenv": { - "version": "16.3.2", - "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.3.2.tgz", - "integrity": "sha512-HTlk5nmhkm8F6JcdXvHIzaorzCoziNQT9mGxLPVXW8wJF1TiGSL60ZGB4gHWabHOaMmWmhvk2/lPHfnBiT78AQ==", + "version": "16.4.7", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.7.tgz", + "integrity": "sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ==", + "license": "BSD-2-Clause", "engines": { "node": ">=12" }, "funding": { - "url": "https://github.com/motdotla/dotenv?sponsor=1" + "url": "https://dotenvx.com" } }, "node_modules/dotenv-expand": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/dotenv-expand/-/dotenv-expand-10.0.0.tgz", - "integrity": "sha512-GopVGCpVS1UKH75VKHGuQFqS1Gusej0z4FyQkPdwjil2gNIv+LNsqBlboOzpJFZKVT95GkCyWJbBSdFEFUWI2A==", + "version": "11.0.7", + "resolved": "https://registry.npmjs.org/dotenv-expand/-/dotenv-expand-11.0.7.tgz", + "integrity": "sha512-zIHwmZPRshsCdpMDyVsqGmgyP0yT8GAgXUnkdAoJisxvf33k7yO6OuoKmcTGuXPWSsm8Oh88nZicRLA9Y0rUeA==", + "license": "BSD-2-Clause", + "dependencies": { + "dotenv": "^16.4.5" + }, "engines": { "node": ">=12" + }, + "funding": { + "url": "https://dotenvx.com" } }, "node_modules/drange": { @@ -15228,11 +14966,6 @@ "node": ">=4" } }, - "node_modules/duplexer": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.2.tgz", - "integrity": "sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==" - }, "node_modules/duplexer2": { "version": "0.1.4", "dev": true, @@ -15253,9 +14986,10 @@ "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==" }, "node_modules/ejs": { - "version": "3.1.9", - "resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.9.tgz", - "integrity": "sha512-rC+QVNMJWv+MtPgkt0y+0rVEIdbtxVADApW9JXrUVlzHetgcyczP/E7DJmWJ4fJCZF2cPcBk0laWO9ZHMG3DmQ==", + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.10.tgz", + "integrity": "sha512-UeJmFfOrAQS8OJWPZ4qtgHyWExa088/MtK5UEyoJGFH67cDEXkZSviOiKRCZ4Xij0zxI3JECgYs3oKx+AizQBA==", + "license": "Apache-2.0", "dependencies": { "jake": "^10.8.5" }, @@ -16702,6 +16436,7 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/filelist/-/filelist-1.0.4.tgz", "integrity": "sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q==", + "license": "Apache-2.0", "dependencies": { "minimatch": "^5.0.1" } @@ -16710,6 +16445,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0" } @@ -16718,6 +16454,7 @@ "version": "5.1.6", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "license": "ISC", "dependencies": { "brace-expansion": "^2.0.1" }, @@ -16857,15 +16594,16 @@ "dev": true }, "node_modules/follow-redirects": { - "version": "1.15.5", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.5.tgz", - "integrity": "sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw==", + "version": "1.15.9", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.9.tgz", + "integrity": "sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==", "funding": [ { "type": "individual", "url": "https://github.com/sponsors/RubenVerborgh" } ], + "license": "MIT", "engines": { "node": ">=4.0" }, @@ -17031,6 +16769,7 @@ "version": "11.3.0", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.0.tgz", "integrity": "sha512-Z4XaCL6dUDHfP/jT25jJKMmtxvuwbkrD1vNSMFlo9lNLY2c5FHYSQgHPRZUjAB26TpDEoW9HCOgplrdbaPV/ew==", + "dev": true, "license": "MIT", "dependencies": { "graceful-fs": "^4.2.0", @@ -17483,6 +17222,7 @@ }, "node_modules/graceful-fs": { "version": "4.2.10", + "dev": true, "license": "ISC" }, "node_modules/graphemer": { @@ -18811,9 +18551,10 @@ } }, "node_modules/jake": { - "version": "10.8.7", - "resolved": "https://registry.npmjs.org/jake/-/jake-10.8.7.tgz", - "integrity": "sha512-ZDi3aP+fG/LchyBzUM804VjddnwfSfsdeYkwt8NcbKRvo4rFkjhs456iLFn3k2ZUWvNe4i48WACDbza8fhq2+w==", + "version": "10.9.2", + "resolved": "https://registry.npmjs.org/jake/-/jake-10.9.2.tgz", + "integrity": "sha512-2P4SQ0HrLQ+fw6llpLnOaGAvN2Zu6778SJMrCUwns4fOoG9ayrTiZk3VV8sCPkVZF8ab0zksVpS8FDY5pRCNBA==", + "license": "Apache-2.0", "dependencies": { "async": "^3.2.3", "chalk": "^4.0.2", @@ -18831,6 +18572,7 @@ "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -18845,6 +18587,7 @@ "version": "4.1.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -18860,6 +18603,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -18870,12 +18614,14 @@ "node_modules/jake/node_modules/color-name": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "license": "MIT" }, "node_modules/jake/node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "license": "MIT", "engines": { "node": ">=8" } @@ -18884,6 +18630,7 @@ "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -20792,6 +20539,7 @@ }, "node_modules/jsonfile": { "version": "6.1.0", + "dev": true, "license": "MIT", "dependencies": { "universalify": "^2.0.0" @@ -20957,9 +20705,10 @@ } }, "node_modules/lines-and-columns": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-2.0.4.tgz", - "integrity": "sha512-wM1+Z03eypVAVUCE7QdSqpVIvelbOakn1M0bPDoA4SGWPx3sNDVUiMo3L6To6WWGClB7VyXnhQ4Sn7gxiJbE6A==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-2.0.3.tgz", + "integrity": "sha512-cNOjgCnLB+FnvWWtyRTzmB3POJ+cXxTA81LoW7u8JdmhfXzriropYwpjShnz1QLLWsQwY7nIxoDmcPTwphDK9w==", + "license": "MIT", "engines": { "node": "^12.20.0 || ^14.13.1 || >=16.0.0" } @@ -21762,14 +21511,6 @@ "node": ">=10" } }, - "node_modules/make-error": { - "version": "1.3.6", - "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", - "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", - "dev": true, - "optional": true, - "peer": true - }, "node_modules/makeerror": { "version": "1.0.12", "resolved": "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz", @@ -25781,43 +25522,45 @@ "integrity": "sha512-2vPPEi+Z7WqML2jZYddDIfy5Dqb0r2fze2zTxNNknZaFpVHU3mFB3R+DWeJWGVx0ecvttSGlJTI+WG+8Z4cDWw==" }, "node_modules/nx": { - "version": "19.2.3", - "resolved": "https://registry.npmjs.org/nx/-/nx-19.2.3.tgz", - "integrity": "sha512-SvxFgk9PD2m6tXEaqB6DENOpe4jhov/Ili/2JmOnPAAIGUR6H9WajCzVuHfq3bvQxmGRvkQQRv/rfvAuLTme3g==", + "version": "21.1.2", + "resolved": "https://registry.npmjs.org/nx/-/nx-21.1.2.tgz", + "integrity": "sha512-oczAEOOkQHElxCXs2g2jXDRabDRsmub/h5SAgqAUDSJ2CRnYGVVlgZX7l+o+A9kSqfONyLy5FlJ1pSWlvPuG4w==", "hasInstallScript": true, + "license": "MIT", "dependencies": { - "@nrwl/tao": "19.2.3", + "@napi-rs/wasm-runtime": "0.2.4", "@yarnpkg/lockfile": "^1.1.0", - "@yarnpkg/parsers": "3.0.0-rc.46", + "@yarnpkg/parsers": "3.0.2", "@zkochan/js-yaml": "0.0.7", - "axios": "^1.6.0", + "axios": "^1.8.3", "chalk": "^4.1.0", "cli-cursor": "3.1.0", "cli-spinners": "2.6.1", "cliui": "^8.0.1", - "dotenv": "~16.3.1", - "dotenv-expand": "~10.0.0", + "dotenv": "~16.4.5", + "dotenv-expand": "~11.0.6", "enquirer": "~2.3.6", "figures": "3.2.0", "flat": "^5.0.2", "front-matter": "^4.0.2", - "fs-extra": "^11.1.0", "ignore": "^5.0.4", "jest-diff": "^29.4.1", "jsonc-parser": "3.2.0", - "lines-and-columns": "~2.0.3", + "lines-and-columns": "2.0.3", "minimatch": "9.0.3", "node-machine-id": "1.1.12", "npm-run-path": "^4.0.1", "open": "^8.4.0", "ora": "5.3.0", + "resolve.exports": "2.0.3", "semver": "^7.5.3", "string-width": "^4.2.3", - "strong-log-transformer": "^2.1.0", "tar-stream": "~2.2.0", "tmp": "~0.2.1", + "tree-kill": "^1.2.2", "tsconfig-paths": "^4.1.2", "tslib": "^2.3.0", + "yaml": "^2.6.0", "yargs": "^17.6.2", "yargs-parser": "21.1.1" }, @@ -25826,16 +25569,16 @@ "nx-cloud": "bin/nx-cloud.js" }, "optionalDependencies": { - "@nx/nx-darwin-arm64": "19.2.3", - "@nx/nx-darwin-x64": "19.2.3", - "@nx/nx-freebsd-x64": "19.2.3", - "@nx/nx-linux-arm-gnueabihf": "19.2.3", - "@nx/nx-linux-arm64-gnu": "19.2.3", - "@nx/nx-linux-arm64-musl": "19.2.3", - "@nx/nx-linux-x64-gnu": "19.2.3", - "@nx/nx-linux-x64-musl": "19.2.3", - "@nx/nx-win32-arm64-msvc": "19.2.3", - "@nx/nx-win32-x64-msvc": "19.2.3" + "@nx/nx-darwin-arm64": "21.1.2", + "@nx/nx-darwin-x64": "21.1.2", + "@nx/nx-freebsd-x64": "21.1.2", + "@nx/nx-linux-arm-gnueabihf": "21.1.2", + "@nx/nx-linux-arm64-gnu": "21.1.2", + "@nx/nx-linux-arm64-musl": "21.1.2", + "@nx/nx-linux-x64-gnu": "21.1.2", + "@nx/nx-linux-x64-musl": "21.1.2", + "@nx/nx-win32-arm64-msvc": "21.1.2", + "@nx/nx-win32-x64-msvc": "21.1.2" }, "peerDependencies": { "@swc-node/register": "^1.8.0", @@ -25850,6 +25593,17 @@ } } }, + "node_modules/nx/node_modules/@napi-rs/wasm-runtime": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-0.2.4.tgz", + "integrity": "sha512-9zESzOO5aDByvhIAsOy9TbpZ0Ur2AJbUI7UT73kcUTS2mxAMHOBaa1st/jAymNoCtvrit99kkzT1FZuXVcgfIQ==", + "license": "MIT", + "dependencies": { + "@emnapi/core": "^1.1.0", + "@emnapi/runtime": "^1.1.0", + "@tybys/wasm-util": "^0.9.0" + } + }, "node_modules/nx/node_modules/ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", @@ -26008,6 +25762,18 @@ "node": ">=6" } }, + "node_modules/nx/node_modules/yaml": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.0.tgz", + "integrity": "sha512-4lLa/EcQCB0cJkyts+FpIRx5G/llPxfP6VQU5KByHEhLxY3IJCH0f0Hy1MHI8sClTvsIb8qwRJ6R/ZdlDJ/leQ==", + "license": "ISC", + "bin": { + "yaml": "bin.mjs" + }, + "engines": { + "node": ">= 14.6" + } + }, "node_modules/object-assign": { "version": "4.1.1", "license": "MIT", @@ -28268,10 +28034,10 @@ } }, "node_modules/resolve.exports": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/resolve.exports/-/resolve.exports-2.0.2.tgz", - "integrity": "sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg==", - "dev": true, + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/resolve.exports/-/resolve.exports-2.0.3.tgz", + "integrity": "sha512-OcXjMsGdhL4XnbShKpAcSqPMzQoYkYyhbEaeSko47MjRP9NfEQMhZkXL1DoFlt9LWQn4YttrdnV6X2OiyzBi+A==", + "license": "MIT", "engines": { "node": ">=10" } @@ -29295,22 +29061,6 @@ "resolved": "https://registry.npmjs.org/strnum/-/strnum-1.0.5.tgz", "integrity": "sha512-J8bbNyKKXl5qYcR36TIO8W3mVGVHrmmxsd5PAItGkmyzwJvybiw2IVq5nqd0i4LSNSkB/sx9VHllbfFdr9k1JA==" }, - "node_modules/strong-log-transformer": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/strong-log-transformer/-/strong-log-transformer-2.1.0.tgz", - "integrity": "sha512-B3Hgul+z0L9a236FAUC9iZsL+nVHgoCJnqCbN588DjYxvGXaXaaFbfmQ/JhvKjZwsOukuR72XbHv71Qkug0HxA==", - "dependencies": { - "duplexer": "^0.1.1", - "minimist": "^1.2.0", - "through": "^2.3.4" - }, - "bin": { - "sl-log-transformer": "bin/sl-log-transformer.js" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/subscription-webhooks": { "resolved": "examples/subscription-webhooks", "link": true @@ -29580,6 +29330,7 @@ }, "node_modules/through": { "version": "2.3.8", + "dev": true, "license": "MIT" }, "node_modules/through2": { @@ -29698,6 +29449,15 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/tree-kill": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.2.tgz", + "integrity": "sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==", + "license": "MIT", + "bin": { + "tree-kill": "cli.js" + } + }, "node_modules/trim-newlines": { "version": "3.0.1", "dev": true, @@ -29727,51 +29487,6 @@ "typescript": ">=4.2.0" } }, - "node_modules/ts-node": { - "version": "10.9.1", - "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.1.tgz", - "integrity": "sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==", - "dev": true, - "optional": true, - "peer": true, - "dependencies": { - "@cspotcode/source-map-support": "^0.8.0", - "@tsconfig/node10": "^1.0.7", - "@tsconfig/node12": "^1.0.7", - "@tsconfig/node14": "^1.0.0", - "@tsconfig/node16": "^1.0.2", - "acorn": "^8.4.1", - "acorn-walk": "^8.1.1", - "arg": "^4.1.0", - "create-require": "^1.1.0", - "diff": "^4.0.1", - "make-error": "^1.1.1", - "v8-compile-cache-lib": "^3.0.1", - "yn": "3.1.1" - }, - "bin": { - "ts-node": "dist/bin.js", - "ts-node-cwd": "dist/bin-cwd.js", - "ts-node-esm": "dist/bin-esm.js", - "ts-node-script": "dist/bin-script.js", - "ts-node-transpile-only": "dist/bin-transpile.js", - "ts-script": "dist/bin-script-deprecated.js" - }, - "peerDependencies": { - "@swc/core": ">=1.2.50", - "@swc/wasm": ">=1.2.50", - "@types/node": "*", - "typescript": ">=2.7" - }, - "peerDependenciesMeta": { - "@swc/core": { - "optional": true - }, - "@swc/wasm": { - "optional": true - } - } - }, "node_modules/tsconfig-paths": { "version": "3.15.0", "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.15.0.tgz", @@ -30263,6 +29978,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", + "dev": true, "license": "MIT", "engines": { "node": ">= 10.0.0" @@ -30393,14 +30109,6 @@ "uuid": "dist/bin/uuid" } }, - "node_modules/v8-compile-cache-lib": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz", - "integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==", - "dev": true, - "optional": true, - "peer": true - }, "node_modules/v8-to-istanbul": { "version": "9.1.3", "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.1.3.tgz", @@ -30966,17 +30674,6 @@ "node": ">=8" } }, - "node_modules/yn": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz", - "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==", - "dev": true, - "optional": true, - "peer": true, - "engines": { - "node": ">=6" - } - }, "node_modules/yocto-queue": { "version": "0.1.0", "license": "MIT", @@ -31587,7 +31284,7 @@ "packages/@clc/nx": { "dependencies": { "@code-like-a-carpenter/tooling-common": "*", - "@nx/devkit": "^19.1.1", + "@nx/devkit": "^21.1.2", "@schemastore/package": "^0.0.10", "esbuild": "^0.25.2", "minimatch": "^9.0.3", @@ -32490,7 +32187,7 @@ "@code-like-a-carpenter/cli-core": "*", "@code-like-a-carpenter/tooling-common": "*", "@code-like-a-carpenter/workbench-config": "*", - "@nx/devkit": "^19.2.2", + "@nx/devkit": "^21.1.2", "depcheck": "^1.4.7", "minimatch": "^9.0.3" }, @@ -32536,7 +32233,7 @@ "@graphql-codegen/plugin-helpers": "^5.0.4", "@graphql-codegen/typescript": "^4.0.7", "@graphql-tools/schema": "^10.0.4", - "@nx/devkit": "^19.1.1", + "@nx/devkit": "^21.1.2", "graphql": "^16.8.1", "zod": "^3.23.8" }, @@ -32555,7 +32252,7 @@ "@babel/types": "^7.24.6", "@code-like-a-carpenter/assert": "*", "@code-like-a-carpenter/cli-core": "*", - "@nx/devkit": "^19.2.2" + "@nx/devkit": "^21.1.2" }, "engines": { "node": "22.x" @@ -32566,7 +32263,7 @@ "dependencies": { "@code-like-a-carpenter/cli-core": "*", "@code-like-a-carpenter/tooling-common": "*", - "@nx/devkit": "^19.2.2", + "@nx/devkit": "^21.1.2", "json-schema-to-typescript": "^14.0.4" }, "devDependencies": { @@ -32583,7 +32280,7 @@ "@code-like-a-carpenter/assert": "*", "@code-like-a-carpenter/cli-core": "*", "@code-like-a-carpenter/tooling-common": "*", - "@nx/devkit": "^19.2.2", + "@nx/devkit": "^21.1.2", "express": "^4.19.2", "http-proxy": "^1.18.1", "lodash.snakecase": "^4.1.1", @@ -33035,7 +32732,7 @@ "@code-like-a-carpenter/cli-core": "*", "@code-like-a-carpenter/tool-json-schema": "*", "@code-like-a-carpenter/tooling-common": "*", - "@nx/devkit": "^19.2.2", + "@nx/devkit": "^21.1.2", "@schemastore/package": "^0.0.10", "find-up": "^5.0.0", "lodash.camelcase": "^4.3.0", diff --git a/package.json b/package.json index ad9a6e29..ba6e9b35 100644 --- a/package.json +++ b/package.json @@ -68,7 +68,7 @@ "markdown-toc": "^1.2.0", "multi-semantic-release": "^3.0.1", "npm-run-all": "^4.1.5", - "nx": "^19.1.1", + "nx": "21.1.2", "openapi-typescript": "^6.7.6", "patch-package": "^8.0.0", "prettier": "^3.3.0", diff --git a/packages/@clc/nx/package.json b/packages/@clc/nx/package.json index 19dc26ee..1ff4a0ea 100644 --- a/packages/@clc/nx/package.json +++ b/packages/@clc/nx/package.json @@ -3,7 +3,7 @@ "main": "./src/index.mjs", "dependencies": { "@code-like-a-carpenter/tooling-common": "*", - "@nx/devkit": "^19.1.1", + "@nx/devkit": "^21.1.2", "@schemastore/package": "^0.0.10", "esbuild": "^0.25.2", "minimatch": "^9.0.3", diff --git a/packages/@code-like-a-carpenter/tool-deps/package.json b/packages/@code-like-a-carpenter/tool-deps/package.json index 9c7cb295..720a9547 100644 --- a/packages/@code-like-a-carpenter/tool-deps/package.json +++ b/packages/@code-like-a-carpenter/tool-deps/package.json @@ -5,7 +5,7 @@ "@code-like-a-carpenter/cli-core": "*", "@code-like-a-carpenter/tooling-common": "*", "@code-like-a-carpenter/workbench-config": "*", - "@nx/devkit": "^19.2.2", + "@nx/devkit": "^21.1.2", "depcheck": "^1.4.7", "minimatch": "^9.0.3" }, diff --git a/packages/@code-like-a-carpenter/tool-foundation/package.json b/packages/@code-like-a-carpenter/tool-foundation/package.json index 799b4ec6..8c370ad5 100644 --- a/packages/@code-like-a-carpenter/tool-foundation/package.json +++ b/packages/@code-like-a-carpenter/tool-foundation/package.json @@ -37,7 +37,7 @@ "@graphql-codegen/plugin-helpers": "^5.0.4", "@graphql-codegen/typescript": "^4.0.7", "@graphql-tools/schema": "^10.0.4", - "@nx/devkit": "^19.1.1", + "@nx/devkit": "^21.1.2", "graphql": "^16.8.1", "zod": "^3.23.8" }, diff --git a/packages/@code-like-a-carpenter/tool-inliner/package.json b/packages/@code-like-a-carpenter/tool-inliner/package.json index 4b6c1884..cee65a19 100644 --- a/packages/@code-like-a-carpenter/tool-inliner/package.json +++ b/packages/@code-like-a-carpenter/tool-inliner/package.json @@ -32,7 +32,7 @@ "@babel/types": "^7.24.6", "@code-like-a-carpenter/assert": "*", "@code-like-a-carpenter/cli-core": "*", - "@nx/devkit": "^19.2.2" + "@nx/devkit": "^21.1.2" }, "types": "./dist/types/index.d.mts", "type": "module" diff --git a/packages/@code-like-a-carpenter/tool-json-schema/package.json b/packages/@code-like-a-carpenter/tool-json-schema/package.json index 74afad13..b87c6569 100644 --- a/packages/@code-like-a-carpenter/tool-json-schema/package.json +++ b/packages/@code-like-a-carpenter/tool-json-schema/package.json @@ -29,7 +29,7 @@ "dependencies": { "@code-like-a-carpenter/cli-core": "*", "@code-like-a-carpenter/tooling-common": "*", - "@nx/devkit": "^19.2.2", + "@nx/devkit": "^21.1.2", "json-schema-to-typescript": "^14.0.4" }, "types": "./dist/types/index.d.mts", diff --git a/packages/@code-like-a-carpenter/tool-stack/package.json b/packages/@code-like-a-carpenter/tool-stack/package.json index f41737f9..4938ed11 100644 --- a/packages/@code-like-a-carpenter/tool-stack/package.json +++ b/packages/@code-like-a-carpenter/tool-stack/package.json @@ -31,7 +31,7 @@ "@code-like-a-carpenter/assert": "*", "@code-like-a-carpenter/cli-core": "*", "@code-like-a-carpenter/tooling-common": "*", - "@nx/devkit": "^19.2.2", + "@nx/devkit": "^21.1.2", "express": "^4.19.2", "http-proxy": "^1.18.1", "lodash.snakecase": "^4.1.1", diff --git a/packages/@code-like-a-carpenter/tool-tool/package.json b/packages/@code-like-a-carpenter/tool-tool/package.json index 0822f0a7..5efd6ce2 100644 --- a/packages/@code-like-a-carpenter/tool-tool/package.json +++ b/packages/@code-like-a-carpenter/tool-tool/package.json @@ -6,7 +6,7 @@ "@code-like-a-carpenter/cli-core": "*", "@code-like-a-carpenter/tool-json-schema": "*", "@code-like-a-carpenter/tooling-common": "*", - "@nx/devkit": "^19.2.2", + "@nx/devkit": "^21.1.2", "@schemastore/package": "^0.0.10", "find-up": "^5.0.0", "lodash.camelcase": "^4.3.0", diff --git a/patches/nx+19.2.3.patch b/patches/nx+19.2.3.patch deleted file mode 100644 index 8a918813..00000000 --- a/patches/nx+19.2.3.patch +++ /dev/null @@ -1,86 +0,0 @@ -diff --git a/node_modules/nx/src/command-line/release/config/config.d.ts b/node_modules/nx/src/command-line/release/config/config.d.ts -index 04c2921..29ee6c3 100644 ---- a/node_modules/nx/src/command-line/release/config/config.d.ts -+++ b/node_modules/nx/src/command-line/release/config/config.d.ts -@@ -25,6 +25,12 @@ type RemoveBooleanFromPropertiesOnEach = { - [U in keyof T]: RemoveBooleanFromProperties; - }; - export declare const IMPLICIT_DEFAULT_RELEASE_GROUP = "__default__"; -+ -+type DefiniteRelease = Exclude; -+type DefiniteChangeLog = Exclude; -+type DefiniteConventionalCommits = Exclude; -+type DefiniteTypes = Exclude; -+ - /** - * Our source of truth is a deeply required variant of the user-facing config interface, so that command - * implementations can be sure that properties will exist and do not need to repeat the same checks over -@@ -34,11 +40,11 @@ export declare const IMPLICIT_DEFAULT_RELEASE_GROUP = "__default__"; - * it easier to work with (the user could be specifying a single string, and they can also use any valid matcher - * pattern such as directories and globs). - */ --export type NxReleaseConfig = Omit, 'changelog'>>; -- changelog: RemoveTrueFromProperties, 'workspaceChangelog' | 'projectChangelogs'>; -+export type NxReleaseConfig = Omit, 'changelog'>>; -+ changelog: RemoveTrueFromProperties, 'workspaceChangelog' | 'projectChangelogs'>; - conventionalCommits: { -- types: RemoveBooleanFromPropertiesOnEach, string>>, 'changelog'>; -+ types: RemoveBooleanFromPropertiesOnEach, string>>, 'changelog'>; - }; - }>, 'projects'>; - export interface CreateNxReleaseConfigError { -diff --git a/node_modules/nx/src/command-line/release/config/filter-release-groups.d.ts b/node_modules/nx/src/command-line/release/config/filter-release-groups.d.ts -index 511e31d..23ff47f 100644 ---- a/node_modules/nx/src/command-line/release/config/filter-release-groups.d.ts -+++ b/node_modules/nx/src/command-line/release/config/filter-release-groups.d.ts -@@ -1,7 +1,8 @@ - import { ProjectGraph } from '../../../config/project-graph'; - import { NxReleaseConfig } from './config'; - import { GroupVersionPlan, ProjectsVersionPlan } from './version-plans'; --export type ReleaseGroupWithName = Omit & { -+type DefiniteGroups = Exclude; -+export type ReleaseGroupWithName = Omit & { - name: string; - versionPlans: (ProjectsVersionPlan | GroupVersionPlan)[] | false; - }; -diff --git a/node_modules/nx/src/native/index.d.ts b/node_modules/nx/src/native/index.d.ts -index 3bd096b..71f4d62 100644 ---- a/node_modules/nx/src/native/index.d.ts -+++ b/node_modules/nx/src/native/index.d.ts -@@ -1,6 +1,13 @@ - /* tslint:disable */ - /* eslint-disable */ - -+type JsInputs = unknown -+type JsExternal = unknown -+type HashInstruction = unknown -+type ProjectFiles = unknown -+type ProjectRootMappings = unknown -+type NapiDashMap = unknown -+ - /* auto-generated by NAPI-RS */ - - export class ExternalObject { -diff --git a/node_modules/nx/src/project-graph/plugins/loader.js b/node_modules/nx/src/project-graph/plugins/loader.js -index 8166029..7f0b029 100644 ---- a/node_modules/nx/src/project-graph/plugins/loader.js -+++ b/node_modules/nx/src/project-graph/plugins/loader.js -@@ -198,7 +198,6 @@ async function loadNxPluginAsync(pluginConfiguration, paths, root) { - performance.mark(`Load Nx Plugin: ${moduleName} - start`); - let { pluginPath, name } = await getPluginPathAndName(moduleName, paths, projectsWithoutInference, root); - const plugin = (0, utils_1.normalizeNxPlugin)(await importPluginModule(pluginPath)); -- plugin.name ??= name; - performance.mark(`Load Nx Plugin: ${moduleName} - end`); - performance.measure(`Load Nx Plugin: ${moduleName}`, `Load Nx Plugin: ${moduleName} - start`, `Load Nx Plugin: ${moduleName} - end`); - return new internal_api_1.LoadedNxPlugin(plugin, pluginConfiguration); -@@ -209,7 +208,7 @@ async function loadNxPluginAsync(pluginConfiguration, paths, root) { - } - exports.loadNxPluginAsync = loadNxPluginAsync; - async function importPluginModule(pluginPath) { -- const m = await Promise.resolve(`${pluginPath}`).then(s => require(s)); -+ const m = await Promise.resolve(`${pluginPath}`).then(s => import(s)); - if (m.default && - ('createNodes' in m.default || 'createDependencies' in m.default)) { - return m.default; diff --git a/patches/nx+21.1.2.patch b/patches/nx+21.1.2.patch new file mode 100644 index 00000000..c325ac35 --- /dev/null +++ b/patches/nx+21.1.2.patch @@ -0,0 +1,216 @@ +diff --git a/node_modules/nx/release/changelog-renderer/index.d.ts b/node_modules/nx/release/changelog-renderer/index.d.ts +index ba7f892..3f4e35f 100644 +--- a/node_modules/nx/release/changelog-renderer/index.d.ts ++++ b/node_modules/nx/release/changelog-renderer/index.d.ts +@@ -54,7 +54,7 @@ export default class DefaultChangelogRenderer { + protected relevantChanges: ChangelogChange[]; + protected breakingChanges: string[]; + protected additionalChangesForAuthorsSection: ChangelogChange[]; +- protected remoteReleaseClient: RemoteReleaseClient; ++ protected remoteReleaseClient: RemoteReleaseClient>; + /** + * A ChangelogRenderer class takes in the determined changes and other relevant metadata + * and returns a string, or a Promise of a string of changelog contents (usually markdown). +@@ -79,7 +79,7 @@ export default class DefaultChangelogRenderer { + changelogRenderOptions: DefaultChangelogRenderOptions; + dependencyBumps?: DependencyBump[]; + conventionalCommitsConfig: NxReleaseConfig['conventionalCommits'] | null; +- remoteReleaseClient: RemoteReleaseClient; ++ remoteReleaseClient: RemoteReleaseClient>; + }); + protected filterChanges(changes: ChangelogChange[], project: string | null): ChangelogChange[]; + render(): Promise; +diff --git a/node_modules/nx/src/command-line/release/config/config.d.ts b/node_modules/nx/src/command-line/release/config/config.d.ts +index 26279d0..d21db04 100644 +--- a/node_modules/nx/src/command-line/release/config/config.d.ts ++++ b/node_modules/nx/src/command-line/release/config/config.d.ts +@@ -26,6 +26,12 @@ type RemoveBooleanFromPropertiesOnEach = { + }; + export declare const IMPLICIT_DEFAULT_RELEASE_GROUP = "__default__"; + export declare const DEFAULT_VERSION_ACTIONS_PATH = "@nx/js/src/release/version-actions"; ++ ++type DefiniteRelease = Exclude; ++type DefiniteChangeLog = Exclude; ++type DefiniteConventionalCommits = Exclude; ++type DefiniteTypes = Exclude; ++ + /** + * Our source of truth is a deeply required variant of the user-facing config interface, so that command + * implementations can be sure that properties will exist and do not need to repeat the same checks over +@@ -37,9 +43,9 @@ export declare const DEFAULT_VERSION_ACTIONS_PATH = "@nx/js/src/release/version- + */ + export type NxReleaseConfig = Omit, 'changelog'>>; +- changelog: RemoveTrueFromProperties, 'workspaceChangelog' | 'projectChangelogs'>; ++ changelog: RemoveTrueFromProperties, 'workspaceChangelog' | 'projectChangelogs'>; + conventionalCommits: { +- types: RemoveBooleanFromPropertiesOnEach, string>>, 'changelog'>; ++ types: RemoveBooleanFromPropertiesOnEach, string>>, 'changelog'>; + }; + }>, 'projects'>; + export interface CreateNxReleaseConfigError { +diff --git a/node_modules/nx/src/command-line/release/config/filter-release-groups.d.ts b/node_modules/nx/src/command-line/release/config/filter-release-groups.d.ts +index 545c16f..3727a45 100644 +--- a/node_modules/nx/src/command-line/release/config/filter-release-groups.d.ts ++++ b/node_modules/nx/src/command-line/release/config/filter-release-groups.d.ts +@@ -1,7 +1,8 @@ + import { ProjectGraph } from '../../../config/project-graph'; + import { NxReleaseConfig } from './config'; + import { GroupVersionPlan, ProjectsVersionPlan } from './version-plans'; +-export type ReleaseGroupWithName = NxReleaseConfig['groups'][string] & { ++type DefiniteGroups = Exclude; ++export type ReleaseGroupWithName = Omit & { + name: string; + resolvedVersionPlans: (ProjectsVersionPlan | GroupVersionPlan)[] | false; + }; +diff --git a/node_modules/nx/src/native/index.d.ts b/node_modules/nx/src/native/index.d.ts +index 94bb030..58a5ba2 100644 +--- a/node_modules/nx/src/native/index.d.ts ++++ b/node_modules/nx/src/native/index.d.ts +@@ -1,6 +1,15 @@ + /* auto-generated by NAPI-RS */ + /* eslint-disable */ + ++type JsInputs = unknown ++type HashInstruction = unknown ++type ParserArc = unknown ++type ProjectFiles = unknown ++type ProjectRootMappings = unknown ++type NapiDashMap = unknown ++type NxDbConnection = unknown ++type WriterArc = unknown ++ + export declare class ExternalObject { + readonly '': { + readonly '': unique symbol +@@ -148,11 +157,11 @@ export interface CachedResult { + size?: number + } + +-export declare export declare function closeDbConnection(connection: ExternalObject): void ++export declare function closeDbConnection(connection: ExternalObject): void + +-export declare export declare function connectToNxDb(cacheDir: string, nxVersion: string, dbName?: string | undefined | null): ExternalObject ++export declare function connectToNxDb(cacheDir: string, nxVersion: string, dbName?: string | undefined | null): ExternalObject + +-export declare export declare function copy(src: string, dest: string): number ++export declare function copy(src: string, dest: string): number + + export interface DepsOutputsInput { + dependentTasksOutputFiles: string +@@ -169,7 +178,7 @@ export declare const enum EventType { + create = 'create' + } + +-export declare export declare function expandOutputs(directory: string, entries: Array): Array ++export declare function expandOutputs(directory: string, entries: Array): Array + + export interface ExternalDependenciesInput { + externalDependencies: Array +@@ -195,21 +204,21 @@ export interface FileSetInput { + fileset: string + } + +-export declare export declare function findImports(projectFileMap: Record>): Array ++export declare function findImports(projectFileMap: Record>): Array + +-export declare export declare function getBinaryTarget(): string ++export declare function getBinaryTarget(): string + +-export declare export declare function getDefaultMaxCacheSize(cachePath: string): number ++export declare function getDefaultMaxCacheSize(cachePath: string): number + + /** + * Expands the given outputs into a list of existing files. + * This is used when hashing outputs + */ +-export declare export declare function getFilesForOutputs(directory: string, entries: Array): Array ++export declare function getFilesForOutputs(directory: string, entries: Array): Array + +-export declare export declare function getTransformableOutputs(outputs: Array): Array ++export declare function getTransformableOutputs(outputs: Array): Array + +-export declare export declare function hashArray(input: Array): string ++export declare function hashArray(input: Array): string + + export interface HashDetails { + value: string +@@ -227,7 +236,7 @@ export interface HasherOptions { + selectivelyHashTsConfig: boolean + } + +-export declare export declare function hashFile(file: string): string | null ++export declare function hashFile(file: string): string | null + + export interface InputsInput { + input: string +@@ -237,9 +246,9 @@ export interface InputsInput { + + export const IS_WASM: boolean + +-export declare export declare function logError(message: string): void ++export declare function logError(message: string): void + +-export declare export declare function logInfo(message: string): void ++export declare function logInfo(message: string): void + + /** Stripped version of the NxJson interface for use in rust */ + export interface NxJson { +@@ -258,7 +267,7 @@ export interface NxWorkspaceFilesExternals { + allWorkspaceFiles: ExternalObject> + } + +-export declare export declare function parseTaskStatus(stringStatus: string): TaskStatus ++export declare function parseTaskStatus(stringStatus: string): TaskStatus + + export interface Project { + root: string +@@ -273,9 +282,9 @@ export interface ProjectGraph { + externalNodes: Record + } + +-export declare export declare function remove(src: string): void ++export declare function remove(src: string): void + +-export declare export declare function restoreTerminal(): void ++export declare function restoreTerminal(): void + + export declare const enum RunMode { + RunOne = 0, +@@ -345,13 +354,13 @@ export interface TaskTarget { + configuration?: string + } + +-export declare export declare function testOnlyTransferFileMap(projectFiles: Record>, nonProjectFiles: Array): NxWorkspaceFilesExternals ++export declare function testOnlyTransferFileMap(projectFiles: Record>, nonProjectFiles: Array): NxWorkspaceFilesExternals + + /** + * Transfer the project graph from the JS world to the Rust world, so that we can pass the project graph via memory quicker + * This wont be needed once the project graph is created in Rust + */ +-export declare export declare function transferProjectGraph(projectGraph: ProjectGraph): ExternalObject ++export declare function transferProjectGraph(projectGraph: ProjectGraph): ExternalObject + + export interface TuiCliArgs { + targets?: string[] | undefined +@@ -367,7 +376,7 @@ export interface UpdatedWorkspaceFiles { + externalReferences: NxWorkspaceFilesExternals + } + +-export declare export declare function validateOutputs(outputs: Array): void ++export declare function validateOutputs(outputs: Array): void + + export interface WatchEvent { + path: string +diff --git a/node_modules/nx/src/project-graph/plugins/load-resolved-plugin.js b/node_modules/nx/src/project-graph/plugins/load-resolved-plugin.js +index 4560b80..3f8a58b 100644 +--- a/node_modules/nx/src/project-graph/plugins/load-resolved-plugin.js ++++ b/node_modules/nx/src/project-graph/plugins/load-resolved-plugin.js +@@ -4,7 +4,6 @@ exports.loadResolvedNxPluginAsync = loadResolvedNxPluginAsync; + const loaded_nx_plugin_1 = require("./loaded-nx-plugin"); + async function loadResolvedNxPluginAsync(pluginConfiguration, pluginPath, name) { + const plugin = await importPluginModule(pluginPath); +- plugin.name ??= name; + return new loaded_nx_plugin_1.LoadedNxPlugin(plugin, pluginConfiguration); + } + async function importPluginModule(pluginPath) { From 2c36f04ece8f942518644569feab7471d65af733 Mon Sep 17 00:00:00 2001 From: ianwremmel <1182361+ianwremmel@users.noreply.github.com> Date: Sun, 25 May 2025 13:06:35 -0700 Subject: [PATCH 2/3] refactor(nx): migrate to createNodesV2 --- packages/@clc/nx/src/create-nodes.mjs | 516 +++++++++++++------------- 1 file changed, 259 insertions(+), 257 deletions(-) diff --git a/packages/@clc/nx/src/create-nodes.mjs b/packages/@clc/nx/src/create-nodes.mjs index 815f6342..9df590a6 100644 --- a/packages/@clc/nx/src/create-nodes.mjs +++ b/packages/@clc/nx/src/create-nodes.mjs @@ -1,319 +1,321 @@ import {existsSync} from 'node:fs'; import path from 'node:path'; +import {createNodesFromFiles} from '@nx/devkit'; + import {addDependency, addPhase, addTarget} from './targets.mjs'; -/** @typedef {import('@nx/devkit').CreateNodes} CreateNodes */ +/** @typedef {import('@nx/devkit').CreateNodesV2} CreateNodesV2 */ /** @typedef {import('@nx/devkit').TargetConfiguration} TargetConfiguration */ -/** @type {CreateNodes} */ -export const createNodes = [ - '**/package.json', - // eslint-disable-next-line complexity - async (projectConfigurationFile) => { - const projectRoot = path.dirname(projectConfigurationFile); - const projectName = projectRoot.includes('@') - ? projectRoot.split('/').slice(-2).join('/') - : path.basename(projectRoot); +/** + * @type {Parameters[0]} + */ +// eslint-disable-next-line complexity +const createNode = async (projectConfigurationFile) => { + const projectRoot = path.dirname(projectConfigurationFile); + const projectName = projectRoot.includes('@') + ? projectRoot.split('/').slice(-2).join('/') + : path.basename(projectRoot); - const projectBaseName = path.basename(projectRoot); + const projectBaseName = path.basename(projectRoot); - if (projectRoot === '.') { - return {}; - } + if (projectRoot === '.') { + return {}; + } - const mjs = existsSync(path.resolve(projectRoot, 'src/index.mjs')); - const mts = existsSync(path.resolve(projectRoot, 'src/index.mts')); + const mjs = existsSync(path.resolve(projectRoot, 'src/index.mjs')); + const mts = existsSync(path.resolve(projectRoot, 'src/index.mts')); - /** @type {Record} */ - let targets = {}; - // Set up the basic phases of the build process + /** @type {Record} */ + let targets = {}; + // Set up the basic phases of the build process - // Codegen produces files that will be committed to the repo. - addPhase(targets, 'codegen'); + // Codegen produces files that will be committed to the repo. + addPhase(targets, 'codegen'); - // Build produces transient files that will not be committed - addPhase(targets, 'build', ['codegen']); + // Build produces transient files that will not be committed + addPhase(targets, 'build', ['codegen']); - // All is just a catchall target that we should consider the default - // target for any repo - addPhase(targets, 'all', ['build', 'codegen']); + // All is just a catchall target that we should consider the default + // target for any repo + addPhase(targets, 'all', ['build', 'codegen']); - addTarget(targets, 'codegen', 'deps', { - cache: true, - executor: '@code-like-a-carpenter/tool-deps:deps', - options: { - definitelyTyped: [ - 'dotenv', - 'http-proxy', - 'js-yaml', - 'lodash.*', - 'prettier', - 'vhost', - 'yargs', - ], - packageName: projectName, + addTarget(targets, 'codegen', 'deps', { + cache: true, + executor: '@code-like-a-carpenter/tool-deps:deps', + options: { + definitelyTyped: [ + 'dotenv', + 'http-proxy', + 'js-yaml', + 'lodash.*', + 'prettier', + 'vhost', + 'yargs', + ], + packageName: projectName, + }, + outputs: ['{projectRoot}/package.json'], + }); + + addTarget(targets, 'codegen', 'executors', { + cache: true, + executor: '@code-like-a-carpenter/tool-json-schema:json-schema', + inputs: ['{projectRoot}/executors/*/schema.json'], + options: { + extension: mjs || mts ? 'mts' : 'ts', + includeExtension: true, + schemas: ['{projectRoot}/executors/*/schema.json'], + }, + outputs: ['{projectRoot}/executors/*/schema.d.json.*'], + }); + + if (projectName.includes('nx')) { + return { + projects: { + [projectRoot]: { + targets, + }, }, - outputs: ['{projectRoot}/package.json'], - }); + }; + } + + let type = 'package'; + if ( + projectBaseName.startsWith('cli-') || + projectBaseName.endsWith('-cli') || + projectBaseName === 'cli' + ) { + type = 'cli'; + } else if (projectConfigurationFile.startsWith('examples')) { + type = 'example'; + } else if (projectName.split('/').pop()?.startsWith('tool-')) { + type = 'tool'; + } - addTarget(targets, 'codegen', 'executors', { + if (type === 'package' || type === 'cli' || type === 'tool') { + addTarget(targets, 'build', 'cjs', { cache: true, - executor: '@code-like-a-carpenter/tool-json-schema:json-schema', - inputs: ['{projectRoot}/executors/*/schema.json'], + dependsOn: ['codegen'], + executor: '@clc/nx:esbuild', options: { - extension: mjs || mts ? 'mts' : 'ts', - includeExtension: true, - schemas: ['{projectRoot}/executors/*/schema.json'], + entryPoints: ['{projectRoot}/src/**/*.?(m)[jt]s?(x)', '!**/*.test.*'], + format: 'cjs', + outDir: '{projectRoot}/dist/cjs', }, - outputs: ['{projectRoot}/executors/*/schema.d.json.*'], + outputs: ['{projectRoot}/dist/cjs'], }); - if (projectName.includes('nx')) { - return { - projects: { - [projectRoot]: { - targets, - }, - }, - }; - } - - let type = 'package'; - if ( - projectBaseName.startsWith('cli-') || - projectBaseName.endsWith('-cli') || - projectBaseName === 'cli' - ) { - type = 'cli'; - } else if (projectConfigurationFile.startsWith('examples')) { - type = 'example'; - } else if (projectName.split('/').pop()?.startsWith('tool-')) { - type = 'tool'; - } - - if (type === 'package' || type === 'cli' || type === 'tool') { - addTarget(targets, 'build', 'cjs', { + if (!mjs) { + addTarget(targets, 'build', 'esm', { cache: true, dependsOn: ['codegen'], executor: '@clc/nx:esbuild', + inputs: ['{projectRoot}/src/**/*'], options: { entryPoints: ['{projectRoot}/src/**/*.?(m)[jt]s?(x)', '!**/*.test.*'], - format: 'cjs', - outDir: '{projectRoot}/dist/cjs', - }, - outputs: ['{projectRoot}/dist/cjs'], - }); - - if (!mjs) { - addTarget(targets, 'build', 'esm', { - cache: true, - dependsOn: ['codegen'], - executor: '@clc/nx:esbuild', - inputs: ['{projectRoot}/src/**/*'], - options: { - entryPoints: [ - '{projectRoot}/src/**/*.?(m)[jt]s?(x)', - '!**/*.test.*', - ], - format: 'esm', - outDir: '{projectRoot}/dist/esm', - }, - outputs: ['{projectRoot}/dist/esm'], - }); - } - - addTarget(targets, 'build', 'types', { - cache: true, - dependsOn: ['^build:types', 'codegen'], - executor: 'nx:run-commands', - inputs: [ - 'sharedGlobals', - '{workspaceRoot}/tsconfig.base.json', - '{workspaceRoot}/tsconfig.references.json', - '{workspaceRoot}/tsconfig.json', - '{projectRoot}/tsconfig.json', - '{projectRoot}/package.json', - '{projectRoot}/src/**/*.[jt]s?(x)', - ], - options: { - command: mjs - ? `tsc --project {projectRoot}/tsconfig.json && scripts/dmts-to-dts {projectRoot}` - : mts - ? `tsc --project {projectRoot}/tsconfig.json && scripts/dmts-to-dts {projectRoot}` - : `tsc --project {projectRoot}/tsconfig.json`, + format: 'esm', + outDir: '{projectRoot}/dist/esm', }, - outputs: [ - '{projectRoot}/dist/.tsconfig.tsbuildinfo', - '{projectRoot}/dist/types', - '{projectRoot}/dist/cjs-types', - ], + outputs: ['{projectRoot}/dist/esm'], }); } - addTarget(targets, 'codegen', 'json-schemas', { + addTarget(targets, 'build', 'types', { cache: true, - executor: '@code-like-a-carpenter/tool-json-schema:json-schema', - inputs: ['{projectRoot}/json-schemas/**/*.json'], + dependsOn: ['^build:types', 'codegen'], + executor: 'nx:run-commands', + inputs: [ + 'sharedGlobals', + '{workspaceRoot}/tsconfig.base.json', + '{workspaceRoot}/tsconfig.references.json', + '{workspaceRoot}/tsconfig.json', + '{projectRoot}/tsconfig.json', + '{projectRoot}/package.json', + '{projectRoot}/src/**/*.[jt]s?(x)', + ], options: { - outDir: '{projectRoot}/src/__generated__/', - schemas: ['{projectRoot}/json-schemas/**/*.json'], + command: mjs + ? `tsc --project {projectRoot}/tsconfig.json && scripts/dmts-to-dts {projectRoot}` + : mts + ? `tsc --project {projectRoot}/tsconfig.json && scripts/dmts-to-dts {projectRoot}` + : `tsc --project {projectRoot}/tsconfig.json`, }, - outputs: ['{projectRoot}/src/__generated__/json-schemas/**/*.ts'], + outputs: [ + '{projectRoot}/dist/.tsconfig.tsbuildinfo', + '{projectRoot}/dist/types', + '{projectRoot}/dist/cjs-types', + ], }); + } + + addTarget(targets, 'codegen', 'json-schemas', { + cache: true, + executor: '@code-like-a-carpenter/tool-json-schema:json-schema', + inputs: ['{projectRoot}/json-schemas/**/*.json'], + options: { + outDir: '{projectRoot}/src/__generated__/', + schemas: ['{projectRoot}/json-schemas/**/*.json'], + }, + outputs: ['{projectRoot}/src/__generated__/json-schemas/**/*.ts'], + }); + + addTarget(targets, 'codegen', 'openapi', { + cache: true, + executor: 'nx:run-commands', + inputs: ['{projectRoot}/api.yml'], + options: { + command: `if [ -e {projectRoot}/api.yml ]; then npx --no-install openapi-typescript {projectRoot}/api.yml --prettier-config ./.prettierrc --output {projectRoot}/src/__generated__/api.ts && npm run eslint -- {projectRoot}/src/__generated__/api.ts --fix; fi`, + }, + outputs: [`{projectRoot}/src/__generated__/api.ts`], + }); + + addTarget(targets, 'codegen', 'package', { + cache: true, + executor: '@clc/nx:package-json', + inputs: ['{workspaceRoot}/package.json'], + options: {mjs, mts, type}, + outputs: ['{projectRoot}/package.json'], + }); - addTarget(targets, 'codegen', 'openapi', { + if (type !== 'example') { + addTarget(targets, 'codegen', 'project-refs', { cache: true, - executor: 'nx:run-commands', - inputs: ['{projectRoot}/api.yml'], - options: { - command: `if [ -e {projectRoot}/api.yml ]; then npx --no-install openapi-typescript {projectRoot}/api.yml --prettier-config ./.prettierrc --output {projectRoot}/src/__generated__/api.ts && npm run eslint -- {projectRoot}/src/__generated__/api.ts --fix; fi`, - }, - outputs: [`{projectRoot}/src/__generated__/api.ts`], + dependsOn: ['^codegen:project-refs', 'codegen:package'], + executor: '@clc/nx:project-refs', + inputs: ['{projectRoot}/package.json'], + outputs: ['{projectRoot}/tsconfig.json', '{workspaceRoot}/tsconfig.json'], }); - addTarget(targets, 'codegen', 'package', { + addTarget(targets, 'codegen', 'readme', { cache: true, - executor: '@clc/nx:package-json', - inputs: ['{workspaceRoot}/package.json'], - options: {mjs, mts, type}, - outputs: ['{projectRoot}/package.json'], + dependsOn: ['codegen:package'], + executor: '@clc/nx:readme', + inputs: [ + '{projectRoot}/README.md', + '{projectRoot}/package.json', + '{workspaceRoot}/package.json', + ], + outputs: ['{projectRoot}/README.md'], }); + } - if (type !== 'example') { - addTarget(targets, 'codegen', 'project-refs', { + if (type === 'example') { + let ext = null; + if (existsSync(path.resolve(projectRoot, '.foundationrc.js'))) { + ext = 'js'; + } else if (existsSync(path.resolve(projectRoot, '.foundationrc.cjs'))) { + ext = 'cjs'; + } else if (existsSync(path.resolve(projectRoot, '.foundationrc.mjs'))) { + ext = 'mjs'; + } + if (ext) { + addTarget(targets, 'build', 'foundation', { cache: true, - dependsOn: ['^codegen:project-refs', 'codegen:package'], - executor: '@clc/nx:project-refs', - inputs: ['{projectRoot}/package.json'], - outputs: [ - '{projectRoot}/tsconfig.json', - '{workspaceRoot}/tsconfig.json', + dependsOn: [ + { + projects: [ + '@code-like-a-carpenter/tool-foundation', + '@code-like-a-carpenter/foundation-intermediate-representation', + '@code-like-a-carpenter/foundation-parser', + '@code-like-a-carpenter/foundation-plugin-cloudformation', + '@code-like-a-carpenter/foundation-plugin-typescript', + '@code-like-a-carpenter/foundation-runtime', + ], + target: 'build', + }, ], - }); - - addTarget(targets, 'codegen', 'readme', { - cache: true, - dependsOn: ['codegen:package'], - executor: '@clc/nx:readme', + executor: '@code-like-a-carpenter/tool-foundation:foundation', inputs: [ - '{projectRoot}/README.md', - '{projectRoot}/package.json', - '{workspaceRoot}/package.json', + '{projectRoot}/schema/**/*.graphqls', + '{projectRoot}/.foundationrc.*', + '{projectRoot}/../common.graphqls', + '{workspaceRoot}/.graphqlrc.js', + '{workspaceRoot}/schema.graphqls', + '{workspaceRoot}/packages/@code-like-a-carpenter/foundation-*/**/*', ], - outputs: ['{projectRoot}/README.md'], - }); - } - - if (type === 'example') { - let ext = null; - if (existsSync(path.resolve(projectRoot, '.foundationrc.js'))) { - ext = 'js'; - } else if (existsSync(path.resolve(projectRoot, '.foundationrc.cjs'))) { - ext = 'cjs'; - } else if (existsSync(path.resolve(projectRoot, '.foundationrc.mjs'))) { - ext = 'mjs'; - } - if (ext) { - addTarget(targets, 'build', 'foundation', { - cache: true, - dependsOn: [ - { - projects: [ - '@code-like-a-carpenter/tool-foundation', - '@code-like-a-carpenter/foundation-intermediate-representation', - '@code-like-a-carpenter/foundation-parser', - '@code-like-a-carpenter/foundation-plugin-cloudformation', - '@code-like-a-carpenter/foundation-plugin-typescript', - '@code-like-a-carpenter/foundation-runtime', - ], - target: 'build', - }, - ], - executor: '@code-like-a-carpenter/tool-foundation:foundation', - inputs: [ - '{projectRoot}/schema/**/*.graphqls', - '{projectRoot}/.foundationrc.*', - '{projectRoot}/../common.graphqls', - '{workspaceRoot}/.graphqlrc.js', - '{workspaceRoot}/schema.graphqls', - '{workspaceRoot}/packages/@code-like-a-carpenter/foundation-*/**/*', - ], - options: { - config: `{projectRoot}/.foundationrc.${ext}`, - }, - outputs: [ - '{projectRoot}/src/__generated__/graphql.ts', - '{projectRoot}/src/__generated__/template.yml', - '{projectRoot}/src/__generated__/**/*', - ], - }); - - addTarget(targets, 'build', 'foundation:format', { - cache: true, - dependsOn: ['build:foundation'], - executor: 'nx:run-commands', - options: { - command: `npm run eslint -- '{projectRoot}/__generated__/**/*.ts' --fix`, - }, - }); - } - } - - if (type === 'tool') { - addTarget(targets, 'codegen', 'tool', { - cache: true, - executor: '@code-like-a-carpenter/tool-tool:tool', - inputs: ['{projectRoot}/tools/*.json'], options: { - buildBeforeRun: !mjs, - schemaDir: '{projectRoot}/tools', + config: `{projectRoot}/.foundationrc.${ext}`, }, outputs: [ - '{projectRoot}/package.json', - '{projectRoot}/executors.json', - '{projectRoot}/src/__generated__/plugin.*', - '{projectRoot}/src/__generated__/*-executor.*', - '{projectRoot}/src/__generated__/*-types.*', + '{projectRoot}/src/__generated__/graphql.ts', + '{projectRoot}/src/__generated__/template.yml', + '{projectRoot}/src/__generated__/**/*', ], }); - } - if ( - projectName === - '@code-like-a-carpenter/foundation-intermediate-representation' - ) { - addTarget(targets, 'codegen', 'core-schema', { + addTarget(targets, 'build', 'foundation:format', { cache: true, - executor: '@code-like-a-carpenter/tool-inliner:inliner', - inputs: ['{projectRoot}/schema.graphqls'], + dependsOn: ['build:foundation'], + executor: 'nx:run-commands', options: { - exportName: 'schema', - sourceFile: '{projectRoot}/schema.graphqls', - targetFile: '{projectRoot}/src/__generated__/schema.ts', + command: `npm run eslint -- '{projectRoot}/__generated__/**/*.ts' --fix`, }, - outputs: ['{projectRoot}/src/__generated__/schema.ts'], }); } + } - targets = Object.fromEntries( - Object.entries(targets).sort(([k1], [k2]) => k1.localeCompare(k2)) - ); + if (type === 'tool') { + addTarget(targets, 'codegen', 'tool', { + cache: true, + executor: '@code-like-a-carpenter/tool-tool:tool', + inputs: ['{projectRoot}/tools/*.json'], + options: { + buildBeforeRun: !mjs, + schemaDir: '{projectRoot}/tools', + }, + outputs: [ + '{projectRoot}/package.json', + '{projectRoot}/executors.json', + '{projectRoot}/src/__generated__/plugin.*', + '{projectRoot}/src/__generated__/*-executor.*', + '{projectRoot}/src/__generated__/*-types.*', + ], + }); + } - if (type === 'tool') { - addDependency(targets, 'build:types', 'codegen:tool'); - // codegen:tool can't work until the cjs for every tool exists. This should - // probably be something like "anything that depends on a tool needs all - // tools to be fully built", but I'm not sure how to express that - addDependency(targets, 'codegen:tool', '^build:cjs'); - } + if ( + projectName === + '@code-like-a-carpenter/foundation-intermediate-representation' + ) { + addTarget(targets, 'codegen', 'core-schema', { + cache: true, + executor: '@code-like-a-carpenter/tool-inliner:inliner', + inputs: ['{projectRoot}/schema.graphqls'], + options: { + exportName: 'schema', + sourceFile: '{projectRoot}/schema.graphqls', + targetFile: '{projectRoot}/src/__generated__/schema.ts', + }, + outputs: ['{projectRoot}/src/__generated__/schema.ts'], + }); + } - return { - projects: { - [projectRoot]: { - targets, - }, + targets = Object.fromEntries( + Object.entries(targets).sort(([k1], [k2]) => k1.localeCompare(k2)) + ); + + if (type === 'tool') { + addDependency(targets, 'build:types', 'codegen:tool'); + // codegen:tool can't work until the cjs for every tool exists. This should + // probably be something like "anything that depends on a tool needs all + // tools to be fully built", but I'm not sure how to express that + addDependency(targets, 'codegen:tool', '^build:cjs'); + } + + return { + projects: { + [projectRoot]: { + targets, }, - }; - }, + }, + }; +}; + +/** @type {CreateNodesV2} */ +export const createNodesV2 = [ + '**/package.json', + async (configFiles, options, context) => + createNodesFromFiles(createNode, configFiles, options, context), ]; From 5ab96c410331e2f471d40c902ddfbba095d1853c Mon Sep 17 00:00:00 2001 From: ianwremmel <1182361+ianwremmel@users.noreply.github.com> Date: Sun, 25 May 2025 15:27:52 -0700 Subject: [PATCH 3/3] fix: install ts-node to support jest typescript config --- package-lock.json | 168 ++++++++++++++++++++++++++++++++++++++++++++++ package.json | 1 + 2 files changed, 169 insertions(+) diff --git a/package-lock.json b/package-lock.json index 7ce80446..0b67fc0c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -66,6 +66,7 @@ "patch-package": "^8.0.0", "prettier": "^3.3.0", "prettier-2": "npm:prettier@^2", + "ts-node": "^10.9.2", "tsx": "^4.19.3", "typescript": "^5.8.3", "wait-on": "^7.2.0" @@ -6771,6 +6772,30 @@ "url": "https://github.com/chalk/chalk?sponsor=1" } }, + "node_modules/@cspotcode/source-map-support": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", + "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/trace-mapping": "0.3.9" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@cspotcode/source-map-support/node_modules/@jridgewell/trace-mapping": { + "version": "0.3.9", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz", + "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "^3.0.3", + "@jridgewell/sourcemap-codec": "^1.4.10" + } + }, "node_modules/@emnapi/core": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.4.0.tgz", @@ -11363,6 +11388,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "Apache-2.0 AND MIT", "optional": true, "os": [ @@ -11380,6 +11406,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "Apache-2.0 AND MIT", "optional": true, "os": [ @@ -11397,6 +11424,7 @@ "cpu": [ "arm" ], + "dev": true, "license": "Apache-2.0", "optional": true, "os": [ @@ -11414,6 +11442,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "Apache-2.0 AND MIT", "optional": true, "os": [ @@ -11431,6 +11460,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "Apache-2.0 AND MIT", "optional": true, "os": [ @@ -11448,6 +11478,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "Apache-2.0 AND MIT", "optional": true, "os": [ @@ -11465,6 +11496,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "Apache-2.0 AND MIT", "optional": true, "os": [ @@ -11482,6 +11514,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "Apache-2.0 AND MIT", "optional": true, "os": [ @@ -11499,6 +11532,7 @@ "cpu": [ "ia32" ], + "dev": true, "license": "Apache-2.0 AND MIT", "optional": true, "os": [ @@ -11516,6 +11550,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "Apache-2.0 AND MIT", "optional": true, "os": [ @@ -11553,6 +11588,34 @@ "node": ">= 10" } }, + "node_modules/@tsconfig/node10": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.11.tgz", + "integrity": "sha512-DcRjDCujK/kCk/cUe8Xz8ZSpm8mS3mNNpta+jGCA6USEDfktlNvm1+IuZ9eTcDbNk41BHwpHHeW+N1lKCz4zOw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@tsconfig/node12": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.11.tgz", + "integrity": "sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==", + "dev": true, + "license": "MIT" + }, + "node_modules/@tsconfig/node14": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.3.tgz", + "integrity": "sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==", + "dev": true, + "license": "MIT" + }, + "node_modules/@tsconfig/node16": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.4.tgz", + "integrity": "sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==", + "dev": true, + "license": "MIT" + }, "node_modules/@tybys/wasm-util": { "version": "0.9.0", "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.9.0.tgz", @@ -12442,6 +12505,19 @@ "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" } }, + "node_modules/acorn-walk": { + "version": "8.3.4", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.4.tgz", + "integrity": "sha512-ueEepnujpqee2o5aIYnvHU6C0A42MNdsIDeqy5BydrkuC5R1ZuUFnm27EeFJGoEHJQgn3uleRvmTXaJgfXbt4g==", + "dev": true, + "license": "MIT", + "dependencies": { + "acorn": "^8.11.0" + }, + "engines": { + "node": ">=0.4.0" + } + }, "node_modules/agent-base": { "version": "6.0.2", "dev": true, @@ -12578,6 +12654,13 @@ "node": ">=8" } }, + "node_modules/arg": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", + "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==", + "dev": true, + "license": "MIT" + }, "node_modules/argparse": { "version": "2.0.1", "license": "Python-2.0" @@ -14195,6 +14278,13 @@ "node": ">=8" } }, + "node_modules/create-require": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", + "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==", + "dev": true, + "license": "MIT" + }, "node_modules/cross-fetch": { "version": "3.1.8", "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.8.tgz", @@ -14826,6 +14916,16 @@ "node": ">=0.8.0" } }, + "node_modules/diff": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", + "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.3.1" + } + }, "node_modules/diff-sequences": { "version": "29.6.3", "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.6.3.tgz", @@ -21511,6 +21611,13 @@ "node": ">=10" } }, + "node_modules/make-error": { + "version": "1.3.6", + "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", + "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", + "dev": true, + "license": "ISC" + }, "node_modules/makeerror": { "version": "1.0.12", "resolved": "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz", @@ -29487,6 +29594,50 @@ "typescript": ">=4.2.0" } }, + "node_modules/ts-node": { + "version": "10.9.2", + "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.2.tgz", + "integrity": "sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@cspotcode/source-map-support": "^0.8.0", + "@tsconfig/node10": "^1.0.7", + "@tsconfig/node12": "^1.0.7", + "@tsconfig/node14": "^1.0.0", + "@tsconfig/node16": "^1.0.2", + "acorn": "^8.4.1", + "acorn-walk": "^8.1.1", + "arg": "^4.1.0", + "create-require": "^1.1.0", + "diff": "^4.0.1", + "make-error": "^1.1.1", + "v8-compile-cache-lib": "^3.0.1", + "yn": "3.1.1" + }, + "bin": { + "ts-node": "dist/bin.js", + "ts-node-cwd": "dist/bin-cwd.js", + "ts-node-esm": "dist/bin-esm.js", + "ts-node-script": "dist/bin-script.js", + "ts-node-transpile-only": "dist/bin-transpile.js", + "ts-script": "dist/bin-script-deprecated.js" + }, + "peerDependencies": { + "@swc/core": ">=1.2.50", + "@swc/wasm": ">=1.2.50", + "@types/node": "*", + "typescript": ">=2.7" + }, + "peerDependenciesMeta": { + "@swc/core": { + "optional": true + }, + "@swc/wasm": { + "optional": true + } + } + }, "node_modules/tsconfig-paths": { "version": "3.15.0", "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.15.0.tgz", @@ -30109,6 +30260,13 @@ "uuid": "dist/bin/uuid" } }, + "node_modules/v8-compile-cache-lib": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz", + "integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==", + "dev": true, + "license": "MIT" + }, "node_modules/v8-to-istanbul": { "version": "9.1.3", "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.1.3.tgz", @@ -30674,6 +30832,16 @@ "node": ">=8" } }, + "node_modules/yn": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz", + "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, "node_modules/yocto-queue": { "version": "0.1.0", "license": "MIT", diff --git a/package.json b/package.json index ba6e9b35..d3d1641a 100644 --- a/package.json +++ b/package.json @@ -73,6 +73,7 @@ "patch-package": "^8.0.0", "prettier": "^3.3.0", "prettier-2": "npm:prettier@^2", + "ts-node": "^10.9.2", "tsx": "^4.19.3", "typescript": "^5.8.3", "wait-on": "^7.2.0"