Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

feat: update nx config (#5597)

DarkSkydea0aab5e318
diff --git a/nx.json b/nx.json
index 69c3b1f5ef..be8c264e7f 100644
--- a/nx.json
+++ b/nx.json
@@ -1,12 +1,13 @@
{
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"npmScope": "toeverything",
+ "nxCloudAccessToken": "MzUwNTU4YWItZGFhYi00YjE2LWIxODAtODk4NmIwYjMwYzZkfHJlYWQ=",
"tasksRunnerOptions": {
"default": {
- "runner": "nx-cloud",
+ "runner": "nx/tasks-runners/default",
"options": {
"cacheableOperations": ["build", "test", "e2e", "lint"],
- "accessToken": "YmQ2NTg1ODktZTk5Mi00YzhiLTk2ZmUtNWQzMDg0NDBkOWM3fHJlYWQtb25seQ=="
+ "runtimeCacheInputs": ["node -v"]
}
}
},
diff --git a/package.json b/package.json
index dd8bbf264b..46934e073c 100644
--- a/package.json
+++ b/package.json
@@ -93,8 +93,7 @@
"lint-staged": "^15.1.0",
"msw": "^2.0.8",
"nanoid": "^5.0.3",
- "nx": "^17.1.3",
- "nx-cloud": "^16.5.2",
+ "nx": "^17.2.8",
"nyc": "^15.1.0",
"oxlint": "0.0.22",
"prettier": "^3.1.0",
diff --git a/yarn.lock b/yarn.lock
index 3c38fe91fc..d995c6d8ea 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -583,8 +583,7 @@ __metadata:
lint-staged: "npm:^15.1.0"
msw: "npm:^2.0.8"
nanoid: "npm:^5.0.3"
- nx: "npm:^17.1.3"
- nx-cloud: "npm:^16.5.2"
+ nx: "npm:^17.2.8"
nyc: "npm:^15.1.0"
oxlint: "npm:0.0.22"
prettier: "npm:^3.1.0"
@@ -27749,7 +27748,7 @@ __metadata:
languageName: node
linkType: hard
-"nx@npm:17.2.8, nx@npm:^17.1.3":
+"nx@npm:17.2.8, nx@npm:^17.1.3, nx@npm:^17.2.8":
version: 17.2.8
resolution: "nx@npm:17.2.8"
dependencies: