@rool-dev/svelte 0.1.1 → 0.1.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 (3) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +7 -5
  3. package/package.json +9 -10
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Lightpost One
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,17 +1,15 @@
1
1
  # Rool Svelte
2
2
 
3
- Svelte 5 runes for Rool Spaces. Transforms the event-based SDK into reactive state using `$state`.
3
+ Svelte 5 bindings for Rool Spaces. Transforms the event-based SDK into reactive state using `$state` runes.
4
4
 
5
- **Requires Svelte 5.**
5
+ **Requires Svelte 5.** For core concepts (objects, relations, AI placeholders, undo/redo), see the [SDK documentation](https://docs.rool.dev/sdk/).
6
6
 
7
7
  ## Installation
8
8
 
9
9
  ```bash
10
- npm install @rool-dev/svelte @rool-dev/sdk
10
+ npm install @rool-dev/svelte
11
11
  ```
12
12
 
13
- Requires `@rool-dev/sdk` as a peer dependency.
14
-
15
13
  ## Quick Start
16
14
 
17
15
  ```svelte
@@ -265,6 +263,10 @@ import type {
265
263
  } from '@rool-dev/svelte';
266
264
  ```
267
265
 
266
+ ## Examples
267
+
268
+ See the [svelte-chat example](https://github.com/rool-dev/rool-js/tree/main/examples/svelte-chat) for a complete working app.
269
+
268
270
  ## License
269
271
 
270
272
  MIT - see [LICENSE](../../LICENSE) for details.
package/package.json CHANGED
@@ -1,8 +1,7 @@
1
1
  {
2
2
  "name": "@rool-dev/svelte",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Svelte 5 runes for Rool Spaces",
5
- "packageManager": "pnpm@10.17.1",
6
5
  "type": "module",
7
6
  "svelte": "./dist/index.js",
8
7
  "main": "./dist/index.js",
@@ -18,12 +17,6 @@
18
17
  "files": [
19
18
  "dist"
20
19
  ],
21
- "scripts": {
22
- "build": "svelte-package -i src -o dist",
23
- "dev": "svelte-package -i src -o dist --watch",
24
- "typecheck": "svelte-check --tsconfig ./tsconfig.json",
25
- "clean": "rm -rf dist"
26
- },
27
20
  "publishConfig": {
28
21
  "access": "public"
29
22
  },
@@ -48,7 +41,7 @@
48
41
  },
49
42
  "license": "MIT",
50
43
  "dependencies": {
51
- "@rool-dev/sdk": "workspace:*"
44
+ "@rool-dev/sdk": "0.1.8"
52
45
  },
53
46
  "peerDependencies": {
54
47
  "svelte": "^5.0.0"
@@ -58,5 +51,11 @@
58
51
  "svelte": "^5.0.0",
59
52
  "svelte-check": "^4.0.0",
60
53
  "typescript": "^5.9.3"
54
+ },
55
+ "scripts": {
56
+ "build": "svelte-package -i src -o dist",
57
+ "dev": "svelte-package -i src -o dist --watch",
58
+ "typecheck": "svelte-check --tsconfig ./tsconfig.json",
59
+ "clean": "rm -rf dist"
61
60
  }
62
- }
61
+ }