Skip to content

Commit e35b9d8

Browse files
BrewTestBotissyl0
andcommitted
nuxi 3.31.0
nuxi: Fix the test by changing the `nuxt init` args - Without `--template` the user had to go through an interactive prompt to select one, which the test was waiting for. - The `--gitInit` and `--no-install` flags are now mutually exclusive: `--no-install` skips all dependencies including `git init`. Signed-off-by: Issy Long <me@issylong.com> Co-authored-by: Issy Long <me@issylong.com>
1 parent 22edf3e commit e35b9d8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Formula/n/nuxi.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class Nuxi < Formula
22
desc "Nuxt CLI (nuxi) for creating and managing Nuxt projects"
33
homepage "https://github.com/nuxt/cli"
4-
url "https://registry.npmjs.org/nuxi/-/nuxi-3.30.0.tgz"
5-
sha256 "210145c695b60cfa6698aeafc9c98161b4c7c45222be62bccc13afec6a410a94"
4+
url "https://registry.npmjs.org/nuxi/-/nuxi-3.31.0.tgz"
5+
sha256 "a24380a43f0613a5033889ca9c1d828d75fb8e002c58aa72e0bf88167289ffc5"
66
license "MIT"
77
head "https://github.com/nuxt/cli.git", branch: "main"
88

@@ -26,7 +26,7 @@ def install
2626
ENV["CI"] = "1"
2727
target = testpath/"nuxi-tmp"
2828
output = shell_output(
29-
"#{bin}/nuxt init . --cwd #{target} -f --no-install --packageManager npm --gitInit -M --preferOffline",
29+
"#{bin}/nuxt init . --cwd #{target} -f --template=minimal --gitInit --packageManager=npm --preferOffline",
3030
)
3131
assert_predicate target, :directory?
3232
assert_predicate target/".git", :directory?

0 commit comments

Comments
 (0)