@elumixor/devkit 0.12.6 → 0.12.8

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/README.md CHANGED
@@ -307,11 +307,12 @@ of `@vercel/blob`: public blobs are served at `https://<host>/_blob/<path>`.
307
307
 
308
308
  CI assumes the `dk-deploy` role through GitHub's OIDC provider, so no AWS keys are stored anywhere.
309
309
  `bootstrap` also writes a scoped `devkit` AWS profile for deploying from a laptop. `examples/hello`
310
- exercises every feature; it and the dashboard are what `.github/workflows/deploy-cloud.yml` deploys.
310
+ exercises every feature and is what `.github/workflows/deploy-cloud.yml` deploys.
311
311
 
312
312
  ### Dashboard and MCP
313
313
 
314
- [devkit.atmagaming.com](https://devkit.atmagaming.com) (`apps/dashboard`) shows every project and
314
+ [devkit.atmagaming.com](https://devkit.atmagaming.com) ([elumixor/desk-devkit](https://github.com/elumixor/desk-devkit),
315
+ a SvelteKit app in the desk suite's style) shows every project and
315
316
  stage, what is live, the last day's calls, errors and p95, the deploy history and the function
316
317
  logs. It is itself a project on the platform; its function may read the deploy records, CloudWatch
317
318
  metrics and `dk-*` log groups through the `permissions` option. Sign-in is the desk suite's Clerk
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elumixor/devkit",
3
- "version": "0.12.6",
3
+ "version": "0.12.8",
4
4
  "description": "Dev orchestrator for bun monorepos — free ports, run apps side-by-side, open the browser when ready",
5
5
  "author": "elumixor",
6
6
  "license": "ISC",
@@ -26,6 +26,8 @@ export async function ensureCertificate(names: readonly string[]): Promise<strin
26
26
  SubjectAlternativeNames: wanted.length > 1 ? wanted.slice(1) : undefined,
27
27
  ValidationMethod: "DNS",
28
28
  KeyAlgorithm: "EC_prime256v1",
29
+ // Without a fresh token ACM hands back the same request for an hour, even one that has failed.
30
+ IdempotencyToken: Date.now().toString(36),
29
31
  Tags: platformTags(),
30
32
  }),
31
33
  );
@@ -257,6 +257,7 @@ export async function deployPolicy(): Promise<PolicyDocument> {
257
257
  "acm:DescribeCertificate",
258
258
  "acm:RequestCertificate",
259
259
  "acm:AddTagsToCertificate",
260
+ "acm:ListTagsForCertificate",
260
261
  "acm:DeleteCertificate",
261
262
  ],
262
263
  Resource: "*",
@@ -99,6 +99,8 @@ export async function release(target: Target, options: ReleaseOptions) {
99
99
  log(" made a CRON_SECRET for the stage");
100
100
  }
101
101
  const env: Env = {
102
+ // What Vercel sets on every deployment, so `NODE_ENV === "production"` checks read the same here.
103
+ NODE_ENV: "production",
102
104
  ...stageEnv,
103
105
  DK_PROJECT: target.project,
104
106
  DK_STAGE: target.stage,