diff --git a/packages/create-rstack/template-nx/nx.json b/packages/create-rstack/template-nx/nx.json index 3ccb7eda..44a01bb2 100644 --- a/packages/create-rstack/template-nx/nx.json +++ b/packages/create-rstack/template-nx/nx.json @@ -1,17 +1,23 @@ { "$schema": "./node_modules/nx/schemas/nx-schema.json", "namedInputs": { - "default": ["{projectRoot}/**/*", "sharedGlobals"], + "default": [ + "{projectRoot}/**/*", + { "fileset": "{projectRoot}/.{env*,*.env}", "includeIgnored": true }, + "sharedGlobals" + ], "sharedGlobals": [ "{workspaceRoot}/tsconfig.base.json", "{workspaceRoot}/rstack.config.ts", - "{workspaceRoot}/pnpm-workspace.yaml" + "{workspaceRoot}/pnpm-workspace.yaml", + { "fileset": "{workspaceRoot}/.{env*,*.env}", "includeIgnored": true } ] }, "targetDefaults": { "build": { "dependsOn": ["^build"], "cache": true, + "inputs": ["default", "^default"], "outputs": ["{projectRoot}/dist"] }, "dev": { @@ -20,7 +26,8 @@ }, "test": { "dependsOn": ["^build"], - "cache": true + "cache": true, + "inputs": ["default", "^default"] } } } diff --git a/scripts/dictionary.txt b/scripts/dictionary.txt index eeea93de..0ccff542 100644 --- a/scripts/dictionary.txt +++ b/scripts/dictionary.txt @@ -10,6 +10,7 @@ errexit esac esbenp extglob +fileset fnames huskyrc indentable