Comparing version 1.8.0 to 1.9.0
{ | ||
"name": "zhi-log", | ||
"version": "1.8.0", | ||
"version": "1.9.0", | ||
"type": "module", | ||
"description": "a simple logger for Node and Browser", | ||
"main": "./dist/index.js", | ||
"typings": "./dist/index.d.ts", | ||
"repository": "terwer/zhi", | ||
"homepage": "https://github.com/terwer/zhi/tree/dev/packages/zhi-log", | ||
"homepage": "https://github.com/terwer/zhi/tree/main/apps/zhi-log", | ||
"author": "terwer", | ||
"license": "GPL", | ||
"keywords": [ | ||
"zhi-log", | ||
"zhi", | ||
"log" | ||
] | ||
"log", | ||
"zhi-log" | ||
], | ||
"devDependencies": { | ||
"api-docs": "1.0.0", | ||
"esbuild-config-custom": "0.1.0", | ||
"jest-config-custom": "0.1.0", | ||
"eslint-config-custom": "1.0.0", | ||
"tsconfig": "1.0.0" | ||
}, | ||
"dependencies": { | ||
"ansi-colors": "^4.1.3", | ||
"callsites": "^4.0.0", | ||
"kleur": "^4.1.5", | ||
"loglevel": "^1.8.1", | ||
"loglevel-plugin-prefix": "^0.8.4", | ||
"zhi-device-detection": "0.1.0", | ||
"zhi-env": "1.13.4" | ||
}, | ||
"scripts": { | ||
"dev": "zhi-build --watch", | ||
"build": "zhi-build --production", | ||
"test": "jest --coverage=true --coverageDirectory=../../reports/test/zhi-log", | ||
"lint": "eslint 'src/**/*.{ts,js}' --fix", | ||
"doc": "../../packages/api-docs/node_modules/.bin/api-extractor run --local --verbose", | ||
"md": "../../packages/api-docs/node_modules/.bin/api-documenter markdown -i temp -o ../zhi-docs/src/api/zhi-log && pnpm mdfix", | ||
"mdfix": "pnpm mdfmt && rm ../zhi-docs/src/api/zhi-log/index.md", | ||
"mdfmt": "echo '---\ntitle: zhi-log\n---' | cat - ../zhi-docs/src/api/zhi-log/index.md > ../zhi-docs/src/api/zhi-log/README.md" | ||
} | ||
} |
@@ -24,18 +24,38 @@ # zhi-log | ||
├── loglevel-plugin-prefix | ||
├── zhi-device-detection | ||
├── ansi-colors | ||
├── kleur | ||
``` | ||
## Building | ||
## Dev | ||
This library was generated with [Nx](https://nx.dev). | ||
```bash | ||
pnpm dev -F zhi-log | ||
``` | ||
Run `nx build zhi-log` to build the library. | ||
## Build | ||
## Running unit tests | ||
```bash | ||
pnpm build -F zhi-log | ||
``` | ||
Run `nx test zhi-log` to execute the unit tests via [Vitest](https://vitest.dev). | ||
## Api | ||
```bash | ||
pnpm doc -F zhi-log | ||
pnpm md -F zhi-log | ||
``` | ||
## Test | ||
Execute the unit tests via [jest](https://jestjs.io/docs/getting-started#via-ts-jest) | ||
```bash | ||
pnpm test -F zhi-log | ||
``` | ||
## Publish | ||
``` | ||
nx publish zhi-log --ver=0.0.1 --tag=latest | ||
``` | ||
pnpm publish -F zhi-log --tag=latest | ||
``` |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
31812
21
776
60
7
5
2
70
1
+ Addedansi-colors@^4.1.3
+ Addedcallsites@^4.0.0
+ Addedkleur@^4.1.5
+ Addedloglevel@^1.8.1
+ Addedzhi-device-detection@0.1.0
+ Addedzhi-env@1.13.4
+ Addedansi-colors@4.1.3(transitive)
+ Addedcallsites@4.2.0(transitive)
+ Addedkleur@4.1.5(transitive)
+ Addedloglevel@1.9.2(transitive)
+ Addedloglevel-plugin-prefix@0.8.4(transitive)
+ Addedzhi-env@1.13.4(transitive)