@adobe/data-lit 0.9.11 → 0.9.16

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 +18 -0
  2. package/package.json +3 -3
package/README.md ADDED
@@ -0,0 +1,18 @@
1
+ # @adobe/data-lit
2
+
3
+ Lit bindings for [@adobe/data](https://www.npmjs.com/package/@adobe/data) — hooks, elements, and decorators for building reactive UIs with the @adobe/data ECS database and observables.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ pnpm add @adobe/data @adobe/data-lit lit
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```typescript
14
+ import { ApplicationHost, DatabaseElement } from "@adobe/data-lit";
15
+ import { createDatabase } from "@adobe/data/ecs";
16
+ ```
17
+
18
+ See the `data-lit-todo` sample in this repository for a full example.
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@adobe/data-lit",
3
- "version": "0.9.11",
3
+ "version": "0.9.16",
4
4
  "description": "Adobe data Lit bindings - hooks, elements, decorators",
5
5
  "type": "module",
6
6
  "private": false,
7
7
  "dependencies": {
8
- "@adobe/data": "0.9.11"
8
+ "@adobe/data": "0.9.16"
9
9
  },
10
10
  "peerDependencies": {
11
11
  "lit": "^3.3.1"
@@ -22,7 +22,7 @@
22
22
  }
23
23
  },
24
24
  "scripts": {
25
- "build": "tsc -b",
25
+ "build": "cp ../../LICENSE . && tsc -b",
26
26
  "dev": "tsc -b -w",
27
27
  "test": "vitest --run --passWithNoTests",
28
28
  "publish-public": "pnpm build && pnpm publish --no-git-checks --access public"