@hadoku/jobplatform 3.42.44 → 3.42.46

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 +5 -45
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -147,51 +147,11 @@ the edge degrades to `public` rather than being trusted.
147
147
 
148
148
  ## Getting access
149
149
 
150
- Installing (the `@wolffm/*` dependencies come from GitHub Packages), the dev server and
151
- the authed e2e suite all need secrets from the hadoku vault. You read them with your own
152
- credential, which lasts 7 days. No hadoku_site clone and no GitHub token are needed.
153
-
154
- 1. Ask the operator for a service grant for `jobplatform-service-key`. Your hadoku.me
155
- account must be friend tier or above. You cannot request one yourself.
156
- 2. Sign in at [hadoku.me](https://hadoku.me) on the computer you will approve from.
157
- If you have no passkey yet, the approval page asks you to save one first (Windows
158
- Hello, Touch ID, or your phone).
159
- 3. In your clone, run `npx @hadoku/dev-vault login`. It prints a code and a link to
160
- `https://hadoku.me/account/device?code=XXXX-XXXX`; leave it running. The request
161
- lives 24 hours.
162
- 4. Open the link. The first time only: "Set up" → tap your passkey → scan the QR into an
163
- authenticator app (Google Authenticator, Microsoft Authenticator, 1Password, …) → type
164
- its 6-digit code → Confirm. Then pick the identity, type the app's current code,
165
- Approve, and tap your passkey.
166
- 5. The command writes `.devvault.local.json` (gitignored, mode 0600) with your `key`,
167
- `expiresAt` and `identity`. Check it with `npx @hadoku/dev-vault --check`.
168
- 6. Add to your user `.npmrc` (`~/.npmrc`, or `%USERPROFILE%\.npmrc` on Windows):
169
-
170
- ```
171
- //npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}
172
- ```
173
-
174
- dev-vault fills `NODE_AUTH_TOKEN` for whatever it runs.
175
-
176
- When the credential expires, run `npx @hadoku/dev-vault login` again.
177
-
178
- `pnpm dev` and `pnpm test:e2e` call `../hadoku_site/scripts/secrets/dev-vault.mjs`,
179
- which you won't have. Run the same thing through the package:
180
-
181
- ```bash
182
- npx @hadoku/dev-vault -- pnpm install
183
- node extension/build.mjs && npx @hadoku/dev-vault -- vite # pnpm dev
184
- node scripts/free-port.mjs 5173 && npx @hadoku/dev-vault -- playwright test # pnpm test:e2e
185
- ```
186
-
187
- - **The passkey dialog is empty** ("Choose a passkey" with nothing in it, on Windows):
188
- the passkey is not on this computer. Pick "Use another device"
189
- and scan the QR with the phone that holds yours.
190
- - **"Cloudflare refused this network"**: cloud servers, Codespaces and some VPNs are
191
- blocked before hadoku.me sees them. Run it from a home or office connection.
192
- - **The request expired**: run `npx @hadoku/dev-vault login` again.
193
- - **401, or "required: friend", from hadoku.me**: the credential has expired, or you hold
194
- no grant. Log in again; if that is refused, ask the operator.
150
+ Installing, the dev server and the signed-in e2e suite need your own credential.
151
+ Getting one is the same for every hadoku repo, so the steps live on one page:
152
+ **[hadoku.me/docs/contributing/#jobplatform](https://hadoku.me/docs/contributing/#jobplatform)**.
153
+ The identity to ask for is `jobplatform-service-key`. Once you have it, `pnpm dev` and
154
+ `pnpm test:e2e` work as they are: they run through dev-vault (a dev dependency).
195
155
 
196
156
  ---
197
157
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hadoku/jobplatform",
3
- "version": "3.42.44",
4
- "gitHead": "8265e319530ffada95b2912bd3e6b3154fd65a6f",
3
+ "version": "3.42.46",
4
+ "gitHead": "7c27199b22e12b733f7fabc6cf96c0760d3b57d6",
5
5
  "description": "Job listings aggregation and tracking dashboard",
6
6
  "license": "MIT",
7
7
  "type": "module",