[ci:force] - fixed build for testing 1

This commit is contained in:
VitoAlbano
2024-10-11 00:43:02 +01:00
parent a6c6356b8b
commit 36db2f2c58
10 changed files with 2720 additions and 976 deletions

View File

@@ -45,10 +45,7 @@
"browserTarget": "content-services:storybook", "browserTarget": "content-services:storybook",
"configDir": "lib/content-services/.storybook", "configDir": "lib/content-services/.storybook",
"compodoc": false, "compodoc": false,
"styles": [ "styles": ["node_modules/cropperjs/dist/cropper.min.css", "node_modules/pdfjs-dist/web/pdf_viewer.css"],
"node_modules/cropperjs/dist/cropper.min.css",
"node_modules/pdfjs-dist/web/pdf_viewer.css"
],
"stylePreprocessorOptions": { "stylePreprocessorOptions": {
"includePaths": ["lib", "lib/core/src/lib"] "includePaths": ["lib", "lib/core/src/lib"]
} }
@@ -66,10 +63,7 @@
"configDir": "lib/content-services/.storybook", "configDir": "lib/content-services/.storybook",
"outputDir": "dist/storybook/content-services", "outputDir": "dist/storybook/content-services",
"compodoc": false, "compodoc": false,
"styles": [ "styles": ["node_modules/cropperjs/dist/cropper.min.css", "node_modules/pdfjs-dist/web/pdf_viewer.css"],
"node_modules/cropperjs/dist/cropper.min.css",
"node_modules/pdfjs-dist/web/pdf_viewer.css"
],
"stylePreprocessorOptions": { "stylePreprocessorOptions": {
"includePaths": ["lib", "lib/core/src/lib"] "includePaths": ["lib", "lib/core/src/lib"]
} }

View File

@@ -71,10 +71,7 @@
"browserTarget": "core:build", "browserTarget": "core:build",
"configDir": "lib/core/.storybook", "configDir": "lib/core/.storybook",
"compodoc": false, "compodoc": false,
"styles": [ "styles": ["node_modules/cropperjs/dist/cropper.min.css", "node_modules/pdfjs-dist/web/pdf_viewer.css"],
"node_modules/cropperjs/dist/cropper.min.css",
"node_modules/pdfjs-dist/web/pdf_viewer.css"
],
"stylePreprocessorOptions": { "stylePreprocessorOptions": {
"includePaths": ["lib", "lib/core/src/lib"] "includePaths": ["lib", "lib/core/src/lib"]
} }

View File

@@ -45,10 +45,7 @@
"browserTarget": "process-services-cloud:storybook", "browserTarget": "process-services-cloud:storybook",
"configDir": "lib/process-services-cloud/.storybook", "configDir": "lib/process-services-cloud/.storybook",
"compodoc": false, "compodoc": false,
"styles": [ "styles": ["node_modules/cropperjs/dist/cropper.min.css", "node_modules/pdfjs-dist/web/pdf_viewer.css"],
"node_modules/cropperjs/dist/cropper.min.css",
"node_modules/pdfjs-dist/web/pdf_viewer.css"
],
"stylePreprocessorOptions": { "stylePreprocessorOptions": {
"includePaths": ["lib", "lib/core/src/lib"] "includePaths": ["lib", "lib/core/src/lib"]
} }
@@ -66,10 +63,7 @@
"configDir": "lib/process-services-cloud/.storybook", "configDir": "lib/process-services-cloud/.storybook",
"outputDir": "dist/storybook/process-services-cloud", "outputDir": "dist/storybook/process-services-cloud",
"compodoc": false, "compodoc": false,
"styles": [ "styles": ["node_modules/cropperjs/dist/cropper.min.css", "node_modules/pdfjs-dist/web/pdf_viewer.css"],
"node_modules/cropperjs/dist/cropper.min.css",
"node_modules/pdfjs-dist/web/pdf_viewer.css"
],
"stylePreprocessorOptions": { "stylePreprocessorOptions": {
"includePaths": ["lib", "lib/core/src/lib"] "includePaths": ["lib", "lib/core/src/lib"]
} }

