@blac/react 0.0.16 → 0.0.17
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/package.json +6 -11
- package/readme.md +4 -4
package/package.json
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blac/react",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.17",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/blac-react.js",
|
|
6
6
|
"module": "dist/blac-react.esm.js",
|
|
7
7
|
"typings": "dist/blac-react.d.ts",
|
|
8
|
-
"type": "module",
|
|
9
8
|
"keywords": [
|
|
10
9
|
"react",
|
|
11
10
|
"typescript",
|
|
@@ -17,27 +16,23 @@
|
|
|
17
16
|
"bloc-pattern"
|
|
18
17
|
],
|
|
19
18
|
"scripts": {
|
|
20
|
-
"dev": "vite",
|
|
21
|
-
"build:demo": "vite build",
|
|
22
19
|
"build": "rollup -c rollup.config.lib.js",
|
|
23
20
|
"prettier": "prettier --write ./src",
|
|
24
|
-
"test": "vitest run"
|
|
25
|
-
"test:watch": "vitest --watch",
|
|
26
|
-
"coverage": "vitest run --coverage"
|
|
21
|
+
"test": "vitest run"
|
|
27
22
|
},
|
|
28
23
|
"dependencies": {
|
|
29
24
|
"blac": "*"
|
|
30
25
|
},
|
|
31
26
|
"devDependencies": {
|
|
32
|
-
"@types/react": "^18.2.
|
|
27
|
+
"@types/react": "^18.2.18",
|
|
33
28
|
"@types/react-dom": "^18.2.7",
|
|
34
29
|
"@types/react-highlight": "^0.12.5",
|
|
35
|
-
"@vitejs/plugin-react": "^4.0.
|
|
30
|
+
"@vitejs/plugin-react": "^4.0.4",
|
|
36
31
|
"highlight.js": "^11.8.0",
|
|
37
32
|
"react": "^18.2.0",
|
|
38
33
|
"react-dom": "^18.2.0",
|
|
39
34
|
"react-highlight": "^0.15.0",
|
|
40
|
-
"vite": "^4.4.
|
|
41
|
-
"vitest": "^0.
|
|
35
|
+
"vite": "^4.4.8",
|
|
36
|
+
"vitest": "^0.34.1"
|
|
42
37
|
}
|
|
43
38
|
}
|
package/readme.md
CHANGED
|
@@ -10,7 +10,7 @@ npm install blac-react
|
|
|
10
10
|
|
|
11
11
|
## Examples
|
|
12
12
|
|
|
13
|
-
- [Counter with Bloc](ui/examples/CounterWithBloc.tsx)
|
|
14
|
-
- [Counter with Cubit](ui/examples/CounterWithCubit.tsx)
|
|
15
|
-
- [Counter with Global State](ui/examples/CounterWithCubitGlobal.tsx)
|
|
16
|
-
- [Counters with Local State](ui/examples/CounterLocalDemo.tsx)
|
|
13
|
+
- [Counter with Bloc](../../apps/react-demo/ui/examples/CounterWithBloc.tsx)
|
|
14
|
+
- [Counter with Cubit](../../apps/react-demo/ui/examples/CounterWithCubit.tsx)
|
|
15
|
+
- [Counter with Global State](../../apps/react-demo/ui/examples/CounterWithCubitGlobal.tsx)
|
|
16
|
+
- [Counters with Local State](../../apps/react-demo/ui/examples/CounterLocalDemo.tsx)
|