lakebed 0.0.9 → 0.0.10
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.
- package/README.md +4 -1
- package/package.json +5 -5
- package/src/anonymous-server.js +1059 -329
- package/src/cli.js +52 -2
- package/src/version.js +1 -1
package/README.md
CHANGED
|
@@ -21,6 +21,8 @@ npx lakebed new
|
|
|
21
21
|
npm exec --package lakebed -- lakebed dev my-app
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
+
`lakebed create` is an alias for `lakebed new`. New capsules get a git repository and initial commit unless they are created inside an existing git repository or `--no-git` is passed.
|
|
25
|
+
|
|
24
26
|
## Capsule Shape
|
|
25
27
|
|
|
26
28
|
Lakebed v0 expects this directory layout:
|
|
@@ -116,7 +118,8 @@ queries: {
|
|
|
116
118
|
## Commands
|
|
117
119
|
|
|
118
120
|
```sh
|
|
119
|
-
lakebed new [name] [--template todo]
|
|
121
|
+
lakebed new [name] [--template todo] [--no-git]
|
|
122
|
+
lakebed create [name] [--template todo] [--no-git]
|
|
120
123
|
lakebed dev <capsule-dir> [--port 3000]
|
|
121
124
|
lakebed build <capsule-dir> --target anonymous [--out .lakebed/artifacts/app.json] [--json]
|
|
122
125
|
lakebed deploy [capsule-dir] [--ttl 7d] [--api <url>] [--json]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lakebed",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.10",
|
|
4
4
|
"description": "Agent-native CLI and runtime for building and deploying Lakebed capsules.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|
|
@@ -52,6 +52,9 @@
|
|
|
52
52
|
"publishConfig": {
|
|
53
53
|
"access": "public"
|
|
54
54
|
},
|
|
55
|
+
"scripts": {
|
|
56
|
+
"check": "node --check src/cli.js && node --check src/runtime.js && node --check src/server.js && node --check src/client.js && node --check src/source-store.js && node --check src/source-runtime.js && node --check src/source-runtime-worker.js && node --check src/source-runtime-loader.mjs && node --check src/anonymous.js && node --check src/anonymous-server.js && node --check src/auth.js && node --check src/version.js"
|
|
57
|
+
},
|
|
55
58
|
"dependencies": {
|
|
56
59
|
"esbuild": "^0.27.1",
|
|
57
60
|
"pg": "^8.16.3",
|
|
@@ -60,8 +63,5 @@
|
|
|
60
63
|
},
|
|
61
64
|
"devDependencies": {
|
|
62
65
|
"@types/ws": "^8.18.1"
|
|
63
|
-
},
|
|
64
|
-
"scripts": {
|
|
65
|
-
"check": "node --check src/cli.js && node --check src/runtime.js && node --check src/server.js && node --check src/client.js && node --check src/source-store.js && node --check src/source-runtime.js && node --check src/source-runtime-worker.js && node --check src/source-runtime-loader.mjs && node --check src/anonymous.js && node --check src/anonymous-server.js && node --check src/auth.js && node --check src/version.js"
|
|
66
66
|
}
|
|
67
|
-
}
|
|
67
|
+
}
|