File tree Expand file tree Collapse file tree 5 files changed +65
-28
lines changed Expand file tree Collapse file tree 5 files changed +65
-28
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
+ " @svitejs/changesets-changelog-github-compact" ,
5
+ {
6
+ "repo" : " eslint-community/eslint-plugin-es-x"
7
+ }
8
+ ],
9
+ "commit" : false ,
10
+ "linked" : [],
11
+ "access" : " public" ,
12
+ "baseBranch" : " master" ,
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
+
10
+ jobs :
11
+ release :
12
+ # prevents this action from running on forks
13
+ if : github.repository == 'eslint-community/eslint-plugin-es-x'
14
+ permissions :
15
+ contents : write # to create release (changesets/action)
16
+ pull-requests : write # to create pull request (changesets/action)
17
+ name : Release
18
+ runs-on : ubuntu-latest
19
+ steps :
20
+ - name : Checkout Repo
21
+ uses : actions/checkout@v4
22
+ - name : Setup Node.js
23
+ uses : actions/setup-node@v4
24
+ - name : Install Dependencies
25
+ run : npm install -f
26
+
27
+ - name : Create Release Pull Request or Publish to npm
28
+ id : changesets
29
+ uses : changesets/action@v1
30
+ with :
31
+ version : npm run changeset:version
32
+ publish : npm run changeset:publish
33
+ env :
34
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
35
+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 18
18
"eslint-compat-utils" : " ^0.6.3"
19
19
},
20
20
"devDependencies" : {
21
+ "@changesets/cli" : " ^2.29.2" ,
21
22
"@clack/prompts" : " ^0.11.0" ,
23
+ "@svitejs/changesets-changelog-github-compact" : " ^1.2.0" ,
22
24
"@typescript-eslint/parser" : " ^8.0.0" ,
23
25
"env-cmd" : " ^10.1.0" ,
24
26
"eslint" : " ^9.1.0" ,
64
66
"update:config-docs" : " node scripts/update-docs-configs" ,
65
67
"resource-update:unicode-properties" : " node scripts/update-unicode-properties" ,
66
68
"preversion" : " npm test" ,
67
- "version" : " env-cmd -e version run-s update:* && git add ." ,
69
+ "version" : " npm run generate:version && git add ." ,
68
70
"postversion" : " git push && git push --tags" ,
69
- "watch" : " mocha tests/**/*.{js,mjs} --reporter progress --watch --growl"
71
+ "watch" : " mocha tests/**/*.{js,mjs} --reporter progress --watch --growl" ,
72
+ "generate:version" : " env-cmd -e version run-s update:*" ,
73
+ "changeset:version" : " changeset version && npm run generate:version && git add --all" ,
74
+ "changeset:publish" : " changeset publish"
70
75
},
71
76
"repository" : {
72
77
"type" : " git" ,
You can’t perform that action at this time.
0 commit comments