blogwright 0.4.0-beta.4 → 0.4.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.
package/README.md CHANGED
@@ -1,14 +1,19 @@
1
1
  # blogwright
2
2
 
3
- Deploy a static site to AWS from one CLI: S3 + CloudFront hosting, builds in an
4
- isolated **Lambda MicroVM**, PR previews, keyless GitHub-OIDC CI deploys, and
5
- optional [standard.site](https://standard.site) (AT Protocol) publishing. No
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 four questions (site name, region, optional domain, optional GitHub
31
- repo). `bootstrap` prints the CloudFront domain - and, if you set a domain, the
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.
@@ -1,3 +1,3 @@
1
1
  {
2
- "hash": "0163ca230569"
2
+ "hash": "4d5fd0a7f4f4"
3
3
  }