From 44d89376406cb10a6b7b44e4d73ed16558b49fed Mon Sep 17 00:00:00 2001 From: Daniel Leroux Date: Mon, 17 Jun 2024 15:40:57 +0200 Subject: [PATCH] chore: update to turbo v2 (#1332) --- .github/workflows/actions/turbo/action.yml | 1 - .github/workflows/build.yml | 7 +- .github/workflows/pr.yml | 5 +- package.json | 4 +- packages/aggrid/package.json | 2 +- packages/angular/package.json | 2 +- packages/eslint-config-ix/index.js | 2 +- packages/eslint-config-ix/package.json | 9 +- packages/react/package.json | 2 +- packages/vue/package.json | 1 + pnpm-lock.yaml | 223 ++++++++++++--------- turbo.json | 94 +++++---- 12 files changed, 199 insertions(+), 153 deletions(-) diff --git a/.github/workflows/actions/turbo/action.yml b/.github/workflows/actions/turbo/action.yml index d77d360f0d..cdf8a38153 100644 --- a/.github/workflows/actions/turbo/action.yml +++ b/.github/workflows/actions/turbo/action.yml @@ -6,7 +6,6 @@ runs: - uses: pnpm/action-setup@v2 name: Install pnpm with: - version: 9.1.2 run_install: false - name: Setup Node.js environment diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 324ec25c9f..dd26553ee2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -113,14 +113,17 @@ jobs: name: core-html-report--attempt-${{ github.run_attempt }} path: playwright-report retention-days: 2 + unit: needs: [build] timeout-minutes: 10 runs-on: ubuntu-latest - container: - image: mcr.microsoft.com/playwright:v1.39.0-jammy steps: - uses: actions/checkout@v3 - uses: ./.github/workflows/actions/turbo + + - name: Install Playwright Browsers + run: pnpm exec playwright install chromium --with-deps + - name: Test run: pnpm run test --cache-dir=.turbo --filter !\documentation diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index bacc056069..0a6632423d 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -177,11 +177,12 @@ jobs: needs: [build, changes] timeout-minutes: 10 runs-on: ubuntu-latest - container: - image: mcr.microsoft.com/playwright:v1.39.0-jammy steps: - uses: actions/checkout@v3 - uses: ./.github/workflows/actions/turbo + - name: Install Playwright Browsers + run: pnpm exec playwright install chromium --with-deps + - name: Test run: pnpm run test --cache-dir=.turbo --filter !\documentation diff --git a/package.json b/package.json index 8d3b11ecc5..0a20f822a9 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "bugs": { "url": "https://www.github.com/siemens/ix/issues" }, - "packageManager": "pnpm@9.1.2", + "packageManager": "pnpm@9.3.0", "engines": { "pnpm": ">=9.x.x", "node": ">=18.x.x" @@ -48,7 +48,7 @@ "husky": "^8.0.1", "prettier": "^2.6.2", "prettier-plugin-organize-imports": "^3.2.1", - "turbo": "^1.10.16", + "turbo": "^2.0.4", "typescript": "~4.7.2" }, "config": { diff --git a/packages/aggrid/package.json b/packages/aggrid/package.json index 79dc39af93..c150ef2d88 100644 --- a/packages/aggrid/package.json +++ b/packages/aggrid/package.json @@ -21,7 +21,7 @@ }, "devDependencies": { "@playwright/test": "^1.32.1", - "@siemens/ix": "~2.2.0", + "@siemens/ix": "workspace:*", "@siemens/ix-icons": "^2.0.0", "@types/gulp": "^4.0.14", "@types/gulp-postcss": "^8.0.4", diff --git a/packages/angular/package.json b/packages/angular/package.json index 590e43d7d0..fb39f737f6 100644 --- a/packages/angular/package.json +++ b/packages/angular/package.json @@ -30,7 +30,7 @@ "@angular/core": "v13-lts", "@angular/forms": "v13-lts", "@jest/globals": "^29.3.1", - "@siemens/ix": "~2.2.1", + "@siemens/ix": "workspace:*", "@types/jest": "^29.2.3", "fs-extra": "^10.1.0", "jest": "^29.3.1", diff --git a/packages/eslint-config-ix/index.js b/packages/eslint-config-ix/index.js index 2043c93847..795f281482 100644 --- a/packages/eslint-config-ix/index.js +++ b/packages/eslint-config-ix/index.js @@ -11,7 +11,7 @@ /** @type {import('eslint').Linter.Config} */ module.exports = { extends: ['turbo', 'prettier'], - plugins: ['prettier', '@typescript-eslint'], + plugins: ['turbo', 'prettier', '@typescript-eslint'], rules: { 'prettier/prettier': 'error', quotes: [ diff --git a/packages/eslint-config-ix/package.json b/packages/eslint-config-ix/package.json index 119dfdea1f..9d723e2bc4 100644 --- a/packages/eslint-config-ix/package.json +++ b/packages/eslint-config-ix/package.json @@ -6,9 +6,10 @@ "private": true, "dependencies": { "eslint": "latest", - "eslint-config-prettier": "latest", - "eslint-plugin-prettier": "latest", - "eslint-config-turbo": "latest", - "prettier": "latest" + "eslint-config-prettier": "^9.0.0", + "eslint-config-turbo": "^1.10.16", + "eslint-plugin-prettier": "^5.0.1", + "eslint-plugin-turbo": "^2.0.4", + "prettier": "^3.0.3" } } diff --git a/packages/react/package.json b/packages/react/package.json index 1a1f23ae58..60749f916f 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -30,7 +30,7 @@ "license": "MIT", "devDependencies": { "@rollup/plugin-typescript": "^8.4.0", - "@siemens/ix": "~2.2.1", + "@siemens/ix": "workspace:*", "@testing-library/jest-dom": "^5.16.5", "@testing-library/react": "^13.4.0", "@types/estree": "~0.0.51", diff --git a/packages/vue/package.json b/packages/vue/package.json index fdc286b2b5..b18936f86f 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -36,6 +36,7 @@ "devDependencies": { "rimraf": "^3.0.2", "vue": "^3.2.45", + "@siemens/ix": "workspace:*", "@typescript-eslint/eslint-plugin": "^5.45.0", "@typescript-eslint/parser": "^5.45.0", "eslint-config-ix": "workspace:*", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b8a5360c67..e2102bcf3f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -49,8 +49,8 @@ importers: specifier: ^3.2.1 version: 3.2.3(prettier@2.8.8)(typescript@4.7.4) turbo: - specifier: ^1.10.16 - version: 1.10.16 + specifier: ^2.0.4 + version: 2.0.4 typescript: specifier: ~4.7.2 version: 4.7.4 @@ -145,7 +145,7 @@ importers: version: 29.7.0(@types/node@16.18.70)(ts-node@10.9.2(@types/node@16.18.70)(typescript@4.6.4)) jest-preset-angular: specifier: ^12.2.3 - version: 12.2.6(@angular-devkit/build-angular@14.2.13(@angular/compiler-cli@13.4.0(@angular/compiler@13.4.0)(typescript@4.6.4))(chokidar@3.5.3)(html-webpack-plugin@5.5.3)(karma@6.4.2)(ng-packagr@14.3.0(@angular/compiler-cli@13.4.0(@angular/compiler@13.4.0)(typescript@4.6.4))(@types/node@16.18.70)(tslib@2.6.2)(typescript@4.6.4))(typescript@4.6.4))(@angular/compiler-cli@13.4.0(@angular/compiler@13.4.0)(typescript@4.6.4))(@angular/core@13.4.0(rxjs@7.5.7)(zone.js@0.11.8))(@angular/platform-browser-dynamic@14.3.0(@angular/common@13.4.0(@angular/core@13.4.0(rxjs@7.5.7)(zone.js@0.11.8))(rxjs@7.5.7))(@angular/compiler@13.4.0)(@angular/core@13.4.0(rxjs@7.5.7)(zone.js@0.11.8))(@angular/platform-browser@14.3.0(@angular/animations@14.3.0(@angular/core@13.4.0(rxjs@7.5.7)(zone.js@0.11.8)))(@angular/common@13.4.0(@angular/core@13.4.0(rxjs@7.5.7)(zone.js@0.11.8))(rxjs@7.5.7))(@angular/core@13.4.0(rxjs@7.5.7)(zone.js@0.11.8))))(@babel/core@7.23.7)(jest@29.7.0(@types/node@16.18.70)(ts-node@10.9.2(@types/node@16.18.70)(typescript@4.6.4)))(typescript@4.6.4) + version: 12.2.6(vx5hk2w2bmgdzxlhruwhvtagem) ng-packagr: specifier: ^14.2.0 version: 14.3.0(@angular/compiler-cli@13.4.0(@angular/compiler@13.4.0)(typescript@4.6.4))(@types/node@16.18.70)(tslib@2.6.2)(typescript@4.6.4) @@ -154,7 +154,7 @@ importers: version: 7.5.7 ts-jest: specifier: ^29.0.3 - version: 29.1.1(@babel/core@7.23.7)(jest@29.7.0(@types/node@16.18.70)(ts-node@10.9.2(@types/node@16.18.70)(typescript@4.6.4)))(typescript@4.6.4) + version: 29.1.1(@babel/core@7.23.2)(jest@29.7.0(@types/node@16.18.70)(ts-node@10.9.2(@types/node@16.18.70)(typescript@4.6.4)))(typescript@4.6.4) typescript: specifier: 4.6.4 version: 4.6.4 @@ -544,16 +544,19 @@ importers: specifier: latest version: 8.52.0 eslint-config-prettier: - specifier: latest + specifier: ^9.0.0 version: 9.0.0(eslint@8.52.0) eslint-config-turbo: - specifier: latest + specifier: ^1.10.16 version: 1.10.16(eslint@8.52.0) eslint-plugin-prettier: - specifier: latest + specifier: ^5.0.1 version: 5.0.1(@types/eslint@8.44.6)(eslint-config-prettier@9.0.0(eslint@8.52.0))(eslint@8.52.0)(prettier@3.0.3) + eslint-plugin-turbo: + specifier: ^2.0.4 + version: 2.0.4(eslint@8.52.0) prettier: - specifier: latest + specifier: ^3.0.3 version: 3.0.3 packages/example-styles: {} @@ -633,7 +636,7 @@ importers: version: 5.62.0(eslint@8.57.0)(typescript@4.9.5) babel-jest: specifier: ^29.7.0 - version: 29.7.0(@babel/core@7.23.2) + version: 29.7.0(@babel/core@7.23.7) eslint-config-ix: specifier: workspace:* version: link:../eslint-config-ix @@ -648,7 +651,7 @@ importers: version: 3.0.0 jest: specifier: ^29.1.2 - version: 29.7.0(@types/node@16.18.70)(ts-node@10.9.2(@types/node@16.18.70)(typescript@4.9.5)) + version: 29.7.0(@types/node@20.8.9)(ts-node@10.9.2(@types/node@20.8.9)(typescript@4.9.5)) jest-environment-jsdom: specifier: ^29.1.2 version: 29.7.0 @@ -675,7 +678,7 @@ importers: version: 2.2.4(rollup@2.79.1) rollup-plugin-sourcemaps: specifier: ^0.6.3 - version: 0.6.3(@types/node@16.18.70)(rollup@2.79.1) + version: 0.6.3(@types/node@20.8.9)(rollup@2.79.1) rollup-plugin-terser: specifier: ^7.0.2 version: 7.0.2(rollup@2.79.1) @@ -687,7 +690,7 @@ importers: version: 4.9.5 vitest: specifier: ^1.3.1 - version: 1.3.1(@types/node@16.18.70)(happy-dom@14.7.1)(jsdom@20.0.3)(less@4.2.0)(sass@1.69.5)(stylus@0.59.0)(terser@5.22.0) + version: 1.3.1(@types/node@20.8.9)(happy-dom@14.7.1)(jsdom@20.0.3)(less@4.2.0)(sass@1.69.5)(stylus@0.59.0)(terser@5.22.0) packages/react-test-app: dependencies: @@ -2705,6 +2708,7 @@ packages: '@humanwhocodes/config-array@0.11.14': resolution: {integrity: sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==} engines: {node: '>=10.10.0'} + deprecated: Use @eslint/config-array instead '@humanwhocodes/module-importer@1.0.1': resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==} @@ -2715,6 +2719,7 @@ packages: '@humanwhocodes/object-schema@2.0.2': resolution: {integrity: sha512-6EwiSjwWYP7pTckG6I5eyFANjPhmPjUX9JRLUSfNPC7FX7zK9gyZAfUEaECL6ALTpGX5AjnBq3C9XmVWPitNpw==} + deprecated: Use @eslint/object-schema instead '@isaacs/cliui@8.0.2': resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==} @@ -6229,6 +6234,11 @@ packages: peerDependencies: eslint: '>6.6.0' + eslint-plugin-turbo@2.0.4: + resolution: {integrity: sha512-Ozn//vTXJeqIEvEkThM2vuuldMckPqAne7vg/S3GxF+BBY516cjdp7+dYpCU5Q0083hVm638c8542ubccNE+8w==} + peerDependencies: + eslint: '>6.6.0' + eslint-plugin-vue@9.18.0: resolution: {integrity: sha512-yUM8a2OD/7Qs0PiugkRaxgz5KBRvzMvWShity2UvVFAN0yk8029mGpTdg/TNARPiYzp335mEwDHwcAR8tQNe4g==} engines: {node: ^14.17.0 || >=16.0.0} @@ -11714,38 +11724,38 @@ packages: engines: {node: '>=8.0.0'} hasBin: true - turbo-darwin-64@1.10.16: - resolution: {integrity: sha512-+Jk91FNcp9e9NCLYlvDDlp2HwEDp14F9N42IoW3dmHI5ZkGSXzalbhVcrx3DOox3QfiNUHxzWg4d7CnVNCuuMg==} + turbo-darwin-64@2.0.4: + resolution: {integrity: sha512-x9mvmh4wudBstML8Z8IOmokLWglIhSfhQwnh2gBCSqabgVBKYvzl8Y+i+UCNPxheCGTgtsPepTcIaKBIyFIcvw==} cpu: [x64] os: [darwin] - turbo-darwin-arm64@1.10.16: - resolution: {integrity: sha512-jqGpFZipIivkRp/i+jnL8npX0VssE6IAVNKtu573LXtssZdV/S+fRGYA16tI46xJGxSAivrZ/IcgZrV6Jk80bw==} + turbo-darwin-arm64@2.0.4: + resolution: {integrity: sha512-/B1Ih8zPRGVw5vw4SlclOf3C/woJ/2T6ieH6u54KT4wypoaVyaiyMqBcziIXycdObIYr7jQ+raHO7q3mhay9/A==} cpu: [arm64] os: [darwin] - turbo-linux-64@1.10.16: - resolution: {integrity: sha512-PpqEZHwLoizQ6sTUvmImcRmACyRk9EWLXGlqceogPZsJ1jTRK3sfcF9fC2W56zkSIzuLEP07k5kl+ZxJd8JMcg==} + turbo-linux-64@2.0.4: + resolution: {integrity: sha512-6aG670e5zOWu6RczEYcB81nEl8EhiGJEvWhUrnAfNEUIMBEH1pR5SsMmG2ol5/m3PgiRM12r13dSqTxCLcHrVg==} cpu: [x64] os: [linux] - turbo-linux-arm64@1.10.16: - resolution: {integrity: sha512-TMjFYz8to1QE0fKVXCIvG/4giyfnmqcQIwjdNfJvKjBxn22PpbjeuFuQ5kNXshUTRaTJihFbuuCcb5OYFNx4uw==} + turbo-linux-arm64@2.0.4: + resolution: {integrity: sha512-AXfVOjst+mCtPDFT4tCu08Qrfv12Nj7NDd33AjGwV79NYN1Y1rcFY59UQ4nO3ij3rbcvV71Xc+TZJ4csEvRCSg==} cpu: [arm64] os: [linux] - turbo-windows-64@1.10.16: - resolution: {integrity: sha512-+jsf68krs0N66FfC4/zZvioUap/Tq3sPFumnMV+EBo8jFdqs4yehd6+MxIwYTjSQLIcpH8KoNMB0gQYhJRLZzw==} + turbo-windows-64@2.0.4: + resolution: {integrity: sha512-QOnUR9hKl0T5gq5h1fAhVEqBSjpcBi/BbaO71YGQNgsr6pAnCQdbG8/r3MYXet53efM0KTdOhieWeO3KLNKybA==} cpu: [x64] os: [win32] - turbo-windows-arm64@1.10.16: - resolution: {integrity: sha512-sKm3hcMM1bl0B3PLG4ifidicOGfoJmOEacM5JtgBkYM48ncMHjkHfFY7HrJHZHUnXM4l05RQTpLFoOl/uIo2HQ==} + turbo-windows-arm64@2.0.4: + resolution: {integrity: sha512-3v8WpdZy1AxZw0gha0q3caZmm+0gveBQ40OspD6mxDBIS+oBtO5CkxhIXkFJJW+jDKmDlM7wXDIGfMEq+QyNCQ==} cpu: [arm64] os: [win32] - turbo@1.10.16: - resolution: {integrity: sha512-2CEaK4FIuSZiP83iFa9GqMTQhroW2QryckVqUydmg4tx78baftTOS0O+oDAhvo9r9Nit4xUEtC1RAHoqs6ZEtg==} + turbo@2.0.4: + resolution: {integrity: sha512-Ilme/2Q5kYw0AeRr+aw3s02+WrEYaY7U8vPnqSZU/jaDG/qd6jHVN6nRWyd/9KXvJGYM69vE6JImoGoyNjLwaw==} hasBin: true type-check@0.4.0: @@ -14985,13 +14995,13 @@ snapshots: '@commitlint/types': 17.8.1 '@types/node': 20.5.1 chalk: 4.1.2 - cosmiconfig: 8.3.6(typescript@4.7.4) + cosmiconfig: 8.3.6(typescript@4.9.5) cosmiconfig-typescript-loader: 4.4.0(@types/node@20.5.1)(cosmiconfig@8.3.6(typescript@4.9.5))(ts-node@10.9.2(@types/node@20.5.1)(typescript@4.9.5))(typescript@4.9.5) lodash.isplainobject: 4.0.6 lodash.merge: 4.6.2 lodash.uniq: 4.5.0 resolve-from: 5.0.0 - ts-node: 10.9.2(@types/node@20.5.1)(typescript@4.7.4) + ts-node: 10.9.2(@types/node@20.5.1)(typescript@4.9.5) typescript: 4.9.5 transitivePeerDependencies: - '@swc/core' @@ -16180,7 +16190,7 @@ snapshots: - supports-color - ts-node - '@jest/core@29.7.0(ts-node@10.9.2(@types/node@16.18.70)(typescript@4.9.5))': + '@jest/core@29.7.0(ts-node@10.9.2(@types/node@20.8.9)(typescript@4.9.5))': dependencies: '@jest/console': 29.7.0 '@jest/reporters': 29.7.0 @@ -16194,7 +16204,7 @@ snapshots: exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@16.18.70)(ts-node@10.9.2(@types/node@16.18.70)(typescript@4.9.5)) + jest-config: 29.7.0(@types/node@16.18.70)(ts-node@10.9.2(@types/node@20.8.9)(typescript@4.9.5)) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -18428,19 +18438,6 @@ snapshots: b4a@1.6.4: {} - babel-jest@29.7.0(@babel/core@7.23.2): - dependencies: - '@babel/core': 7.23.2 - '@jest/transform': 29.7.0 - '@types/babel__core': 7.20.3 - babel-plugin-istanbul: 6.1.1 - babel-preset-jest: 29.6.3(@babel/core@7.23.2) - chalk: 4.1.2 - graceful-fs: 4.2.11 - slash: 3.0.0 - transitivePeerDependencies: - - supports-color - babel-jest@29.7.0(@babel/core@7.23.7): dependencies: '@babel/core': 7.23.7 @@ -18571,12 +18568,6 @@ snapshots: '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.23.7) '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.23.7) - babel-preset-jest@29.6.3(@babel/core@7.23.2): - dependencies: - '@babel/core': 7.23.2 - babel-plugin-jest-hoist: 29.6.3 - babel-preset-current-node-syntax: 1.0.1(@babel/core@7.23.2) - babel-preset-jest@29.6.3(@babel/core@7.23.7): dependencies: '@babel/core': 7.23.7 @@ -19363,8 +19354,8 @@ snapshots: cosmiconfig-typescript-loader@4.4.0(@types/node@20.5.1)(cosmiconfig@8.3.6(typescript@4.9.5))(ts-node@10.9.2(@types/node@20.5.1)(typescript@4.9.5))(typescript@4.9.5): dependencies: '@types/node': 20.5.1 - cosmiconfig: 8.3.6(typescript@4.7.4) - ts-node: 10.9.2(@types/node@20.5.1)(typescript@4.7.4) + cosmiconfig: 8.3.6(typescript@4.9.5) + ts-node: 10.9.2(@types/node@20.5.1)(typescript@4.9.5) typescript: 4.9.5 cosmiconfig-typescript-loader@5.0.0(@types/node@18.18.7)(cosmiconfig@8.3.6(typescript@5.3.3))(typescript@5.3.3): @@ -19398,14 +19389,14 @@ snapshots: parse-json: 5.2.0 path-type: 4.0.0 - cosmiconfig@8.3.6(typescript@4.7.4): + cosmiconfig@8.3.6(typescript@4.9.5): dependencies: import-fresh: 3.3.0 js-yaml: 4.1.0 parse-json: 5.2.0 path-type: 4.0.0 optionalDependencies: - typescript: 4.7.4 + typescript: 4.9.5 cosmiconfig@8.3.6(typescript@5.2.2): dependencies: @@ -19456,13 +19447,13 @@ snapshots: - supports-color - ts-node - create-jest@29.7.0(@types/node@16.18.70)(ts-node@10.9.2(@types/node@16.18.70)(typescript@4.9.5)): + create-jest@29.7.0(@types/node@20.8.9)(ts-node@10.9.2(@types/node@20.8.9)(typescript@4.9.5)): dependencies: '@jest/types': 29.6.3 chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@16.18.70)(ts-node@10.9.2(@types/node@16.18.70)(typescript@4.9.5)) + jest-config: 29.7.0(@types/node@20.8.9)(ts-node@10.9.2(@types/node@20.8.9)(typescript@4.9.5)) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -20712,6 +20703,11 @@ snapshots: dotenv: 16.0.3 eslint: 8.52.0 + eslint-plugin-turbo@2.0.4(eslint@8.52.0): + dependencies: + dotenv: 16.0.3 + eslint: 8.52.0 + eslint-plugin-vue@9.18.0(eslint@8.57.0): dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) @@ -22730,16 +22726,16 @@ snapshots: - supports-color - ts-node - jest-cli@29.7.0(@types/node@16.18.70)(ts-node@10.9.2(@types/node@16.18.70)(typescript@4.9.5)): + jest-cli@29.7.0(@types/node@20.8.9)(ts-node@10.9.2(@types/node@20.8.9)(typescript@4.9.5)): dependencies: - '@jest/core': 29.7.0(ts-node@10.9.2(@types/node@16.18.70)(typescript@4.9.5)) + '@jest/core': 29.7.0(ts-node@10.9.2(@types/node@20.8.9)(typescript@4.9.5)) '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 chalk: 4.1.2 - create-jest: 29.7.0(@types/node@16.18.70)(ts-node@10.9.2(@types/node@16.18.70)(typescript@4.9.5)) + create-jest: 29.7.0(@types/node@20.8.9)(ts-node@10.9.2(@types/node@20.8.9)(typescript@4.9.5)) exit: 0.1.2 import-local: 3.1.0 - jest-config: 29.7.0(@types/node@16.18.70)(ts-node@10.9.2(@types/node@16.18.70)(typescript@4.9.5)) + jest-config: 29.7.0(@types/node@20.8.9)(ts-node@10.9.2(@types/node@20.8.9)(typescript@4.9.5)) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.2 @@ -22811,7 +22807,7 @@ snapshots: - babel-plugin-macros - supports-color - jest-config@29.7.0(@types/node@16.18.70)(ts-node@10.9.2(@types/node@16.18.70)(typescript@4.9.5)): + jest-config@29.7.0(@types/node@16.18.70)(ts-node@10.9.2(@types/node@20.8.9)(typescript@4.9.5)): dependencies: '@babel/core': 7.23.7 '@jest/test-sequencer': 29.7.0 @@ -22837,7 +22833,38 @@ snapshots: strip-json-comments: 3.1.1 optionalDependencies: '@types/node': 16.18.70 - ts-node: 10.9.2(@types/node@16.18.70)(typescript@4.9.5) + ts-node: 10.9.2(@types/node@20.8.9)(typescript@4.9.5) + transitivePeerDependencies: + - babel-plugin-macros + - supports-color + + jest-config@29.7.0(@types/node@20.8.9)(ts-node@10.9.2(@types/node@20.8.9)(typescript@4.9.5)): + dependencies: + '@babel/core': 7.23.7 + '@jest/test-sequencer': 29.7.0 + '@jest/types': 29.6.3 + babel-jest: 29.7.0(@babel/core@7.23.7) + chalk: 4.1.2 + ci-info: 3.9.0 + deepmerge: 4.3.1 + glob: 7.2.3 + graceful-fs: 4.2.11 + jest-circus: 29.7.0 + jest-environment-node: 29.7.0 + jest-get-type: 29.6.3 + jest-regex-util: 29.6.3 + jest-resolve: 29.7.0 + jest-runner: 29.7.0 + jest-util: 29.7.0 + jest-validate: 29.7.0 + micromatch: 4.0.5 + parse-json: 5.2.0 + pretty-format: 29.7.0 + slash: 3.0.0 + strip-json-comments: 3.1.1 + optionalDependencies: + '@types/node': 20.8.9 + ts-node: 10.9.2(@types/node@20.8.9)(typescript@4.9.5) transitivePeerDependencies: - babel-plugin-macros - supports-color @@ -22970,8 +22997,8 @@ snapshots: optionalDependencies: jest-resolve: 29.7.0 - ? jest-preset-angular@12.2.6(@angular-devkit/build-angular@14.2.13(@angular/compiler-cli@13.4.0(@angular/compiler@13.4.0)(typescript@4.6.4))(chokidar@3.5.3)(html-webpack-plugin@5.5.3)(karma@6.4.2)(ng-packagr@14.3.0(@angular/compiler-cli@13.4.0(@angular/compiler@13.4.0)(typescript@4.6.4))(@types/node@16.18.70)(tslib@2.6.2)(typescript@4.6.4))(typescript@4.6.4))(@angular/compiler-cli@13.4.0(@angular/compiler@13.4.0)(typescript@4.6.4))(@angular/core@13.4.0(rxjs@7.5.7)(zone.js@0.11.8))(@angular/platform-browser-dynamic@14.3.0(@angular/common@13.4.0(@angular/core@13.4.0(rxjs@7.5.7)(zone.js@0.11.8))(rxjs@7.5.7))(@angular/compiler@13.4.0)(@angular/core@13.4.0(rxjs@7.5.7)(zone.js@0.11.8))(@angular/platform-browser@14.3.0(@angular/animations@14.3.0(@angular/core@13.4.0(rxjs@7.5.7)(zone.js@0.11.8)))(@angular/common@13.4.0(@angular/core@13.4.0(rxjs@7.5.7)(zone.js@0.11.8))(rxjs@7.5.7))(@angular/core@13.4.0(rxjs@7.5.7)(zone.js@0.11.8))))(@babel/core@7.23.7)(jest@29.7.0(@types/node@16.18.70)(ts-node@10.9.2(@types/node@16.18.70)(typescript@4.6.4)))(typescript@4.6.4) - : dependencies: + jest-preset-angular@12.2.6(vx5hk2w2bmgdzxlhruwhvtagem): + dependencies: '@angular-devkit/build-angular': 14.2.13(@angular/compiler-cli@13.4.0(@angular/compiler@13.4.0)(typescript@4.6.4))(chokidar@3.5.3)(html-webpack-plugin@5.5.3)(karma@6.4.2)(ng-packagr@14.3.0(@angular/compiler-cli@13.4.0(@angular/compiler@13.4.0)(typescript@4.6.4))(@types/node@16.18.70)(tslib@2.6.2)(typescript@4.6.4))(typescript@4.6.4) '@angular/compiler-cli': 13.4.0(@angular/compiler@13.4.0)(typescript@4.6.4) '@angular/core': 13.4.0(rxjs@7.5.7)(zone.js@0.11.8) @@ -22981,7 +23008,7 @@ snapshots: jest: 29.7.0(@types/node@16.18.70)(ts-node@10.9.2(@types/node@16.18.70)(typescript@4.6.4)) jest-environment-jsdom: 28.1.3 pretty-format: 28.1.3 - ts-jest: 28.0.8(@babel/core@7.23.7)(esbuild@0.19.12)(jest@29.7.0(@types/node@16.18.70)(ts-node@10.9.2(@types/node@16.18.70)(typescript@4.6.4)))(typescript@4.6.4) + ts-jest: 28.0.8(@babel/core@7.23.2)(esbuild@0.19.12)(jest@29.7.0(@types/node@16.18.70)(ts-node@10.9.2(@types/node@16.18.70)(typescript@4.6.4)))(typescript@4.6.4) typescript: 4.6.4 optionalDependencies: esbuild: 0.19.12 @@ -23174,12 +23201,12 @@ snapshots: - supports-color - ts-node - jest@29.7.0(@types/node@16.18.70)(ts-node@10.9.2(@types/node@16.18.70)(typescript@4.9.5)): + jest@29.7.0(@types/node@20.8.9)(ts-node@10.9.2(@types/node@20.8.9)(typescript@4.9.5)): dependencies: - '@jest/core': 29.7.0(ts-node@10.9.2(@types/node@16.18.70)(typescript@4.9.5)) + '@jest/core': 29.7.0(ts-node@10.9.2(@types/node@20.8.9)(typescript@4.9.5)) '@jest/types': 29.6.3 import-local: 3.1.0 - jest-cli: 29.7.0(@types/node@16.18.70)(ts-node@10.9.2(@types/node@16.18.70)(typescript@4.9.5)) + jest-cli: 29.7.0(@types/node@20.8.9)(ts-node@10.9.2(@types/node@20.8.9)(typescript@4.9.5)) transitivePeerDependencies: - '@types/node' - babel-plugin-macros @@ -28089,7 +28116,7 @@ snapshots: ts-interface-checker@0.1.13: {} - ts-jest@28.0.8(@babel/core@7.23.7)(esbuild@0.19.12)(jest@29.7.0(@types/node@16.18.70)(ts-node@10.9.2(@types/node@16.18.70)(typescript@4.6.4)))(typescript@4.6.4): + ts-jest@28.0.8(@babel/core@7.23.2)(esbuild@0.19.12)(jest@29.7.0(@types/node@16.18.70)(ts-node@10.9.2(@types/node@16.18.70)(typescript@4.6.4)))(typescript@4.6.4): dependencies: bs-logger: 0.2.6 fast-json-stable-stringify: 2.1.0 @@ -28102,10 +28129,10 @@ snapshots: typescript: 4.6.4 yargs-parser: 21.1.1 optionalDependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.2 esbuild: 0.19.12 - ts-jest@29.1.1(@babel/core@7.23.7)(jest@29.7.0(@types/node@16.18.70)(ts-node@10.9.2(@types/node@16.18.70)(typescript@4.6.4)))(typescript@4.6.4): + ts-jest@29.1.1(@babel/core@7.23.2)(jest@29.7.0(@types/node@16.18.70)(ts-node@10.9.2(@types/node@16.18.70)(typescript@4.6.4)))(typescript@4.6.4): dependencies: bs-logger: 0.2.6 fast-json-stable-stringify: 2.1.0 @@ -28118,7 +28145,7 @@ snapshots: typescript: 4.6.4 yargs-parser: 21.1.1 optionalDependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.2 ts-node@10.9.1(@types/node@16.18.70)(typescript@5.3.3): dependencies: @@ -28193,14 +28220,14 @@ snapshots: yn: 3.1.1 optional: true - ts-node@10.9.2(@types/node@16.18.70)(typescript@4.9.5): + ts-node@10.9.2(@types/node@20.5.1)(typescript@4.9.5): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.9 '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 16.18.70 + '@types/node': 20.5.1 acorn: 8.11.3 acorn-walk: 8.3.2 arg: 4.1.3 @@ -28210,25 +28237,25 @@ snapshots: typescript: 4.9.5 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 - optional: true - ts-node@10.9.2(@types/node@20.5.1)(typescript@4.7.4): + ts-node@10.9.2(@types/node@20.8.9)(typescript@4.9.5): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.9 '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 20.5.1 + '@types/node': 20.8.9 acorn: 8.11.3 acorn-walk: 8.3.2 arg: 4.1.3 create-require: 1.1.1 diff: 4.0.2 make-error: 1.3.6 - typescript: 4.7.4 + typescript: 4.9.5 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 + optional: true tslib@1.14.1: {} @@ -28258,32 +28285,32 @@ snapshots: wcwidth: 1.0.1 yargs: 17.7.2 - turbo-darwin-64@1.10.16: + turbo-darwin-64@2.0.4: optional: true - turbo-darwin-arm64@1.10.16: + turbo-darwin-arm64@2.0.4: optional: true - turbo-linux-64@1.10.16: + turbo-linux-64@2.0.4: optional: true - turbo-linux-arm64@1.10.16: + turbo-linux-arm64@2.0.4: optional: true - turbo-windows-64@1.10.16: + turbo-windows-64@2.0.4: optional: true - turbo-windows-arm64@1.10.16: + turbo-windows-arm64@2.0.4: optional: true - turbo@1.10.16: + turbo@2.0.4: optionalDependencies: - turbo-darwin-64: 1.10.16 - turbo-darwin-arm64: 1.10.16 - turbo-linux-64: 1.10.16 - turbo-linux-arm64: 1.10.16 - turbo-windows-64: 1.10.16 - turbo-windows-arm64: 1.10.16 + turbo-darwin-64: 2.0.4 + turbo-darwin-arm64: 2.0.4 + turbo-linux-64: 2.0.4 + turbo-linux-arm64: 2.0.4 + turbo-windows-64: 2.0.4 + turbo-windows-arm64: 2.0.4 type-check@0.4.0: dependencies: @@ -28731,13 +28758,13 @@ snapshots: remove-trailing-separator: 1.1.0 replace-ext: 1.0.1 - vite-node@1.3.1(@types/node@16.18.70)(less@4.2.0)(sass@1.69.5)(stylus@0.59.0)(terser@5.22.0): + vite-node@1.3.1(@types/node@20.8.9)(less@4.2.0)(sass@1.69.5)(stylus@0.59.0)(terser@5.22.0): dependencies: cac: 6.7.14 debug: 4.3.4 pathe: 1.1.2 picocolors: 1.0.0 - vite: 5.1.4(@types/node@16.18.70)(less@4.2.0)(sass@1.69.5)(stylus@0.59.0)(terser@5.22.0) + vite: 5.1.4(@types/node@20.8.9)(less@4.2.0)(sass@1.69.5)(stylus@0.59.0)(terser@5.22.0) transitivePeerDependencies: - '@types/node' - less @@ -28775,20 +28802,20 @@ snapshots: stylus: 0.59.0 terser: 5.22.0 - vite@5.1.4(@types/node@16.18.70)(less@4.2.0)(sass@1.69.5)(stylus@0.59.0)(terser@5.22.0): + vite@5.1.4(@types/node@20.8.9)(less@4.2.0)(sass@1.69.5)(stylus@0.59.0)(terser@5.22.0): dependencies: esbuild: 0.19.12 postcss: 8.4.35 rollup: 4.12.0 optionalDependencies: - '@types/node': 16.18.70 + '@types/node': 20.8.9 fsevents: 2.3.3 less: 4.2.0 sass: 1.69.5 stylus: 0.59.0 terser: 5.22.0 - vitest@1.3.1(@types/node@16.18.70)(happy-dom@14.7.1)(jsdom@20.0.3)(less@4.2.0)(sass@1.69.5)(stylus@0.59.0)(terser@5.22.0): + vitest@1.3.1(@types/node@20.8.9)(happy-dom@14.7.1)(jsdom@20.0.3)(less@4.2.0)(sass@1.69.5)(stylus@0.59.0)(terser@5.22.0): dependencies: '@vitest/expect': 1.3.1 '@vitest/runner': 1.3.1 @@ -28807,11 +28834,11 @@ snapshots: strip-literal: 2.0.0 tinybench: 2.6.0 tinypool: 0.8.2 - vite: 5.1.4(@types/node@16.18.70)(less@4.2.0)(sass@1.69.5)(stylus@0.59.0)(terser@5.22.0) - vite-node: 1.3.1(@types/node@16.18.70)(less@4.2.0)(sass@1.69.5)(stylus@0.59.0)(terser@5.22.0) + vite: 5.1.4(@types/node@20.8.9)(less@4.2.0)(sass@1.69.5)(stylus@0.59.0)(terser@5.22.0) + vite-node: 1.3.1(@types/node@20.8.9)(less@4.2.0)(sass@1.69.5)(stylus@0.59.0)(terser@5.22.0) why-is-node-running: 2.2.2 optionalDependencies: - '@types/node': 16.18.70 + '@types/node': 20.8.9 happy-dom: 14.7.1 jsdom: 20.0.3 transitivePeerDependencies: diff --git a/turbo.json b/turbo.json index 77f9d6e52e..77b5423163 100644 --- a/turbo.json +++ b/turbo.json @@ -1,40 +1,54 @@ -{ - "$schema": "https://turborepo.org/schema.json", - "globalDotEnv": [".env"], - "globalEnv": ["CI"], - "pipeline": { - "build": { - "dependsOn": ["^build"], - "outputs": [ - "components/**", - "dist/**", - "dist-css/**", - "build/**", - "www/**", - "loader/**", - "component-doc.json", - "components/**" - ], - "outputMode": "new-only" - }, - "pkg": { - "dependsOn": ["^build"], - "cache": true - }, - "start": { - "dependsOn": ["^build"], - "cache": true - }, - "lint": { - "cache": false - }, - "visual-regression": { - "dependsOn": ["build"], - "cache": false - }, - "test": { - "dependsOn": ["^build"], - "cache": false - } - } -} +{ + "$schema": "https://turborepo.org/schema.json", + "globalEnv": [ + "CI" + ], + "globalDependencies": [ + ".env" + ], + "tasks": { + "build": { + "dependsOn": [ + "^build" + ], + "outputs": [ + "components/**", + "dist/**", + "dist-css/**", + "build/**", + "www/**", + "loader/**", + "component-doc.json", + "components/**" + ], + "outputLogs": "new-only" + }, + "pkg": { + "dependsOn": [ + "^build" + ], + "cache": true + }, + "start": { + "dependsOn": [ + "^build" + ], + "cache": true + }, + "lint": { + "cache": false + }, + "visual-regression": { + "dependsOn": [ + "build" + ], + "cache": false + }, + "test": { + "dependsOn": [ + "^build" + ], + "cache": false + } + } +}