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:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@googleworkspace/cli": patch
|
||||
---
|
||||
|
||||
Fix npm package name to publish as @googleworkspace/cli instead of gws
|
||||
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user