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

fix(React): use package type module #2842

Merged
merged 2 commits into from
Nov 28, 2024
Merged

fix(React): use package type module #2842

merged 2 commits into from
Nov 28, 2024

Conversation

eirikbacker
Copy link
Contributor

  • Set "type": "module" in React package to indicate we are building with modern ESM features

Copy link

changeset-bot bot commented Nov 27, 2024

🦋 Changeset detected

Latest commit: 68465fd

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@digdir/designsystemet-react Patch
@digdir/designsystemet Patch
@digdir/designsystemet-css Patch
@digdir/designsystemet-theme Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

github-actions bot commented Nov 27, 2024

Preview deployments for this pull request:

Storybook - 27. Nov 2024 - 16:02

Copy link
Contributor

github-actions bot commented Nov 27, 2024

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 54.75% 3165 / 5780
🔵 Statements 54.75% 3165 / 5780
🔵 Functions 86.6% 181 / 209
🔵 Branches 76.96% 518 / 673
File CoverageNo changed files found.
Generated in workflow #1103 for commit 68465fd by the Vitest Coverage Report Action

@mimarz mimarz merged commit 99aa669 into next Nov 28, 2024
10 checks passed
@mimarz mimarz deleted the fix/package-type-module branch November 28, 2024 07:46
mimarz pushed a commit that referenced this pull request Dec 9, 2024
This PR was opened by the [Changesets
release](https://github.com/changesets/action) 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 next, this PR will
be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

`next` is currently in **pre mode** so this branch has prereleases
rather than normal releases. If you want to exit prereleases, run
`changeset pre exit` on `next`.

⚠️⚠️⚠️⚠️⚠️⚠️

# Releases
## @digdir/designsystemet-react@1.0.0-next.40

### Major Changes

- ValidationMessage: use `data-color="danger | success"` instead of
`data-error="true | false"`
([#2860](#2860))

### Patch Changes

- React: Set `"type": "module"` in `package.json`
([#2842](#2842))

- Rename `Accordion` to `Details`
([#2839](#2839))

## @digdir/designsystemet-css@1.0.0-next.40

### Patch Changes

- Rename `Accordion` to `Details`
([#2839](#2839))

## @digdir/designsystemet@1.0.0-next.40



## @digdir/designsystemet-theme@1.0.0-next.40

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
mimarz pushed a commit that referenced this pull request Feb 21, 2025
- Set `"type": "module"` in React package to indicate we are building
with modern ESM features
mimarz pushed a commit that referenced this pull request Feb 21, 2025
This PR was opened by the [Changesets
release](https://github.com/changesets/action) 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 next, this PR will
be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

`next` is currently in **pre mode** so this branch has prereleases
rather than normal releases. If you want to exit prereleases, run
`changeset pre exit` on `next`.

⚠️⚠️⚠️⚠️⚠️⚠️

# Releases
## @digdir/designsystemet-react@1.0.0-next.40

### Major Changes

- ValidationMessage: use `data-color="danger | success"` instead of
`data-error="true | false"`
([#2860](#2860))

### Patch Changes

- React: Set `"type": "module"` in `package.json`
([#2842](#2842))

- Rename `Accordion` to `Details`
([#2839](#2839))

## @digdir/designsystemet-css@1.0.0-next.40

### Patch Changes

- Rename `Accordion` to `Details`
([#2839](#2839))

## @digdir/designsystemet@1.0.0-next.40



## @digdir/designsystemet-theme@1.0.0-next.40

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

2 participants