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
4 changes: 2 additions & 2 deletions crates/js/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ fn main() {
if let Some(npm_path) = npm.as_deref() {
if !ts_dir.join("node_modules").exists() {
let status = Command::new(npm_path)
.arg("install")
.arg("ci")
.current_dir(&ts_dir)
.status();
if !status
.as_ref()
.map(std::process::ExitStatus::success)
.unwrap_or(false)
{
warn!("tsjs: npm install failed; using existing dist if available");
warn!("tsjs: npm ci failed; using existing dist if available");
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ VitePress documentation site for Trusted Server.

```bash
# Install dependencies
npm install
npm ci

# Start dev server (available at localhost:5173)
npm run dev
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/error-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ ERROR: npm run build:custom failed

```bash
cd crates/js/lib
npm install
npm ci
```

2. Test build manually:
Expand Down