Developer Xmas 2024: Apps SDK unit testing, more i18n linting, updated examples, dependencies and more #45
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-12-16
🎁 Developer Christmas
examples/unit_testing
and updated jest config to demonstrate how to unit test Apps SDK functions with mocks🧰 Added
Added
.gitattributes
file to enforce consistent LF line endings for text files across all environments. This change ensures cross-platform compatibility and resolves issues with tools like Prettier failing on Windows due to line-ending mismatches.The following file types are now normalized to LF line endings
*.css
,*.ts
,*.tsx
,*.json
,*.js
, and*.mjs
examples
i18n
example to demonstrate how to handle multiline messages.conf
{label: "foo"}
.🔨 Breaking changes
@canva/design@beta
readContent
method name toeditContent
and updated the options it can accept in order to make the API more intuitive. To learn more, see Querying Content.🔧 Changed
@canva/asset
to version2.1.0
@canva/design
to version2.3.0
@canva/error
to version2.1.0
@canva/platform
to version2.1.0
@canva/user
to version2.1.0
webpack.config.js
towebpack.config.cjs
@canva/app-i18n-kit
to version1.0.2