Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ both the old and new forms are:
- feat(service/auth): moved the `service-auth` commands under the `service` command and renamed to `auth`, with an unlisted and deprecated alias of `service-auth` ([#1643](https://github.com/fastly/cli/pull/1643))
- feat(compute/build): Block version 1.93.0 of Rust to avoid a wasm32-wasip2 bug. ([#1653](https://github.com/fastly/cli/pull/1653))
- feat(service/vcl): escape control characters when displaying VCL content for cleaner terminal output ([#1637](https://github.com/fastly/cli/pull/1637))
- feat(compute/build): improved error messaging for JavaScript builds with pre-flight toolchain verification including Bun runtime support ([#1640](https://github.com/fastly/cli/pull/1640))

### Bug fixes:

Expand Down
3 changes: 2 additions & 1 deletion pkg/commands/compute/build_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,7 @@ func TestBuildJavaScript(t *testing.T) {
// default build script inserted.
//
// NOTE: This test passes --verbose so we can validate specific outputs.
// NOTE: npmInstall is required because toolchain verification checks for node_modules.
{
name: "build script inserted dynamically when missing",
args: args("compute build --verbose"),
Expand All @@ -523,8 +524,8 @@ func TestBuildJavaScript(t *testing.T) {
wantOutput: []string{
"No [scripts.build] found in fastly.toml.", // requires --verbose
"The following default build command for",
"npm exec webpack", // our testdata package.json references webpack
},
npmInstall: true,
},
{
name: "build error",
Expand Down
Loading
Loading