diff --git a/.gitignore b/.gitignore index 0bef6199d65..a96dfff45fb 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ dist/ !**/__fixtures__/**/node_modules/* .idea/ coverage/ +.nx/cache \ No newline at end of file diff --git a/.prettierignore b/.prettierignore index 090a01680b6..5798710375c 100644 --- a/.prettierignore +++ b/.prettierignore @@ -2,3 +2,4 @@ benchmark/suites/ **/__fixtures__/ **/dist/ **/node_modules +/.nx/cache \ No newline at end of file diff --git a/nx.json b/nx.json index a469aa1371c..37510e0d221 100644 --- a/nx.json +++ b/nx.json @@ -1,20 +1,14 @@ { "$schema": "./node_modules/nx/schemas/nx-schema.json", - "tasksRunnerOptions": { - "default": { - "runner": "nx/tasks-runners/default", - "options": { - "cacheableOperations": ["build", "test"] - } - } - }, "targetDefaults": { "build": { "dependsOn": ["^build"], - "outputs": ["{projectRoot}/dist"] + "outputs": ["{projectRoot}/dist"], + "cache": true }, "test": { - "dependsOn": ["build"] + "dependsOn": ["build"], + "cache": true } }, "namedInputs": { diff --git a/package.json b/package.json index 67fafe72608..f8558f60adf 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "eslint-config-prettier": "9.0.0", "eslint-plugin-prettier": "5.0.1", "execa": "7.2.0", - "nx": "16.10.0", + "nx": "17.1.1", "prettier": "3.0.3", "prettier-plugin-tailwindcss": "0.5.7", "rimraf": "5.0.5", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5eb028700f6..2c805eb4113 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -45,8 +45,8 @@ importers: specifier: 7.2.0 version: 7.2.0 nx: - specifier: 16.10.0 - version: 16.10.0 + specifier: 17.1.1 + version: 17.1.1 prettier: specifier: 3.0.3 version: 3.0.3 @@ -1342,11 +1342,11 @@ packages: '@nodelib/fs.scandir': 2.1.5 fastq: 1.15.0 - /@nrwl/tao@16.10.0: - resolution: {integrity: sha512-QNAanpINbr+Pod6e1xNgFbzK1x5wmZl+jMocgiEFXZ67KHvmbD6MAQQr0MMz+GPhIu7EE4QCTLTyCEMlAG+K5Q==} + /@nrwl/tao@17.1.1: + resolution: {integrity: sha512-d0hNAK5pdJLTkSJYFPZZfbwu0S6OZ/1DM0ieATujGlIQeR8zC8jctpIxZDgCZX5Nbw1OOqZkPaIQJQl9gW05sg==} hasBin: true dependencies: - nx: 16.10.0 + nx: 17.1.1 tslib: 2.6.2 transitivePeerDependencies: - '@swc-node/register' @@ -1354,8 +1354,8 @@ packages: - debug dev: true - /@nx/nx-darwin-arm64@16.10.0: - resolution: {integrity: sha512-YF+MIpeuwFkyvM5OwgY/rTNRpgVAI/YiR0yTYCZR+X3AAvP775IVlusNgQ3oedTBRUzyRnI4Tknj1WniENFsvQ==} + /@nx/nx-darwin-arm64@17.1.1: + resolution: {integrity: sha512-HWrXte+e5XfXkv0SuaoLOu3Ct0rq9UoEb1/+X/1xuIljs5serFiwW7aQ0sxhVgWQBLSucYmecbjyjTBxBEJLSA==} engines: {node: '>= 10'} cpu: [arm64] os: [darwin] @@ -1363,8 +1363,8 @@ packages: dev: true optional: true - /@nx/nx-darwin-x64@16.10.0: - resolution: {integrity: sha512-ypi6YxwXgb0kg2ixKXE3pwf5myVNUgWf1CsV5OzVccCM8NzheMO51KDXTDmEpXdzUsfT0AkO1sk5GZeCjhVONg==} + /@nx/nx-darwin-x64@17.1.1: + resolution: {integrity: sha512-AiOBWB2ulEFDUoGqkIy0egyc7exhD8Veig59l4Q6JiKverLgZpYVMLKG7hhRaYuwvsoUraWGRoteNRbAMHQacA==} engines: {node: '>= 10'} cpu: [x64] os: [darwin] @@ -1372,8 +1372,8 @@ packages: dev: true optional: true - /@nx/nx-freebsd-x64@16.10.0: - resolution: {integrity: sha512-UeEYFDmdbbDkTQamqvtU8ibgu5jQLgFF1ruNb/U4Ywvwutw2d4ruOMl2e0u9hiNja9NFFAnDbvzrDcMo7jYqYw==} + /@nx/nx-freebsd-x64@17.1.1: + resolution: {integrity: sha512-px5s3ZC6Sl36eSPzWuMSmhA+mqN3jUiWgzbU6wIqfLBOVhLN0C2/lBKVNMS3JJVpMPfI245/EHlDyZobdOIheA==} engines: {node: '>= 10'} cpu: [x64] os: [freebsd] @@ -1381,8 +1381,8 @@ packages: dev: true optional: true - /@nx/nx-linux-arm-gnueabihf@16.10.0: - resolution: {integrity: sha512-WV3XUC2DB6/+bz1sx+d1Ai9q2Cdr+kTZRN50SOkfmZUQyEBaF6DRYpx/a4ahhxH3ktpNfyY8Maa9OEYxGCBkQA==} + /@nx/nx-linux-arm-gnueabihf@17.1.1: + resolution: {integrity: sha512-gDlJuCqWsu4WEjmkM5GwpeB+odXPPGQikBzVwMgBPFjqjsJkYnkrYOy2TWvBfNIYp+5jmOi0lZHAfPnCIniyww==} engines: {node: '>= 10'} cpu: [arm] os: [linux] @@ -1390,8 +1390,8 @@ packages: dev: true optional: true - /@nx/nx-linux-arm64-gnu@16.10.0: - resolution: {integrity: sha512-aWIkOUw995V3ItfpAi5FuxQ+1e9EWLS1cjWM1jmeuo+5WtaKToJn5itgQOkvSlPz+HSLgM3VfXMvOFALNk125g==} + /@nx/nx-linux-arm64-gnu@17.1.1: + resolution: {integrity: sha512-7349vYv3OnrCO5bwk5XHNCVjU0GFMh0d0xIDJjeRsCItyi3t+z0vCJ4vSzAwfAcUNzBehM7dz3ah/rJaUDD1qg==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] @@ -1399,8 +1399,8 @@ packages: dev: true optional: true - /@nx/nx-linux-arm64-musl@16.10.0: - resolution: {integrity: sha512-uO6Gg+irqpVcCKMcEPIQcTFZ+tDI02AZkqkP7koQAjniLEappd8DnUBSQdcn53T086pHpdc264X/ZEpXFfrKWQ==} + /@nx/nx-linux-arm64-musl@17.1.1: + resolution: {integrity: sha512-UZ9STF2Q/2Jh9icTqSU+zoU3XZKOJBj1OV4NtdWRAh3YwXK+A2+AMI38IxGoYZYyPmDEmEDu9MFCuTzLJtjOww==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] @@ -1408,8 +1408,8 @@ packages: dev: true optional: true - /@nx/nx-linux-x64-gnu@16.10.0: - resolution: {integrity: sha512-134PW/u/arNFAQKpqMJniC7irbChMPz+W+qtyKPAUXE0XFKPa7c1GtlI/wK2dvP9qJDZ6bKf0KtA0U/m2HMUOA==} + /@nx/nx-linux-x64-gnu@17.1.1: + resolution: {integrity: sha512-9nwZ5t3tgqIyPJaxFop3+OrEbh85mp7bGGOubamcAhxoDI49vYig04igUBMcO0LbF1o1YFdW2KDKFF53phJxJw==} engines: {node: '>= 10'} cpu: [x64] os: [linux] @@ -1417,8 +1417,8 @@ packages: dev: true optional: true - /@nx/nx-linux-x64-musl@16.10.0: - resolution: {integrity: sha512-q8sINYLdIJxK/iUx9vRk5jWAWb/2O0PAbOJFwv4qkxBv4rLoN7y+otgCZ5v0xfx/zztFgk/oNY4lg5xYjIso2Q==} + /@nx/nx-linux-x64-musl@17.1.1: + resolution: {integrity: sha512-2OKfB8w8u2q6JwjEHx39U3ekn+tvQkiwF7LedRQbf+2IY9IsGpZrgaRIuY9D/aDWHmHSOl3jvITP0cykgAfq7g==} engines: {node: '>= 10'} cpu: [x64] os: [linux] @@ -1426,8 +1426,8 @@ packages: dev: true optional: true - /@nx/nx-win32-arm64-msvc@16.10.0: - resolution: {integrity: sha512-moJkL9kcqxUdJSRpG7dET3UeLIciwrfP08mzBQ12ewo8K8FzxU8ZUsTIVVdNrwt01CXOdXoweGfdQLjJ4qTURA==} + /@nx/nx-win32-arm64-msvc@17.1.1: + resolution: {integrity: sha512-dXBnbIxK6MHTirgKRSxJfwUX9xfnD7W9T4/C0NGkbIe3VZBiY0RIUPvEps4EJkucEva9pTkaowkz5lHBxVi4Iw==} engines: {node: '>= 10'} cpu: [arm64] os: [win32] @@ -1435,8 +1435,8 @@ packages: dev: true optional: true - /@nx/nx-win32-x64-msvc@16.10.0: - resolution: {integrity: sha512-5iV2NKZnzxJwZZ4DM5JVbRG/nkhAbzEskKaLBB82PmYGKzaDHuMHP1lcPoD/rtYMlowZgNA/RQndfKvPBPwmXA==} + /@nx/nx-win32-x64-msvc@17.1.1: + resolution: {integrity: sha512-1j3UO/FfjzptXcTGL56oAFLnpYP6EyVYyAYT/3aayky8xqiPeL5DfRjV2kJ91VA0nIeKhAx0T25oSTvMHfZNEw==} engines: {node: '>= 10'} cpu: [x64] os: [win32] @@ -1444,15 +1444,6 @@ packages: dev: true optional: true - /@parcel/watcher@2.0.4: - resolution: {integrity: sha512-cTDi+FUDBIUOBKEtj+nhiJ71AZVlkAsQFuGQTun5tV9mwQBQgZvhCzG+URPQc8myeN32yRVZEfVAPCs1RW+Jvg==} - engines: {node: '>= 10.0.0'} - requiresBuild: true - dependencies: - node-addon-api: 3.2.1 - node-gyp-build: 4.6.1 - dev: true - /@pkgjs/parseargs@0.11.0: resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} engines: {node: '>=14'} @@ -4156,9 +4147,10 @@ packages: fs.realpath: 1.0.0 inflight: 1.0.6 inherits: 2.0.4 - minimatch: 3.0.5 + minimatch: 3.1.2 once: 1.4.0 path-is-absolute: 1.0.1 + dev: true /glob@7.1.6: resolution: {integrity: sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==} @@ -5971,6 +5963,7 @@ packages: resolution: {integrity: sha512-tUpxzX0VAzJHjLu0xUfFv1gwVp9ba3IOuRAVH2EGuRW8a5emA2FlACLqiT/lDVtS1W+TGNwqz3sWaNyLgDJWuw==} dependencies: brace-expansion: 1.1.11 + dev: true /minimatch@3.1.2: resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} @@ -6201,10 +6194,6 @@ packages: - supports-color dev: false - /node-addon-api@3.2.1: - resolution: {integrity: sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A==} - dev: true - /node-addon-api@5.1.0: resolution: {integrity: sha512-eh0GgfEkpnoWDq+VY8OyvYhFEzBk6jIYbRKdIlyTiAXIVJ8PyBaKb0rp7oDtoddbdoHWhq8wwr+XZ81F1rpNdA==} dev: false @@ -6231,6 +6220,7 @@ packages: /node-gyp-build@4.6.1: resolution: {integrity: sha512-24vnklJmyRS8ViBNI8KbtK/r/DmXQMRiOMXTNz2nrTnAYUwjmEEbnnpB/+kt+yWRv73bPsSPRFddrcIbAxSiMQ==} hasBin: true + dev: false /node-machine-id@1.1.12: resolution: {integrity: sha512-QNABxbrPa3qEIfrE6GOJ7BYIuignnJw7iQ2YPbc3Nla1HzRJjXzZOiikfF8m7eAMfichLt3M4VgLOetqgDmgGQ==} @@ -6284,8 +6274,8 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: false - /nx@16.10.0: - resolution: {integrity: sha512-gZl4iCC0Hx0Qe1VWmO4Bkeul2nttuXdPpfnlcDKSACGu3ZIo+uySqwOF8yBAxSTIf8xe2JRhgzJN1aFkuezEBg==} + /nx@17.1.1: + resolution: {integrity: sha512-anOPutP3N5sI+yT1+UV24XuFkBFnQAERysSGcMu7ZofyIThzKxT26QtHI3U/Oqqtuug0cNxold2UhTvEhSXBwA==} hasBin: true requiresBuild: true peerDependencies: @@ -6297,8 +6287,7 @@ packages: '@swc/core': optional: true dependencies: - '@nrwl/tao': 16.10.0 - '@parcel/watcher': 2.0.4 + '@nrwl/tao': 17.1.1 '@yarnpkg/lockfile': 1.1.0 '@yarnpkg/parsers': 3.0.0-rc.46 '@zkochan/js-yaml': 0.0.6 @@ -6334,16 +6323,16 @@ packages: yargs: 17.7.2 yargs-parser: 21.1.1 optionalDependencies: - '@nx/nx-darwin-arm64': 16.10.0 - '@nx/nx-darwin-x64': 16.10.0 - '@nx/nx-freebsd-x64': 16.10.0 - '@nx/nx-linux-arm-gnueabihf': 16.10.0 - '@nx/nx-linux-arm64-gnu': 16.10.0 - '@nx/nx-linux-arm64-musl': 16.10.0 - '@nx/nx-linux-x64-gnu': 16.10.0 - '@nx/nx-linux-x64-musl': 16.10.0 - '@nx/nx-win32-arm64-msvc': 16.10.0 - '@nx/nx-win32-x64-msvc': 16.10.0 + '@nx/nx-darwin-arm64': 17.1.1 + '@nx/nx-darwin-x64': 17.1.1 + '@nx/nx-freebsd-x64': 17.1.1 + '@nx/nx-linux-arm-gnueabihf': 17.1.1 + '@nx/nx-linux-arm64-gnu': 17.1.1 + '@nx/nx-linux-arm64-musl': 17.1.1 + '@nx/nx-linux-x64-gnu': 17.1.1 + '@nx/nx-linux-x64-musl': 17.1.1 + '@nx/nx-win32-arm64-msvc': 17.1.1 + '@nx/nx-win32-x64-msvc': 17.1.1 transitivePeerDependencies: - debug dev: true @@ -7222,7 +7211,7 @@ packages: resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==} hasBin: true dependencies: - glob: 7.1.4 + glob: 7.2.3 /rimraf@5.0.5: resolution: {integrity: sha512-CqDakW+hMe/Bz202FPEymy68P+G50RfMQK+Qo5YUqc9SPipvbGjCGKd0RSKEelbsfQuw3g5NZDSrlZZAJurH1A==}