Skip to content

Commit

Permalink
chore: added changeset and jsr cli to dev deps
Browse files Browse the repository at this point in the history
  • Loading branch information
GauBen committed Nov 8, 2024
1 parent 9bd80cd commit 475a967
Show file tree
Hide file tree
Showing 3 changed files with 934 additions and 7 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,11 @@ jobs:
uses: changesets/action@v1
with:
title: "chore: release packages"
publish: yarn build && yarn dlx @changesets/cli@2 publish
publish: yarn build && yarn changeset publish && yarn jsr publish
version: |
yarn dlx @changesets/cli@2 version && \
yarn changeset version && \
yarn node -e 'fs.writeFileSync("jsr.json", fs.readFileSync("jsr.json", "utf-8").replace(/"version": ".+"/, `"version": "${process.env.npm_package_version}"`))' && \
git add jsr.json
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: yarn dlx jsr publish
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,10 @@
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@changesets/cli": "^2.27.9",
"@sveltejs/kit": "^2.7.3",
"@types/node": "^22.8.0",
"jsr": "^0.13.2",
"pkgroll": "^2.5.0",
"publint": "^0.2.12",
"tsx": "^4.19.1",
Expand Down
Loading

0 comments on commit 475a967

Please sign in to comment.