Skip to content

Commit

Permalink
chore: remove changesets in favor of standard-version
Browse files Browse the repository at this point in the history
  • Loading branch information
sam committed Jan 18, 2023
1 parent 9a49cea commit ceaee4d
Show file tree
Hide file tree
Showing 6 changed files with 585 additions and 987 deletions.
8 changes: 0 additions & 8 deletions .changeset/README.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/config.json

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fifty-sheep-fry.md

This file was deleted.

18 changes: 5 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,23 +32,15 @@ jobs:
run: |-
git config --global user.name "github-actions"
git config --global user.email "github-actions@github.com"
- run: echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} > ~/.npmrc
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: create and publish versions
uses: changesets/action@v1
with:
version: pnpm ci:version
commit: "chore: update version"
title: "chore: update version"
publish: pnpm ci:publish
- run: echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} > ~/.npmrc
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Version packages
run: pnpm changeset version
- name: bump versions
run: |-
pnpm standard-version
git push
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@
"analyze:bundle": "sh ./scripts/analyze-bundle.sh",
"bench:synth": "pnpm -r --filter @benchmark/infra synth",
"bench:deploy": "pnpm -r --filter @benchmark/infra run deploy",
"bench:hotswap": "pnpm -r --filter @benchmark/infra run hotswap",
"ci:version": "changeset version",
"ci:publish": "pnpm publish -r"
"bench:hotswap": "pnpm -r --filter @benchmark/infra run hotswap"
},
"dependencies": {
"aws-sdk": "2.1295.0"
Expand All @@ -37,7 +35,6 @@
"@aws-sdk/protocol-http": "3.226.0",
"@aws-sdk/signature-v4": "3.226.0",
"@aws-sdk/types": "3.226.0",
"@changesets/cli": "^2.26.0",
"@tsconfig/node16": "^1",
"@types/jest": "^29",
"@types/node": "^16",
Expand All @@ -47,6 +44,7 @@
"node-fetch": "^3.3.0",
"jest": "^29",
"prettier": "^2.8.3",
"standard-version": "^9.5.0",
"ts-jest": "^29",
"ts-node": "^10.9.1",
"typescript": "^4.9.4"
Expand Down
Loading

0 comments on commit ceaee4d

Please sign in to comment.