Introduce new examples, add new lint rules, move .env
to gitignore, and more
#41
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
2024-10-22
🧰 Added
examples
examples/video_elements
.examples/app_video_elements
.Added a
.prettierrc
config file to introduce some consistency across the Starter Kit repo, for developers who have forked this repo for their own projects are welcome to adjust to their own liking and preferences.eslint
Added arguments to the
formatjs/no-literal-string-in-jsx
rule to include App UI Kit props that should be localized (e.g. ariaLabel now is highlighted if developers are not using the recommendreact-intl
messaging pattern).Added a new rule to lint against inlining large assets, such as videos, images or audio in apps, which leads to larger and slower apps.
🐞 Fixed
npm start
on an Ubuntu system would result inError: Cannot find module '@ngrok/ngrok-linux-x64-gnu
.npm run extract
on Windows systems would generate an emptymessages_en.json
(Github issue).🔧 Changed
@canva/app-i18n-kit
app-i18n-kit
to version1.0.0
.@canva/app-ui-kit
app-ui-kit
to version4.1.0
. Please see the changelog for the list of changes.Added instructions to the README for running an example.
Dependencies audit, upgrading all modules where possible:
Moved
.env
to a.env.template
and added to the.gitignore
, a postinstall script now copies this locally.