@shined/doctor 0.0.36 → 0.0.38
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/es/cli.mjs +4 -1
- package/package.json +2 -2
package/es/cli.mjs
CHANGED
|
@@ -6,7 +6,10 @@ cli.command('', 'check project health').option('-v, --verbose', 'Verbose output'
|
|
|
6
6
|
const start = __WEBPACK_EXTERNAL_MODULE_node_perf_hooks_81520749__.performance.now();
|
|
7
7
|
(0, __WEBPACK_EXTERNAL_MODULE__shined_doctor_binding_71127777__.initializeLogger)();
|
|
8
8
|
const cwd = options.cwd || process.cwd();
|
|
9
|
-
const standards = await __WEBPACK_EXTERNAL_MODULE__shined_doctor_binding_71127777__.
|
|
9
|
+
const standards = await __WEBPACK_EXTERNAL_MODULE__shined_doctor_binding_71127777__.JsSpecifications.create(cwd, {
|
|
10
|
+
quiet: false,
|
|
11
|
+
withDashboard: true
|
|
12
|
+
});
|
|
10
13
|
const res = await standards.validateAll();
|
|
11
14
|
const errorCount = res.reduce((count, msg)=>count + msg.diagnostics.filter((d)=>"Error" === d.severity).length, 0);
|
|
12
15
|
if (errorCount > 0) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shined/doctor",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.38",
|
|
4
4
|
"main": "es/index.mjs",
|
|
5
5
|
"types": "es/index.d.mts",
|
|
6
6
|
"bin": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"cac": "^6.7.14",
|
|
23
|
-
"@shined/doctor-binding": "0.0.
|
|
23
|
+
"@shined/doctor-binding": "0.0.38"
|
|
24
24
|
},
|
|
25
25
|
"bugs": {
|
|
26
26
|
"url": "https://github.com/sheinsight/doctor-engine/issues"
|