create-cloud-db 1.0.68 → 1.0.69
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/CLAUDE.md +20 -0
- package/package.json +1 -1
package/CLAUDE.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# CLAUDE.md — `create-cloud-db`
|
|
2
|
+
|
|
3
|
+
**skill:** [`skills/create-cloud-db`](../../skills/create-cloud-db/SKILL.md)
|
|
4
|
+
· **runner:** Vitest · **build:** none — `create-cloud-db.js` ships as-is
|
|
5
|
+
|
|
6
|
+
A CLI that creates a Turso database and writes the `TURSO_*` variables into a
|
|
7
|
+
`.env` file.
|
|
8
|
+
|
|
9
|
+
## Rules
|
|
10
|
+
|
|
11
|
+
- **It edits the user's `.env`.** Never clobber existing keys without saying so,
|
|
12
|
+
never reorder or reformat the rest of the file, and never print a token to
|
|
13
|
+
stdout where it lands in a terminal scrollback or CI log.
|
|
14
|
+
- Turso API tokens are credentials. They belong in the `.env` it writes and
|
|
15
|
+
nowhere else — not in fixtures, not in test snapshots.
|
|
16
|
+
- **No build step**: the `.js` at the package root is the published artifact.
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
cd packages/create-cloud-db && bun run test
|
|
20
|
+
```
|
package/package.json
CHANGED