Skip to content

Commit 87787b2

Browse files
committed
chore: migrate to Nx v21.1.0
1 parent 45af3c7 commit 87787b2

File tree

5 files changed

+21
-11
lines changed

5 files changed

+21
-11
lines changed

.gitignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,9 @@ Thumbs.db
4949
# Misc files
5050

5151
.gradle
52-
target
52+
target
53+
.cursor/rules/nx-rules.mdc
54+
.github/instructions/nx.instructions.md
55+
56+
.cursor/rules/nx-rules.mdc
57+
.github/instructions/nx.instructions.md

.nx/workflows/agents.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,14 +93,18 @@ launch-templates:
9393
source "$HOME/.sdkman/bin/sdkman-init.sh"
9494
sdk version
9595
96+
# Configure non-interactive mode
97+
export sdkman_auto_answer=true
98+
export sdkman_auto_selfupdate=false
99+
96100
jdkVersion="${JDK_VERSION:-21.0.6}"
97101
jdkDistro="${JDK_DISTRO:-ms}"
98102
javaVersion="${jdkVersion}-${jdkDistro}"
99103
JAVA_HOME="$HOME/.sdkman/candidates/java/$javaVersion"
100104
101105
if [ ! -d "$JAVA_HOME" ]; then
102106
echo "⌛️ Installing Java v$javaVersion.."
103-
sdk install java $javaVersion --install
107+
sdk install java $javaVersion
104108
sdk use java $javaVersion
105109
else
106110
echo "⏭️ Java v$javaVersion already installed. Making sure it is used"

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"eslint.validate": ["json"]
2+
"eslint.validate": ["json"],
3+
"nxConsole.generateAiAgentRules": true
34
}

bun.lockb

-296 Bytes
Binary file not shown.

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"dependencies": {
3636
"@clack/prompts": "^0.10.0",
3737
"@swc/helpers": "0.5.11",
38-
"@nx/devkit": "21.0.3",
38+
"@nx/devkit": "21.1.0",
3939
"create-nx-workspace": "21.0.3",
4040
"enquirer": "^2.4.1",
4141
"hpagent": "^1.2.0",
@@ -54,12 +54,12 @@
5454
"@commitlint/cli": "^19.3.0",
5555
"@commitlint/config-angular": "^19.3.0",
5656
"@jest/globals": "29.7.0",
57-
"@nx/eslint-plugin": "21.0.3",
58-
"@nx/jest": "21.0.3",
59-
"@nx/js": "21.0.3",
60-
"@nx/node": "21.0.3",
61-
"@nx/plugin": "21.0.3",
62-
"@nx/workspace": "21.0.3",
57+
"@nx/eslint-plugin": "21.1.0",
58+
"@nx/jest": "21.1.0",
59+
"@nx/js": "21.1.0",
60+
"@nx/node": "21.1.0",
61+
"@nx/plugin": "21.1.0",
62+
"@nx/workspace": "21.1.0",
6363
"@swc-node/register": "1.9.1",
6464
"@swc/cli": "0.3.12",
6565
"@swc/core": "1.5.7",
@@ -83,7 +83,7 @@
8383
"jsonc-eslint-parser": "^2.1.0",
8484
"jest-mock": "29.7.0",
8585
"lint-staged": "^16.0.0",
86-
"nx": "21.0.3",
86+
"nx": "21.1.0",
8787
"prettier": "2.6.2",
8888
"ts-jest": "29.1.0",
8989
"ts-node": "10.9.1",

0 commit comments

Comments
 (0)