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: CLAUDE.md
+50Lines changed: 50 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,56 @@ npm run deploy # Deploy to VS Code marketplace
44
44
npm run release # Build and publish to npm (uses changesets)
45
45
```
46
46
47
+
### Version Management with Changesets
48
+
49
+
This project uses [Changesets](https://github.com/changesets/changesets) for version management. GitHub Actions automatically handle version bumping and releases.
50
+
51
+
**IMPORTANT: Never run `changeset version` manually!** GitHub Actions will handle this.
52
+
53
+
#### Adding a Changeset
54
+
55
+
When you make changes that require a version bump:
56
+
57
+
1.**Create a changeset file manually** (non-interactive):
58
+
```bash
59
+
# Create a file in .changeset/ with a descriptive name
60
+
# Example: .changeset/add-nested-variables.md
61
+
```
62
+
63
+
2.**Changeset file format**:
64
+
```markdown
65
+
---
66
+
"css-variables-language-server": minor
67
+
"vscode-css-variables": minor
68
+
---
69
+
70
+
Description of your changes.
71
+
72
+
- Feature 1
73
+
- Feature 2
74
+
75
+
Example code if needed.
76
+
```
77
+
78
+
3.**Commit only the changeset file**:
79
+
```bash
80
+
git add .changeset/your-changeset.md
81
+
git commit -m "add changeset for feature X"
82
+
git push
83
+
```
84
+
85
+
4.**GitHub Actions will automatically**:
86
+
- Detect the changeset
87
+
- Create a "Version Packages" PR
88
+
- Bump versions in package.json
89
+
- Update CHANGELOG.md files
90
+
- When the PR is merged, publish to npm and VS Code marketplace
0 commit comments