fix: use correct npm-scope/npm-package config keys for cargo-dist (#9)

* fix: use correct npm-scope/npm-package config keys for cargo-dist

* chore: add changeset

* docs: add changeset instructions to AGENTS.md
This commit is contained in:
Justin Poehnelt
2026-03-03 11:13:33 -07:00
committed by GitHub
parent 827b9da8a1
commit c714f4b9c9
3 changed files with 21 additions and 2 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"@googleworkspace/cli": patch
---
Fix npm package name to publish as @googleworkspace/cli instead of gws
+14
View File
@@ -18,6 +18,20 @@ cargo clippy -- -D warnings # Lint check
cargo test # Run tests
```
## Changesets
Every PR must include a changeset file. Create one at `.changeset/<descriptive-name>.md`:
```markdown
---
"@googleworkspace/cli": patch
---
Brief description of the change
```
Use `patch` for fixes/chores, `minor` for new features, `major` for breaking changes. The CI policy check will fail without a changeset.
## Architecture
The CLI uses a **two-phase argument parsing** strategy:
+2 -2
View File
@@ -25,10 +25,10 @@ ci = "github"
installers = ["shell", "powershell", "npm"]
# Publish jobs to run
publish-jobs = ["npm"]
scope = "@googleworkspace"
npm-scope = "@googleworkspace"
# Enable github attestations
github-attestations = true
package = "cli"
npm-package = "cli"
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc"]
# Which actions to run on pull requests