Skip to content

Commit

Permalink
Merge branch 'main' into feature/9721-migrate-tui-form-classes
Browse files Browse the repository at this point in the history
  • Loading branch information
waterplea authored Dec 20, 2024
2 parents f86cb7c + 08f924d commit bcb3658
Show file tree
Hide file tree
Showing 112 changed files with 2,255 additions and 1,031 deletions.
13 changes: 12 additions & 1 deletion .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,18 @@
"import": ["@taiga-ui/cspell-config/cspell.config.js"],
"files": ["*/*.*"],
"ignorePaths": ["**/projects/i18n/languages/**", "**/addon-commerce/utils/get-currency-symbol.ts"],
"ignoreWords": ["Wachovia", "bottomsheet", "appbar", "qwertypgj_", "antialiasing", "xxxs", "significand"],
"ignoreWords": [
"Wachovia",
"bottomsheet",
"appbar",
"qwertypgj_",
"antialiasing",
"xxxs",
"significand",
"undoubtable",
"Clintock",
"Bonorum"
],
"ignoreRegExpList": ["\\(https?://.*?\\)", "\\/{1}.+\\/{1}", "\\%2F.+", "\\%2C.+", "\\ɵ.+", "\\ыва.+"],
"overrides": [
{
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/assign-author.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/variables@v1.102.0
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: toshimaru/[email protected]
continue-on-error: true

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
matrix: ${{ steps.matrix.outputs.value }}
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/variables@v1.102.0
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- id: matrix
if: env.IS_TAIGA_FAMILY_BOT_PR_AUTHOR == 'true'
run: |
Expand All @@ -31,7 +31,7 @@ jobs:
matrix:
value: ${{ fromJSON(needs.setup.outputs.matrix) }}
steps:
- uses: taiga-family/ci/actions/run/wait-job@v1.102.0
- uses: taiga-family/ci/actions/run/wait-job@v1.104.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
job: ${{ matrix.value }}
Expand All @@ -41,13 +41,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/variables@v1.102.0
- uses: taiga-family/ci/actions/auto/approve/double@v1.102.0
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/auto/approve/double@v1.104.0
if: env.IS_TAIGA_FAMILY_BOT_PR_AUTHOR == 'true'
with:
token1: ${{ secrets.GITHUB_TOKEN }}
token2: ${{ secrets.TAIGA_FAMILY_APPROVE_BOT_PAT }}
- uses: taiga-family/ci/actions/run/merge@v1.102.0
- uses: taiga-family/ci/actions/run/merge@v1.104.0
if: env.IS_TAIGA_FAMILY_BOT_PR_AUTHOR == 'true'
with:
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/auto-update-icons.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
- uses: actions/[email protected]
with:
persist-credentials: false
- uses: taiga-family/ci/actions/setup/variables@v1.102.0
- uses: taiga-family/ci/actions/setup/node@v1.102.0
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/setup/node@v1.104.0
- name: Lucide icons
run: |
npx nx prebuild icons
Expand All @@ -31,7 +31,7 @@ jobs:
npx eslint ./projects/demo/used-icons.ts --fix || echo "no file matching"
npx prettier ./projects/demo/used-icons.ts --write || echo "no file matching"
npx prettier ./projects/cdk/constants/used-icons.ts --write || echo "no file matching"
- uses: taiga-family/ci/actions/auto/push@v1.102.0
- uses: taiga-family/ci/actions/auto/push@v1.104.0
if: env.SUPPORT_AUTO_PUSH
with:
message: icons have changed
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/variables@v1.102.0
- uses: taiga-family/ci/actions/setup/node@v1.102.0
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/setup/node@v1.104.0
- run: npm run run-many:build:libs
- run: npx ts-node ./scripts/check-dist.ts

Expand All @@ -22,8 +22,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/variables@v1.102.0
- uses: taiga-family/ci/actions/setup/node@v1.102.0
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/setup/node@v1.104.0
- run: npx nx prerender demo
- run: npx --yes bundlemon --config .github/.bundlemonrc.json
continue-on-error: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ jobs:
with:
fetch-depth: 0
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}
- uses: taiga-family/ci/actions/setup/node@v1.102.0
- uses: taiga-family/ci/actions/setup/config/git@v1.102.0
- uses: taiga-family/ci/actions/setup/node@v1.104.0
- uses: taiga-family/ci/actions/setup/config/git@v1.104.0
with:
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/variables@v1.102.0
- uses: taiga-family/ci/actions/setup/variables@v1.104.0

- name: Prepare demo before deploy from snapshots
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/variables@v1.102.0
- uses: taiga-family/ci/actions/setup/node@v1.102.0
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/setup/node@v1.104.0
- run: npx nx build demo
- name: Debug output
run: tree dist/demo/browser -P '*.html'
Expand Down
36 changes: 18 additions & 18 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
- uses: actions/[email protected]
with:
fetch-depth: 10
- uses: taiga-family/ci/actions/setup/variables@v1.102.0
- uses: taiga-family/ci/actions/run/rebase@v1.102.0
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/run/rebase@v1.104.0
continue-on-error: true
- uses: taiga-family/ci/actions/setup/node@v1.102.0
- uses: taiga-family/ci/actions/setup/node@v1.104.0

- run: npx nx type-check demo-playwright
- name: Building demo-app of git-branch without cache
Expand All @@ -41,14 +41,14 @@ jobs:
- uses: actions/[email protected]
with:
ref: ${{ github.base_ref }}
- uses: taiga-family/ci/actions/setup/variables@v1.102.0
- uses: taiga-family/ci/actions/setup/node@v1.102.0
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/setup/node@v1.104.0

- name: Run tests for baseline state
run: npx nx component-test demo-cypress

- name: Save Cypress Baseline Snapshots
uses: actions/upload-artifact@v4.4.3
uses: actions/upload-artifact@v4.5.0
with:
path: ${{env.CYPRESS_BASELINE_SNAPSHOTS}}
name: ${{env.CYPRESS_BASELINE_SNAPSHOTS_KEY}}
Expand All @@ -57,8 +57,8 @@ jobs:
retention-days: 1

- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/variables@v1.102.0
- uses: taiga-family/ci/actions/setup/node@v1.102.0
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/setup/node@v1.104.0

- name: Download Cypress Baseline Snapshots
uses: actions/[email protected]
Expand All @@ -80,7 +80,7 @@ jobs:
run: tree ${{ env.CYPRESS_RESULTS_FOLDER }} -L 1

- name: Upload artifacts
uses: actions/upload-artifact@v4.4.3
uses: actions/upload-artifact@v4.5.0
with:
path: '${{ env.CYPRESS_RESULTS_FOLDER }}/**/*.diff.png'
name: ${{ env.CYPRESS_SNAPSHOTS_ARTIFACTS_KEY }}
Expand Down Expand Up @@ -120,13 +120,13 @@ jobs:
runs-on: ${{ matrix.shard.os }}
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/variables@v1.102.0
- uses: taiga-family/ci/actions/setup/variables@v1.104.0

- name: Mac OS X building all dependencies
if: ${{ contains( matrix.shard.os, 'macos') }}
run: brew install pkg-config cairo pango libpng jpeg-turbo giflib librsvg --force || echo ''

- uses: taiga-family/ci/actions/setup/node@v1.102.0
- uses: taiga-family/ci/actions/setup/node@v1.104.0

- name: Get installed Playwright version
id: playwright-version
Expand All @@ -152,7 +152,7 @@ jobs:
path: dist/demo
key: ${{ env.CACHE_DIST_KEY }}

- uses: taiga-family/ci/actions/run/serve@v1.102.0
- uses: taiga-family/ci/actions/run/serve@v1.104.0
with:
port: ${{ env.NG_SERVER_PORT }}
directory: ${{ env.DIST }}
Expand All @@ -165,12 +165,12 @@ jobs:
--project=${{ matrix.shard.project }} \
--shard=${{ matrix.shard.index }}/${{ matrix.shard.total }}
- uses: taiga-family/ci/actions/run/clone@v1.102.0
- uses: taiga-family/ci/actions/run/clone@v1.104.0
with:
branch: snapshots/demo/next/${{ github.base_ref }}
destination: ${{ env.DIST_NEXT }}

- uses: taiga-family/ci/actions/run/serve@v1.102.0
- uses: taiga-family/ci/actions/run/serve@v1.104.0
with:
port: ${{ env.NG_SERVER_PORT }}
directory: ${{ env.DIST_NEXT }}
Expand All @@ -190,7 +190,7 @@ jobs:
npx ts-node ./scripts/visual-testing/combine-playwright-failed-screenshots.ts
- name: Upload artifacts / ${{ env.PLAYWRIGHT_SNAPSHOTS_ARTIFACTS_KEY }}
uses: actions/upload-artifact@v4.4.3
uses: actions/upload-artifact@v4.5.0
with:
path: ./projects/demo-playwright/tests-results/**/*-retry${{ env.RETRY_COUNT }}/**/*.diff.png
name: ${{ env.PLAYWRIGHT_SNAPSHOTS_ARTIFACTS_KEY }}_${{ matrix.shard.index }}
Expand All @@ -199,7 +199,7 @@ jobs:
retention-days: 1

- name: Upload reports / ${{ env.PLAYWRIGHT_BLOB_ARTIFACTS_KEY }}_${{ matrix.shard.index }}
uses: actions/upload-artifact@v4.4.3
uses: actions/upload-artifact@v4.5.0
with:
path: ./projects/demo-playwright/blob-report
name: ${{ env.PLAYWRIGHT_BLOB_ARTIFACTS_KEY }}_${{ matrix.shard.index }}
Expand Down Expand Up @@ -230,8 +230,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/variables@v1.102.0
- uses: taiga-family/ci/actions/setup/node@v1.102.0
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/setup/node@v1.104.0

- name: Download artifacts for Playwright
continue-on-error: true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
- uses: actions/[email protected]
with:
persist-credentials: false
- uses: taiga-family/ci/actions/setup/variables@v1.102.0
- uses: taiga-family/ci/actions/setup/node@v1.102.0
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/setup/node@v1.104.0
- run: npm run typecheck
- run: npm run cspell
- run: |
Expand All @@ -27,7 +27,7 @@ jobs:
npm run prettier -- --check
npm run lint
fi
- uses: taiga-family/ci/actions/auto/push@v1.102.0
- uses: taiga-family/ci/actions/auto/push@v1.104.0
with:
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
name: Publish canary
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/variables@v1.102.0
- uses: taiga-family/ci/actions/setup/node@v1.102.0
- uses: taiga-family/ci/actions/setup/config/npm@v1.102.0
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/setup/node@v1.104.0
- uses: taiga-family/ci/actions/setup/config/npm@v1.104.0
with:
token: ${{ secrets.TAIGA_UI_SCOPE_NPM_TOKEN }}
- run: npx ts-node ./scripts/publish-canary.ts
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,27 @@ jobs:
- uses: actions/[email protected]
with:
fetch-depth: 0
- uses: taiga-family/ci/actions/setup/variables@v1.102.0
- uses: taiga-family/ci/actions/setup/node@v1.102.0
- uses: taiga-family/ci/actions/setup/config/npm@v1.102.0
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/setup/node@v1.104.0
- uses: taiga-family/ci/actions/setup/config/npm@v1.104.0
with:
token: ${{ secrets.TAIGA_UI_SCOPE_NPM_TOKEN }}

- run: npx nx run-many -t publish

- uses: taiga-family/ci/actions/run/read-package-json@v1.102.0
- uses: taiga-family/ci/actions/run/read-package-json@v1.104.0
id: info

- name: Announce to Time messenger
uses: taiga-family/ci/actions/messenger/time/announce@v1.102.0
uses: taiga-family/ci/actions/messenger/time/announce@v1.104.0
if: ${{ !contains(steps.info.outputs.version, 'rc') }}
with:
url: ${{ secrets.ANNOUNCE_WEBHOOK }}
channel: ${{ secrets.ANNOUNCE_TARGET }}
version: v${{ steps.info.outputs.version }}

- name: Announce to Telegram messenger
uses: taiga-family/ci/actions/messenger/telegram/announce@v1.102.0
uses: taiga-family/ci/actions/messenger/telegram/announce@v1.104.0
if: ${{ !contains(steps.info.outputs.version, 'rc') }}
with:
chatId: ${{ secrets.TAIGA_TELEGRAM_CHAT_ID }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ready-to-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
if: github.event.review.state == 'approved'
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/variables@v1.102.0
- uses: taiga-family/ci/actions/auto/label-when-approved@v1.102.0
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/auto/label-when-approved@v1.104.0
with:
approvals: 2
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/schematic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ jobs:
name: Run the latest migration
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/node@v1.102.0
- uses: taiga-family/ci/actions/run/node-info@v1.102.0
- uses: taiga-family/ci/actions/setup/node@v1.104.0
- uses: taiga-family/ci/actions/run/node-info@v1.104.0
id: info
- run: npx nx run cdk:schematics --v=${{ steps.info.outputs.root-package-major-version }}

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/variables@v1.102.0
- uses: taiga-family/ci/actions/setup/node@v1.102.0
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/setup/node@v1.104.0

- run: npx nx build demo # Don't use prerender please, because it's flaky for e2e
- run: tree ${{ env.DIST }} -P '*.html'
Expand All @@ -35,8 +35,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/variables@v1.102.0
- uses: taiga-family/ci/actions/setup/node@v1.102.0
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/setup/node@v1.104.0
id: nodejs-workspace

- run: npx nx prerender demo
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
name: Unit tests
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/variables@v1.102.0
- uses: taiga-family/ci/actions/setup/node@v1.102.0
- uses: taiga-family/ci/actions/setup/variables@v1.104.0
- uses: taiga-family/ci/actions/setup/node@v1.104.0
- run: npm test
- run: tree -L 2 ./coverage -P 'lcov.info'
- uses: codecov/[email protected]
Expand Down
Loading

0 comments on commit bcb3658

Please sign in to comment.