@rsdoctor/sdk 1.3.5 → 1.3.6

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 CHANGED
@@ -6566,7 +6566,7 @@ for(var __webpack_i__ in (()=>{
6566
6566
  let data = this.getStoreData(), clientRoutes = this.getClientRoutes();
6567
6567
  external_node_fs_default().mkdirSync(this.outputDir, {
6568
6568
  recursive: !0
6569
- }), external_node_fs_default().writeFileSync(external_path_default().resolve(this.outputDir, 'rsdoctor-data.json'), JSON.stringify({
6569
+ }), external_node_fs_default().writeFileSync(external_path_default().resolve(this.outputDir, this.extraConfig.brief.jsonOptions?.fileName ?? 'rsdoctor-data.json'), JSON.stringify({
6570
6570
  data,
6571
6571
  clientRoutes
6572
6572
  }, null, 2));
package/dist/index.js CHANGED
@@ -6459,7 +6459,7 @@ class RsdoctorSDK extends SDKCore {
6459
6459
  let data = this.getStoreData(), clientRoutes = this.getClientRoutes();
6460
6460
  external_node_fs_.default.mkdirSync(this.outputDir, {
6461
6461
  recursive: !0
6462
- }), external_node_fs_.default.writeFileSync(external_path_.default.resolve(this.outputDir, 'rsdoctor-data.json'), JSON.stringify({
6462
+ }), external_node_fs_.default.writeFileSync(external_path_.default.resolve(this.outputDir, this.extraConfig.brief.jsonOptions?.fileName ?? 'rsdoctor-data.json'), JSON.stringify({
6463
6463
  data,
6464
6464
  clientRoutes
6465
6465
  }, null, 2));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsdoctor/sdk",
3
- "version": "1.3.5",
3
+ "version": "1.3.6",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/web-infra-dev/rsdoctor",
@@ -26,10 +26,10 @@
26
26
  "safer-buffer": "2.1.2",
27
27
  "socket.io": "4.8.1",
28
28
  "tapable": "2.2.3",
29
- "@rsdoctor/graph": "1.3.5",
30
- "@rsdoctor/client": "1.3.5",
31
- "@rsdoctor/types": "1.3.5",
32
- "@rsdoctor/utils": "1.3.5"
29
+ "@rsdoctor/client": "1.3.6",
30
+ "@rsdoctor/graph": "1.3.6",
31
+ "@rsdoctor/types": "1.3.6",
32
+ "@rsdoctor/utils": "1.3.6"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@types/body-parser": "1.19.6",