File tree Expand file tree Collapse file tree 7 files changed +239
-100
lines changed Expand file tree Collapse file tree 7 files changed +239
-100
lines changed Original file line number Diff line number Diff line change 69
69
"@manypkg/get-packages" : " ^1.1.3" ,
70
70
"@preconstruct/cli" : " ^2.8.1" ,
71
71
"@testing-library/jest-dom" : " ^6.1.4" ,
72
- "@testing-library/vue" : " ^6.6.1 " ,
72
+ "@testing-library/vue" : " ^8.1.0 " ,
73
73
"@types/benchmark" : " ^2.1.5" ,
74
74
"@types/jest" : " ^29.5.10" ,
75
75
"@types/node" : " ^12.11.1" ,
76
- "@vue/compiler-sfc" : " ^3.0.11 " ,
76
+ "@vue/compiler-sfc" : " ^3.5.13 " ,
77
77
"@vue/vue3-jest" : " ^29.2.6" ,
78
78
"babel-jest" : " ^29.7.0" ,
79
79
"babel-preset-solid" : " ^1.8.4" ,
96
96
"tslint" : " ^6.1.3" ,
97
97
"tsx" : " ^4.19.2" ,
98
98
"typescript" : " ^5.6.3" ,
99
- "vue" : " ^3.0.11 " ,
99
+ "vue" : " ^3.5.13 " ,
100
100
"webpack-dev-middleware" : " ^3.6.0" ,
101
101
"zustand-mutative" : " ^1.2.0"
102
102
},
Original file line number Diff line number Diff line change
1
+ # coaction
2
+
3
+ ![ Node CI] ( https://github.com/unadlib/coaction/workflows/Node%20CI/badge.svg )
4
+ [ ![ npm] ( https://img.shields.io/npm/v/coaction.svg )] ( https://www.npmjs.com/package/coaction )
5
+ ![ license] ( https://img.shields.io/npm/l/coaction )
6
+
7
+ An efficient and flexible state management library for building high-performance, multithreading web applications.
8
+
9
+ ## Installation
10
+
11
+ You can install it via npm, yarn or pnpm.
12
+
13
+ ``` sh
14
+ npm install coaction
15
+ ```
16
+
17
+ ## Usage
18
+
19
+ ``` jsx
20
+ import { create } from ' coaction' ;
21
+
22
+ const useStore = create ((set ) => ({
23
+ count: 0 ,
24
+ increment : () => set ((state ) => state .count ++ )
25
+ }));
26
+ ```
27
+
28
+ ## Documentation
29
+
30
+ You can find the documentation [ here] ( https://github.com/unadlib/coaction ) .
Original file line number Diff line number Diff line change
1
+ export * from './src' ;
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " coaction-vue" ,
3
+ "version" : " 0.1.5" ,
4
+ "description" : " Coaction tools for Vue" ,
5
+ "keywords" : [
6
+ " coaction" ,
7
+ " vue" ,
8
+ " multithreading" ,
9
+ " mutative" ,
10
+ " data-transport"
11
+ ],
12
+ "authors" : [
13
+ " Michael Lin <[email protected] > (https://github.com/unadlib)"
14
+ ],
15
+ "homepage" : " https://github.com/unadlib/coaction/tree/main/packages/coaction-vue#readme" ,
16
+ "license" : " MIT" ,
17
+ "main" : " dist/coaction-vue.cjs.js" ,
18
+ "module" : " dist/coaction-vue.esm.js" ,
19
+ "umd:main" : " dist/coaction-vue.umd.min.js" ,
20
+ "exports" : {
21
+ "." : {
22
+ "types" : {
23
+ "import" : " ./dist/coaction-vue.cjs.mjs" ,
24
+ "default" : " ./dist/coaction-vue.cjs.js"
25
+ },
26
+ "module" : " ./dist/coaction-vue.esm.js" ,
27
+ "import" : " ./dist/coaction-vue.cjs.mjs" ,
28
+ "default" : " ./dist/coaction-vue.cjs.js"
29
+ },
30
+ "./package.json" : " ./package.json"
31
+ },
32
+ "sideEffects" : false ,
33
+ "files" : [
34
+ " dist"
35
+ ],
36
+ "repository" : {
37
+ "type" : " git" ,
38
+ "url" :
" git+ssh://[email protected] /unadlib/coaction.git"
39
+ },
40
+ "scripts" : {},
41
+ "bugs" : {
42
+ "url" : " https://github.com/unadlib/coaction/issues"
43
+ },
44
+ "preconstruct" : {
45
+ "umdName" : " CoactionVue" ,
46
+ "entrypoints" : [
47
+ " ./index.ts"
48
+ ]
49
+ },
50
+ "peerDependencies" : {
51
+ "coaction" : " ^0.1.5" ,
52
+ "vue" : " ^3.0.0"
53
+ },
54
+ "peerDependenciesMeta" : {
55
+ "coaction" : {
56
+ "optional" : true
57
+ }
58
+ },
59
+ "devDependencies" : {
60
+ "@testing-library/vue" : " ^8.1.0" ,
61
+ "coaction" : " ^0.1.5" ,
62
+ "vue" : " ^3.5.13"
63
+ }
64
+ }
Original file line number Diff line number Diff line change
1
+ test ( 'test' , ( ) => {
2
+ // expect(1).toBe(1);
3
+ } ) ;
You can’t perform that action at this time.
0 commit comments