View File

@@ -14,10 +14,7 @@
"stylePreprocessorOptions": { "stylePreprocessorOptions": {
"includePaths": ["lib", "lib/core/src/lib"] "includePaths": ["lib", "lib/core/src/lib"]
}, },
"styles": [ "styles": ["node_modules/cropperjs/dist/cropper.min.css", "node_modules/pdfjs-dist/web/pdf_viewer.css"]
"node_modules/cropperjs/dist/cropper.min.css",
"node_modules/pdfjs-dist/web/pdf_viewer.css"
]
}, },
"configurations": { "configurations": {
"ci": { "ci": {
@@ -32,10 +29,7 @@
"configDir": "lib/stories/.storybook", "configDir": "lib/stories/.storybook",
"outputDir": "dist/storybook/stories", "outputDir": "dist/storybook/stories",
"compodoc": false, "compodoc": false,
"styles": [ "styles": ["node_modules/cropperjs/dist/cropper.min.css", "node_modules/pdfjs-dist/web/pdf_viewer.css"],
"node_modules/cropperjs/dist/cropper.min.css",
"node_modules/pdfjs-dist/web/pdf_viewer.css"
],
"stylePreprocessorOptions": { "stylePreprocessorOptions": {
"includePaths": ["lib", "lib/core/src/lib"] "includePaths": ["lib", "lib/core/src/lib"]
} }

View File

@@ -13,6 +13,7 @@
"main": "lib/testing/index.ts", "main": "lib/testing/index.ts",
"generatePackageJson": true, "generatePackageJson": true,
"tsConfig": "lib/testing/tsconfig.lib.prod.json", "tsConfig": "lib/testing/tsconfig.lib.prod.json",
"webpackConfig": "lib/testing/webpack.config.js",
"stylePreprocessorOptions": { "stylePreprocessorOptions": {
"includePaths": ["lib", "lib/core/src/lib"] "includePaths": ["lib", "lib/core/src/lib"]
}, },
@@ -25,7 +26,7 @@
"outputPath": "dist/libs/testing", "outputPath": "dist/libs/testing",
"main": "lib/testing/index.ts", "main": "lib/testing/index.ts",
"generatePackageJson": true, "generatePackageJson": true,
"tsConfig": "lib/testing/tsconfig.lib.prod.json" "tsConfig": "lib/testing/tsconfig.lib.prod.json",
} }
}, },
"defaultConfiguration": "production" "defaultConfiguration": "production"

View File

@@ -0,0 +1,20 @@
var NxAppWebpackPlugin = require('@nx/webpack/app-plugin').NxAppWebpackPlugin;
var join = require('path').join;
module.exports = {
output: {
path: join(__dirname, '../../dist/libs/testing')
},
devServer: {
port: 4200
},
plugins: [
new NxAppWebpackPlugin({
main: './src/index.ts',
tsConfig: './tsconfig.lib.json',
index: './src/index.ts',
outputHashing: process.env['NODE_ENV'] === 'production' ? 'all' : 'none',
optimization: process.env['NODE_ENV'] === 'production'
})
]
};

View File

