Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version Packages #12

Merged
merged 1 commit into from
Apr 27, 2023
Merged

Version Packages #12

merged 1 commit into from
Apr 27, 2023

Conversation

github-actions[bot]
Copy link
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@vintl/[email protected]

Minor Changes

  • d12429c: Add option to opt out of the import resolution

    All imports except message imports (because they have to be resolved for formatter and parser to work) are now including resolve boolean property when using object forms to declare imports (resources or additional side-effect only imports).

    By setting it to false imports are added as is, and not checked during the options file generation, which can help avoid hitting a problem like in Vite where import by path imports a different module than import by package name and (export) path within it.

    // { from: '@vintl/compact-number/locale-data/en', resolve: true }
    import '../../node_modules/@vintl/compact-number/dist/locale-data/en.js'
    
    // { from: '@vintl/compact-number/locale-data/en', resolve: false }
    import '@vintl/compact-number/locale-data/en'

    This is a temporary solution to #10 until there's a better one.

@netlify
Copy link

netlify bot commented Apr 27, 2023

Deploy Preview for vintl-nuxt canceled.

Name Link
🔨 Latest commit b296446
🔍 Latest deploy log https://app.netlify.com/sites/vintl-nuxt/deploys/644aa5ac68737c0007aee588

@brawaru brawaru merged commit 0b944a4 into main Apr 27, 2023
@brawaru brawaru deleted the changeset-release/main branch April 27, 2023 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant