@parcel/plugin 2.0.0-nightly.954 → 2.0.0-nightly.967
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 +3 -3
- package/src/PluginAPI.d.ts +6 -1
- package/src/PluginAPI.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@parcel/plugin",
|
|
3
|
-
"version": "2.0.0-nightly.
|
|
3
|
+
"version": "2.0.0-nightly.967+e6c96774",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"check-ts": "tsc --noEmit src/PluginAPI.d.ts"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@parcel/types": "2.0.0-nightly.
|
|
26
|
+
"@parcel/types": "2.0.0-nightly.967+e6c96774"
|
|
27
27
|
},
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "e6c96774a9e1712a5fb2e9fd84f4b708130a387c"
|
|
29
29
|
}
|
package/src/PluginAPI.d.ts
CHANGED
|
@@ -6,10 +6,11 @@ import type {
|
|
|
6
6
|
Runtime as RuntimeOpts,
|
|
7
7
|
Packager as PackagerOpts,
|
|
8
8
|
Optimizer as OptimizerOpts,
|
|
9
|
+
Compressor as CompressorOpts,
|
|
9
10
|
Reporter as ReporterOpts,
|
|
10
11
|
Validator as ValidatorOpts,
|
|
11
12
|
} from '@parcel/types';
|
|
12
|
-
|
|
13
|
+
|
|
13
14
|
export declare class Transformer<T> {
|
|
14
15
|
constructor(opts: TransformerOpts<T>);
|
|
15
16
|
}
|
|
@@ -42,6 +43,10 @@ export declare class Optimizer<T> {
|
|
|
42
43
|
constructor(opts: OptimizerOpts<T>);
|
|
43
44
|
}
|
|
44
45
|
|
|
46
|
+
export declare class Compressor {
|
|
47
|
+
constructor(opts: CompressorOpts);
|
|
48
|
+
}
|
|
49
|
+
|
|
45
50
|
export declare class Reporter {
|
|
46
51
|
constructor(opts: ReporterOpts);
|
|
47
52
|
}
|
package/src/PluginAPI.js
CHANGED