File tree Expand file tree Collapse file tree 5 files changed +42
-7
lines changed Expand file tree Collapse file tree 5 files changed +42
-7
lines changed Original file line number Diff line number Diff line change
1
+ name : Publish to NPM
2
+ on :
3
+ release :
4
+ types : [created]
5
+ jobs :
6
+ build :
7
+ runs-on : ubuntu-20.04
8
+ steps :
9
+ - name : Checkout
10
+ uses : actions/checkout@v2
11
+ - name : Setup Node
12
+ uses : actions/setup-node@v2
13
+ with :
14
+ node-version : ' 16.x'
15
+ registry-url : ' https://registry.npmjs.org'
16
+ - name : Install dependencies, build and test. 🔧
17
+ run : ./build.sh
18
+ - name : Publish typescript-logging (core) 📦
19
+ run : |
20
+ cd core
21
+ npm publish
22
+ - name : Publish typescript-logging (category-style) 📦
23
+ run : |
24
+ cd category-style
25
+ npm publish
26
+ - name : Publish typescript-logging (log4ts-style) 📦
27
+ run : |
28
+ cd log4ts-style
29
+ npm publish
30
+ env :
31
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 1
1
# TypeScript Logging
2
2
3
- TypeScript logging can be used to add logging to your web or node project. There are two different flavors available to
4
- use. Please visit either of these below and pick the one you prefer.
3
+ TypeScript logging can be used to add logging to your web or node project.
4
+
5
+ ** _ Version 2 of typescript-logging has been released, this version has been written from scratch and is
6
+ not compatible with version 1 (see migration)._ **
7
+
8
+ There are two different flavors available to use. Please visit the documentation below and pick the one you prefer.
5
9
6
10
* The [ typescript-logging-category-style] ( ./category-style/README.MD ) flavor.
7
11
* The [ typescript-logging-log4ts-style] ( ./log4ts-style/README.MD ) flavor.
@@ -188,8 +192,8 @@ npm run build # Run inside respective test-integration project. Builds test we
188
192
189
193
## Bugs
190
194
191
- If you encounter a bug please log it in the issue tracker of this repository and make sure what flavor (style) you are
192
- using.
195
+ If you encounter a bug please log it in the issue tracker of this repository and make sure to specify what flavor
196
+ (style) you are using.
193
197
194
198
## Contributing
195
199
Original file line number Diff line number Diff line change 44
44
},
45
45
"homepage" : " https://github.com/vauxite-org/typescript-logging/#readme" ,
46
46
"peerDependencies" : {
47
- "typescript-logging" : " 2.0.0 "
47
+ "typescript-logging" : " 2.0.x "
48
48
},
49
49
"devDependencies" : {
50
50
"@rollup/plugin-commonjs" : " 21.0.1" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " typescript-logging" ,
3
3
"version" : " 2.0.0" ,
4
- "description" : " TypeScript Logging core written in and to be used by TypeScript (this is the core project, you want to use a flavor instead )." ,
4
+ "description" : " TypeScript Logging core written in and to be used by TypeScript (this is the core project, you need to install a flavor too )." ,
5
5
"main" : " dist/bundle/typescript-logging.js" ,
6
6
"module" : " dist/bundle/typescript-logging.esm.js" ,
7
7
"typings" : " dist/bundle/src/typescript/main/typescript-logging.d.ts" ,
Original file line number Diff line number Diff line change 42
42
},
43
43
"homepage" : " https://github.com/vauxite-org/typescript-logging/#readme" ,
44
44
"peerDependencies" : {
45
- "typescript-logging" : " 2.0.0 "
45
+ "typescript-logging" : " 2.0.x "
46
46
},
47
47
"devDependencies" : {
48
48
"@rollup/plugin-commonjs" : " 21.0.1" ,
You can’t perform that action at this time.
0 commit comments