@buoy-gg/zustand 2.1.8

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.
Files changed (61) hide show
  1. package/LICENSE +58 -0
  2. package/README.md +138 -0
  3. package/lib/commonjs/index.js +1 -0
  4. package/lib/commonjs/package.json +1 -0
  5. package/lib/commonjs/preset.js +1 -0
  6. package/lib/commonjs/zustand/components/ZustandActionButton.js +1 -0
  7. package/lib/commonjs/zustand/components/ZustandDetailViewToggle.js +1 -0
  8. package/lib/commonjs/zustand/components/ZustandEventFilterView.js +1 -0
  9. package/lib/commonjs/zustand/components/ZustandIcon.js +1 -0
  10. package/lib/commonjs/zustand/components/ZustandModal.js +1 -0
  11. package/lib/commonjs/zustand/components/ZustandStateChangeItem.js +1 -0
  12. package/lib/commonjs/zustand/components/ZustandStateDetailContent.js +1 -0
  13. package/lib/commonjs/zustand/components/ZustandStateInfoView.js +1 -0
  14. package/lib/commonjs/zustand/components/ZustandStoreBrowser.js +1 -0
  15. package/lib/commonjs/zustand/components/index.js +1 -0
  16. package/lib/commonjs/zustand/hooks/index.js +1 -0
  17. package/lib/commonjs/zustand/hooks/useZustandStateChanges.js +1 -0
  18. package/lib/commonjs/zustand/index.js +1 -0
  19. package/lib/commonjs/zustand/types/index.js +1 -0
  20. package/lib/commonjs/zustand/utils/buoyZustandMiddleware.js +1 -0
  21. package/lib/commonjs/zustand/utils/index.js +1 -0
  22. package/lib/commonjs/zustand/utils/zustandStateStore.js +1 -0
  23. package/lib/module/index.js +1 -0
  24. package/lib/module/preset.js +1 -0
  25. package/lib/module/zustand/components/ZustandActionButton.js +1 -0
  26. package/lib/module/zustand/components/ZustandDetailViewToggle.js +1 -0
  27. package/lib/module/zustand/components/ZustandEventFilterView.js +1 -0
  28. package/lib/module/zustand/components/ZustandIcon.js +1 -0
  29. package/lib/module/zustand/components/ZustandModal.js +1 -0
  30. package/lib/module/zustand/components/ZustandStateChangeItem.js +1 -0
  31. package/lib/module/zustand/components/ZustandStateDetailContent.js +1 -0
  32. package/lib/module/zustand/components/ZustandStateInfoView.js +1 -0
  33. package/lib/module/zustand/components/ZustandStoreBrowser.js +1 -0
  34. package/lib/module/zustand/components/index.js +1 -0
  35. package/lib/module/zustand/hooks/index.js +1 -0
  36. package/lib/module/zustand/hooks/useZustandStateChanges.js +1 -0
  37. package/lib/module/zustand/index.js +1 -0
  38. package/lib/module/zustand/types/index.js +1 -0
  39. package/lib/module/zustand/utils/buoyZustandMiddleware.js +1 -0
  40. package/lib/module/zustand/utils/index.js +1 -0
  41. package/lib/module/zustand/utils/zustandStateStore.js +1 -0
  42. package/lib/typescript/index.d.ts +50 -0
  43. package/lib/typescript/preset.d.ts +96 -0
  44. package/lib/typescript/zustand/components/ZustandActionButton.d.ts +42 -0
  45. package/lib/typescript/zustand/components/ZustandDetailViewToggle.d.ts +16 -0
  46. package/lib/typescript/zustand/components/ZustandEventFilterView.d.ts +10 -0
  47. package/lib/typescript/zustand/components/ZustandIcon.d.ts +10 -0
  48. package/lib/typescript/zustand/components/ZustandModal.d.ts +10 -0
  49. package/lib/typescript/zustand/components/ZustandStateChangeItem.d.ts +13 -0
  50. package/lib/typescript/zustand/components/ZustandStateDetailContent.d.ts +30 -0
  51. package/lib/typescript/zustand/components/ZustandStateInfoView.d.ts +18 -0
  52. package/lib/typescript/zustand/components/ZustandStoreBrowser.d.ts +18 -0
  53. package/lib/typescript/zustand/components/index.d.ts +11 -0
  54. package/lib/typescript/zustand/hooks/index.d.ts +3 -0
  55. package/lib/typescript/zustand/hooks/useZustandStateChanges.d.ts +38 -0
  56. package/lib/typescript/zustand/index.d.ts +12 -0
  57. package/lib/typescript/zustand/types/index.d.ts +72 -0
  58. package/lib/typescript/zustand/utils/buoyZustandMiddleware.d.ts +84 -0
  59. package/lib/typescript/zustand/utils/index.d.ts +3 -0
  60. package/lib/typescript/zustand/utils/zustandStateStore.d.ts +55 -0
  61. package/package.json +81 -0
