@use-voltra/server 1.4.1 → 2.0.0-rc.2

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 +8 -6
  2. package/package.json +2 -1
package/README.md CHANGED
@@ -7,13 +7,15 @@
7
7
  `@use-voltra/server` contains the shared server rendering foundation for Voltra, including request adapters and platform-agnostic widget update handlers.
8
8
 
9
9
  > [!WARNING]
10
- > This package is not intended to be installed directly in your app. Most apps should install `voltra` instead.
10
+ > Use in Node.js / backend only — not in React Native app bundles.
11
11
 
12
- For installation and setup instructions, see the Voltra documentation: [use-voltra.dev](https://use-voltra.dev).
12
+ Shared HTTP handlers for server-driven widgets (`createWidgetUpdateNodeHandler`, etc.). Pair with `@use-voltra/ios-server` and/or `@use-voltra/android-server` for JSX rendering.
13
+
14
+ See [use-voltra.dev](https://use-voltra.dev).
13
15
 
14
16
  ## Authors
15
17
 
16
- `voltra` is an open source collaboration between [Saúl Sharma](https://github.com/saulsharma) and [Szymon Chmal](https://github.com/szymonchmal) at [Callstack][callstack-readme-with-love].
18
+ Voltra is an open source collaboration between [Saúl Sharma](https://github.com/saulsharma) and [Szymon Chmal](https://github.com/szymonchmal) at [Callstack][callstack-readme-with-love].
17
19
 
18
20
  If you think it's cool, please star it 🌟. This project will always remain free to use.
19
21
 
@@ -22,9 +24,9 @@ If you think it's cool, please star it 🌟. This project will always remain fre
22
24
  Like the project? ⚛️ [Join the Callstack team](https://callstack.com/careers/?utm_campaign=Senior_RN&utm_source=github&utm_medium=readme) who does amazing stuff for clients and drives React Native Open Source! 🔥
23
25
 
24
26
  [callstack-readme-with-love]: https://callstack.com/?utm_source=github.com&utm_medium=referral&utm_campaign=voltra&utm_term=readme-with-love
25
- [license-badge]: https://img.shields.io/npm/l/voltra?style=for-the-badge
27
+ [license-badge]: https://img.shields.io/npm/l/@use-voltra/server?style=for-the-badge
26
28
  [license]: https://github.com/callstackincubator/voltra/blob/main/LICENSE.txt
27
- [npm-downloads-badge]: https://img.shields.io/npm/dm/voltra?style=for-the-badge
28
- [npm-downloads]: https://www.npmjs.com/package/voltra
29
+ [npm-downloads-badge]: https://img.shields.io/npm/dm/@use-voltra/server?style=for-the-badge
30
+ [npm-downloads]: https://www.npmjs.com/package/@use-voltra/server
29
31
  [prs-welcome-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=for-the-badge
30
32
  [prs-welcome]: ./CONTRIBUTING.md
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@use-voltra/server",
3
- "version": "1.4.1",
3
+ "version": "2.0.0-rc.2",
4
4
  "description": "Shared server rendering foundation for Voltra",
5
5
  "main": "build/cjs/index.js",
6
6
  "module": "build/esm/index.js",
@@ -22,6 +22,7 @@
22
22
  "build": "node ../../scripts/build-package.mjs packages/server",
23
23
  "clean": "rm -rf build",
24
24
  "lint": "oxlint src",
25
+ "test": "node --test",
25
26
  "typecheck": "tsc -p tsconfig.typecheck.json --noEmit"
26
27
  },
27
28
  "keywords": [