diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a55dd46..0f157a2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -86,7 +86,7 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: nx affected + - name: Nx env: INPUT_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} INPUT_BUILDER: ${{ steps.docker-setup-buildx.outputs.name }} @@ -96,4 +96,4 @@ jobs: if [ '${{ github.ref }}' = 'refs/heads/main' ] && [ '${{ github.event_name }}' = 'push' ] && [ '${{ matrix.node-version }}' = '20.x' ]; then targets="${targets} container" fi - pnpm nx affected -t ${targets} -c ci --parallel 20 --batch + pnpm nx run-many -p ${{ steps.affected.outputs.projs }} -t ${targets} -c ci --parallel 20 --batch diff --git a/package.json b/package.json index 345db5e..511c3a7 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "@nx/vite": "v17.2.5", "@swc-node/register": "~1.6.8", "@swc/core": "~1.3.101", - "@traf/nx": "npm:@daotl/traf-nx@^0.0.17", + "@traf/nx": "npm:@daotl/traf-nx@0.0.17-0", "@tsconfig/esm": "^1.0.5", "@tsconfig/node20": "^20.1.2", "@tsconfig/strictest": "^2.0.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0cf7ea1..8260153 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -45,8 +45,8 @@ importers: specifier: ~1.3.101 version: 1.3.101 '@traf/nx': - specifier: npm:@daotl/traf-nx@^0.0.17 - version: /@daotl/traf-nx@0.0.17 + specifier: npm:@daotl/traf-nx@0.0.17-0 + version: /@daotl/traf-nx@0.0.17-0 '@tsconfig/esm': specifier: ^1.0.5 version: 1.0.5 @@ -1877,15 +1877,9 @@ packages: validate-npm-package-name: 3.0.0 dev: false - /@daotl/traf-nx@0.0.17: - resolution: {integrity: sha512-fXxfNosQ2YBTzhDSkmNZa+8/zlygiXOhX66ll1Bw78qWNCod9ZMubiPqAKs5V9ncQfoeoCm8ak76rAZrhHntzA==} + /@daotl/traf-nx@0.0.17-0: + resolution: {integrity: sha512-OxYNkVaQlG74r5TJ4PRgMrs389Ot782CBkIfg2Oak7PfiXCyJecRGE0vvfX0MA9HecOgjr2pUanFMPAF3/oh3A==} hasBin: true - dependencies: - chalk: 5.3.0 - fast-find-in-files: 1.0.4 - globby: 13.2.2 - ts-morph: 18.0.0 - yargs: 17.7.2 dev: false /@daotl/tsconfig@0.1.2: @@ -3388,15 +3382,6 @@ packages: defer-to-connect: 2.0.1 dev: false - /@ts-morph/common@0.19.0: - resolution: {integrity: sha512-Unz/WHmd4pGax91rdIKWi51wnVUW11QttMEPpBiBgIewnc9UQIX7UDLxr5vRlqeByXCwhkF6VabSsI0raWcyAQ==} - dependencies: - fast-glob: 3.3.2 - minimatch: 7.4.6 - mkdirp: 2.1.6 - path-browserify: 1.0.1 - dev: false - /@tsconfig/esm@1.0.5: resolution: {integrity: sha512-JzoZ0h299JRLPfV5VBsMq1TuMy+OmU9bdV/7NcjfRojL0eIcA1k5ESrtjWrDwJRJnk9B0QmgR0rq04LERbdfWw==} deprecated: this package has been deprecated @@ -4184,12 +4169,6 @@ packages: engines: {node: '>=0.6'} dev: false - /bindings@1.5.0: - resolution: {integrity: sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==} - dependencies: - file-uri-to-path: 1.0.0 - dev: false - /bl@4.1.0: resolution: {integrity: sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==} dependencies: @@ -4474,10 +4453,6 @@ packages: engines: {node: '>=0.8'} dev: false - /code-block-writer@12.0.0: - resolution: {integrity: sha512-q4dMFMlXtKR3XNBHyMHt/3pwYNA69EDk00lloMOaaUMKPUXBw6lpXtbu3MMVG6/uOihGnRDOlkyqsONEUj60+w==} - dev: false - /color-convert@1.9.3: resolution: {integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==} dependencies: @@ -5719,14 +5694,6 @@ packages: resolution: {integrity: sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==} dev: false - /fast-find-in-files@1.0.4: - resolution: {integrity: sha512-KDxBHo365voeP6nmCIyAl6sIXBVGxfn4/hWm5ysHUKMyeGmtCuVW6FHU41YWRBLJotR9xbtb8S1i4sqDnK3R2g==} - requiresBuild: true - dependencies: - bindings: 1.5.0 - node-addon-api: 7.0.0 - dev: false - /fast-glob@3.2.12: resolution: {integrity: sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==} engines: {node: '>=8.6.0'} @@ -5800,10 +5767,6 @@ packages: flat-cache: 3.0.4 dev: false - /file-uri-to-path@1.0.0: - resolution: {integrity: sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==} - dev: false - /filelist@1.0.4: resolution: {integrity: sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q==} dependencies: @@ -7270,13 +7233,6 @@ packages: brace-expansion: 2.0.1 dev: false - /minimatch@7.4.6: - resolution: {integrity: sha512-sBz8G/YjVniEz6lKPNpKxXwazJe4c19fEfV2GDMX6AjFz+MX9uDWIZW8XreVhkFW3fkIdTv/gxWr/Kks5FFAVw==} - engines: {node: '>=10'} - dependencies: - brace-expansion: 2.0.1 - dev: false - /minimatch@9.0.3: resolution: {integrity: sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==} engines: {node: '>=16 || 14 >=14.17'} @@ -7308,12 +7264,6 @@ packages: minimist: 1.2.7 dev: false - /mkdirp@2.1.6: - resolution: {integrity: sha512-+hEnITedc8LAtIP9u3HJDFIdcLV2vXP33sqLLIzkv1Db1zO/1OxbvYf0Y1OC/S/Qo5dxHXepofhmxL02PsKe+A==} - engines: {node: '>=10'} - hasBin: true - dev: false - /mlly@1.4.2: resolution: {integrity: sha512-i/Ykufi2t1EZ6NaPLdfnZk2AX8cs0d+mTzVKuPfqPKPatxLApaBoxJQ9x1/uckXtrS/U5oisPMDkNs0yQTaBRg==} dependencies: @@ -7379,10 +7329,6 @@ packages: tslib: 2.6.2 dev: false - /node-addon-api@7.0.0: - resolution: {integrity: sha512-vgbBJTS4m5/KkE16t5Ly0WW9hz46swAstv0hYYwMtbG7AznRhNyfLRe8HZAiWIpcHzoO7HxhLuBQj9rJ/Ho0ZA==} - dev: false - /node-domexception@1.0.0: resolution: {integrity: sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==} engines: {node: '>=10.5.0'} @@ -7812,10 +7758,6 @@ packages: tslib: 2.6.2 dev: false - /path-browserify@1.0.1: - resolution: {integrity: sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==} - dev: false - /path-case@3.0.4: resolution: {integrity: sha512-qO4qCFjXqVTrcbPt/hQfhTQ+VhFsqNKOPtytgNKkKxSoEp3XPUQ8ObFuePylOIok5gjn69ry8XiULxCwot3Wfg==} dependencies: @@ -8852,13 +8794,6 @@ packages: typescript: 5.3.3 dev: false - /ts-morph@18.0.0: - resolution: {integrity: sha512-Kg5u0mk19PIIe4islUI/HWRvm9bC1lHejK4S0oh1zaZ77TMZAEmQC0sHQYiu2RgCQFZKXz1fMVi/7nOOeirznA==} - dependencies: - '@ts-morph/common': 0.19.0 - code-block-writer: 12.0.0 - dev: false - /ts-node@10.9.1(@swc/core@1.3.101)(@types/node@20.10.5)(typescript@5.3.3): resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==} hasBin: true