@shined/doctor 0.0.2-snapshot.1 → 0.0.2-snapshot.10

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.
Files changed (2) hide show
  1. package/index.d.ts +4 -3
  2. package/package.json +9 -36
package/index.d.ts CHANGED
@@ -11,9 +11,10 @@ export interface Diagnostic {
11
11
  }
12
12
 
13
13
  export interface GlobJsArgs {
14
- pattern?: string
15
14
  ignore?: Array<string>
16
15
  cwd: string
16
+ verbose?: boolean
17
+ absolute?: boolean
17
18
  }
18
19
 
19
20
  export declare function innerDebugLint(oxlintConfig: string, globJsArgs: GlobJsArgs): Promise<Array<Diagnostic>>
@@ -45,6 +46,6 @@ export interface Response {
45
46
  }
46
47
 
47
48
  export interface Span {
48
- start: number
49
- end: number
49
+ offset: number
50
+ length: number
50
51
  }
package/package.json CHANGED
@@ -1,32 +1,8 @@
1
1
  {
2
2
  "name": "@shined/doctor",
3
- "version": "0.0.2-snapshot.1",
3
+ "version": "0.0.2-snapshot.10",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
- "napi": {
7
- "binaryName": "doctor",
8
- "packageName": "@shined/doctor",
9
- "targets": [
10
- "x86_64-apple-darwin",
11
- "aarch64-apple-darwin",
12
- "x86_64-pc-windows-msvc",
13
- "aarch64-pc-windows-msvc",
14
- "x86_64-unknown-linux-gnu",
15
- "x86_64-unknown-linux-musl",
16
- "aarch64-unknown-linux-gnu",
17
- "aarch64-unknown-linux-musl"
18
- ]
19
- },
20
- "scripts": {
21
- "create-npm-dirs": "napi create-npm-dirs",
22
- "artifacts": "napi artifacts ",
23
- "build:js": "napi build --platform --js index.js --dts index.d.ts",
24
- "build": "napi build --platform --release",
25
- "build:debug": "napi build --platform",
26
- "prepublishOnly": "napi prepublish -t npm --gh-release-id $RELEASE_ID",
27
- "universal": "napi universal",
28
- "demo": "napi prepublish -h"
29
- },
30
6
  "repository": {
31
7
  "url": "git+https://github.com/sheinsight/doctor-engine.git"
32
8
  },
@@ -39,17 +15,14 @@
39
15
  "index.d.ts"
40
16
  ],
41
17
  "license": "MIT",
42
- "devDependencies": {
43
- "@napi-rs/cli": "^3.0.0-alpha.75"
44
- },
45
18
  "optionalDependencies": {
46
- "@shined/doctor-darwin-x64": "0.0.2-snapshot.1",
47
- "@shined/doctor-darwin-arm64": "0.0.2-snapshot.1",
48
- "@shined/doctor-win32-x64-msvc": "0.0.2-snapshot.1",
49
- "@shined/doctor-win32-arm64-msvc": "0.0.2-snapshot.1",
50
- "@shined/doctor-linux-x64-gnu": "0.0.2-snapshot.1",
51
- "@shined/doctor-linux-x64-musl": "0.0.2-snapshot.1",
52
- "@shined/doctor-linux-arm64-gnu": "0.0.2-snapshot.1",
53
- "@shined/doctor-linux-arm64-musl": "0.0.2-snapshot.1"
19
+ "@shined/doctor-darwin-x64": "0.0.2-snapshot.10",
20
+ "@shined/doctor-darwin-arm64": "0.0.2-snapshot.10",
21
+ "@shined/doctor-win32-x64-msvc": "0.0.2-snapshot.10",
22
+ "@shined/doctor-win32-arm64-msvc": "0.0.2-snapshot.10",
23
+ "@shined/doctor-linux-x64-gnu": "0.0.2-snapshot.10",
24
+ "@shined/doctor-linux-x64-musl": "0.0.2-snapshot.10",
25
+ "@shined/doctor-linux-arm64-gnu": "0.0.2-snapshot.10",
26
+ "@shined/doctor-linux-arm64-musl": "0.0.2-snapshot.10"
54
27
  }
55
28
  }