@anodb/cli 0.0.0-stage → 0.7.0

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/README.md +6 -2
  2. package/index.js +3 -0
  3. package/package.json +26 -4
package/README.md CHANGED
@@ -1,3 +1,7 @@
1
- # Temporary Holding Version
1
+ # @anodb/cli
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ ```sh
4
+ npx @anodb/cli init
5
+ ```
6
+
7
+ Interactive setup for [anoDB](https://github.com/sho-ritz/anodb): installs `@anodb/core`, generates the schema, database and React provider, copies the SQLite WASM files for web apps and wires the provider into your app.
package/index.js ADDED
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ // `npx @anodb/cli init` — runs the setup wizard shipped with @anodb/core.
3
+ import '@anodb/core/cli'
package/package.json CHANGED
@@ -1,6 +1,28 @@
1
1
  {
2
2
  "name": "@anodb/cli",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.7.0",
4
+ "description": "Set up anoDB in your project: npx @anodb/cli init",
5
+ "type": "module",
6
+ "license": "MIT",
7
+ "author": "show-ritz",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/sho-ritz/anodb.git",
11
+ "directory": "packages/cli"
12
+ },
13
+ "homepage": "https://github.com/sho-ritz/anodb#readme",
14
+ "keywords": ["anodb", "nostr", "local-first", "sqlite", "cli"],
15
+ "engines": {
16
+ "node": ">=22.13"
17
+ },
18
+ "bin": {
19
+ "anodb": "index.js"
20
+ },
21
+ "files": ["index.js", "README.md"],
22
+ "dependencies": {
23
+ "@anodb/core": "^0.7.0"
24
+ },
25
+ "publishConfig": {
26
+ "access": "public"
27
+ }
28
+ }