@rocketh/doc 0.15.0-testing.7 → 0.15.0-testing.8

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/cli.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import { run } from './index.js';
3
3
  import { Command } from 'commander';
4
4
  import pkg from '../package.json' with { type: 'json' };
5
- import { readConfig } from 'rocketh';
5
+ import { readAndResolveConfig } from 'rocketh';
6
6
  const commandName = "rocketh-doc";
7
7
  const program = new Command();
8
8
  program
@@ -17,6 +17,6 @@ program
17
17
  .parse(process.argv);
18
18
  const { target, ...options } = program.opts();
19
19
  options.exceptSuffix = options.exceptSuffix?.split(',') || [];
20
- const resolvedConfig = await readConfig({ ...options });
20
+ const resolvedConfig = await readAndResolveConfig({ ...options });
21
21
  run(resolvedConfig, target, options);
22
22
  //# sourceMappingURL=cli.js.map
package/dist/cli.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AACA,OAAO,EAAC,GAAG,EAAC,MAAM,YAAY,CAAC;AAC/B,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAClC,OAAO,GAAG,MAAM,iBAAiB,CAAC,OAAM,IAAI,EAAE,MAAM,EAAC,CAAC;AAEtD,OAAO,EAAmB,UAAU,EAAE,MAAM,SAAS,CAAC;AAEtD,MAAM,WAAW,GAAG,aAAa,CAAC;AAElC,MAAM,OAAO,GAAG,IAAI,OAAO,EAAE,CAAC;AAC9B,OAAO;KACL,IAAI,CAAC,WAAW,CAAC;KACjB,WAAW,CAAC,sDAAsD,CAAC;KACnE,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC;KACpB,MAAM,CAAC,2BAA2B,EAAE,oCAAoC,CAAC;KACzE,MAAM,CAAC,sBAAsB,EAAE,+BAA+B,CAAC;KAC/D,MAAM,CAAC,wBAAwB,EAAE,gCAAgC,CAAC;KAClE,MAAM,CAA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AEtB,MAAM,EAAC,MAAM,EAAE,GAAG,OAAO,EAAC,GAAG,OAAO,CAAC,IAAI,EAAE,CAAC;AAC5C,OAAO,CAAC,YAAY,GAAG,OAAO,CAAC,YAAY,EAAE,KAAK,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC;AAC9D,MAAM,cAAc,GAAG,MAAM,oBAAoB,CAAC,EAAC,GAAI,OAA2B,EAAC,CAAC,CAAC;AACrF,GAAG,CAAC,cAAc,EAAE,MAAM,EAAE,OAAqB,CAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rocketh/doc",
3
- "version": "0.15.0-testing.7",
3
+ "version": "0.15.0-testing.8",
4
4
  "description": "can generate doc from rocketh deployments and provided template",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -28,10 +28,10 @@
28
28
  "as-soon": "^0.0.11",
29
29
  "rimraf": "^6.0.1",
30
30
  "typescript": "^5.9.2",
31
- "rocketh": "0.15.0-testing.7"
31
+ "rocketh": "0.15.0-testing.8"
32
32
  },
33
33
  "peerDependencies": {
34
- "rocketh": "0.15.0-testing.7"
34
+ "rocketh": "0.15.0-testing.8"
35
35
  },
36
36
  "dependencies": {
37
37
  "@types/fs-extra": "^11.0.4",
package/src/cli.ts CHANGED
@@ -3,7 +3,7 @@ import {run} from './index.js';
3
3
  import {Command} from 'commander';
4
4
  import pkg from '../package.json' with {type: 'json'};
5
5
  import {RunOptions} from './index.js';
6
- import { ConfigOverrides, readConfig } from 'rocketh';
6
+ import { ConfigOverrides, readAndResolveConfig } from 'rocketh';
7
7
 
8
8
  const commandName = "rocketh-doc";
9
9
 
@@ -21,5 +21,5 @@ program
21
21
 
22
22
  const {target, ...options} = program.opts();
23
23
  options.exceptSuffix = options.exceptSuffix?.split(',') || [];
24
- const resolvedConfig = await readConfig({...(options as ConfigOverrides)});
24
+ const resolvedConfig = await readAndResolveConfig({...(options as ConfigOverrides)});
25
25
  run(resolvedConfig, target, options as RunOptions,);