Files
alfresco-ng2-components/nx.json
T
Denys Vuika 6d2f2859c3 Fix security vulnerabilities in npm dependencies (#11815)
* Update package dependencies: remove unused 'picomatch' and 'minimatch' modules from package-lock.json, and add specific versions for 'picomatch', 'minimatch', 'path-to-regexp', and 'serialize-javascript' in package.json.

* Upgrade nx and @nx/workspace to fix minimatch vulnerabilities

- Upgrade nx from 22.4.1 to 22.6.3
- Upgrade @nx/workspace from 22.4.5 to 22.6.3
- Remove minimatch override to maintain Karma compatibility

This resolves the high severity minimatch vulnerabilities while
keeping tests functional.

* Refactor nx.json: Consolidate sharedGlobals array and add analytics flag

- Merged multiple lines in the sharedGlobals array for better readability.
- Added an analytics flag set to false for configuration.

* Update package dependencies: bump @nx packages to version 22.6.5 [ci:force]

* Add test specifications for feature flags and user initial pipe [ci:force]

- Introduced new selectors for feature flag components in `features.directive.spec.ts` and `not-features.directive.spec.ts`.
- Added an injectable sanitizer class in `user-initial.pipe.spec.ts` to enhance testing capabilities.
- Created a new log file `out.txt` to capture Karma test execution details and warnings.
2026-05-20 14:19:18 +05:30

44 lines
1.1 KiB
JSON

{
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"targetDefaults": {
"build": {
"dependsOn": ["^build"],
"inputs": ["production", "^production"],
"cache": true
},
"lint": {
"cache": true
},
"test": {
"cache": true
},
"stylelint": {
"cache": true
}
},
"tasksRunnerOptions": {
"default": {
"runner": "nx/tasks-runners/default",
"options": {
"runtimeCacheInputs": ["node -v"]
}
}
},
"namedInputs": {
"default": ["{projectRoot}/**/*", "sharedGlobals"],
"sharedGlobals": ["{workspaceRoot}/angular.json", "{workspaceRoot}/e2e/protractor.excludes.json", "{workspaceRoot}/e2e/protractor.conf.js"],
"production": [
"default",
"!{projectRoot}/.storybook/**/*",
"!{projectRoot}/**/*.stories.@(js|jsx|ts|tsx|mdx)",
"!{projectRoot}/**/*.spec.[jt]s",
"!{projectRoot}/tsconfig.spec.json",
"!{projectRoot}/karma.conf.js",
"!{projectRoot}/tsconfig.storybook.json"
]
},
"cacheDirectory": "nxcache",
"defaultBase": "develop",
"analytics": false
}