File tree Expand file tree Collapse file tree 5 files changed +23
-24
lines changed Expand file tree Collapse file tree 5 files changed +23
-24
lines changed Original file line number Diff line number Diff line change 4545 - name : Build
4646 run : pnpm build
4747
48- - uses : actions/setup-node@v2
48+ - uses : actions/setup-node@v1
4949 with :
5050 node-version : 14
5151 registry-url : https://npm.pkg.github.com
5555 - run : npm publish
5656 env :
5757 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 11{
2- "version" : " 0.1.3 " ,
2+ "version" : " 0.1.4 " ,
33 "license" : " MIT" ,
44 "name" : " using-try-catch" ,
5+ "homepage" : " https://github.com/Oda2/using-try-catch" ,
56 "module" : " dist/esm/index.js" ,
6- "main" : " dist/index.js" ,
7+ "main" : " dist/cjs/ index.js" ,
78 "typings" : " dist/index.d.ts" ,
89 "description" : " Simplify the use of try-catch" ,
10+ "private" : false ,
911 "files" : [
1012 " dist" ,
1113 " src" ,
5153 "tslib" : " ^2.2.0" ,
5254 "typescript" : " ^4.2.4"
5355 },
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"
7459 ],
60+ "publishConfig" : {
61+ "access" : " public"
62+ },
7563 "engines" : {
7664 "node" : " >=10"
7765 }
Original file line number Diff line number Diff line change 11export { default } from './using-try-catch' ;
2+ export { default as usingTryCatch } from './using-try-catch' ;
Original file line number Diff line number Diff line change 33 "exclude" : [" node_modules" , " **/*.test.ts" ],
44 "compilerOptions" : {
55 "module" : " commonjs" ,
6- "target" : " es5 " ,
6+ "target" : " ES3 " ,
77 "lib" : [" dom" , " esnext" ],
88 "importHelpers" : false ,
99 "declaration" : false ,
You can’t perform that action at this time.
0 commit comments