Skip to content
Merged
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
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "star-setup"
version = "0.4.9"
version = "0.5.0"
edition = "2021"
repository = "https://github.com/star-setup/core"
description = "Lightweight CLI to clone, configure, and wire single or multi-repo ecosystems"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A lightweight CLI to clone, configure, and wire single or multi-repo ecosystems.

[![GitHub Release](https://img.shields.io/github/v/release/star-setup/core?include_prereleases&sort=semver)](https://github.com/star-setup/core/releases)
[![CI](https://github.com/star-setup/core/actions/workflows/ci.yml/badge.svg)](https://github.com/star-setup/core/actions/workflows/ci.yml)
[![License: MIT](https://img.shields.io/github/license/star-setup/core)](./LICENSE)
[![License: MIT](https://img.shields.io/badge/License-MIT-green)](./LICENSE)

> **Note:** This tool is primarily designed for my own projects and workflows. While it may work for other ecosystems, it is not guaranteed to work with all project structures or build configurations.

Expand Down
2 changes: 1 addition & 1 deletion src/build/npm/watch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ fn get_watch_command(
if scripts.get("watch").is_some() {
Some(format!("npm --workspace=repos/{dir} run watch"))
} else if scripts.get("build").is_some() {
Some(format!("npm --workspace=repos/{dir} run build -- --watch"))
Some(format!("npm --workspace=repos/{dir} run build ''--'' --watch"))
} else {
if flags.verbose {
writeln!(
Expand Down
2 changes: 1 addition & 1 deletion tests/build/npm/watch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ fn test_generate_watch_scripts_falls_back_to_build() {
let repos = vec!["user/game".to_string(), "user/lib1".to_string()];
generate_watch_scripts(tmp_path, &repos_path, &repos, io, make_flags()).unwrap();
let ps1 = read_to_string(tmp_path.join("watch.ps1")).unwrap();
assert!(ps1.contains("run build -- --watch"));
assert!(ps1.contains("run build ''--'' --watch"));
});
}

Expand Down
Loading