File tree Expand file tree Collapse file tree 6 files changed +75
-29
lines changed Expand file tree Collapse file tree 6 files changed +75
-29
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" : " ota-meshi/jsonc-eslint-parser"
7
+ }
8
+ ],
9
+ "commit" : false ,
10
+ "linked" : [],
11
+ "baseBranch" : " master" ,
12
+ "updateInternalDependencies" : " patch" ,
13
+ "bumpVersionsWithWorkspaceProtocolOnly" : true ,
14
+ "ignore" : []
15
+ }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : Release
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+
8
+ permissions :
9
+ contents : write
10
+ issues : write
11
+ pull-requests : write
12
+
13
+ jobs :
14
+ release :
15
+ name : Release
16
+ runs-on : ubuntu-latest
17
+ steps :
18
+ - name : Checkout Repo
19
+ uses : actions/checkout@v3
20
+ with :
21
+ # This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
22
+ fetch-depth : 0
23
+
24
+ - name : Setup Node.js
25
+ uses : actions/setup-node@v3
26
+
27
+ - name : Install Dependencies
28
+ run : npm install --legacy-peer-deps
29
+
30
+ - name : Create Release Pull Request or Publish to npm
31
+ id : changesets
32
+ uses : changesets/action@v1
33
+ with :
34
+ # this expects you to have a npm script called version that runs some logic and then calls `changeset version`.
35
+ version : npm run version:ci
36
+ # This expects you to have a script called release which does a build for your packages and calls changeset publish
37
+ publish : npm run release
38
+ commit : " chore: release jsonc-eslint-parser"
39
+ title : " chore: release jsonc-eslint-parser"
40
+ env :
41
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
42
+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ module.exports = {
8
8
module : require . resolve ( "./shim/module" ) ,
9
9
path : require . resolve ( "./shim/path" ) ,
10
10
} ,
11
+ fallback : { util : false } ,
11
12
} ,
12
13
} ;
13
14
} ,
Original file line number Diff line number Diff line change 23
23
"preversion" : " npm test && npm run update && git add ." ,
24
24
"version" : " npm run eslint-fix && git add ." ,
25
25
"update-fixtures" : " ts-node ./tools/update-fixtures.ts" ,
26
- "benchmark" : " ts-node --transpile-only benchmark/index.ts"
26
+ "benchmark" : " ts-node --transpile-only benchmark/index.ts" ,
27
+ "prerelease" : " npm run clean && npm run build" ,
28
+ "release" : " changeset publish" ,
29
+ "version:ci" : " changeset version"
27
30
},
28
31
"repository" : {
29
32
"type" : " git" ,
44
47
},
45
48
"homepage" : " https://github.com/ota-meshi/jsonc-eslint-parser#readme" ,
46
49
"devDependencies" : {
50
+ "@changesets/changelog-github" : " ^0.4.6" ,
51
+ "@changesets/cli" : " ^2.24.2" ,
47
52
"@ota-meshi/eslint-plugin" : " ^0.13.0" ,
48
53
"@types/benchmark" : " ^2.1.0" ,
49
54
"@types/eslint" : " ^8.0.0" ,
78
83
"eslint-visitor-keys" : " ^3.0.0" ,
79
84
"espree" : " ^9.0.0" ,
80
85
"semver" : " ^7.3.5"
86
+ },
87
+ "publishConfig" : {
88
+ "access" : " public"
81
89
}
82
90
}
You can’t perform that action at this time.
0 commit comments