-
Notifications
You must be signed in to change notification settings - Fork 470
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: correct prepare icons (#8534)
- Loading branch information
Showing
8 changed files
with
83 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,11 +11,6 @@ jobs: | |
- uses: taiga-family/ci/actions/setup/[email protected] | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
- name: Copy flags from design tokens icons | ||
run: | | ||
rm -rf ./projects/icons/src/flags && mkdir -p ./projects/icons/src/flags | ||
cp -R ./node_modules/@taiga-ui/design-tokens/icons/flags/* ./projects/icons/src/flags | ||
npx prettier ./projects/icons/src/flags --write | ||
- name: Lucide icons | ||
run: | | ||
npx nx prebuild icons | ||
|
@@ -24,6 +19,10 @@ jobs: | |
run: | | ||
npx nx prebuild icons-material | ||
npx nx build icons-material | ||
- name: FontAwesome icons | ||
run: | | ||
npx nx prebuild icons-fontawesome | ||
npx nx build icons-fontawesome | ||
- run: | | ||
npx ts-node ./scripts/generate-used-icons.ts | ||
npx eslint ./projects/cdk/constants/used-icons.ts --fix || echo "no file matching" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
export const PAYMENTS_ICONS = [ | ||
'electron-mono', | ||
'maestro-mono', | ||
'mastercard-mono', | ||
'mir-mono', | ||
'visa-mono', | ||
'electron', | ||
'cirrus', | ||
'maestro', | ||
'mastercard', | ||
'mir', | ||
'visa', | ||
'union-pay', | ||
'jcb', | ||
'pay-pal', | ||
'amex', | ||
'diners-club', | ||
'discover', | ||
'humo', | ||
'ru-pay', | ||
'uzcard', | ||
'verve', | ||
'apple-pay', | ||
'google-pay', | ||
'samsung-pay', | ||
'world-pay', | ||
'ali-pay', | ||
'amazon-pay', | ||
'android-pay', | ||
] as const; |