@coffre/cli 0.1.4 → 0.1.6

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.
@@ -13,11 +13,11 @@
13
13
  "conformance": "coffre-conformance node"
14
14
  },
15
15
  "dependencies": {
16
- "@coffre/server": "0.1.4",
17
- "@coffre/vault": "0.1.4"
16
+ "@coffre/server": "0.1.6",
17
+ "@coffre/vault": "0.1.6"
18
18
  },
19
19
  "devDependencies": {
20
- "@coffre/conformance": "0.1.4",
20
+ "@coffre/conformance": "0.1.6",
21
21
  "@types/node": "26.1.1",
22
22
  "typescript": "5.9.3"
23
23
  }
@@ -51,6 +51,12 @@ that the app, which faces the network, never holds what decrypts a value:
51
51
  To do the same by hand, see
52
52
  [deploy.md](https://github.com/erwinkn/coffre/blob/main/docs/deploy.md#appendix-the-database-by-hand).
53
53
 
54
+ On a terminal, setup then offers to do Cloudflare too: it signs you in, makes
55
+ the Hyperdrive configs and the GitHub App, fills in both `wrangler.jsonc`,
56
+ and deploys, with the keys as secrets. That is sections 1, 3 and 4 below,
57
+ and the database URLs then go straight to Hyperdrive, unshown
58
+ ([deploy.md](https://github.com/erwinkn/coffre/blob/main/docs/deploy.md#setup-does-cloudflare-too)).
59
+
54
60
  ## 3. Hyperdrive and secrets
55
61
 
56
62
  Run the two `wrangler hyperdrive create` commands from setup's screen: one
@@ -14,13 +14,13 @@
14
14
  "conformance": "coffre-conformance workers"
15
15
  },
16
16
  "dependencies": {
17
- "@coffre/server": "0.1.4",
18
- "@coffre/ui": "0.1.4",
19
- "@coffre/vault": "0.1.4"
17
+ "@coffre/server": "0.1.6",
18
+ "@coffre/ui": "0.1.6",
19
+ "@coffre/vault": "0.1.6"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@cloudflare/workers-types": "5.20260920.1",
23
- "@coffre/conformance": "0.1.4",
23
+ "@coffre/conformance": "0.1.6",
24
24
  "typescript": "5.9.3",
25
25
  "wrangler": "4.118.0"
26
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coffre/cli",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "The coffre command line: secrets in your shell, and `coffre init` for a new deployment.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -24,12 +24,13 @@
24
24
  "devDependencies": {
25
25
  "@types/node": "26.1.1",
26
26
  "@types/pg": "8.20.0",
27
+ "jsonc-parser": "3.3.1",
27
28
  "pg": "8.16.3",
28
29
  "tsdown": "0.23.0",
29
30
  "typescript": "5.9.3",
30
- "@coffre/client": "0.1.4",
31
- "@coffre/db": "0.1.4",
32
- "@coffre/core": "0.1.4"
31
+ "@coffre/client": "0.1.6",
32
+ "@coffre/core": "0.1.6",
33
+ "@coffre/db": "0.1.6"
33
34
  },
34
35
  "scripts": {
35
36
  "build": "tsdown && node scripts/copy-templates.ts && node scripts/copy-migrations.ts",