package/package.json ADDED
@@ -0,0 +1,81 @@
1
+ {
2
+ "name": "@buoy-gg/zustand",
3
+ "version": "2.1.8",
4
+ "description": "Zustand store DevTools for React Native",
5
+ "main": "lib/commonjs/index.js",
6
+ "module": "lib/module/index.js",
7
+ "types": "lib/typescript/index.d.ts",
8
+ "react-native": "lib/module/index.js",
9
+ "source": "src/index.tsx",
10
+ "exports": {
11
+ ".": {
12
+ "react-native": "./lib/module/index.js",
13
+ "import": {
14
+ "default": "./lib/module/index.js",
15
+ "types": "./lib/typescript/index.d.ts"
16
+ },
17
+ "require": {
18
+ "default": "./lib/commonjs/index.js",
19
+ "types": "./lib/typescript/index.d.ts"
20
+ }
21
+ },
22
+ "./package.json": "./package.json"
23
+ },
24
+ "files": [
25
+ "lib"
26
+ ],
27
+ "sideEffects": false,
28
+ "dependencies": {
29
+ "@buoy-gg/license": "2.1.8",
30
+ "@buoy-gg/shared-ui": "2.1.8"
31
+ },
32
+ "peerDependencies": {
33
+ "react": "*",
34
+ "react-native": "*",
35
+ "zustand": ">=4.0.0"
36
+ },
37
+ "devDependencies": {
38
+ "@types/react": "^19.1.0",
39
+ "@types/react-native": "^0.73.0",
40
+ "typescript": "~5.8.3",
41
+ "zustand": "^5.0.0"
42
+ },
43
+ "react-native-builder-bob": {
44
+ "source": "src",
45
+ "output": "lib",
46
+ "targets": [
47
+ [
48
+ "commonjs",
49
+ {
50
+ "sourceMaps": false
51
+ }
52
+ ],
53
+ [
54
+ "module",
55
+ {
56
+ "sourceMaps": false
57
+ }
58
+ ],
59
+ "typescript"
60
+ ]
61
+ },
62
+ "repository": {
63
+ "type": "git",
64
+ "url": "https://github.com/LovesWorking/react-native-buoy.git",
65
+ "directory": "packages/zustand"
66
+ },
67
+ "bugs": {
68
+ "url": "https://github.com/LovesWorking/react-native-buoy/issues"
69
+ },
70
+ "homepage": "https://github.com/LovesWorking/react-native-buoy/tree/main/packages/zustand#readme",
71
+ "publishConfig": {
72
+ "access": "public",
73
+ "tag": "latest"
74
+ },
75
+ "scripts": {
76
+ "build": "bob build",
77
+ "typecheck": "tsc --noEmit",
78
+ "clean": "rimraf lib",
79
+ "test": "pnpm run typecheck"
80
+ }
81
+ }