Skip to content

Commit 76dd4ee

Browse files
author
Confitty Developer
committed
chore(nx): commit Nx workspace config, drop angular.json
The repo was mid-migration between angular.json and an Nx-style project.json + nx.json setup. project.json was already committed but nx.json sat untracked locally and angular.json was deleted-but-not-staged. CI checks out only the committed state, so without nx.json Nx had no workspace config and the production build target failed. Add nx.json to the index, drop angular.json. Cloud cache is removed from nx.json so CI does not require an Nx Cloud token. bun.lock changes from the migration remain uncommitted for now.
1 parent 2afe85a commit 76dd4ee

2 files changed

Lines changed: 15 additions & 93 deletions

File tree

angular.json

Lines changed: 0 additions & 93 deletions
This file was deleted.

nx.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"$schema": "./node_modules/nx/schemas/nx-schema.json",
3+
"targetDefaults": {
4+
"build": {
5+
"cache": true,
6+
"dependsOn": ["^build"],
7+
"inputs": ["production", "^production"]
8+
}
9+
},
10+
"namedInputs": {
11+
"sharedGlobals": [],
12+
"default": ["{projectRoot}/**/*", "sharedGlobals"],
13+
"production": ["default"]
14+
}
15+
}

0 commit comments

Comments
 (0)