@modern-js/plugin-state 1.2.0 → 1.2.3
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 +26 -0
- package/dist/js/modern/cli/index.js +84 -88
- package/dist/js/modern/runtime/plugin.js +47 -45
- package/dist/js/node/cli/index.js +91 -94
- package/dist/js/node/runtime/plugin.js +51 -48
- package/dist/js/treeshaking/cli/index.js +83 -84
- package/dist/js/treeshaking/runtime/plugin.js +44 -44
- package/dist/types/cli/index.d.ts +5 -17
- package/dist/types/runtime/plugin.d.ts +2 -27
- package/jest.config.js +0 -1
- package/package.json +12 -9
- package/tests/tsconfig.json +13 -0
- package/src/.eslintrc.json +0 -3
- package/src/cli/index.ts +0 -144
- package/src/plugins.ts +0 -9
- package/src/runtime/index.tsx +0 -4
- package/src/runtime/plugin.tsx +0 -73
- package/src/types.ts +0 -19
package/src/types.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { createStore } from '@modern-js-reduck/store';
|
|
2
|
-
import { ReduxLoggerOptions } from 'redux-logger';
|
|
3
|
-
|
|
4
|
-
export type PluginOptions = Parameters<typeof createStore>[0] & {
|
|
5
|
-
/**
|
|
6
|
-
* If it's false, the logger will be disabled.
|
|
7
|
-
* If it's a object, it means options will pass to createLogger function
|
|
8
|
-
*/
|
|
9
|
-
logger?: false | ReduxLoggerOptions;
|
|
10
|
-
// todo: achive effects params
|
|
11
|
-
effects?: any;
|
|
12
|
-
/**
|
|
13
|
-
* Default: false
|
|
14
|
-
* When it's true, will remove immer plugin
|
|
15
|
-
*/
|
|
16
|
-
disableImmer?: boolean;
|
|
17
|
-
// todo: achive devtools params
|
|
18
|
-
devtools?: any;
|
|
19
|
-
};
|