File tree Expand file tree Collapse file tree 6 files changed +1359
-521
lines changed Expand file tree Collapse file tree 6 files changed +1359
-521
lines changed 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/schema.json" ,
3+ "changelog" : [
4+ " @changesets/changelog-github" ,
5+ {
6+ "repo" : " un-ts/patch-package"
7+ }
8+ ],
9+ "commit" : false ,
10+ "fixed" : [],
11+ "linked" : [],
12+ "access" : " public" ,
13+ "baseBranch" : " fork-release" ,
14+ "updateInternalDependencies" : " patch" ,
15+ "ignore" : []
16+ }
Original file line number Diff line number Diff line change 11on :
22 pull_request :
33 push :
4- branches : [master]
4+ branches :
5+ - master
56name : Test
67jobs :
78 test :
89 name : ${{ matrix.os }} on node ${{ matrix.node }}
910 runs-on : ${{ matrix.os }}
1011 strategy :
1112 matrix :
12- os : [ubuntu-latest]
13- node : [14, 16, 18]
13+ os :
14+ - ubuntu-latest
15+ node :
16+ - 14
17+ - 16
18+ - 18
19+ - 20
1420 steps :
15- - uses : actions/checkout@v1
16- - uses : actions/setup-node@v1
21+ - uses : actions/checkout@v4
22+ - uses : actions/setup-node@v4
1723 with :
1824 node-version : ${{ matrix.node }}
19- - run : yarn install
25+ cache : yarn
26+ - run : yarn --immutable
2027 -
run :
git config --global user.email "[email protected] " 2128 - run : git config --global user.name "patch-package"
22- - run : yarn run test
29+ - run : yarn test
Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ branches :
6+ - fork-release
7+
8+ jobs :
9+ release :
10+ name : Release
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Checkout Repo
14+ uses : actions/checkout@v4
15+ with :
16+ # This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
17+ fetch-depth : 0
18+
19+ - name : Enable Corepack
20+ run : corepack enable
21+
22+ - name : Setup Node.js LTS
23+ uses : actions/setup-node@v4
24+ with :
25+ node-version : lts/*
26+ cache : yarn
27+
28+ - name : Install Dependencies
29+ run : yarn --immutable
30+
31+ - name : Create Release Pull Request or Publish to npm
32+ id : changesets
33+ uses : changesets/action@v1
34+ with :
35+ commit : " chore: release @unts/patch-package"
36+ title : " chore: release @unts/patch-package"
37+ publish : yarn changeset publish
38+ env :
39+ GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
40+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 11{
2- "name" : " patch-package" ,
2+ "name" : " @unts/ patch-package" ,
33 "version" : " 8.0.0" ,
44 "description" : " Fix broken node modules with no fuss" ,
55 "main" : " dist/index.js" ,
6- "repository" : " github:ds300/ patch-package" ,
6+ "repository" : " git+https://github.com/un-ts/ patch-package.git " ,
77 "author" : " David Sheldrick" ,
8+ "maintainers" : [
9+ " JounQin (https://www.1stG.me) <[email protected] >" 10+ ],
811 "license" : " MIT" ,
912 "engines" : {
1013 "node" : " >=14" ,
1114 "npm" : " >5"
1215 },
13- "bin" : " ./index.js" ,
16+ "bin" : {
17+ "patch-package" : " ./index.js"
18+ },
1419 "scripts" : {
1520 "prepublishOnly" : " yarn run clean && yarn run build" ,
1621 "build" : " tsc --project tsconfig.build.json" ,
4853 ]
4954 },
5055 "devDependencies" : {
56+ "@changesets/changelog-github" : " ^0.5.0" ,
57+ "@changesets/cli" : " ^2.27.1" ,
5158 "@types/app-root-path" : " ^1.2.4" ,
5259 "@types/cross-spawn" : " ^6.0.0" ,
5360 "@types/fs-extra" : " ^9.0.0" ,
You can’t perform that action at this time.
0 commit comments