File tree 5 files changed +23
-24
lines changed
5 files changed +23
-24
lines changed Original file line number Diff line number Diff line change 45
45
- name : Build
46
46
run : pnpm build
47
47
48
- - uses : actions/setup-node@v2
48
+ - uses : actions/setup-node@v1
49
49
with :
50
50
node-version : 14
51
51
registry-url : https://npm.pkg.github.com
55
55
- run : npm publish
56
56
env :
57
57
NODE_AUTH_TOKEN : ${{secrets.NPM_GITHUB_TOKEN}}
58
+ with :
59
+ node-version : 14
60
+ registry-url : https://npm.pkg.github.com
61
+ scope : ' @oda2'
Original file line number Diff line number Diff line change
1
+ {
2
+ "printWidth": 80,
3
+ "semi": true,
4
+ "singleQuote": true,
5
+ "trailingComma": "es5"
6
+ }
Original file line number Diff line number Diff line change 1
1
{
2
- "version" : " 0.1.3 " ,
2
+ "version" : " 0.1.4 " ,
3
3
"license" : " MIT" ,
4
4
"name" : " using-try-catch" ,
5
+ "homepage" : " https://github.com/Oda2/using-try-catch" ,
5
6
"module" : " dist/esm/index.js" ,
6
- "main" : " dist/index.js" ,
7
+ "main" : " dist/cjs/ index.js" ,
7
8
"typings" : " dist/index.d.ts" ,
8
9
"description" : " Simplify the use of try-catch" ,
10
+ "private" : false ,
9
11
"files" : [
10
12
" dist" ,
11
13
" src" ,
51
53
"tslib" : " ^2.2.0" ,
52
54
"typescript" : " ^4.2.4"
53
55
},
54
- "husky" : {
55
- "hooks" : {
56
- "pre-commit" : " tsdx lint"
57
- }
58
- },
59
- "prettier" : {
60
- "printWidth" : 80 ,
61
- "semi" : true ,
62
- "singleQuote" : true ,
63
- "trailingComma" : " es5"
64
- },
65
- "size-limit" : [
66
- {
67
- "path" : " dist/using-try-catch.cjs.production.min.js" ,
68
- "limit" : " 10 KB"
69
- },
70
- {
71
- "path" : " dist/using-try-catch.esm.js" ,
72
- "limit" : " 10 KB"
73
- }
56
+ "keywords" : [
57
+ " try-catch" ,
58
+ " typescript"
74
59
],
60
+ "publishConfig" : {
61
+ "access" : " public"
62
+ },
75
63
"engines" : {
76
64
"node" : " >=10"
77
65
}
Original file line number Diff line number Diff line change 1
1
export { default } from './using-try-catch' ;
2
+ export { default as usingTryCatch } from './using-try-catch' ;
Original file line number Diff line number Diff line change 3
3
"exclude" : [" node_modules" , " **/*.test.ts" ],
4
4
"compilerOptions" : {
5
5
"module" : " commonjs" ,
6
- "target" : " es5 " ,
6
+ "target" : " ES3 " ,
7
7
"lib" : [" dom" , " esnext" ],
8
8
"importHelpers" : false ,
9
9
"declaration" : false ,
You can’t perform that action at this time.
0 commit comments