Skip to content

Commit 664c265

Browse files
committed
chore: migrate to Nx v21.1.0
1 parent 8b412f8 commit 664c265

File tree

7 files changed

+36
-17
lines changed

7 files changed

+36
-17
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,10 @@ Thumbs.db
4545
/migrations.json
4646
.nx/cache
4747
.nx/workspace-data
48+
.cursor/rules/nx-rules.mdc
49+
.github/instructions/nx.instructions.md
4850

4951
# Misc files
5052

5153
.gradle
52-
target
54+
target

.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: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
"dependencies": {
3636
"@clack/prompts": "^0.10.0",
3737
"@swc/helpers": "0.5.11",
38-
"@nx/devkit": "21.0.3",
39-
"create-nx-workspace": "21.0.3",
38+
"@nx/devkit": "21.1.0",
39+
"create-nx-workspace": "21.1.0",
4040
"enquirer": "^2.4.1",
4141
"hpagent": "^1.2.0",
4242
"js-yaml": "^4.1.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",

packages/common-cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"create-nx-ktor"
2727
],
2828
"dependencies": {
29-
"create-nx-workspace": ">=20.0.0",
29+
"create-nx-workspace": ">=21.0.0",
3030
"@clack/prompts": "^0.10.0",
3131
"yargs": "^17.7.2",
3232
"tslib": "^2.6.1",

project.json

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,26 @@
99
"port": 4873,
1010
"listenAddress": "0.0.0.0",
1111
"config": ".verdaccio/config.yml",
12-
"storage": "tmp/local-registry/storage"
12+
"storage": "tmp/local-registry/storage",
13+
"clear": false
1314
}
1415
},
1516
"populate-local-registry": {
1617
"cache": true,
17-
"parallelism": false,
18-
"inputs": ["production"],
19-
"dependsOn": ["build"],
18+
"inputs": [
19+
{
20+
"input": "production",
21+
"projects": ["tag:npm:public"]
22+
},
23+
"{workspaceRoot}/scripts/local-registry"
24+
],
25+
"dependsOn": [
26+
"local-registry",
27+
{
28+
"target": "build",
29+
"projects": ["tag:npm:public"]
30+
}
31+
],
2032
"command": "ts-node -P ./tools/tsconfig.tools.json ./tools/scripts/populate-local-registry.ts",
2133
"outputs": ["{workspaceRoot}/tmp/local-registry/storage"]
2234
}

0 commit comments

Comments
 (0)