keypin 0.20.0 → 0.21.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 (2) hide show
  1. package/README.md +6 -17
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -31,22 +31,12 @@ Want another? Vote for it on the [roadmap](https://github.com/caiopizzol/keypin/
31
31
 
32
32
  ## Install
33
33
 
34
- keypin runs on macOS, and on Linux with glibc (not Alpine), on arm64 or x64. You need the
35
- [1Password](https://1password.com/downloads) desktop app; on a server or in CI without it, use a
36
- [service account](https://github.com/caiopizzol/keypin/blob/main/docs/service-account.md).
34
+ keypin runs on macOS, and on Linux with glibc (not Alpine), on arm64 or x64.
37
35
 
38
36
  ```sh
39
37
  npm install -g keypin
40
38
  ```
41
39
 
42
- Don't install with `--omit=optional`: the build for your platform is an optional dependency.
43
-
44
- In 1Password, open **Settings → Developer** and, under **Integrate with the 1Password SDKs**, select **Integrate
45
- with other apps**. 1Password then asks you to approve each keypin command.
46
-
47
- To publish, you also need a [`gh`](https://cli.github.com) login for GitHub, or a
48
- [`wrangler`](https://developers.cloudflare.com/workers/wrangler/) login for Cloudflare.
49
-
50
40
  ## Get started
51
41
 
52
42
  ```sh
@@ -66,8 +56,7 @@ keypin import .env STRIPE_KEY DATABASE_URL --vault Private --account my.1passwor
66
56
  keypin run -- npm run dev
67
57
  ```
68
58
 
69
- `import` creates one item per variable and maps it. Variables you don't name, such as `PORT`, stay in the file.
70
- It never changes the file: it tells you which lines to remove. See
59
+ `import` creates one item per variable and maps it. Variables you don't name, such as `PORT`, stay in the file. See
71
60
  [Import](https://github.com/caiopizzol/keypin/blob/main/docs/import.md).
72
61
 
73
62
  ### Production keys
@@ -77,8 +66,6 @@ Put each prod value in 1Password first:
77
66
  - **In a file:** `keypin import .env.production STRIPE_KEY --env prod --vault Private`
78
67
  - **Only in GitHub or Cloudflare:** neither keypin nor you can read it back, so make a new key at the provider.
79
68
 
80
- For staging, add it to `environments` first (`check` prints the line), then import with `--env staging`.
81
-
82
69
  Then `keypin check` prints the TOML to add for each secret a workflow or Worker needs:
83
70
 
84
71
  ```toml
@@ -134,8 +121,10 @@ npx skills add caiopizzol/keypin -g # all your projects
134
121
  `keypin.toml`
135
122
  - [Import](https://github.com/caiopizzol/keypin/blob/main/docs/import.md): moving an env file's values into 1Password
136
123
  - [Infisical](https://github.com/caiopizzol/keypin/blob/main/docs/infisical.md): reading keys from Infisical instead
124
+ - [Service account](https://github.com/caiopizzol/keypin/blob/main/docs/service-account.md): 1Password on a server or
125
+ in CI
137
126
  - [Publishing](https://github.com/caiopizzol/keypin/blob/main/docs/publishing.md): destinations, approvals and
138
127
  `--plan`
139
- - [Notes](https://github.com/caiopizzol/keypin/blob/main/docs/notes.md): `wrangler dev`, the wrangler login, and the
140
- files keypin keeps
128
+ - [Notes](https://github.com/caiopizzol/keypin/blob/main/docs/notes.md): `wrangler dev`, signing in to Cloudflare, and
129
+ the files keypin keeps
141
130
  - [Development](https://github.com/caiopizzol/keypin/blob/main/docs/development.md): working on keypin
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keypin",
3
- "version": "0.20.0",
3
+ "version": "0.21.0",
4
4
  "license": "MIT",
5
5
  "homepage": "https://github.com/caiopizzol/keypin#readme",
6
6
  "bugs": {
@@ -26,9 +26,9 @@
26
26
  "x64"
27
27
  ],
28
28
  "optionalDependencies": {
29
- "@keypin/cli-darwin-arm64": "0.20.0",
30
- "@keypin/cli-darwin-x64": "0.20.0",
31
- "@keypin/cli-linux-x64": "0.20.0",
32
- "@keypin/cli-linux-arm64": "0.20.0"
29
+ "@keypin/cli-darwin-arm64": "0.21.0",
30
+ "@keypin/cli-darwin-x64": "0.21.0",
31
+ "@keypin/cli-linux-x64": "0.21.0",
32
+ "@keypin/cli-linux-arm64": "0.21.0"
33
33
  }
34
34
  }