@modern-js/runtime 0.0.0-next-b71d66058 → 0.0.0-next-1f210c066

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,12 +1,14 @@
1
1
  # @modern-js/runtime
2
2
 
3
- ## 0.0.0-next-b71d66058
3
+ ## 0.0.0-next-1f210c066
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - @modern-js/plugin@0.0.0-next-b71d66058
8
- - @modern-js/types@0.0.0-next-b71d66058
9
- - @modern-js/utils@0.0.0-next-b71d66058
7
+ - 9c9ebba6f: fix: fix duplicate re-exports of reduck
8
+ fix: 修复从 reduck 重复导出的 API
9
+ - @modern-js/plugin@0.0.0-next-1f210c066
10
+ - @modern-js/types@0.0.0-next-1f210c066
11
+ - @modern-js/utils@0.0.0-next-1f210c066
10
12
 
11
13
  ## 2.7.0
12
14
 
@@ -28,17 +28,11 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
29
  var runtime_exports = {};
30
30
  __export(runtime_exports, {
31
- createStore: () => import_store.createStore,
32
- default: () => import_plugin.default,
33
- model: () => import_store.model
31
+ default: () => import_plugin.default
34
32
  });
35
33
  module.exports = __toCommonJS(runtime_exports);
36
34
  __reExport(runtime_exports, require("@modern-js-reduck/react"), module.exports);
37
- var import_store = require("@modern-js-reduck/store");
38
35
  var import_plugin = __toESM(require("./plugin"));
39
36
  __reExport(runtime_exports, require("./plugin"), module.exports);
40
37
  // Annotate the CommonJS export names for ESM import in node:
41
- 0 && (module.exports = {
42
- createStore,
43
- model
44
- });
38
+ 0 && (module.exports = {});
@@ -1,5 +1,4 @@
1
1
  export * from "@modern-js-reduck/react";
2
- import { model, createStore } from "@modern-js-reduck/store";
3
2
  import { default as default2 } from "./plugin";
4
3
  export * from "./plugin";
5
- export { createStore, default2 as default, model };
4
+ export { default2 as default };
@@ -1,9 +1,6 @@
1
1
  export * from "@modern-js-reduck/react";
2
- import { model, createStore } from "@modern-js-reduck/store";
3
2
  import { default as default2 } from "./plugin";
4
3
  export * from "./plugin";
5
4
  export {
6
- createStore,
7
- default2 as default,
8
- model
5
+ default2 as default
9
6
  };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare function Body(props: {
2
3
  children?: any;
3
4
  }): JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare function Head(props: {
2
3
  children?: any;
3
4
  }): JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare function Html(props: {
2
3
  children: any[];
3
4
  }): JSX.Element;
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export declare function Links(): JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare function Root(props: {
2
3
  children?: any;
3
4
  rootId?: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare function Script(props: {
2
3
  content: () => void;
3
4
  }): JSX.Element;
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export declare function Scripts(): JSX.Element;
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export declare const DefaultNotFound: () => JSX.Element;
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  /**
2
4
  * DeferredDataScripts only renders in server side,
3
5
  * it doesn't need to be hydrated in client side.
@@ -1,4 +1,3 @@
1
1
  export * from '@modern-js-reduck/react';
2
- export { model, createStore } from '@modern-js-reduck/store';
3
2
  export { default } from './plugin';
4
3
  export * from './plugin';
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "0.0.0-next-b71d66058",
14
+ "version": "0.0.0-next-1f210c066",
15
15
  "engines": {
16
16
  "node": ">=14.17.6"
17
17
  },
@@ -158,9 +158,9 @@
158
158
  "react-side-effect": "^2.1.1",
159
159
  "redux-logger": "^3.0.6",
160
160
  "styled-components": "^5.3.1",
161
- "@modern-js/plugin": "0.0.0-next-b71d66058",
162
- "@modern-js/types": "0.0.0-next-b71d66058",
163
- "@modern-js/utils": "0.0.0-next-b71d66058"
161
+ "@modern-js/plugin": "0.0.0-next-1f210c066",
162
+ "@modern-js/types": "0.0.0-next-1f210c066",
163
+ "@modern-js/utils": "0.0.0-next-1f210c066"
164
164
  },
165
165
  "peerDependencies": {
166
166
  "react": ">=17",
@@ -181,11 +181,11 @@
181
181
  "react-dom": "^18",
182
182
  "ts-jest": "^27.0.4",
183
183
  "typescript": "^4",
184
- "@modern-js/app-tools": "0.0.0-next-b71d66058",
185
- "@modern-js/core": "0.0.0-next-b71d66058",
186
- "@scripts/build": "0.0.0-next-b71d66058",
187
- "@modern-js/server-core": "0.0.0-next-b71d66058",
188
- "@scripts/jest-config": "0.0.0-next-b71d66058"
184
+ "@modern-js/app-tools": "0.0.0-next-1f210c066",
185
+ "@modern-js/core": "0.0.0-next-1f210c066",
186
+ "@modern-js/server-core": "0.0.0-next-1f210c066",
187
+ "@scripts/build": "0.0.0-next-1f210c066",
188
+ "@scripts/jest-config": "0.0.0-next-1f210c066"
189
189
  },
190
190
  "sideEffects": false,
191
191
  "modernConfig": {},