Skip to content

Commit

Permalink
Add changeset script
Browse files Browse the repository at this point in the history
Allows us to run `pnpm run changeset`, which is more standardised across
packages managers.

https://github.com/antfu/ni#nr---run
  • Loading branch information
72636c committed Jan 7, 2024
1 parent 2c8cec9 commit 41fe9fd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:

- if: github.event_name == 'push'
name: Dry-run changelog versioning
run: pnpm exec changeset version
run: pnpm run changeset version

- if: github.event_name == 'push'
name: Dry-run site packaging
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ a changeset is not necessary for:
- [npm dev dependencies](https://github.com/seek-oss/skuba/blob/master/package.json)

```shell
pnpm exec changeset
pnpm run changeset
```

The Changesets CLI is interactive and follows [semantic versioning]:
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
],
"scripts": {
"build": "scripts/build.sh",
"changeset": "changeset",
"deploy": "scripts/deploy.sh",
"format": "pnpm run --silent skuba format",
"lint": "pnpm run --silent skuba lint && pnpm run --silent lint:md",
Expand Down

0 comments on commit 41fe9fd

Please sign in to comment.