blogwright 0.4.0 → 0.6.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 (56) hide show
  1. package/README.md +4 -1
  2. package/agent/agent-manifest.json +1 -1
  3. package/agent/server.js +2610 -616
  4. package/dist/adapters/node-dns.d.ts +20 -0
  5. package/dist/adapters/node-dns.js +49 -0
  6. package/dist/adapters/process-aws-login.d.ts +19 -0
  7. package/dist/adapters/process-aws-login.js +28 -0
  8. package/dist/agent-package.js +2 -3
  9. package/dist/artifacts.d.ts +73 -0
  10. package/dist/artifacts.js +218 -0
  11. package/dist/aws-session.d.ts +118 -0
  12. package/dist/aws-session.js +360 -0
  13. package/dist/bin.js +6 -2
  14. package/dist/cache-control.d.ts +66 -0
  15. package/dist/cache-control.js +176 -0
  16. package/dist/cli.d.ts +22 -3
  17. package/dist/cli.js +128 -31
  18. package/dist/commands.d.ts +41 -9
  19. package/dist/commands.js +135 -126
  20. package/dist/context.d.ts +42 -5
  21. package/dist/context.js +81 -19
  22. package/dist/deploy.d.ts +78 -6
  23. package/dist/deploy.js +136 -52
  24. package/dist/domains.d.ts +46 -0
  25. package/dist/domains.js +125 -0
  26. package/dist/init.d.ts +14 -2
  27. package/dist/init.js +145 -4
  28. package/dist/known-commands.d.ts +11 -9
  29. package/dist/known-commands.js +15 -9
  30. package/dist/live-release.d.ts +78 -0
  31. package/dist/live-release.js +159 -0
  32. package/dist/lock.d.ts +50 -0
  33. package/dist/lock.js +120 -0
  34. package/dist/nodes.d.ts +18 -0
  35. package/dist/nodes.js +721 -76
  36. package/dist/plugin-commands.d.ts +21 -0
  37. package/dist/plugin-commands.js +54 -3
  38. package/dist/plugins.d.ts +11 -9
  39. package/dist/plugins.js +29 -16
  40. package/dist/ports.d.ts +37 -1
  41. package/dist/releases.d.ts +54 -0
  42. package/dist/releases.js +527 -0
  43. package/dist/render.d.ts +18 -1
  44. package/dist/render.js +38 -6
  45. package/dist/repo.js +2 -3
  46. package/dist/rkey.d.ts +4 -3
  47. package/dist/rkey.js +4 -3
  48. package/dist/router-function.d.ts +24 -0
  49. package/dist/router-function.js +71 -0
  50. package/dist/serving.d.ts +28 -0
  51. package/dist/serving.js +47 -0
  52. package/dist/verify.d.ts +45 -0
  53. package/dist/verify.js +183 -0
  54. package/dist/whoami.d.ts +23 -0
  55. package/dist/whoami.js +88 -0
  56. package/package.json +8 -8
package/README.md CHANGED
@@ -55,9 +55,10 @@ No TTY? Create the config by hand - only two fields are required:
55
55
  | `bootstrap [env]` | Create/reconcile the infrastructure (idempotent; re-run after config changes) |
56
56
  | `deploy [env]` | Zip the repo, build in a MicroVM, sync to S3, invalidate only changed paths |
57
57
  | `status [env]` | Planned infrastructure vs live state, as a drift tree |
58
+ | `whoami [env]` | The AWS account, identity and profile commands would use, and whether the `aws.accountId` pin accepts them |
58
59
  | `history [env]` | Deployment history with a `← live` marker |
59
60
  | `logs <hash>` | CloudWatch build logs for a deploy |
60
- | `rollback <hash>` | Re-deploy an earlier build's stored artifact |
61
+ | `rollback <hash>` | Republish a staged release (verified, no rebuild), else rebuild an earlier build from its archived source |
61
62
  | `preview …` | PR preview stack: `bootstrap`, `deploy pr-42`, `list`, `destroy pr-42`, `teardown` |
62
63
  | `pds …` | standard.site publishing: `keygen`, `login`, `init`, `sync`, `secret status` |
63
64
  | `delete` / `destroy --yes` | Empty the live site / tear everything down |
@@ -68,6 +69,8 @@ tags) on a PUT - so use it once after an upgrade that fixes a content type or
68
69
  adds tags, to push that metadata onto live objects.
69
70
 
70
71
  Environment defaults to `production`; pass `staging` (or anything) positionally.
72
+ `--profile <name>` picks a profile from your shared AWS files; it beats
73
+ `AWS_PROFILE`, exported credentials and the config's `aws.profile`.
71
74
  Each environment is fully isolated: its own bucket, distribution, roles, and
72
75
  state, all named `<env>-<siteName>-…`.
73
76
 
@@ -1,3 +1,3 @@
1
1
  {
2
- "hash": "4d5fd0a7f4f4"
2
+ "hash": "cf96a6a02e97"
3
3
  }