Skip to content

Commit 37dc500

Browse files
committed
Add @latest tag to examples that scaffold
1 parent 0a26e81 commit 37dc500

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [unreleased]
99

10+
### Fixed
11+
12+
- Add `@latest` to examples of calling the app in scaffolding mode.
13+
1014
## [7.0.0] - 2025-04-24
1115

1216
> [!NOTE]

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Serve static websites and web apps at the edge — no backends and no CDN in
4545
Create a directory for your project, place your static files in `./public`, then type:
4646

4747
```sh
48-
npx @fastly/compute-js-static-publish \
48+
npx @fastly/compute-js-static-publish@latest \
4949
--root-dir=./public \
5050
--kv-store-name=site-content
5151
```
@@ -520,7 +520,7 @@ You can stream `kvAssetVariant.kvStoreEntry.body` directly to a `Response`, or r
520520
### Available Commands
521521

522522
#### Outside a Compute App Directory
523-
- `npx @fastly/compute-js-static-publish [options]` - Scaffold a new Compute app
523+
- `npx @fastly/compute-js-static-publish@latest [options]` - Scaffold a new Compute app
524524

525525
#### Inside a Compute App Directory
526526
- `publish-content` - Publish static files to the KV Store under a named collection
@@ -535,7 +535,7 @@ You can stream `kvAssetVariant.kvStoreEntry.body` directly to a `Response`, or r
535535
Run outside an existing Compute app directory:
536536

537537
```sh
538-
npx @fastly/compute-js-static-publish \
538+
npx @fastly/compute-js-static-publish@latest \
539539
--root-dir=./public \
540540
--kv-store-name=site-content \
541541
[--output=./compute-js] \

README.short.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This CLI tool helps you:
1717
Create a directory for your project, place your static files in `./public`, then type:
1818

1919
```sh
20-
npx @fastly/compute-js-static-publish --root-dir=./public --kv-store-name=site-content
20+
npx @fastly/compute-js-static-publish@latest --root-dir=./public --kv-store-name=site-content
2121
```
2222

2323
### 🔧 Local Preview

src/cli/commands/scaffold/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function help() {
2222
console.log(`\
2323
2424
Usage:
25-
npx @fastly/compute-js-static-publish [options]
25+
npx @fastly/compute-js-static-publish@latest [options]
2626
2727
Description:
2828
Scaffold a new Compute app configured for static publishing.

0 commit comments

Comments
 (0)