@rsdoctor/cli 1.2.3 → 1.2.4-beta.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/bin/rsdoctor CHANGED
@@ -1,5 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- const { execute } = require('../dist/index.js');
3
+
4
+ const { execute } = await import('../dist/index.js');
4
5
 
5
6
  execute();
@@ -10,4 +10,3 @@ interface Options {
10
10
  }
11
11
  export declare const analyze: Command<Commands.Analyze, Options, RsdoctorSDK>;
12
12
  export {};
13
- //# sourceMappingURL=analyze.d.ts.map
@@ -1,11 +1,13 @@
1
1
  import { Command } from '../types';
2
2
  import { Commands } from '../constants';
3
- import { SDK } from '@rsdoctor/types';
3
+ import { RsdoctorSDK } from '@rsdoctor/sdk';
4
4
  interface Options {
5
5
  current: string;
6
6
  baseline: string;
7
7
  open?: boolean;
8
8
  }
9
- export declare const bundleDiff: Command<Commands.BundleDiff, Options, SDK.RsdoctorSdkInstance>;
9
+ export declare const bundleDiff: Command<Commands.BundleDiff, Options, RsdoctorSDK<{
10
+ name: string;
11
+ root: string;
12
+ }>>;
10
13
  export {};
11
- //# sourceMappingURL=bundle-diff.d.ts.map
@@ -1,3 +1,2 @@
1
1
  export * from './analyze';
2
2
  export * from './bundle-diff';
3
- //# sourceMappingURL=index.d.ts.map
@@ -10,4 +10,3 @@ interface Options {
10
10
  }
11
11
  export declare const statsAnalyze: Command<Commands.StatsAnalyze, Options, RsdoctorSDK>;
12
12
  export {};
13
- //# sourceMappingURL=stats-analyze.d.ts.map
@@ -9,4 +9,3 @@ export declare const pkg: {
9
9
  bin: Record<string, string>;
10
10
  };
11
11
  export declare const bin: string;
12
- //# sourceMappingURL=constants.d.ts.map