You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .changeset/README.md
+15-8Lines changed: 15 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,9 +8,9 @@ find the full documentation for it [in our repository](https://github.com/change
8
8
9
9
Changesets are a way to manage versions and changelogs for monorepos. Each changeset:
10
10
11
-
-Describes changes made in one or more packages
12
-
-Indicates the type of change (major, minor, patch)
13
-
-Contains a brief markdown summary of the changes
11
+
- Describes changes made in one or more packages
12
+
- Indicates the type of change (major, minor, patch)
13
+
- Contains a brief markdown summary of the changes
14
14
15
15
## How to Add a Changeset
16
16
@@ -29,18 +29,25 @@ Changesets are a way to manage versions and changelogs for monorepos. Each chang
29
29
30
30
The command will create a new markdown file in the `.changeset` directory with your changes.
31
31
32
+
## Important: @swc/core and component updates
33
+
34
+
When making changes to `@swc/core`, you **must** also include the corresponding `@spectrum-web-components` component in the same changeset to ensure the changes appear in the component's changelog. This is because `@swc/core` changes are internal and don't automatically propagate to the component changelogs.
35
+
36
+
**Best practice**: Create a single changeset that includes both packages when updating core functionality that affects a specific component.
37
+
32
38
## Example Changeset
33
39
34
40
A typical changeset file looks like this:
35
41
36
42
```markdown
37
43
---
44
+
'@swc/core': patch
38
45
'@spectrum-web-components/button': minor
39
46
'@spectrum-web-components/theme': patch
40
47
---
41
48
42
-
- **Added**: Added new variant `tertiary` to `<sp-button>` component [#9999](https://github.com/adobe/spectrum-web-components/pull/9999)
For our guidelines on writing changesets, see [our writing changesets guide](https://opensource.adobe.com/spectrum-web-components/guides/writing-changesets/).
@@ -61,6 +68,6 @@ We have a quick list of common questions to get you started engaging with this p
0 commit comments