@clicktap/state 0.1.0 → 0.1.1

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 (2) hide show
  1. package/README.md +5 -7
  2. package/package.json +11 -1
package/README.md CHANGED
@@ -1,11 +1,9 @@
1
- # state
1
+ # @clicktap/state
2
2
 
3
- This library was generated with [Nx](https://nx.dev).
3
+ State management library for Clicktap reference frontend.
4
4
 
5
- ## Building
5
+ ## Install
6
6
 
7
- Run `nx build state` to build the library.
7
+ The state management library requires at least NextJS 13 and React 18. Additionally, it has a few peer dependencies on xstate that must be installed.
8
8
 
9
- ## Running unit tests
10
-
11
- Run `nx test state` to execute the unit tests via [Jest](https://jestjs.io).
9
+ Run `pnpm install @clicktap/state xstate @xstate/immer @xstate/inspect @xstate/react` to install the library.
package/package.json CHANGED
@@ -1,6 +1,16 @@
1
1
  {
2
2
  "name": "@clicktap/state",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
+ "private": false,
5
+ "author": "Clicktap",
6
+ "description": "A state management library for Clicktap reference frontend.",
7
+ "keywords": [
8
+ "clicktap"
9
+ ],
10
+ "license": "MIT",
11
+ "publishConfig": {
12
+ "access": "public"
13
+ },
4
14
  "type": "commonjs",
5
15
  "dependencies": {
6
16
  "cookie": "^0.5.0"