@modern-js/devtools-kit 0.0.0-next-20230925061350 → 0.0.0-next-20230925115155

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/CHANGELOG.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # @modern-js/devtools-kit
2
2
 
3
- ## 0.0.0-next-20230925061350
3
+ ## 0.0.0-next-20230925115155
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - @modern-js/types@0.0.0-next-20230925061350
8
- - @modern-js/utils@0.0.0-next-20230925061350
7
+ - @modern-js/types@0.0.0-next-20230925115155
8
+ - @modern-js/utils@0.0.0-next-20230925115155
package/dist/index.d.ts CHANGED
@@ -1,5 +1,2 @@
1
- export * from './server';
2
- export * from './client';
3
- export * from './mount-point';
4
- export * from './utils';
5
- export * from './constants';
1
+ export * from './types';
2
+ export * from './utils';
package/dist/index.js CHANGED
@@ -15,16 +15,10 @@ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "defau
15
15
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
16
  var src_exports = {};
17
17
  module.exports = __toCommonJS(src_exports);
18
- __reExport(src_exports, require("./server"), module.exports);
19
- __reExport(src_exports, require("./client"), module.exports);
20
- __reExport(src_exports, require("./mount-point"), module.exports);
18
+ __reExport(src_exports, require("./types"), module.exports);
21
19
  __reExport(src_exports, require("./utils"), module.exports);
22
- __reExport(src_exports, require("./constants"), module.exports);
23
20
  // Annotate the CommonJS export names for ESM import in node:
24
21
  0 && (module.exports = {
25
- ...require("./server"),
26
- ...require("./client"),
27
- ...require("./mount-point"),
28
- ...require("./utils"),
29
- ...require("./constants")
22
+ ...require("./types"),
23
+ ...require("./utils")
30
24
  });
@@ -26,15 +26,4 @@ export declare class ClientDefinition {
26
26
  name: NameDefinition;
27
27
  packages: PackageDefinition;
28
28
  assets: AssetDefinition;
29
- }
30
- export interface IframeTabView {
31
- type: 'iframe';
32
- src: string;
33
- }
34
- export type CustomTabView = IframeTabView;
35
- export interface CustomTab {
36
- name: string;
37
- title: string;
38
- view: CustomTabView;
39
- icon?: string;
40
29
  }
@@ -0,0 +1,14 @@
1
+ export interface IframeTabView {
2
+ type: 'iframe';
3
+ src: string;
4
+ }
5
+ export type CustomTabView = IframeTabView;
6
+ export interface CustomTab {
7
+ name: string;
8
+ title: string;
9
+ view: CustomTabView;
10
+ icon?: string;
11
+ }
12
+ export * from './server';
13
+ export * from './client';
14
+ export * from './mount-point';
@@ -3,10 +3,6 @@ var __defProp = Object.defineProperty;
3
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
5
  var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
6
  var __copyProps = (to, from, except, desc) => {
11
7
  if (from && typeof from === "object" || typeof from === "function") {
12
8
  for (let key of __getOwnPropNames(from))
@@ -15,14 +11,16 @@ var __copyProps = (to, from, except, desc) => {
15
11
  }
16
12
  return to;
17
13
  };
14
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
18
15
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var constants_exports = {};
20
- __export(constants_exports, {
21
- ROUTE_BASENAME: () => ROUTE_BASENAME
22
- });
23
- module.exports = __toCommonJS(constants_exports);
24
- const ROUTE_BASENAME = "/__devtools";
16
+ var types_exports = {};
17
+ module.exports = __toCommonJS(types_exports);
18
+ __reExport(types_exports, require("./server"), module.exports);
19
+ __reExport(types_exports, require("./client"), module.exports);
20
+ __reExport(types_exports, require("./mount-point"), module.exports);
25
21
  // Annotate the CommonJS export names for ESM import in node:
26
22
  0 && (module.exports = {
27
- ROUTE_BASENAME
23
+ ...require("./server"),
24
+ ...require("./client"),
25
+ ...require("./mount-point")
28
26
  });
package/dist/utils.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { ShortenAlias } from './client';
1
+ import { ShortenAlias } from './types';
2
2
  export declare function applyShortenAliases(resource: string, aliases?: ShortenAlias[]): string;
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "0.0.0-next-20230925061350",
18
+ "version": "0.0.0-next-20230925115155",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "types": "./dist/types/index.d.ts",
21
21
  "main": "./dist/index.js",
@@ -32,8 +32,8 @@
32
32
  "@geist-ui/core": "^2.3.8",
33
33
  "ufo": "^1.2.0",
34
34
  "ws": "8.13.0",
35
- "@modern-js/types": "0.0.0-next-20230925061350",
36
- "@modern-js/utils": "0.0.0-next-20230925061350"
35
+ "@modern-js/types": "0.0.0-next-20230925115155",
36
+ "@modern-js/utils": "0.0.0-next-20230925115155"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@swc/helpers": "0.5.1",
@@ -42,14 +42,14 @@
42
42
  "react": "~18.2.0",
43
43
  "type-fest": "^4.1.0",
44
44
  "typescript": "^5",
45
- "@modern-js/app-tools": "0.0.0-next-20230925061350",
46
- "@modern-js/builder-rspack-provider": "0.0.0-next-20230925061350",
47
- "@modern-js/builder-shared": "0.0.0-next-20230925061350",
48
- "@modern-js/builder-webpack-provider": "0.0.0-next-20230925061350",
49
- "@modern-js/core": "0.0.0-next-20230925061350",
50
- "@modern-js/module-tools": "0.0.0-next-20230925061350",
51
- "@modern-js/types": "0.0.0-next-20230925061350",
52
- "@scripts/build": "0.0.0-next-20230925061350"
45
+ "@modern-js/app-tools": "0.0.0-next-20230925115155",
46
+ "@modern-js/builder-rspack-provider": "0.0.0-next-20230925115155",
47
+ "@modern-js/builder-shared": "0.0.0-next-20230925115155",
48
+ "@modern-js/builder-webpack-provider": "0.0.0-next-20230925115155",
49
+ "@modern-js/core": "0.0.0-next-20230925115155",
50
+ "@modern-js/module-tools": "0.0.0-next-20230925115155",
51
+ "@modern-js/types": "0.0.0-next-20230925115155",
52
+ "@scripts/build": "0.0.0-next-20230925115155"
53
53
  },
54
54
  "peerDependencies": {
55
55
  "react": "~18.2.0"
@@ -1 +0,0 @@
1
- export declare const ROUTE_BASENAME = "/__devtools";
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes