File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Changesets
2+
3+ Hello and welcome! This folder has been automatically generated by ` @changesets/cli ` , a build tool that works
4+ with multi-package repos, or single-package repos to help you version and publish your code. You can
5+ find the full documentation for it [ in our repository] ( https://github.com/changesets/changesets )
6+
7+ We have a quick list of common questions to get you started engaging with this project in
8+ [ our documentation] ( https://github.com/changesets/changesets/blob/main/docs/common-questions.md )
Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : " https://unpkg.com/@changesets/config@3.1.2/schema.json" ,
3+ "changelog" : " @changesets/cli/changelog" ,
4+ "commit" : false ,
5+ "fixed" : [],
6+ "linked" : [],
7+ "access" : " restricted" ,
8+ "baseBranch" : " main" ,
9+ "updateInternalDependencies" : " patch" ,
10+ "ignore" : []
11+ }
Original file line number Diff line number Diff line change @@ -14,18 +14,21 @@ jobs:
1414
1515 steps :
1616 - name : Checkout
17- uses : actions/checkout@v4
17+ uses : actions/checkout@v6
1818 with :
1919 fetch-depth : 0
2020 token : ${{ secrets.GITHUB_TOKEN }}
2121
2222 - name : Setup Bun
23- uses : oven-sh/setup-bun@v1
23+ uses : oven-sh/setup-bun@v2
2424 with :
2525 bun-version : latest
2626
27+ - name : Setup npmrc
28+ run : echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
29+
2730 - name : Install dependencies
28- run : bun install
31+ run : bun install --frozen-lockfile
2932
3033 - name : Build packages
3134 run : bun run build
3538 git config --global user.name "github-actions[bot]"
3639 git config --global user.email "github-actions[bot]@users.noreply.github.com"
3740
38- - name : Release
39- run : bun run release
41+ - name : Create and publish versions
42+ uses : changesets/action@v1
43+ with :
44+ commit : " chore: update versions [skip ci]"
45+ title : " chore: update versions [skip ci]"
46+ version : bun run ci:version
47+ publish : bun run ci:publish
4048 env :
41- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4249 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
43- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 55 "type" : " module" ,
66 "scripts" : {
77 "build" : " bun run --filter \" @opencode-plugins/*\" build" ,
8- "release" : " lerna publish --no-commit-hooks --conventional-commits --create-release github --yes"
8+ "ci:version" : " changeset version && bun update" ,
9+ "ci:publish" : " for dir in plugins/*; do (cd \" $dir\" && bun publish || true); done && changeset tag"
910 },
1011 "workspaces" : [
1112 " plugins/*"
1213 ],
1314 "devDependencies" : {
14- "@types/bun" : " latest" ,
15- "lerna" : " ^9.0.3"
15+ "@types/bun" : " latest"
1616 },
1717 "peerDependencies" : {
1818 "typescript" : " ^5"
Original file line number Diff line number Diff line change 55 "author" : " Jan Biasi (https://github.com/janbiasi)" ,
66 "description" : " Prevent your system from sleeping during agentic workflows." ,
77 "publishConfig" : {
8- "access" : " public"
8+ "access" : " public" ,
9+ "registry" : " https://registry.npmjs.org/"
910 },
1011 "files" : [
1112 " dist"
Original file line number Diff line number Diff line change 55 "author" : " Jan Biasi (https://github.com/janbiasi)" ,
66 "description" : " Prevent opencode to read any .env file" ,
77 "publishConfig" : {
8- "access" : " public"
8+ "access" : " public" ,
9+ "registry" : " https://registry.npmjs.org/"
910 },
1011 "files" : [
1112 " dist"
You can’t perform that action at this time.
0 commit comments