@pnpm/default-reporter 8.5.3 → 8.5.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +1 -1
- package/package.json +11 -7
package/LICENSE
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
3
|
Copyright (c) 2015-2016 Rico Sta. Cruz and other contributors
|
|
4
|
-
Copyright (c) 2016-
|
|
4
|
+
Copyright (c) 2016-2022 Zoltan Kochan and other contributors
|
|
5
5
|
|
|
6
6
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
7
|
of this software and associated documentation files (the "Software"), to deal
|
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnpm/default-reporter",
|
|
3
|
-
"version": "8.5.
|
|
3
|
+
"version": "8.5.7",
|
|
4
4
|
"description": "The default reporter of pnpm",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -20,12 +20,15 @@
|
|
|
20
20
|
"bugs": {
|
|
21
21
|
"url": "https://github.com/pnpm/pnpm/issues"
|
|
22
22
|
},
|
|
23
|
+
"peerDependencies": {
|
|
24
|
+
"@pnpm/logger": "^4.0.0"
|
|
25
|
+
},
|
|
23
26
|
"dependencies": {
|
|
24
|
-
"@pnpm/config": "13.
|
|
25
|
-
"@pnpm/core-loggers": "6.1.
|
|
27
|
+
"@pnpm/config": "13.10.0",
|
|
28
|
+
"@pnpm/core-loggers": "6.1.3",
|
|
26
29
|
"@pnpm/error": "2.0.0",
|
|
27
|
-
"@pnpm/render-peer-issues": "1.1.
|
|
28
|
-
"@pnpm/types": "7.
|
|
30
|
+
"@pnpm/render-peer-issues": "1.1.1",
|
|
31
|
+
"@pnpm/types": "7.9.0",
|
|
29
32
|
"ansi-diff": "^1.1.1",
|
|
30
33
|
"boxen": "^5.0.0",
|
|
31
34
|
"chalk": "^4.1.0",
|
|
@@ -41,6 +44,7 @@
|
|
|
41
44
|
"strip-ansi": "^6.0.0"
|
|
42
45
|
},
|
|
43
46
|
"devDependencies": {
|
|
47
|
+
"@pnpm/default-reporter": "8.5.7",
|
|
44
48
|
"@pnpm/logger": "^4.0.0",
|
|
45
49
|
"@types/normalize-path": "^3.0.0",
|
|
46
50
|
"@types/ramda": "0.27.39",
|
|
@@ -52,7 +56,7 @@
|
|
|
52
56
|
"homepage": "https://github.com/pnpm/pnpm/blob/master/packages/default-reporter#readme",
|
|
53
57
|
"funding": "https://opencollective.com/pnpm",
|
|
54
58
|
"scripts": {
|
|
55
|
-
"start": "
|
|
59
|
+
"start": "tsc --watch",
|
|
56
60
|
"lint": "eslint src/**/*.ts test/**/*.ts",
|
|
57
61
|
"pretty-test": "ts-node test | tap-diff",
|
|
58
62
|
"just-test-preview": "ts-node test --type-check",
|
|
@@ -60,5 +64,5 @@
|
|
|
60
64
|
"test": "pnpm run compile && pnpm run _test",
|
|
61
65
|
"compile": "rimraf lib tsconfig.tsbuildinfo && tsc --build && pnpm run lint -- --fix"
|
|
62
66
|
},
|
|
63
|
-
"readme": "# @pnpm/default-reporter\n\n> The default reporter of pnpm\n\n## Installation\n\n```\
|
|
67
|
+
"readme": "# @pnpm/default-reporter\n\n> The default reporter of pnpm\n\n## Installation\n\n```\npnpm add @pnpm/default-reporter\n```\n\n## Usage\n\n```ts\nimport { streamParser } from '@pnpm/logger'\nimport defaultReporter from '@pnpm/default-reporter'\n\nconst stopReporting = defaultReporter({\n context: {\n argv: [],\n },\n streamParser,\n})\n\ntry {\n // calling some pnpm APIs\n} finally {\n stopReporting()\n}\n```\n\n## Style Guide\n\n1. Never use blue or grey as font color as they are hard to read in many consoles.\n 1. Use dim instead of grey\n 1. Use cyan bright instead of blue\n1. Don't hide the CLI cursor. (It is easier to never hide but it is really needed only when scripts are running.)\n1. Don't use green and yellow to distinct something.\n\n## License\n\n[MIT](LICENSE)\n"
|
|
64
68
|
}
|