@@ -2,311 +2,165 @@
"migrations": [ "migrations": [
{ {
"cli": "nx", "cli": "nx",
"version": "16.0.0-beta.0", "version": "17.0.0-beta.1",
"description": "Remove @nrwl/cli.", "description": "Updates the default cache directory to .nx/cache",
"implementation": "./src/migrations/update-16-0-0/remove-nrwl-cli", "implementation": "./src/migrations/update-17-0-0/move-cache-directory",
"package": "nx", "package": "nx",
"name": "16.0.0-remove-nrwl-cli" "name": "17.0.0-move-cache-directory"
}, },
{ {
"cli": "nx", "cli": "nx",
"version": "16.0.0-beta.9", "version": "17.0.0-beta.3",
"description": "Replace `dependsOn.projects` and `inputs` definitions with new configuration format.", "description": "Use minimal config for tasksRunnerOptions",
"implementation": "./src/migrations/update-16-0-0/update-depends-on-to-tokens", "implementation": "./src/migrations/update-17-0-0/use-minimal-config-for-tasks-runner-options",
"package": "nx", "package": "nx",
"name": "16.0.0-tokens-for-depends-on" "name": "17.0.0-use-minimal-config-for-tasks-runner-options"
}, },
{ {
"cli": "nx", "version": "17.0.0-rc.1",
"version": "16.0.0-beta.0", "description": "Migration for v17.0.0-rc.1",
"description": "Replace @nrwl/nx-cloud with nx-cloud", "implementation": "./src/migrations/update-17-0-0/rm-default-collection-npm-scope",
"implementation": "./src/migrations/update-16-0-0/update-nx-cloud-runner",
"package": "nx", "package": "nx",
"name": "16.0.0-update-nx-cloud-runner" "name": "rm-default-collection-npm-scope"
}, },
{ {
"cli": "nx", "cli": "nx",
"version": "16.2.0-beta.0", "version": "17.3.0-beta.6",
"description": "Remove outputPath from run commands", "description": "Updates the nx wrapper.",
"implementation": "./src/migrations/update-16-2-0/remove-run-commands-output-path", "implementation": "./src/migrations/update-17-3-0/update-nxw",
"package": "nx", "package": "nx",
"name": "16.2.0-remove-output-path-from-run-commands" "name": "17.3.0-update-nx-wrapper"
}, },
{ {
"cli": "nx", "cli": "nx",
"version": "16.6.0-beta.6", "version": "17-2-6-beta.1",
"description": "Prefix outputs with {workspaceRoot}/{projectRoot} if needed", "description": "Rename workspace rules from @nx/workspace/name to @nx/workspace-name",
"implementation": "./src/migrations/update-15-0-0/prefix-outputs", "implementation": "./src/migrations/update-17-2-6-rename-workspace-rules/rename-workspace-rules",
"package": "nx",
"name": "16.6.0-prefix-outputs"
},
{
"cli": "nx",
"version": "16.8.0-beta.3",
"description": "Escape $ in env variables",
"implementation": "./src/migrations/update-16-8-0/escape-dollar-sign-env-variables",
"package": "nx",
"name": "16.8.0-escape-dollar-sign-env"
},
{
"cli": "nx",
"version": "16.0.0-beta.1",
"description": "Replace @nx/workspace with @nx/workspace",
"implementation": "./src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages",
"package": "@nx/workspace",
"name": "update-16-0-0-add-nx-packages"
},
{
"version": "16.0.0-beta.4",
"description": "Generates a plugin called 'workspace-plugin' containing your workspace generators.",
"cli": "nx",
"implementation": "./src/migrations/update-16-0-0/move-workspace-generators-to-local-plugin",
"package": "@nx/workspace",
"name": "16-0-0-move-workspace-generators-into-local-plugin"
},
{
"version": "16.0.0-beta.9",
"description": "Fix .babelrc presets if it contains an invalid entry for @nx/web/babel.",
"cli": "nx",
"implementation": "./src/migrations/update-16-0-0/fix-invalid-babelrc",
"package": "@nx/workspace",
"name": "16-0-0-fix-invalid-babelrc"
},
{
"cli": "nx",
"version": "16.0.0-beta.1",
"description": "Replace @nx/js with @nx/js",
"implementation": "./src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages",
"package": "@nx/js",
"name": "update-16-0-0-add-nx-packages"
},
{
"cli": "nx",
"version": "16.6.0-beta.0",
"description": "Explicitly set 'updateBuildableProjectDepsInPackageJson' to 'true' in targets that rely on that value as the default.",
"factory": "./src/migrations/update-16-6-0/explicitly-set-projects-to-update-buildable-deps",
"package": "@nx/js",
"name": "explicitly-set-projects-to-update-buildable-deps"
},
{
"cli": "nx",
"version": "16.8.2-beta.0",
"description": "Remove invalid options (strict, noInterop) for ES6 type modules.",
"factory": "./src/migrations/update-16-8-2/update-swcrc",
"package": "@nx/js",
"name": "16-8-2-update-swcrc"
},
{
"cli": "nx",
"version": "16.0.0-beta.1",
"description": "Replace @nx/storybook with @nx/storybook",
"implementation": "./src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages",
"package": "@nx/storybook",
"name": "update-16-0-0-add-nx-packages"
},
{
"cli": "nx",
"version": "16.0.0-beta.1",
"description": "Update workspace to use Storybook v7",
"implementation": "./src/migrations/update-16-0-0/update-sb-7",
"package": "@nx/storybook",
"name": "update-16-0-0-migrate-7"
},
{
"cli": "nx",
"version": "16.1.0-beta.0",
"description": "Ignore @nx/react/plugins/storybook in Storybook eslint rules.",
"factory": "./src/migrations/update-16-1-0/eslint-ignore-react-plugin",
"package": "@nx/storybook",
"name": "update-16-1-0"
},
{
"cli": "nx",
"version": "16.5.0-beta.0",
"description": "Move .storybook/tsconfig.json to tsconfig.storybook.json for non-Angular projects.",
"factory": "./src/migrations/update-16-5-0/move-storybook-tsconfig",
"package": "@nx/storybook",
"name": "update-16-5-0"
},
{
"cli": "nx",
"version": "16.0.0-beta.1",
"description": "Replace @nx/eslint-plugin with @nx/eslint-plugin",
"implementation": "./src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages",
"package": "@nx/eslint-plugin", "package": "@nx/eslint-plugin",
"name": "update-16-0-0-add-nx-packages" "name": "update-17-2-6-rename-workspace-rules"
}, },
{ {
"cli": "nx", "cli": "nx",
"version": "16.0.0-beta.1", "version": "17.0.2",
"description": "Replace @nx/node with @nx/node", "description": "Remove deprecated build options",
"implementation": "./src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages", "implementation": "./src/migrations/update-17-0-0/remove-deprecated-build-options",
"package": "@nx/node", "package": "@nx/js",
"name": "update-16-0-0-add-nx-packages" "name": "update-17-0-0-remove-deprecated-build-options"
}, },
{ {
"cli": "nx", "cli": "nx",
"version": "16.0.0-beta.5", "version": "17.1.0-beta.5",
"description": "Replace @nx/node:webpack with @nx/node:webpack", "requires": { "@angular/core": ">=17.0.0" },
"implementation": "./src/migrations/update-16-0-0/update-webpack-executor", "description": "Update the @angular/cli package version to ~17.0.0.",
"package": "@nx/node", "factory": "./src/migrations/update-17-1-0/update-angular-cli",
"name": "update-16-0-0-update-executor"
},
{
"cli": "nx",
"version": "16.3.1-beta.0",
"description": "Replace @nx/node:webpack and @nx/node:webpack with @nx/webpack:webpack for all project targets",
"implementation": "./src/migrations/update-16-3-1/update-webpack-executor",
"package": "@nx/node",
"name": "update-16-3-1-update-executor"
},
{
"cli": "nx",
"version": "16.4.0-beta.8",
"description": "Replace @nx/node:node with @nx/js:node for all project targets",
"implementation": "./src/migrations/update-16-4-0/replace-node-executor",
"package": "@nx/node",
"name": "update-16-4-0-replace-node-executor"
},
{
"cli": "nx",
"version": "16.0.0-beta.1",
"description": "Replace the deprecated library generator 'simpleModuleName' option from generator defaults with 'simpleName'",
"factory": "./src/migrations/update-16-0-0/remove-library-generator-simple-module-name-option",
"package": "@nx/angular", "package": "@nx/angular",
"name": "remove-library-generator-simple-module-name-option" "name": "update-angular-cli-version-17-0-0"
}, },
{ {
"cli": "nx", "cli": "nx",
"version": "16.0.0-beta.1", "version": "17.1.0-beta.5",
"description": "Replace @nx/angular with @nx/angular", "requires": { "@angular/core": ">=17.0.0" },
"implementation": "./src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages", "description": "Rename 'browserTarget' to 'buildTarget'.",
"factory": "./src/migrations/update-17-1-0/browser-target-to-build-target",
"package": "@nx/angular", "package": "@nx/angular",
"name": "update-16-0-0-add-nx-packages" "name": "rename-browser-target-to-build-target"
}, },
{ {
"cli": "nx", "cli": "nx",
"version": "16.0.0-beta.6", "version": "17.1.0-beta.5",
"description": "Remove protractor as default e2eTestRunner from nxJson and project configurations", "requires": { "@angular/core": ">=17.0.0" },
"implementation": "./src/migrations/update-16-0-0/remove-protractor-defaults", "description": "Replace usages of '@nguniversal/builders' with '@angular-devkit/build-angular'.",
"factory": "./src/migrations/update-17-1-0/replace-nguniversal-builders",
"package": "@nx/angular", "package": "@nx/angular",
"name": "remove-protractor-defaults-from-generators" "name": "replace-nguniversal-builders"
}, },
{ {
"cli": "nx", "cli": "nx",
"version": "16.0.0-beta.6", "version": "17.1.0-beta.5",
"description": "Remove karma as default unitTestRunner from nxJson and project configurations", "requires": { "@angular/core": ">=17.0.0" },
"implementation": "./src/migrations/update-16-0-0/remove-karma-defaults", "description": "Replace usages of '@nguniversal/' packages with '@angular/ssr'.",
"factory": "./src/migrations/update-17-1-0/replace-nguniversal-engines",
"package": "@nx/angular", "package": "@nx/angular",
"name": "remove-karma-defaults-from-generators" "name": "replace-nguniversal-engines"
}, },
{ {
"cli": "nx", "cli": "nx",
"version": "16.1.0-beta.1", "version": "17.1.0-beta.5",
"requires": { "@angular/core": ">=15.0.0" }, "requires": { "@angular/core": ">=17.0.0" },
"description": "Remove exported `@angular/platform-server` `renderModule` method. The `renderModule` method is now exported by the Angular CLI.", "description": "Replace the deep imports from 'zone.js/dist/zone' and 'zone.js/dist/zone-testing' with 'zone.js' and 'zone.js/testing'.",
"factory": "./src/migrations/update-16-1-0/remove-render-module-platform-server-exports", "factory": "./src/migrations/update-17-1-0/update-zone-js-deep-import",
"package": "@nx/angular", "package": "@nx/angular",
"name": "remove-render-module-platform-server-exports" "name": "update-zone-js-deep-import"
}, },
{ {
"cli": "nx", "cli": "nx",
"version": "16.1.0-beta.1", "version": "17.2.0-beta.2",
"requires": { "@angular/core": ">=16.0.0-rc.4" }, "description": "Rename '@nx/angular:webpack-dev-server' executor to '@nx/angular:dev-server'",
"description": "Remove 'ngcc' invocation if exists from the 'postinstall' script in package.json.", "factory": "./src/migrations/update-17-2-0/rename-webpack-dev-server",
"factory": "./src/migrations/update-16-1-0/remove-ngcc-invocation",
"package": "@nx/angular", "package": "@nx/angular",
"name": "remove-ngcc-invocation" "name": "rename-webpack-dev-server-executor"
}, },
{ {
"cli": "nx", "cli": "nx",
"version": "16.1.0-beta.1", "version": "17.3.0-beta.10",
"requires": { "@angular/core": ">=16.0.0-rc.4" }, "requires": { "@angular/core": ">=17.1.0" },
"description": "Extract the app config for standalone apps", "description": "Update the @angular/cli package version to ~17.1.0.",
"factory": "./src/migrations/update-16-1-0/extract-standalone-config-from-bootstrap", "factory": "./src/migrations/update-17-3-0/update-angular-cli",
"package": "@nx/angular", "package": "@nx/angular",
"name": "extract-app-config-for-standalone" "name": "update-angular-cli-version-17-1-0"
}, },
{ {
"cli": "nx", "cli": "nx",
"version": "16.1.0-beta.1", "version": "17.3.0-beta.10",
"requires": { "@angular/core": ">=16.0.0-rc.4" }, "requires": { "@angular/core": ">=17.1.0" },
"description": "Update server executors' configuration to disable 'buildOptimizer' for non optimized builds.", "description": "Add 'browser-sync' as dev dependency when '@angular-devkit/build-angular:ssr-dev-server' or '@nx/angular:module-federation-dev-ssr' is used.",
"factory": "./src/migrations/update-16-1-0/update-server-executor-config", "factory": "./src/migrations/update-17-3-0/add-browser-sync-dependency",
"package": "@nx/angular", "package": "@nx/angular",
"name": "update-server-executor-config" "name": "add-browser-sync-dependency"
}, },
{ {
"cli": "nx", "cli": "nx",
"version": "16.1.0-beta.1", "version": "17.3.0-beta.10",
"requires": { "@angular/core": ">=16.0.0" }, "requires": { "@angular/core": ">=17.1.0" },
"description": "Update the @angular/cli package version to ~16.0.0.", "description": "Add 'autoprefixer' as dev dependency when '@nx/angular:ng-packagr-lite' or '@nx/angular:package` is used.",
"factory": "./src/migrations/update-16-1-0/update-angular-cli", "factory": "./src/migrations/update-17-3-0/add-autoprefixer-dependency",
"package": "@nx/angular", "package": "@nx/angular",
"name": "update-angular-cli-version-16-0-0" "name": "add-autoprefixer-dependency"
}, },
{ {
"cli": "nx", "version": "17.0.0",
"version": "16.4.0-beta.6", "description": "Angular v17 introduces a new control flow syntax that uses the @ and } characters. This migration replaces the existing usages with their corresponding HTML entities.",
"requires": { "@angular-eslint/eslint-plugin-template": ">=16.0.0" }, "factory": "./migrations/block-template-entities/bundle",
"description": "Remove the 'accessibility-' prefix from '@angular-eslint/eslint-plugin-template' rules.",
"factory": "./src/migrations/update-16-4-0/rename-angular-eslint-accesibility-rules",
"package": "@nx/angular",
"name": "rename-angular-eslint-accesibility-rules"
},
{
"cli": "nx",
"version": "16.4.0-beta.11",
"requires": { "@angular/core": ">=16.1.0" },
"description": "Update the @angular/cli package version to ~16.1.0.",
"factory": "./src/migrations/update-16-4-0/update-angular-cli",
"package": "@nx/angular",
"name": "update-angular-cli-version-16-1-0"
},
{
"cli": "nx",
"version": "16.6.0-beta.0",
"description": "Explicitly set 'updateBuildableProjectDepsInPackageJson' to 'true' in targets that rely on that value as the default.",
"factory": "./src/migrations/update-16-6-0/explicitly-set-projects-to-update-buildable-deps",
"package": "@nx/angular",
"name": "explicitly-set-projects-to-update-buildable-deps"
},
{
"cli": "nx",
"version": "16.7.0-beta.6",
"requires": { "@angular/core": ">=16.2.0" },
"description": "Update the @angular/cli package version to ~16.2.0.",
"factory": "./src/migrations/update-16-7-0/update-angular-cli",
"package": "@nx/angular",
"name": "update-angular-cli-version-16-2-0"
},
{
"version": "16.0.0",
"description": "As of Angular v16, the `moduleId` property of `@Component` is deprecated as it no longer has any effect.",
"factory": "./migrations/remove-module-id/bundle",
"package": "@angular/core", "package": "@angular/core",
"name": "migration-v16-remove-module-id" "name": "block-template-entities"
}, },
{ {
"version": "16.0.0", "version": "17.0.0",
"description": "In Angular version 15.2, the guard and resolver interfaces (CanActivate, Resolve, etc) were deprecated. This migration removes imports and 'implements' clauses that contain them.", "description": "CompilerOption.useJit and CompilerOption.missingTranslation are unused under Ivy. This migration removes their usage",
"factory": "./migrations/guard-and-resolve-interfaces/bundle", "factory": "./migrations/compiler-options/bundle",
"package": "@angular/core", "package": "@angular/core",
"name": "migration-v16-guard-and-resolve-interfaces" "name": "migration-v17-compiler-options"
}, },
{ {
"version": "16.0.0-0", "version": "17.0.0",
"description": "Updates the Angular Material to v16", "description": "Updates `TransferState`, `makeStateKey`, `StateKey` imports from `@angular/platform-browser` to `@angular/core`.",
"factory": "./ng-update/index_bundled#updateToV16", "factory": "./migrations/transfer-state/bundle",
"package": "@angular/core",
"name": "migration-transfer-state"
},
{
"version": "17.0.0-0",
"description": "Updates Angular Material to v17",
"factory": "./ng-update/index_bundled#updateToV17",
"package": "@angular/material", "package": "@angular/material",
"name": "migration-v16" "name": "migration-v17"
}, },
{ {
"version": "16.0.0-0", "version": "17.0.0-0",
"description": "Updates the Angular CDK to v16", "description": "Updates the Angular CDK to v17",
"factory": "./ng-update/index#updateToV16", "factory": "./ng-update/index#updateToV17",
"package": "@angular/cdk", "package": "@angular/cdk",
"name": "migration-v16" "name": "migration-v17"
} }
] ]
} }

