rsf-zero 0.1.2 → 0.1.5

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 +2 -2
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -12,7 +12,7 @@ pnpm add rsf-zero
12
12
  npm install rsf-zero
13
13
  ```
14
14
 
15
- Then follow [setup](docs/setup.md#Setup).
15
+ Then follow [setup](https://github.com/IgorNadj/rsf-zero/tree/main/docs/setup.md#Setup).
16
16
 
17
17
  ## Quick intro to Server Functions
18
18
  React Server Functions allow you to mark functions to run on the server:
@@ -34,7 +34,7 @@ export const AddCommentButton = (comment: Comment) =>
34
34
  ```
35
35
 
36
36
  ### More examples
37
- See [/example/src/App.tsx](example/src/App.tsx).
37
+ See [/example/src/App.tsx](https://github.com/IgorNadj/rsf-zero/tree/main/example/src/App.tsx).
38
38
 
39
39
  ### Reference Docs
40
40
  - [React Server Functions](https://react.dev/reference/rsc/server-functions)
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "A minimal micro-framework with React Server Functions support",
4
4
  "author": "Igor Nadj",
5
5
  "type": "module",
6
- "version": "0.1.2",
6
+ "version": "0.1.5",
7
7
  "repository": {
8
8
  "type": "git",
9
9
  "url": "https://github.com/IgorNadj/rsf-zero.git",
@@ -13,15 +13,17 @@
13
13
  "build": "rm -rf ./dist && tsc",
14
14
  "test": "vitest run",
15
15
  "test:watch": "vitest",
16
- "publish": "npm run build && npm run test && cp ../README.md . && npm publish"
16
+ "prepublishOnly": "npm run build && npm run test && cp ../README.md ."
17
17
  },
18
18
  "dependencies": {
19
19
  "@swc/core": "^1.12.1",
20
20
  "@vitejs/plugin-react": "^4.3.4",
21
21
  "dotenv": "^17.2.1",
22
22
  "express": "^5.1.0",
23
+ "md5": "^2.3.0",
23
24
  "morgan": "^1.10.0",
24
25
  "superjson": "^2.2.2",
26
+ "typescript": "^5.8.3",
25
27
  "vite": "^6.3.5"
26
28
  },
27
29
  "devDependencies": {
@@ -30,8 +32,6 @@
30
32
  "@types/md5": "^2",
31
33
  "@types/morgan": "^1.9.10",
32
34
  "@types/node": "^24.1.0",
33
- "md5": "^2.3.0",
34
- "typescript": "^5.8.3",
35
35
  "vitest": "^3.2.4"
36
36
  },
37
37
  "peerDependencies": {