Skip to content

Commit

Permalink
🚚 [#724] Move i18n-formatter helper script to bin folder
Browse files Browse the repository at this point in the history
Utility/development scripts are now properly colocated in the bin/
folder, for consistency across projects/repositories.
  • Loading branch information
sergei-maertens committed Jan 6, 2025
1 parent 5e1590b commit 7429dcd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@
"test": "TZ=Europe/Amsterdam vitest",
"test:storybook": "test-storybook --coverage",
"prepare-package": "node bin/prepare-package.js",
"makemessages-en": "formatjs extract 'src/**/*.{js,jsx}' --format scripts/i18n-formatter.js --out-file src/i18n/messages/en.json --id-interpolation-pattern '[sha512:contenthash:base64:6]'",
"makemessages-nl": "formatjs extract 'src/**/*.{js,jsx}' --format scripts/i18n-formatter.js --out-file src/i18n/messages/nl.json --id-interpolation-pattern '[sha512:contenthash:base64:6]'",
"makemessages-en": "formatjs extract 'src/**/*.{js,jsx}' --format bin/i18n-formatter.js --out-file src/i18n/messages/en.json --id-interpolation-pattern '[sha512:contenthash:base64:6]'",
"makemessages-nl": "formatjs extract 'src/**/*.{js,jsx}' --format bin/i18n-formatter.js --out-file src/i18n/messages/nl.json --id-interpolation-pattern '[sha512:contenthash:base64:6]'",
"makemessages": "npm run makemessages-nl && npm run makemessages-en",
"compilemessages": "formatjs compile-folder --ast src/i18n/messages src/i18n/compiled",
"build:design-tokens": "npm run build --workspace=design-tokens",
Expand Down

0 comments on commit 7429dcd

Please sign in to comment.