29
nx.json
View File

@@ -6,12 +6,22 @@
"$schema": "./node_modules/nx/schemas/nx-schema.json", "$schema": "./node_modules/nx/schemas/nx-schema.json",
"targetDefaults": { "targetDefaults": {
"build": { "build": {
"dependsOn": ["^build"], "dependsOn": [
"inputs": ["production", "^production"], "^build"
],
"inputs": [
"production",
"^production"
],
"cache": true "cache": true
}, },
"build-storybook": { "build-storybook": {
"inputs": ["default", "^production", "{projectRoot}/.storybook/**/*", "{projectRoot}/tsconfig.storybook.json"] "inputs": [
"default",
"^production",
"{projectRoot}/.storybook/**/*",
"{projectRoot}/tsconfig.storybook.json"
]
}, },
"lint": { "lint": {
"cache": true "cache": true
@@ -26,12 +36,18 @@
"tasksRunnerOptions": { "tasksRunnerOptions": {
"default": { "default": {
"options": { "options": {
"runtimeCacheInputs": ["node -v"] "cacheDirectory": "nxcache",
"runtimeCacheInputs": [
"node -v"
]
} }
} }
}, },
"namedInputs": { "namedInputs": {
"default": ["{projectRoot}/**/*", "sharedGlobals"], "default": [
"{projectRoot}/**/*",
"sharedGlobals"
],
"sharedGlobals": [ "sharedGlobals": [
"{workspaceRoot}/angular.json", "{workspaceRoot}/angular.json",
"{workspaceRoot}/demo-shell/src/index.html", "{workspaceRoot}/demo-shell/src/index.html",
@@ -47,6 +63,5 @@
"!{projectRoot}/karma.conf.js", "!{projectRoot}/karma.conf.js",
"!{projectRoot}/tsconfig.storybook.json" "!{projectRoot}/tsconfig.storybook.json"
] ]
}, }
"cacheDirectory": "nxcache"
} }

3278
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -44,6 +44,7 @@
"@cspell/eslint-plugin": "^7.3.6", "@cspell/eslint-plugin": "^7.3.6",
"@mat-datetimepicker/core": "13.0.2", "@mat-datetimepicker/core": "13.0.2",
"@ngx-translate/core": "^14.0.0", "@ngx-translate/core": "^14.0.0",
"@nx/webpack": "^20.0.0",
"@storybook/addon-interactions": "^8.2.9", "@storybook/addon-interactions": "^8.2.9",
"@storybook/core-server": "^8.2.9", "@storybook/core-server": "^8.2.9",
"@storybook/theming": "^8.2.9", "@storybook/theming": "^8.2.9",