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.1/schema.json" ,
3+ "changelog" : [
4+ " @changesets/changelog-github" ,
5+ {
6+ "repo" : " loro-dev/loro-codemirror"
7+ }
8+ ],
9+ "commit" : false ,
10+ "fixed" : [],
11+ "linked" : [],
12+ "access" : " restricted" ,
13+ "baseBranch" : " main" ,
14+ "updateInternalDependencies" : " patch" ,
15+ "ignore" : []
16+ }
Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ concurrency : ${{ github.workflow }}-${{ github.ref }}
9+
10+ jobs :
11+ release :
12+ name : Release
13+ runs-on : ubuntu-latest
14+ steps :
15+ - name : Checkout Repo
16+ uses : actions/checkout@v3
17+
18+ - name : Setup Node.js 20.x
19+ uses : actions/setup-node@v3
20+ with :
21+ node-version : 20.x
22+
23+ - name : Install Dependencies
24+ run : npm install
25+
26+ - name : Create Release Pull Request or Publish to npm
27+ id : changesets
28+ uses : changesets/action@v1
29+ with :
30+ publish : npx changeset publish
31+ env :
32+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
33+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 11{
22 "name" : " loro-codemirror" ,
3- "version" : " 0.2 .0" ,
3+ "version" : " 0.3 .0" ,
44 "description" : " A CodeMirror plugin for loro" ,
55 "type" : " module" ,
66 "main" : " dist/index.js" ,
3333 "loro-crdt" : " ^1.8.2"
3434 },
3535 "devDependencies" : {
36+ "@changesets/changelog-github" : " ^0.5.1" ,
37+ "@changesets/cli" : " ^2.29.7" ,
3638 "typescript" : " ^5.7.3"
3739 },
3840 "packageManager" : " pnpm@10.4.1+sha512.c753b6c3ad7afa13af388fa6d808035a008e30ea9993f58c6663e2bc5ff21679aa834db094987129aa4d488b86df57f7b634981b2f827cdcacc698cc0cfb88af"
You can’t perform that action at this time.
0 commit comments