blogwright 0.4.0-beta.3 → 0.4.0-beta.5
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 +13 -6
- package/agent/agent-manifest.json +1 -1
- package/agent/server.js +944 -54
- package/dist/cli.js +11 -1
- package/dist/commands.d.ts +12 -3
- package/dist/commands.js +225 -14
- package/dist/deploy.d.ts +47 -1
- package/dist/deploy.js +60 -3
- package/dist/init.js +136 -9
- package/dist/nodes.d.ts +8 -0
- package/dist/nodes.js +697 -86
- package/dist/render.d.ts +13 -1
- package/dist/render.js +16 -3
- package/dist/web-functions.d.ts +123 -0
- package/dist/web-functions.js +548 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
# blogwright
|
|
2
2
|
|
|
3
|
-
Deploy a static site to AWS from one CLI: S3 +
|
|
4
|
-
isolated **Lambda MicroVM**, PR previews,
|
|
5
|
-
|
|
3
|
+
Deploy a static site - or a server-rendered Node app - to AWS from one CLI: S3 +
|
|
4
|
+
CloudFront hosting, builds in an isolated **Lambda MicroVM**, PR previews,
|
|
5
|
+
keyless GitHub-OIDC CI deploys, and optional
|
|
6
|
+
[standard.site](https://standard.site) (AT Protocol) publishing. No
|
|
6
7
|
CloudFormation, no Terraform, no CDK - the infrastructure is a reconcilable
|
|
7
8
|
dependency graph the CLI applies directly through signed AWS API calls.
|
|
8
9
|
|
|
9
10
|
Works with any static site that installs and builds with pnpm: an Astro blog at
|
|
10
11
|
the repo root, a SvelteKit/Vite SPA in a monorepo subdirectory, anything that
|
|
11
|
-
ends in a directory of files to serve.
|
|
12
|
+
ends in a directory of files to serve. With an `ssr` config block it also runs a
|
|
13
|
+
Node server (Astro, SvelteKit `adapter-node`, Nuxt, TanStack Start, Next
|
|
14
|
+
standalone) as a
|
|
15
|
+
**Lambda Web Function** behind the same CloudFront distribution - see
|
|
16
|
+
[Server-rendered sites](https://blogwright.iamstan.dev/guides/server-rendered-sites/).
|
|
12
17
|
|
|
13
18
|
## Requirements
|
|
14
19
|
|
|
@@ -27,8 +32,10 @@ pnpm exec blogwright bootstrap # creates the bucket, CDN, roles, builder image
|
|
|
27
32
|
pnpm exec blogwright deploy # zip → build in a MicroVM → live site
|
|
28
33
|
```
|
|
29
34
|
|
|
30
|
-
`init` asks
|
|
31
|
-
|
|
35
|
+
`init` asks for the site name, region, optional domain and optional GitHub repo,
|
|
36
|
+
then whether the app is server-rendered and with which framework (`astro`,
|
|
37
|
+
`sveltekit`, `nuxt`, `tanstack-start`, `nextjs` or `other`), writing its `ssr`
|
|
38
|
+
block and entry shim settings. `bootstrap` prints the CloudFront domain - and, if you set a domain, the
|
|
32
39
|
ACM validation CNAMEs to add to DNS. `deploy` streams the build log with live
|
|
33
40
|
progress and ends with a summary card and your URL. The `bw` alias works
|
|
34
41
|
everywhere `blogwright` does.
|