@atlaspack/plugin 2.14.21-typescript-b27501580.0 → 2.14.21-typescript-5b4d3ad41.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.
Files changed (2) hide show
  1. package/lib/PluginAPI.d.ts +43 -0
  2. package/package.json +3 -3
@@ -0,0 +1,43 @@
1
+ import type { Transformer as TransformerOpts, Resolver as ResolverOpts, Bundler as BundlerOpts, Namer as NamerOpts, Runtime as RuntimeOpts, Packager as PackagerOpts, Optimizer as OptimizerOpts, Compressor as CompressorOpts, Reporter as ReporterOpts, Validator as ValidatorOpts } from '@atlaspack/types';
2
+ declare const CONFIG: unique symbol;
3
+ export declare class Transformer<T = unknown> {
4
+ [CONFIG]: TransformerOpts<T>;
5
+ constructor(opts: TransformerOpts<T>);
6
+ }
7
+ export declare class Resolver<T = unknown> {
8
+ [CONFIG]: ResolverOpts<T>;
9
+ constructor(opts: ResolverOpts<T>);
10
+ }
11
+ export declare class Bundler<T = unknown> {
12
+ [CONFIG]: BundlerOpts<T>;
13
+ constructor(opts: BundlerOpts<T>);
14
+ }
15
+ export declare class Namer<T = unknown> {
16
+ [CONFIG]: NamerOpts<T>;
17
+ constructor(opts: NamerOpts<T>);
18
+ }
19
+ export declare class Runtime<T = unknown> {
20
+ [CONFIG]: RuntimeOpts<T>;
21
+ constructor(opts: RuntimeOpts<T>);
22
+ }
23
+ export declare class Validator {
24
+ [CONFIG]: ValidatorOpts;
25
+ constructor(opts: ValidatorOpts);
26
+ }
27
+ export declare class Packager<T = unknown, U = unknown> {
28
+ [CONFIG]: PackagerOpts<T, U>;
29
+ constructor(opts: PackagerOpts<T, U>);
30
+ }
31
+ export declare class Optimizer<T = unknown, U = unknown> {
32
+ [CONFIG]: OptimizerOpts<T, U>;
33
+ constructor(opts: OptimizerOpts<T, U>);
34
+ }
35
+ export declare class Compressor {
36
+ [CONFIG]: CompressorOpts;
37
+ constructor(opts: CompressorOpts);
38
+ }
39
+ export declare class Reporter {
40
+ [CONFIG]: ReporterOpts;
41
+ constructor(opts: ReporterOpts);
42
+ }
43
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/plugin",
3
- "version": "2.14.21-typescript-b27501580.0",
3
+ "version": "2.14.21-typescript-5b4d3ad41.0",
4
4
  "license": "(MIT OR Apache-2.0)",
5
5
  "type": "commonjs",
6
6
  "publishConfig": {
@@ -20,7 +20,7 @@
20
20
  "check-ts": "tsc --emitDeclarationOnly --rootDir src"
21
21
  },
22
22
  "dependencies": {
23
- "@atlaspack/types": "2.15.11-typescript-b27501580.0"
23
+ "@atlaspack/types": "2.15.11-typescript-5b4d3ad41.0"
24
24
  },
25
- "gitHead": "b275015805a058452afb6fb48c078ecd4de925f2"
25
+ "gitHead": "5b4d3ad41ffa002b989ba77271bb3010a1f05b2a"
26
26
  }