@modern-js/plugin-state 2.65.5-alpha.0 → 2.65.5-alpha.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.
@@ -19,6 +19,7 @@ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "defau
19
19
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
20
  var plugin_exports = {};
21
21
  __export(plugin_exports, {
22
+ Provider: () => import_react.Provider,
22
23
  default: () => plugin_default,
23
24
  statePlugin: () => statePlugin
24
25
  });
@@ -88,6 +89,7 @@ const statePlugin = (userConfig = {}) => ({
88
89
  var plugin_default = statePlugin;
89
90
  // Annotate the CommonJS export names for ESM import in node:
90
91
  0 && (module.exports = {
92
+ Provider,
91
93
  statePlugin,
92
94
  ...require("../plugins")
93
95
  });
@@ -86,6 +86,7 @@ var statePlugin = function() {
86
86
  var plugin_default = statePlugin;
87
87
  export * from "../plugins";
88
88
  export {
89
+ Provider,
89
90
  plugin_default as default,
90
91
  statePlugin
91
92
  };
@@ -62,6 +62,7 @@ const statePlugin = (userConfig = {}) => ({
62
62
  var plugin_default = statePlugin;
63
63
  export * from "../plugins";
64
64
  export {
65
+ Provider,
65
66
  plugin_default as default,
66
67
  statePlugin
67
68
  };
@@ -1,5 +1,7 @@
1
+ import { Provider } from '@modern-js-reduck/react';
1
2
  import { type Model } from '@modern-js-reduck/store';
2
3
  import type { Plugin } from '@modern-js/runtime';
4
+ export { Provider };
3
5
  type StatePluginType = 'immer' | 'effects' | 'autoActions' | 'devtools';
4
6
  type StateExtraType = {
5
7
  initialState: any;
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.65.5-alpha.0",
18
+ "version": "2.65.5-alpha.1",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "types": "./dist/types/cli/index.d.ts",
21
21
  "main": "./dist/cjs/cli/index.js",
@@ -79,8 +79,8 @@
79
79
  "ts-jest": "^29.1.0",
80
80
  "typescript": "^5",
81
81
  "@modern-js/runtime": "2.65.4",
82
- "@modern-js/app-tools": "2.65.4",
83
82
  "@scripts/build": "2.65.4",
83
+ "@modern-js/app-tools": "2.65.4",
84
84
  "@scripts/jest-config": "2.65.4"
85
85
  },
86
86
  "sideEffects": false,