@shined/doctor-binding 0.0.27 → 0.0.29-snapshot.0
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/index.d.ts +15 -8
- package/index.js +1 -1
- package/package.json +10 -10
package/index.d.ts
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
/* auto-generated by NAPI-RS */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
+
export declare class Standards {
|
|
4
|
+
static create(cwd: string): Standards
|
|
5
|
+
set validateNpmrc()
|
|
6
|
+
validateNodeVersion(): Promise<Array<NapiMessages>>
|
|
7
|
+
validatePackageJson(): Promise<Array<NapiMessages>>
|
|
8
|
+
validateLint(): Promise<Array<NapiMessages>>
|
|
9
|
+
validateAll(opts?: JsRenderOpts | undefined | null): Promise<Array<NapiMessages>>
|
|
10
|
+
}
|
|
11
|
+
|
|
3
12
|
export interface Diagnostic {
|
|
4
13
|
fileName: string
|
|
5
14
|
help: string
|
|
@@ -10,14 +19,6 @@ export interface Diagnostic {
|
|
|
10
19
|
labels: Array<LabeledLoc>
|
|
11
20
|
}
|
|
12
21
|
|
|
13
|
-
export declare function doctor(cwd: string, opts?: DoctorOptions | undefined | null): Promise<Array<NapiMessages>>
|
|
14
|
-
|
|
15
|
-
export interface DoctorOptions {
|
|
16
|
-
verbose?: boolean
|
|
17
|
-
maxRenderCount?: number
|
|
18
|
-
withDashboard?: boolean
|
|
19
|
-
}
|
|
20
|
-
|
|
21
22
|
export declare function getLangStats(paths: Array<string>, opts?: Opts | undefined | null): Array<LangStats>
|
|
22
23
|
|
|
23
24
|
export interface GlobJsArgs {
|
|
@@ -30,6 +31,12 @@ export interface GlobJsArgs {
|
|
|
30
31
|
|
|
31
32
|
export declare function initializeLogger(level?: LogLevel | undefined | null): void
|
|
32
33
|
|
|
34
|
+
export interface JsRenderOpts {
|
|
35
|
+
withDashboard?: boolean
|
|
36
|
+
maxRenderCount?: number
|
|
37
|
+
quiet?: boolean
|
|
38
|
+
}
|
|
39
|
+
|
|
33
40
|
export interface LabeledLoc {
|
|
34
41
|
span: Span
|
|
35
42
|
loc: Location
|
package/index.js
CHANGED
|
@@ -375,7 +375,7 @@ if (!nativeBinding) {
|
|
|
375
375
|
}
|
|
376
376
|
|
|
377
377
|
module.exports = nativeBinding
|
|
378
|
-
module.exports.
|
|
378
|
+
module.exports.Standards = nativeBinding.Standards
|
|
379
379
|
module.exports.getLangStats = nativeBinding.getLangStats
|
|
380
380
|
module.exports.initializeLogger = nativeBinding.initializeLogger
|
|
381
381
|
module.exports.LangType = nativeBinding.LangType
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shined/doctor-binding",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.29-snapshot.0",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"repository": {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
},
|
|
9
9
|
"publishConfig": {
|
|
10
10
|
"access": "public",
|
|
11
|
-
"tag": "
|
|
11
|
+
"tag": "snapshot"
|
|
12
12
|
},
|
|
13
13
|
"files": [
|
|
14
14
|
"index.js",
|
|
@@ -20,13 +20,13 @@
|
|
|
20
20
|
},
|
|
21
21
|
"homepage": "https://github.com/sheinsight/doctor-engine#readme",
|
|
22
22
|
"optionalDependencies": {
|
|
23
|
-
"@shined/doctor-binding-darwin-x64": "0.0.
|
|
24
|
-
"@shined/doctor-binding-darwin-arm64": "0.0.
|
|
25
|
-
"@shined/doctor-binding-win32-x64-msvc": "0.0.
|
|
26
|
-
"@shined/doctor-binding-win32-arm64-msvc": "0.0.
|
|
27
|
-
"@shined/doctor-binding-linux-x64-gnu": "0.0.
|
|
28
|
-
"@shined/doctor-binding-linux-x64-musl": "0.0.
|
|
29
|
-
"@shined/doctor-binding-linux-arm64-gnu": "0.0.
|
|
30
|
-
"@shined/doctor-binding-linux-arm64-musl": "0.0.
|
|
23
|
+
"@shined/doctor-binding-darwin-x64": "0.0.29-snapshot.0",
|
|
24
|
+
"@shined/doctor-binding-darwin-arm64": "0.0.29-snapshot.0",
|
|
25
|
+
"@shined/doctor-binding-win32-x64-msvc": "0.0.29-snapshot.0",
|
|
26
|
+
"@shined/doctor-binding-win32-arm64-msvc": "0.0.29-snapshot.0",
|
|
27
|
+
"@shined/doctor-binding-linux-x64-gnu": "0.0.29-snapshot.0",
|
|
28
|
+
"@shined/doctor-binding-linux-x64-musl": "0.0.29-snapshot.0",
|
|
29
|
+
"@shined/doctor-binding-linux-arm64-gnu": "0.0.29-snapshot.0",
|
|
30
|
+
"@shined/doctor-binding-linux-arm64-musl": "0.0.29-snapshot.0"
|
|
31
31
|
}
|
|
32
32
|
}
|