@plugjs/tsd 0.3.5 → 0.4.1
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/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +3 -0
package/dist/index.cjs.map
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/index.ts"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,kBAA+B;AAC/B,mBAA+B;AAAA,
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,kBAA+B;AAC/B,mBAA+B;AAAA,IAqB/B,4BAAe,WAAO,6BAAe,YAAW,OAAO,GAAG,KAAK;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
/** Options for the {@link Tsd} plug */
|
|
1
2
|
export interface TsdOptions {
|
|
3
|
+
/** Current working directory of the project to retrieve the diagnostics for */
|
|
2
4
|
cwd?: string;
|
|
5
|
+
/** Path to the type definition file you want to test */
|
|
3
6
|
typingsFile?: string;
|
|
4
7
|
}
|
|
5
8
|
declare module '@plugjs/plug' {
|
package/dist/index.mjs.map
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plugjs/tsd",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"tsd": "^0.28.1"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"@plugjs/plug": "0.
|
|
36
|
+
"@plugjs/plug": "0.4.1"
|
|
37
37
|
},
|
|
38
38
|
"files": [
|
|
39
39
|
"*.md",
|
package/src/index.ts
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { installForking } from '@plugjs/plug/fork'
|
|
2
2
|
import { requireResolve } from '@plugjs/plug/paths'
|
|
3
3
|
|
|
4
|
+
/** Options for the {@link Tsd} plug */
|
|
4
5
|
export interface TsdOptions {
|
|
6
|
+
/** Current working directory of the project to retrieve the diagnostics for */
|
|
5
7
|
cwd?: string,
|
|
8
|
+
/** Path to the type definition file you want to test */
|
|
6
9
|
typingsFile?: string,
|
|
7
10
|
}
|
|
8
11
|
|