picked 0.0.117-next.1 → 0.0.117-next.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.
|
@@ -8,6 +8,15 @@ layout: docs
|
|
|
8
8
|
`@picked/app-kit` is the TypeScript library for the server and the pages of a Picked app. It
|
|
9
9
|
implements the [app protocol](/reference/apps/protocol).
|
|
10
10
|
|
|
11
|
+
## Install
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
npm install @picked/app-kit
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Import the package with `import`, in a module with `"type": "module"`. In TypeScript, set
|
|
18
|
+
`moduleResolution` to `bundler`.
|
|
19
|
+
|
|
11
20
|
## Entry points
|
|
12
21
|
|
|
13
22
|
| Import | Runs in | Contents |
|
|
@@ -19,8 +28,9 @@ implements the [app protocol](/reference/apps/protocol).
|
|
|
19
28
|
| `@picked/app-kit/frame` | Browser | The functions for a page in a dashboard slot. |
|
|
20
29
|
| `@picked/app-kit/testing` | Tests | A Picked API for tests. |
|
|
21
30
|
|
|
22
|
-
`@picked/app-kit/server` also gives the
|
|
23
|
-
|
|
31
|
+
`@picked/app-kit/server` also gives all the functions, constants and types of
|
|
32
|
+
`@picked/app-kit`, but not `FrameContext`, `FrameToHostMessage` and `HostToFrameMessage`.
|
|
33
|
+
The package also has the command `app-kit-copy-frame`. See
|
|
24
34
|
[`app-kit-copy-frame`](#app-kit-copy-frame).
|
|
25
35
|
|
|
26
36
|
## `@picked/app-kit`
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "picked",
|
|
3
3
|
"description": "The Picked SDK front door: the client, the picked.config helpers, and the picked CLI in one install",
|
|
4
|
-
"version": "0.0.117-next.
|
|
4
|
+
"version": "0.0.117-next.2",
|
|
5
5
|
"bin": {
|
|
6
6
|
"picked": "dist/esm/bin.js"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@picked/cli": "0.0.117-next.
|
|
10
|
-
"@picked/config": "0.0.117-next.
|
|
9
|
+
"@picked/cli": "0.0.117-next.2",
|
|
10
|
+
"@picked/config": "0.0.117-next.2"
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
13
13
|
"@picked/client": "workspace:*",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"main": "./dist/cjs/index.js",
|
|
65
65
|
"module": "./dist/esm/index.js",
|
|
66
66
|
"peerDependencies": {
|
|
67
|
-
"@picked/client": "0.0.117-next.
|
|
67
|
+
"@picked/client": "0.0.117-next.2"
|
|
68
68
|
},
|
|
69
69
|
"private": false,
|
|
70
70
|
"publishConfig": {
|