@shined/doctor 0.0.21-snapshot.6 → 0.0.21-snapshot.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shined/doctor",
3
- "version": "0.0.21-snapshot.6",
3
+ "version": "0.0.21-snapshot.8",
4
4
  "main": "es/index.js",
5
5
  "types": "es/index.d.ts",
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.21-snapshot.6"
23
+ "@shined/doctor-binding": "0.0.21-snapshot.8"
24
24
  },
25
25
  "bugs": {
26
26
  "url": "https://github.com/sheinsight/doctor-engine/issues"
package/es/cli.d.mts DELETED
@@ -1 +0,0 @@
1
- export { };
package/es/cli.mjs DELETED
@@ -1,19 +0,0 @@
1
- import { cac } from "cac";
2
- import { doctor, initializeLogger } from "@shined/doctor-binding";
3
- import { performance } from "node:perf_hooks";
4
-
5
- //#region src/cli.mts
6
- const cli = cac("doctor");
7
- cli.command("", "check project health").option("-v, --verbose", "Verbose output").option("--cwd <path>", "Current working directory").action(async (options) => {
8
- const start = performance.now();
9
- initializeLogger();
10
- const cwd = options.cwd || process.cwd();
11
- const res = await doctor(cwd);
12
- if (res.length > 0) process.exit(1);
13
- const end = performance.now();
14
- console.log(`Time taken: ${end - start} milliseconds`);
15
- });
16
- cli.help();
17
- cli.parse();
18
-
19
- //#endregion
package/es/index.d.mts DELETED
@@ -1 +0,0 @@
1
- export * from "@shined/doctor-binding";
package/es/index.mjs DELETED
@@ -1 +0,0 @@
1
- export * from "@shined/doctor-binding"