@modern-js/plugin-state 1.2.3 → 1.2.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/.eslintrc.js ADDED
@@ -0,0 +1,8 @@
1
+ module.exports = {
2
+ root: true,
3
+ extends: ['@modern-js'],
4
+ parserOptions: {
5
+ tsconfigRootDir: __dirname,
6
+ project: ['./tsconfig.json'],
7
+ },
8
+ };
package/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # @modern-js/plugin-state
2
2
 
3
+ ## 1.2.6
4
+
5
+ ### Patch Changes
6
+
7
+ - b5943b029: fix: `exports` field in package.json
8
+
9
+ ## 1.2.5
10
+
11
+ ### Patch Changes
12
+
13
+ - 6c1438d2: fix: missing peer deps warnings
14
+ - 895fa0ff: chore: using "workspace:\*" in devDependencies
15
+
16
+ ## 1.2.4
17
+
18
+ ### Patch Changes
19
+
20
+ - 6cffe99d: chore:
21
+ remove react eslint rules for `modern-js` rule set.
22
+ add .eslintrc for each package to speed up linting
23
+ - 04ae5262: chore: bump @modern-js/utils to v1.4.1 in dependencies
24
+ - 60f7d8bf: feat: add tests dir to npmignore
25
+
3
26
  ## 1.2.3
4
27
 
5
28
  ### Patch Changes
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "1.2.3",
14
+ "version": "1.2.6",
15
15
  "jsnext:source": "./src/runtime/index.tsx",
16
16
  "types": "./dist/types/runtime/index.d.ts",
17
17
  "main": "./dist/js/node/runtime/index.js",
@@ -33,7 +33,7 @@
33
33
  "./plugins": {
34
34
  "jsnext:source": "./src/plugins.ts",
35
35
  "node": {
36
- "import": "./dist/js/node/plugins.js",
36
+ "import": "./dist/js/modern/plugins.js",
37
37
  "require": "./dist/js/node/plugins.js"
38
38
  },
39
39
  "default": "./dist/js/treeshaking/plugins.js"
@@ -57,31 +57,31 @@
57
57
  },
58
58
  "dependencies": {
59
59
  "@babel/runtime": "^7",
60
- "@modern-js-reduck/plugin-auto-actions": "^1.0.0",
61
- "@modern-js-reduck/plugin-devtools": "^1.0.0",
62
- "@modern-js-reduck/plugin-effects": "^1.0.0",
63
- "@modern-js-reduck/plugin-immutable": "^1.0.0",
64
- "@modern-js-reduck/react": "^1.0.0",
65
- "@modern-js-reduck/store": "^1.0.0",
60
+ "@modern-js-reduck/plugin-auto-actions": "^1.0.2",
61
+ "@modern-js-reduck/plugin-devtools": "^1.0.2",
62
+ "@modern-js-reduck/plugin-effects": "^1.0.2",
63
+ "@modern-js-reduck/plugin-immutable": "^1.0.1",
64
+ "@modern-js-reduck/react": "^1.0.1",
65
+ "@modern-js-reduck/store": "^1.0.3",
66
66
  "@types/redux-logger": "^3.0.9",
67
- "redux-logger": "^3.0.6",
68
- "hoist-non-react-statics": "^3.3.2"
67
+ "hoist-non-react-statics": "^3.3.2",
68
+ "redux-logger": "^3.0.6"
69
69
  },
70
70
  "devDependencies": {
71
- "@modern-js/core": "1.6.1",
72
- "@modern-js/plugin": "^1.3.2",
73
- "@modern-js/runtime-core": "1.4.0",
74
- "@modern-js/utils": "^1.3.7",
71
+ "@modern-js/core": "1.10.1",
72
+ "@modern-js/plugin": "1.3.3",
73
+ "@modern-js/runtime-core": "1.4.5",
74
+ "@modern-js/utils": "1.7.2",
75
+ "@scripts/build": "0.0.0",
76
+ "@scripts/jest-config": "0.0.0",
75
77
  "@types/hoist-non-react-statics": "^3.3.1",
76
78
  "@types/jest": "^26",
77
79
  "@types/node": "^14",
78
80
  "@types/react": "^17",
79
81
  "@types/react-dom": "^17",
80
- "react": "^17.0.2",
81
- "typescript": "^4",
82
- "@scripts/build": "0.0.0",
83
82
  "jest": "^27",
84
- "@scripts/jest-config": "0.0.0"
83
+ "react": "^17.0.2",
84
+ "typescript": "^4"
85
85
  },
86
86
  "sideEffects": false,
87
87
  "peerDependencies": {
@@ -1,9 +0,0 @@
1
- import plugin from '../src/runtime';
2
- import cliPlugin from '../src/cli';
3
-
4
- describe('plugin-state', () => {
5
- it('default', () => {
6
- expect(plugin).toBeDefined();
7
- expect(cliPlugin).toBeDefined();
8
- });
9
- });
@@ -1,13 +0,0 @@
1
- {
2
- "extends": "@modern-js/tsconfig/base",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "jsx": "preserve",
6
- "baseUrl": "./",
7
- "outDir": "./out",
8
- "emitDeclarationOnly": true,
9
- "isolatedModules": true,
10
- "paths": {},
11
- "types": ["node", "jest"]
12
- }
13
- }