Fixed build for all the packages

This commit is contained in:
VitoAlbano
2025-05-22 13:12:19 +01:00
committed by VitoAlbano
parent d961dd5391
commit 69211911bd
4 changed files with 5878 additions and 522 deletions
+3 -5
View File
@@ -6,12 +6,11 @@
"prefix": "adf", "prefix": "adf",
"targets": { "targets": {
"build": { "build": {
"executor": "@nrwl/webpack:webpack", "executor": "@nx/webpack:webpack",
"options": { "options": {
"projectRoot": "lib/testing", "projectRoot": "lib/testing",
"outputPath": "dist/libs/testing", "outputPath": "dist/libs/testing",
"main": "lib/testing/index.ts", "main": "lib/testing/index.ts",
"generatePackageJson": true,
"tsConfig": "lib/testing/tsconfig.lib.prod.json", "tsConfig": "lib/testing/tsconfig.lib.prod.json",
"webpackConfig": "lib/testing/webpack.config.js", "webpackConfig": "lib/testing/webpack.config.js",
"stylePreprocessorOptions": { "stylePreprocessorOptions": {
@@ -25,14 +24,13 @@
"projectRoot": "lib/testing", "projectRoot": "lib/testing",
"outputPath": "dist/libs/testing", "outputPath": "dist/libs/testing",
"main": "lib/testing/index.ts", "main": "lib/testing/index.ts",
"generatePackageJson": true, "tsConfig": "lib/testing/tsconfig.lib.prod.json"
"tsConfig": "lib/testing/tsconfig.lib.prod.json",
} }
}, },
"defaultConfiguration": "production" "defaultConfiguration": "production"
}, },
"lint": { "lint": {
"executor": "@nrwl/linter:eslint", "executor": "@nx/eslint:lint",
"options": { "options": {
"lintFilePatterns": ["lib/testing/**/*.ts", "lib/testing/**/*.html"] "lintFilePatterns": ["lib/testing/**/*.ts", "lib/testing/**/*.html"]
} }
+4 -17
View File
@@ -2,22 +2,12 @@
"$schema": "./node_modules/nx/schemas/nx-schema.json", "$schema": "./node_modules/nx/schemas/nx-schema.json",
"targetDefaults": { "targetDefaults": {
"build": { "build": {
"dependsOn": [ "dependsOn": ["^build"],
"^build" "inputs": ["production", "^production"],
],
"inputs": [
"production",
"^production"
],
"cache": true "cache": true
}, },
"build-storybook": { "build-storybook": {
"inputs": [ "inputs": ["default", "^production", "{projectRoot}/.storybook/**/*", "{projectRoot}/tsconfig.storybook.json"]
"default",
"^production",
"{projectRoot}/.storybook/**/*",
"{projectRoot}/tsconfig.storybook.json"
]
}, },
"lint": { "lint": {
"cache": true "cache": true
@@ -32,10 +22,7 @@
"tasksRunnerOptions": { "tasksRunnerOptions": {
"default": { "default": {
"options": { "options": {
"cacheDirectory": "nxcache", "runtimeCacheInputs": ["node -v"]
"runtimeCacheInputs": [
"node -v"
]
} }
} }
}, },
+5868 -498
View File
File diff suppressed because it is too large Load Diff
+3 -2
View File
@@ -117,6 +117,7 @@
"@typescript-eslint/eslint-plugin": "6.21.0", "@typescript-eslint/eslint-plugin": "6.21.0",
"@typescript-eslint/parser": "6.21.0", "@typescript-eslint/parser": "6.21.0",
"@typescript-eslint/typescript-estree": "7.1.1", "@typescript-eslint/typescript-estree": "7.1.1",
"@typescript-eslint/utils": "^8.8.1",
"ajv": "^8.12.0", "ajv": "^8.12.0",
"commander": "12.0.0", "commander": "12.0.0",
"css-loader": "^7.1.2", "css-loader": "^7.1.2",
@@ -130,7 +131,7 @@
"eslint-config-prettier": "9.1.0", "eslint-config-prettier": "9.1.0",
"eslint-plugin-ban": "^1.6.0", "eslint-plugin-ban": "^1.6.0",
"eslint-plugin-import": "2.29.1", "eslint-plugin-import": "2.29.1",
"eslint-plugin-jsdoc": "50.6.1", "eslint-plugin-jsdoc": "50.3.1",
"eslint-plugin-license-header": "0.6.0", "eslint-plugin-license-header": "0.6.0",
"eslint-plugin-prefer-arrow": "1.2.3", "eslint-plugin-prefer-arrow": "1.2.3",
"eslint-plugin-prettier": "^4.2.1", "eslint-plugin-prettier": "^4.2.1",
@@ -161,7 +162,7 @@
"ng-packagr": "17.1.2", "ng-packagr": "17.1.2",
"nock": "13.5.5", "nock": "13.5.5",
"npm-run-all": "^4.1.5", "npm-run-all": "^4.1.5",
"nx": "17.3.1", "nx": "^20.0.0",
"postcss": "8.4.41", "postcss": "8.4.41",
"postcss-sass": "^0.5.0", "postcss-sass": "^0.5.0",
"prettier": "2.8.8", "prettier": "2.8.8",