Skip to content

Commit 1304b47

Browse files
bloveclaude
andcommitted
chore(release): bump versions to source manifestRootsToUpdate
Previously the four ng-packagr libs (chat, langgraph, ag-ui, render) had release.version.manifestRootsToUpdate pointing at dist/{projectRoot}. That meant 'nx release version' wrote new versions to dist/ (gitignored) but never to the source libs/<lib>/package.json — so source files stayed at 0.0.1 forever and only the build-output got bumped. Switch to ['{projectRoot}'] so source is the authoritative version. The build's preVersionCommand re-runs to populate dist with the new version before publish. The TS-only libs (a2ui, partial-json, licensing) already used the default (source manifest) so this is purely a fix for the four ng-packagr libs. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 2dda752 commit 1304b47

4 files changed

Lines changed: 24 additions & 8 deletions

File tree

libs/ag-ui/project.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
"projectType": "library",
77
"release": {
88
"version": {
9-
"manifestRootsToUpdate": ["dist/{projectRoot}"],
9+
"manifestRootsToUpdate": [
10+
"{projectRoot}"
11+
],
1012
"currentVersionResolver": "git-tag",
1113
"fallbackCurrentVersionResolver": "disk"
1214
}
@@ -15,7 +17,9 @@
1517
"targets": {
1618
"build": {
1719
"executor": "@nx/angular:package",
18-
"outputs": ["{workspaceRoot}/dist/{projectRoot}"],
20+
"outputs": [
21+
"{workspaceRoot}/dist/{projectRoot}"
22+
],
1923
"options": {
2024
"project": "libs/ag-ui/ng-package.json",
2125
"tsConfig": "libs/ag-ui/tsconfig.lib.json"

libs/chat/project.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
"projectType": "library",
77
"release": {
88
"version": {
9-
"manifestRootsToUpdate": ["dist/{projectRoot}"],
9+
"manifestRootsToUpdate": [
10+
"{projectRoot}"
11+
],
1012
"currentVersionResolver": "git-tag",
1113
"fallbackCurrentVersionResolver": "disk"
1214
}
@@ -15,7 +17,9 @@
1517
"targets": {
1618
"build": {
1719
"executor": "@nx/angular:package",
18-
"outputs": ["{workspaceRoot}/dist/{projectRoot}"],
20+
"outputs": [
21+
"{workspaceRoot}/dist/{projectRoot}"
22+
],
1923
"options": {
2024
"project": "libs/chat/ng-package.json",
2125
"tsConfig": "libs/chat/tsconfig.lib.json"

libs/langgraph/project.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
"projectType": "library",
77
"release": {
88
"version": {
9-
"manifestRootsToUpdate": ["dist/{projectRoot}"],
9+
"manifestRootsToUpdate": [
10+
"{projectRoot}"
11+
],
1012
"currentVersionResolver": "git-tag",
1113
"fallbackCurrentVersionResolver": "disk"
1214
}
@@ -15,7 +17,9 @@
1517
"targets": {
1618
"build": {
1719
"executor": "@nx/angular:package",
18-
"outputs": ["{workspaceRoot}/dist/{projectRoot}"],
20+
"outputs": [
21+
"{workspaceRoot}/dist/{projectRoot}"
22+
],
1923
"options": {
2024
"project": "libs/langgraph/ng-package.json",
2125
"tsConfig": "libs/langgraph/tsconfig.lib.json"

libs/render/project.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
"projectType": "library",
77
"release": {
88
"version": {
9-
"manifestRootsToUpdate": ["dist/{projectRoot}"],
9+
"manifestRootsToUpdate": [
10+
"{projectRoot}"
11+
],
1012
"currentVersionResolver": "git-tag",
1113
"fallbackCurrentVersionResolver": "disk"
1214
}
@@ -15,7 +17,9 @@
1517
"targets": {
1618
"build": {
1719
"executor": "@nx/angular:package",
18-
"outputs": ["{workspaceRoot}/dist/{projectRoot}"],
20+
"outputs": [
21+
"{workspaceRoot}/dist/{projectRoot}"
22+
],
1923
"options": {
2024
"project": "libs/render/ng-package.json",
2125
"tsConfig": "libs/render/tsconfig.lib.json"

0 commit comments

Comments
 (0)