Nx
Enterprise
Nx
Sign in / Sign up
Open main menu
Nx
GitHub
Overview
Runs
Analytics
Loading workspace stats
Loading workspace insights...
Statistics interval
7 days
30 days
Latest CI Pipeline Executions
Status
Fix filter
Filter
Fuzzy
Filter range
Sort by
Sort by
Start time
Sort ascending
Sort descending
Succeeded
35083
6b460d86 fix(core): handle "." and absolute paths as workspace name in CNW ## Current Behavior CNW rejects "." and absolute paths (e.g. `/tmp/acme`) as workspace names, causing over 1,300 INVALID_WORKSPACE_NAME and DIRECTORY_EXISTS errors per month. This is the #1 input validation error for both AI agents and humans. ## Expected Behavior - "." and "./" in a non-empty directory suggests using `nx init` instead - "." and "./" in an empty directory resolves to the directory's basename and creates the workspace in-place - Absolute paths like `/tmp/acme` extract the basename as the workspace name and create the workspace at the specified location The `workingDir` override is threaded through `CreateWorkspaceOptions` to downstream functions (`createWorkspace`, `createEmptyWorkspace`, `createPreset`, `cloneTemplate`) without mutating `process.cwd()`. ## Related Issue(s) Fixes NXC-4172
13 days ago
by Jack Hsu
J
Previous page
Previous
Next
Next page