File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 node-version : ' 20.x'
1212 - name : Install dependencies
1313 run : yarn
14- - name : Building code
14+ - name : Building Code
1515 run : yarn build
16- - name : Run tests
17- run : yarn test
16+ - name : Run Tests
17+ run : yarn test
18+ - name : Update Coverage
19+ if : github.ref == format('refs/heads/{0}', github.event.repository.default_branch)
20+ uses : we-cli/coverage-badge-action@main
Original file line number Diff line number Diff line change 1- # Types
1+ # Stackpress Library
22
3- Common typescript types
3+ [ ![ cov] ( https://stackpress.github.io/lib/badges/coverage.svg )] ( https://github.com/stackpress/lib/actions )
4+
5+ Shared library used across stackpress projects
6+
7+ ## Install
8+
9+ ``` bash
10+ $ npm i @stackpress/lib
11+ ```
12+
13+ ## Usage
14+
15+ ``` js
16+ import { EventEmitter } from ' @stackpress/lib' ;
17+ ```
Original file line number Diff line number Diff line change 11{
2- "name" : " @stackpress/types " ,
3- "version" : " 0.3.17 " ,
2+ "name" : " @stackpress/lib " ,
3+ "version" : " 0.3.19 " ,
44 "license" : " Apache-2.0" ,
5- "description" : " Common types in typescript " ,
5+ "description" : " Shared library used across stackpress projects " ,
66 "author" : " Chris <chris@incept.asia>" ,
7- "homepage" : " https://github.com/stackpress/types " ,
8- "bugs" : " https://github.com/stackpress/types /issues" ,
9- "repository" : " stackpress/types " ,
7+ "homepage" : " https://github.com/stackpress/lib " ,
8+ "bugs" : " https://github.com/stackpress/lib /issues" ,
9+ "repository" : " stackpress/lib " ,
1010 "main" : " index.js" ,
1111 "files" : [
1212 " dist" ,
1717 ],
1818 "scripts" : {
1919 "build" : " tsc" ,
20- "test" : " nyc ts-mocha tests/*.test.ts"
20+ "test" : " nyc -r text -r json-summary ts-mocha tests/*.test.ts"
2121 },
2222 "dependencies" : {
2323 "@inquirer/prompts" : " 7.1.0"
You can’t perform that action at this time.
0 commit comments