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.

chore(i18n): fix nx config (#4249)

Alex Yang0de6b748bb5e
diff --git a/nx.json b/nx.json
index 9de2ef9eab..22a1ae8c24 100644
--- a/nx.json
+++ b/nx.json
@@ -32,11 +32,9 @@
"{projectRoot}/dist",
"{projectRoot}/build",
"{projectRoot}/out",
- "{projectRoot}/storybook-static",
- "{workspaceRoot}/packages/i18n/src/i18n-generated.ts"
+ "{projectRoot}/storybook-static"
],
"inputs": [
- "{workspaceRoot}/i18n/**/*",
"{workspaceRoot}/infra/**/*",
"{workspaceRoot}/sdk/**/*",
{
diff --git a/packages/i18n/project.json b/packages/i18n/project.json
index 17cce58df6..009124d9dc 100644
--- a/packages/i18n/project.json
+++ b/packages/i18n/project.json
@@ -5,6 +5,7 @@
"sourceRoot": "packages/i18n/src",
"targets": {
"build": {
+ "outputs": ["{workspaceRoot}/src/i18n-generated.ts"],
"executor": "nx:run-commands",
"options": {
"cwd": "packages/i18n",