@lomray/react-mobx-manager 2.1.0-beta.2 → 2.1.0-beta.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/.c8rc.json +11 -0
- package/.mocharc.json +11 -0
- package/.run/Run all.run.xml +14 -0
- package/README.md +1 -1
- package/__helpers__/root-hooks.ts +13 -0
- package/__helpers__/sinon-chai.ts +4 -0
- package/__tests__/manager-stream.ts +57 -0
- package/__tests__/wakeup.ts +32 -0
- package/coverage/lcov-report/base.css +224 -0
- package/coverage/lcov-report/block-navigation.js +87 -0
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +176 -0
- package/coverage/lcov-report/prettify.css +1 -0
- package/coverage/lcov-report/prettify.js +2 -0
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +196 -0
- package/coverage/lcov-report/src/context.tsx.html +367 -0
- package/coverage/lcov-report/src/events.ts.html +118 -0
- package/coverage/lcov-report/src/index.html +266 -0
- package/coverage/lcov-report/src/index.ts.html +124 -0
- package/coverage/lcov-report/src/manager-stream.ts.html +226 -0
- package/coverage/lcov-report/src/manager.ts.html +1834 -0
- package/coverage/lcov-report/src/on-change-listener.ts.html +169 -0
- package/coverage/lcov-report/src/plugins/dev-extension/index.html +131 -0
- package/coverage/lcov-report/src/plugins/dev-extension/index.ts.html +109 -0
- package/coverage/lcov-report/src/plugins/dev-extension/state-listener.ts.html +397 -0
- package/coverage/lcov-report/src/plugins/helpers.ts.html +514 -0
- package/coverage/lcov-report/src/plugins/index.html +116 -0
- package/coverage/lcov-report/src/plugins/vite/id-generator.ts.html +292 -0
- package/coverage/lcov-report/src/plugins/vite/index.html +131 -0
- package/coverage/lcov-report/src/plugins/vite/index.ts.html +178 -0
- package/coverage/lcov-report/src/storages/async-storage.ts.html +253 -0
- package/coverage/lcov-report/src/storages/index.html +131 -0
- package/coverage/lcov-report/src/storages/local-storage.ts.html +190 -0
- package/coverage/lcov-report/src/store-status.ts.html +109 -0
- package/coverage/lcov-report/src/suspense-query.ts.html +619 -0
- package/coverage/lcov-report/src/types.ts.html +499 -0
- package/coverage/lcov-report/src/wakeup.ts.html +121 -0
- package/coverage/lcov-report/src/with-stores.tsx.html +274 -0
- package/coverage/lcov.info +1849 -0
- package/coverage/tmp/coverage-1976-1701099077109-0.json +1 -0
- package/coverage/tmp/coverage-1988-1701099077070-0.json +1 -0
- package/coverage/tmp/coverage-1995-1701099077018-0.json +1 -0
- package/lib/suspense-query.d.ts +1 -1
- package/package.json +14 -1
package/lib/suspense-query.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lomray/react-mobx-manager",
|
|
3
|
-
"version": "2.1.0-beta.
|
|
3
|
+
"version": "2.1.0-beta.3",
|
|
4
4
|
"description": "This package provides Mobx stores manager for react.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -48,6 +48,8 @@
|
|
|
48
48
|
"lint:check": "eslint --ext \".ts,.tsx\" \"src/**/*.{ts,tsx,*.ts,*tsx}\"",
|
|
49
49
|
"lint:format": "eslint --fix --ext \".ts,.tsx\" \"src/**/*.{ts,tsx,*.ts,*tsx}\"",
|
|
50
50
|
"ts:check": "tsc --project ./tsconfig.checks.json --skipLibCheck --noemit",
|
|
51
|
+
"test": "mocha --no-warnings __tests__ --recursive --unhandled-rejections=strict --exit",
|
|
52
|
+
"test:watch": "mocha --no-warnings __tests__ --recursive --unhandled-rejections=strict",
|
|
51
53
|
"prepare": "husky install"
|
|
52
54
|
},
|
|
53
55
|
"dependencies": {
|
|
@@ -60,19 +62,30 @@
|
|
|
60
62
|
"@lomray/eslint-config-react": "^3.0.0",
|
|
61
63
|
"@lomray/prettier-config": "^1.2.0",
|
|
62
64
|
"@rollup/plugin-terser": "^0.4.4",
|
|
65
|
+
"@types/chai": "^4.3.11",
|
|
63
66
|
"@types/hoist-non-react-statics": "^3.3.5",
|
|
64
67
|
"@types/lodash": "^4.14.202",
|
|
68
|
+
"@types/mocha": "^10.0.6",
|
|
65
69
|
"@types/react": "^18.2.38",
|
|
70
|
+
"@types/sinon": "^17.0.2",
|
|
71
|
+
"@types/sinon-chai": "^3.2.12",
|
|
72
|
+
"c8": "^8.0.1",
|
|
73
|
+
"chai": "^4.3.10",
|
|
66
74
|
"eslint": "^8.54.0",
|
|
67
75
|
"eslint-config-prettier": "^9.0.0",
|
|
68
76
|
"eslint-plugin-jsx-a11y": "^6.8.0",
|
|
69
77
|
"eslint-plugin-prettier": "^5.0.1",
|
|
70
78
|
"husky": "^8.0.3",
|
|
71
79
|
"lint-staged": "^15.1.0",
|
|
80
|
+
"mocha": "^10.2.0",
|
|
72
81
|
"prettier": "^3.1.0",
|
|
73
82
|
"rollup": "2.79.1",
|
|
74
83
|
"rollup-plugin-ts": "^3.4.5",
|
|
75
84
|
"semantic-release": "^21.1.2",
|
|
85
|
+
"sinon": "^17.0.1",
|
|
86
|
+
"sinon-chai": "^3.7.0",
|
|
87
|
+
"ts-node": "^10.9.1",
|
|
88
|
+
"tsconfig-paths": "^4.2.0",
|
|
76
89
|
"ttypescript": "^1.5.15",
|
|
77
90
|
"typescript": "^4.7.4",
|
|
78
91
|
"vite": "^4.5.0"
|