File tree Expand file tree Collapse file tree 8 files changed +651
-1273
lines changed Expand file tree Collapse file tree 8 files changed +651
-1273
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/master/docs/common-questions.md )
Original file line number Diff line number Diff line change
1
+ {
2
+ "$schema" :
" https://unpkg.com/@changesets/[email protected] /schema.json" ,
3
+ "changelog" : " @changesets/cli/changelog" ,
4
+ "commit" : false ,
5
+ "linked" : [],
6
+ "access" : " public" ,
7
+ "baseBranch" : " master" ,
8
+ "updateInternalDependencies" : " patch" ,
9
+ "ignore" : []
10
+ }
Original file line number Diff line number Diff line change
1
+ ---
2
+ " react-use-clipboard " : patch
3
+ ---
4
+
5
+ Use changesets for automatic publishing
Original file line number Diff line number Diff line change
1
+ name : Release
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+
8
+ jobs :
9
+ release :
10
+ name : Create release PR or publish to NPM
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - uses : actions/checkout@master
14
+ with :
15
+ # Fetch all Git history so that Changesets can generate changelogs
16
+ # with the correct commits
17
+ fetch-depth : 0
18
+ - name : Use Node.js 12.x
19
+ uses : actions/setup-node@v1
20
+ with :
21
+ node-version : 12.x
22
+ - name : Restore Yarn cache
23
+ uses : actions/cache@v2
24
+ with :
25
+ path : |
26
+ node_modules
27
+ key : ${{ runner.os }}-${{ hashFiles('yarn.lock') }}
28
+ - name : Install dependencies
29
+ run : |
30
+ yarn install --frozen-lockfile
31
+ - name : Create release PR or publish to NPM
32
+ uses : changesets/action@master
33
+ with :
34
+ publish : yarn release
35
+ env :
36
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
37
+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 12
12
uses : actions/setup-node@v1
13
13
with :
14
14
node-version : 12.x
15
+ - name : Restore Yarn cache
16
+ uses : actions/cache@v2
17
+ with :
18
+ path : |
19
+ node_modules
20
+ key : ${{ runner.os }}-${{ hashFiles('yarn.lock') }}
15
21
- name : Install dependencies
16
22
run : |
17
23
yarn install --frozen-lockfile
27
33
uses : actions/setup-node@v1
28
34
with :
29
35
node-version : 12.x
36
+ - name : Restore Yarn cache
37
+ uses : actions/cache@v2
38
+ with :
39
+ path : |
40
+ node_modules
41
+ key : ${{ runner.os }}-${{ hashFiles('yarn.lock') }}
30
42
- name : Install dependencies
31
43
run : |
32
44
yarn install --frozen-lockfile
42
54
uses : actions/setup-node@v1
43
55
with :
44
56
node-version : 12.x
57
+ - name : Restore Yarn cache
58
+ uses : actions/cache@v2
59
+ with :
60
+ path : |
61
+ node_modules
62
+ key : ${{ runner.os }}-${{ hashFiles('yarn.lock') }}
45
63
- name : Install dependencies
46
64
run : |
47
65
yarn install --frozen-lockfile
Original file line number Diff line number Diff line change
1
+ CHANGELOG.md
1
2
yarn.lock
2
3
dist
3
4
.git
Original file line number Diff line number Diff line change 29
29
"@babel/preset-env" : " ^7.12.1" ,
30
30
"@babel/preset-react" : " ^7.12.1" ,
31
31
"@babel/preset-typescript" : " ^7.12.1" ,
32
+ "@changesets/cli" : " ^2.12.0" ,
32
33
"@testing-library/react" : " ^11.1.0" ,
33
34
"@types/jest" : " ^26.0.15" ,
34
35
"@types/react" : " ^16.9.55" ,
35
36
"@types/react-dom" : " ^16.9.9" ,
36
37
"babel-core" : " ^7.0.0-bridge.0" ,
37
38
"babel-jest" : " ^26.6.1" ,
38
39
"babel-loader" : " ^8.1.0" ,
39
- "husky" : " ^4.3.0" ,
40
40
"jest" : " ^26.6.1" ,
41
41
"microbundle" : " 0.11.0" ,
42
- "np" : " ^7.0.0" ,
43
42
"prettier" : " 2.1.2" ,
44
- "pretty-quick" : " ^3.1.0" ,
45
43
"react" : " ^17.0.1" ,
46
44
"react-dom" : " ^17.0.1" ,
47
45
"tslint" : " ^6.1.3" ,
69
67
" clipboard" ,
70
68
" hooks"
71
69
],
72
- "homepage" : " https://github.com/danoc/react-use-clipboard#readme" ,
73
- "husky" : {
74
- "hooks" : {
75
- "pre-commit" : " pretty-quick --staged"
76
- }
77
- }
70
+ "homepage" : " https://github.com/danoc/react-use-clipboard#readme"
78
71
}
You can’t perform that action at this time.
0 commit comments