mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 14:32:10 +01:00
chore: migrate nx to latest
This commit is contained in:
7
.github/instructions/nx.instructions.md
vendored
7
.github/instructions/nx.instructions.md
vendored
@@ -37,11 +37,4 @@ If the user wants help with tasks or commands (which include keywords like "test
|
||||
- If the task was marked as "continuous" do not offer to rerun the task. This task is already running and the user can see the output in the terminal. You can use 'nx_current_running_task_output' to get the output of the task to verify the output.
|
||||
|
||||
|
||||
# CI Error Guidelines
|
||||
If the user wants help with fixing an error in their CI pipeline, use the following flow:
|
||||
- Retrieve the list of current CI Pipeline Executions (CIPEs) using the 'nx_cloud_cipe_details' tool
|
||||
- If there are any errors, use the 'nx_cloud_fix_cipe_failure' tool to retrieve the logs for a specific task
|
||||
- Use the task logs to see what's wrong and help the user fix their problem. Use the appropriate tools if necessary
|
||||
- Make sure that the problem is fixed by running the task that you passed into the 'nx_cloud_fix_cipe_failure' tool
|
||||
|
||||
|
||||
|
||||
@@ -1,162 +1,162 @@
|
||||
{
|
||||
"name": "isa-app",
|
||||
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
||||
"projectType": "application",
|
||||
"prefix": "app",
|
||||
"sourceRoot": "apps/isa-app/src",
|
||||
"tags": [],
|
||||
"targets": {
|
||||
"build": {
|
||||
"executor": "@angular-devkit/build-angular:application",
|
||||
"options": {
|
||||
"allowedCommonJsDependencies": [
|
||||
"lodash",
|
||||
"moment",
|
||||
"jsrsasign",
|
||||
"pdfjs-dist/build/pdf",
|
||||
"pdfjs-dist/web/pdf_viewer",
|
||||
"pdfjs-dist/es5/build/pdf",
|
||||
"pdfjs-dist/es5/web/pdf_viewer"
|
||||
],
|
||||
"outputPath": "dist/isa-app",
|
||||
"index": "apps/isa-app/src/index.html",
|
||||
"browser": "apps/isa-app/src/main.ts",
|
||||
"polyfills": ["zone.js"],
|
||||
"tsConfig": "apps/isa-app/tsconfig.app.json",
|
||||
"inlineStyleLanguage": "scss",
|
||||
"assets": [
|
||||
"apps/isa-app/src/favicon.ico",
|
||||
"apps/isa-app/src/assets",
|
||||
"apps/isa-app/src/config",
|
||||
"apps/isa-app/src/silent-refresh.html",
|
||||
"apps/isa-app/src/manifest.webmanifest",
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "node_modules/scandit-web-datacapture-barcode/build/engine",
|
||||
"output": "scandit"
|
||||
}
|
||||
],
|
||||
"styles": [
|
||||
"@angular/cdk/overlay-prebuilt.css",
|
||||
"apps/isa-app/src/tailwind.scss",
|
||||
"apps/isa-app/src/styles.scss"
|
||||
],
|
||||
"scripts": []
|
||||
},
|
||||
"configurations": {
|
||||
"production": {
|
||||
"budgets": [
|
||||
{
|
||||
"type": "initial",
|
||||
"maximumWarning": "2mb",
|
||||
"maximumError": "5mb"
|
||||
},
|
||||
{
|
||||
"type": "anyComponentStyle",
|
||||
"maximumWarning": "25kb"
|
||||
}
|
||||
],
|
||||
"fileReplacements": [
|
||||
{
|
||||
"replace": "apps/isa-app/src/environments/environment.ts",
|
||||
"with": "apps/isa-app/src/environments/environment.prod.ts"
|
||||
}
|
||||
],
|
||||
"outputHashing": "all",
|
||||
"serviceWorker": "apps/isa-app/ngsw-config.json"
|
||||
},
|
||||
"development": {
|
||||
"optimization": false,
|
||||
"extractLicenses": false,
|
||||
"sourceMap": true
|
||||
}
|
||||
},
|
||||
"defaultConfiguration": "production",
|
||||
"outputs": ["{options.outputPath}"]
|
||||
},
|
||||
"serve": {
|
||||
"executor": "@angular-devkit/build-angular:dev-server",
|
||||
"configurations": {
|
||||
"production": {
|
||||
"buildTarget": "isa-app:build:production"
|
||||
},
|
||||
"development": {
|
||||
"buildTarget": "isa-app:build:development"
|
||||
}
|
||||
},
|
||||
"defaultConfiguration": "development",
|
||||
"continuous": true
|
||||
},
|
||||
"extract-i18n": {
|
||||
"executor": "@angular-devkit/build-angular:extract-i18n",
|
||||
"options": {
|
||||
"buildTarget": "isa-app:build"
|
||||
}
|
||||
},
|
||||
"lint": {
|
||||
"executor": "@nx/eslint:lint"
|
||||
},
|
||||
"test": {
|
||||
"executor": "@nx/jest:jest",
|
||||
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
|
||||
"options": {
|
||||
"jestConfig": "apps/isa-app/jest.config.ts"
|
||||
}
|
||||
},
|
||||
"serve-static": {
|
||||
"executor": "@nx/web:file-server",
|
||||
"options": {
|
||||
"buildTarget": "isa-app:build",
|
||||
"staticFilePath": "dist/apps/isa-app/browser",
|
||||
"spa": true
|
||||
}
|
||||
},
|
||||
"storybook": {
|
||||
"executor": "@storybook/angular:start-storybook",
|
||||
"options": {
|
||||
"port": 4400,
|
||||
"configDir": "apps/isa-app/.storybook",
|
||||
"browserTarget": "isa-app:build",
|
||||
"compodoc": false,
|
||||
"open": false,
|
||||
"assets": [
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "apps/isa-app/src/assets",
|
||||
"output": "/assets"
|
||||
}
|
||||
],
|
||||
"styles": [
|
||||
"@angular/cdk/overlay-prebuilt.css",
|
||||
"apps/isa-app/src/tailwind.scss",
|
||||
"apps/isa-app/src/styles.scss"
|
||||
]
|
||||
},
|
||||
"configurations": {
|
||||
"ci": {
|
||||
"quiet": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"build-storybook": {
|
||||
"executor": "@storybook/angular:build-storybook",
|
||||
"outputs": ["{options.outputDir}"],
|
||||
"options": {
|
||||
"outputDir": "dist/storybook/isa-app",
|
||||
"configDir": "apps/isa-app/.storybook",
|
||||
"browserTarget": "isa-app:build",
|
||||
"compodoc": false,
|
||||
"styles": [
|
||||
"@angular/cdk/overlay-prebuilt.css",
|
||||
"apps/isa-app/src/tailwind.scss",
|
||||
"apps/isa-app/src/styles.scss"
|
||||
]
|
||||
},
|
||||
"configurations": {
|
||||
"ci": {
|
||||
"quiet": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"name": "isa-app",
|
||||
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
||||
"projectType": "application",
|
||||
"prefix": "app",
|
||||
"sourceRoot": "apps/isa-app/src",
|
||||
"tags": [],
|
||||
"targets": {
|
||||
"build": {
|
||||
"executor": "@angular-devkit/build-angular:application",
|
||||
"options": {
|
||||
"allowedCommonJsDependencies": [
|
||||
"lodash",
|
||||
"moment",
|
||||
"jsrsasign",
|
||||
"pdfjs-dist/build/pdf",
|
||||
"pdfjs-dist/web/pdf_viewer",
|
||||
"pdfjs-dist/es5/build/pdf",
|
||||
"pdfjs-dist/es5/web/pdf_viewer"
|
||||
],
|
||||
"outputPath": "dist/isa-app",
|
||||
"index": "apps/isa-app/src/index.html",
|
||||
"browser": "apps/isa-app/src/main.ts",
|
||||
"polyfills": ["zone.js"],
|
||||
"tsConfig": "apps/isa-app/tsconfig.app.json",
|
||||
"inlineStyleLanguage": "scss",
|
||||
"assets": [
|
||||
"apps/isa-app/src/favicon.ico",
|
||||
"apps/isa-app/src/assets",
|
||||
"apps/isa-app/src/config",
|
||||
"apps/isa-app/src/silent-refresh.html",
|
||||
"apps/isa-app/src/manifest.webmanifest",
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "node_modules/scandit-web-datacapture-barcode/build/engine",
|
||||
"output": "scandit"
|
||||
}
|
||||
],
|
||||
"styles": [
|
||||
"@angular/cdk/overlay-prebuilt.css",
|
||||
"apps/isa-app/src/tailwind.scss",
|
||||
"apps/isa-app/src/styles.scss"
|
||||
],
|
||||
"scripts": []
|
||||
},
|
||||
"configurations": {
|
||||
"production": {
|
||||
"budgets": [
|
||||
{
|
||||
"type": "initial",
|
||||
"maximumWarning": "2mb",
|
||||
"maximumError": "5mb"
|
||||
},
|
||||
{
|
||||
"type": "anyComponentStyle",
|
||||
"maximumWarning": "25kb"
|
||||
}
|
||||
],
|
||||
"fileReplacements": [
|
||||
{
|
||||
"replace": "apps/isa-app/src/environments/environment.ts",
|
||||
"with": "apps/isa-app/src/environments/environment.prod.ts"
|
||||
}
|
||||
],
|
||||
"outputHashing": "all",
|
||||
"serviceWorker": "apps/isa-app/ngsw-config.json"
|
||||
},
|
||||
"development": {
|
||||
"optimization": false,
|
||||
"extractLicenses": false,
|
||||
"sourceMap": true
|
||||
}
|
||||
},
|
||||
"defaultConfiguration": "production",
|
||||
"outputs": ["{options.outputPath}"]
|
||||
},
|
||||
"serve": {
|
||||
"executor": "@angular-devkit/build-angular:dev-server",
|
||||
"configurations": {
|
||||
"production": {
|
||||
"buildTarget": "isa-app:build:production"
|
||||
},
|
||||
"development": {
|
||||
"buildTarget": "isa-app:build:development"
|
||||
}
|
||||
},
|
||||
"defaultConfiguration": "development",
|
||||
"continuous": true
|
||||
},
|
||||
"extract-i18n": {
|
||||
"executor": "@angular-devkit/build-angular:extract-i18n",
|
||||
"options": {
|
||||
"buildTarget": "isa-app:build"
|
||||
}
|
||||
},
|
||||
"lint": {
|
||||
"executor": "@nx/eslint:lint"
|
||||
},
|
||||
"test": {
|
||||
"executor": "@nx/jest:jest",
|
||||
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
|
||||
"options": {
|
||||
"jestConfig": "apps/isa-app/jest.config.ts"
|
||||
}
|
||||
},
|
||||
"serve-static": {
|
||||
"executor": "@nx/web:file-server",
|
||||
"options": {
|
||||
"buildTarget": "isa-app:build",
|
||||
"staticFilePath": "dist/apps/isa-app/browser",
|
||||
"spa": true
|
||||
}
|
||||
},
|
||||
"storybook": {
|
||||
"executor": "@storybook/angular:start-storybook",
|
||||
"options": {
|
||||
"port": 4400,
|
||||
"configDir": "apps/isa-app/.storybook",
|
||||
"browserTarget": "isa-app:build",
|
||||
"compodoc": false,
|
||||
"open": false,
|
||||
"assets": [
|
||||
{
|
||||
"glob": "**/*",
|
||||
"input": "apps/isa-app/src/assets",
|
||||
"output": "/assets"
|
||||
}
|
||||
],
|
||||
"styles": [
|
||||
"@angular/cdk/overlay-prebuilt.css",
|
||||
"apps/isa-app/src/tailwind.scss",
|
||||
"apps/isa-app/src/styles.scss"
|
||||
]
|
||||
},
|
||||
"configurations": {
|
||||
"ci": {
|
||||
"quiet": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"build-storybook": {
|
||||
"executor": "@storybook/angular:build-storybook",
|
||||
"outputs": ["{options.outputDir}"],
|
||||
"options": {
|
||||
"outputDir": "dist/storybook/isa-app",
|
||||
"configDir": "apps/isa-app/.storybook",
|
||||
"browserTarget": "isa-app:build",
|
||||
"compodoc": false,
|
||||
"styles": [
|
||||
"@angular/cdk/overlay-prebuilt.css",
|
||||
"apps/isa-app/src/tailwind.scss",
|
||||
"apps/isa-app/src/styles.scss"
|
||||
]
|
||||
},
|
||||
"configurations": {
|
||||
"ci": {
|
||||
"quiet": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
{
|
||||
"name": "remi-remission-list",
|
||||
"$schema": "../../../../node_modules/nx/schemas/project-schema.json",
|
||||
"sourceRoot": "libs/remission/feature/remission-list/src",
|
||||
"prefix": "remi",
|
||||
"projectType": "library",
|
||||
"tags": [],
|
||||
"targets": {
|
||||
"test": {
|
||||
"executor": "@nx/jest:jest",
|
||||
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
|
||||
"options": {
|
||||
"jestConfig": "libs/remission/feature/remission-list/jest.config.ts"
|
||||
}
|
||||
},
|
||||
"lint": {
|
||||
"executor": "@nx/eslint:lint"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"name": "remi-remission-list",
|
||||
"$schema": "../../../../node_modules/nx/schemas/project-schema.json",
|
||||
"sourceRoot": "libs/remission/feature/remission-list/src",
|
||||
"prefix": "remi",
|
||||
"projectType": "library",
|
||||
"tags": [],
|
||||
"targets": {
|
||||
"test": {
|
||||
"executor": "@nx/jest:jest",
|
||||
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
|
||||
"options": {
|
||||
"jestConfig": "libs/remission/feature/remission-list/jest.config.ts"
|
||||
}
|
||||
},
|
||||
"lint": {
|
||||
"executor": "@nx/eslint:lint"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -130,7 +130,7 @@ describe('filterInputMapping', () => {
|
||||
};
|
||||
|
||||
// Act & Assert
|
||||
expect(() => filterInputMapping(group, input)).toThrowError(
|
||||
expect(() => filterInputMapping(group, input)).toThrow(
|
||||
'Unknown input type: 999',
|
||||
);
|
||||
expect(mockTextFilterInputMapping).not.toHaveBeenCalled();
|
||||
|
||||
@@ -65,7 +65,10 @@ describe('CheckboxInputComponent', () => {
|
||||
|
||||
it('should initialize form controls based on input options', () => {
|
||||
// Arrange
|
||||
const spyOnInitFormControl = jest.spyOn(spectator.component, 'initFormControl');
|
||||
const spyOnInitFormControl = jest.spyOn(
|
||||
spectator.component,
|
||||
'initFormControl',
|
||||
);
|
||||
|
||||
// Act
|
||||
spectator.detectChanges();
|
||||
@@ -121,10 +124,10 @@ describe('CheckboxInputComponent', () => {
|
||||
filterService.setInputCheckboxValue('test-key', ['option1', 'option2']);
|
||||
|
||||
// Assert
|
||||
expect(filterService.setInputCheckboxValue).toHaveBeenCalledWith('test-key', [
|
||||
'option1',
|
||||
'option2',
|
||||
]);
|
||||
expect(filterService.setInputCheckboxValue).toHaveBeenCalledWith(
|
||||
'test-key',
|
||||
['option1', 'option2'],
|
||||
);
|
||||
});
|
||||
|
||||
it('should toggle all checkboxes when toggleSelection is called', () => {
|
||||
@@ -251,6 +254,8 @@ describe('CheckboxInputComponent with non-matching key', () => {
|
||||
|
||||
it('should throw error when input is not found', () => {
|
||||
// Act & Assert
|
||||
expect(() => spectator.detectChanges()).toThrowError('Input not found for key: test-key');
|
||||
expect(() => spectator.detectChanges()).toThrow(
|
||||
'Input not found for key: test-key',
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
193
migrations.json
193
migrations.json
@@ -1,193 +0,0 @@
|
||||
{
|
||||
"migrations": [
|
||||
{
|
||||
"cli": "nx",
|
||||
"version": "20.2.0-beta.2",
|
||||
"description": "Update the ModuleFederationConfig import use @nx/module-federation.",
|
||||
"factory": "./src/migrations/update-20-2-0/migrate-mf-imports-to-new-package",
|
||||
"package": "@nx/angular",
|
||||
"name": "update-20-2-0-update-module-federation-config-import"
|
||||
},
|
||||
{
|
||||
"cli": "nx",
|
||||
"version": "20.2.0-beta.2",
|
||||
"description": "Update the withModuleFederation import use @nx/module-federation/angular.",
|
||||
"factory": "./src/migrations/update-20-2-0/migrate-with-mf-import-to-new-package",
|
||||
"package": "@nx/angular",
|
||||
"name": "update-20-2-0-update-with-module-federation-import"
|
||||
},
|
||||
{
|
||||
"cli": "nx",
|
||||
"version": "20.2.0-beta.5",
|
||||
"requires": { "@angular/core": ">=19.0.0" },
|
||||
"description": "Update the @angular/cli package version to ~19.0.0.",
|
||||
"factory": "./src/migrations/update-20-2-0/update-angular-cli",
|
||||
"package": "@nx/angular",
|
||||
"name": "update-angular-cli-version-19-0-0"
|
||||
},
|
||||
{
|
||||
"cli": "nx",
|
||||
"version": "20.2.0-beta.5",
|
||||
"requires": { "@angular/core": ">=19.0.0" },
|
||||
"description": "Add the '@angular/localize/init' polyfill to the 'polyfills' option of targets using esbuild-based executors.",
|
||||
"factory": "./src/migrations/update-20-2-0/add-localize-polyfill-to-targets",
|
||||
"package": "@nx/angular",
|
||||
"name": "add-localize-polyfill-to-targets"
|
||||
},
|
||||
{
|
||||
"cli": "nx",
|
||||
"version": "20.2.0-beta.5",
|
||||
"requires": { "@angular/core": ">=19.0.0" },
|
||||
"description": "Update '@angular/ssr' import paths to use the new '/node' entry point when 'CommonEngine' is detected.",
|
||||
"factory": "./src/migrations/update-20-2-0/update-angular-ssr-imports-to-use-node-entry-point",
|
||||
"package": "@nx/angular",
|
||||
"name": "update-angular-ssr-imports-to-use-node-entry-point"
|
||||
},
|
||||
{
|
||||
"cli": "nx",
|
||||
"version": "20.2.0-beta.6",
|
||||
"requires": { "@angular/core": ">=19.0.0" },
|
||||
"description": "Disable the Angular ESLint prefer-standalone rule if not set.",
|
||||
"factory": "./src/migrations/update-20-2-0/disable-angular-eslint-prefer-standalone",
|
||||
"package": "@nx/angular",
|
||||
"name": "disable-angular-eslint-prefer-standalone"
|
||||
},
|
||||
{
|
||||
"cli": "nx",
|
||||
"version": "20.2.0-beta.8",
|
||||
"requires": { "@angular/core": ">=19.0.0" },
|
||||
"description": "Remove Angular ESLint rules that were removed in v19.0.0.",
|
||||
"factory": "./src/migrations/update-20-2-0/remove-angular-eslint-rules",
|
||||
"package": "@nx/angular",
|
||||
"name": "remove-angular-eslint-rules"
|
||||
},
|
||||
{
|
||||
"cli": "nx",
|
||||
"version": "20.2.0-beta.8",
|
||||
"requires": { "@angular/core": ">=19.0.0" },
|
||||
"description": "Remove the deprecated 'tailwindConfig' option from ng-packagr executors. Tailwind CSS configurations located at the project or workspace root will be picked up automatically.",
|
||||
"factory": "./src/migrations/update-20-2-0/remove-tailwind-config-from-ng-packagr-executors",
|
||||
"package": "@nx/angular",
|
||||
"name": "remove-tailwind-config-from-ng-packagr-executors"
|
||||
},
|
||||
{
|
||||
"cli": "nx",
|
||||
"version": "20.3.0-beta.2",
|
||||
"description": "If workspace includes Module Federation projects, ensure the new @nx/module-federation package is installed.",
|
||||
"factory": "./src/migrations/update-20-3-0/ensure-nx-module-federation-package",
|
||||
"package": "@nx/angular",
|
||||
"name": "ensure-nx-module-federation-package"
|
||||
},
|
||||
{
|
||||
"cli": "nx",
|
||||
"version": "20.4.0-beta.1",
|
||||
"requires": { "@angular/core": ">=19.1.0" },
|
||||
"description": "Update the @angular/cli package version to ~19.1.0.",
|
||||
"factory": "./src/migrations/update-20-4-0/update-angular-cli",
|
||||
"package": "@nx/angular",
|
||||
"name": "update-angular-cli-version-19-1-0"
|
||||
},
|
||||
{
|
||||
"cli": "nx",
|
||||
"version": "20.5.0-beta.5",
|
||||
"requires": { "@angular/core": ">=19.2.0" },
|
||||
"description": "Update the @angular/cli package version to ~19.2.0.",
|
||||
"factory": "./src/migrations/update-20-5-0/update-angular-cli",
|
||||
"package": "@nx/angular",
|
||||
"name": "update-angular-cli-version-19-2-0"
|
||||
},
|
||||
{
|
||||
"cli": "nx",
|
||||
"version": "21.0.0-beta.3",
|
||||
"description": "Set the `continuous` option to `true` for continuous tasks.",
|
||||
"factory": "./src/migrations/update-21-0-0/set-continuous-option",
|
||||
"package": "@nx/angular",
|
||||
"name": "set-continuous-option"
|
||||
},
|
||||
{
|
||||
"cli": "nx",
|
||||
"version": "21.0.0-beta.5",
|
||||
"requires": { "@ngrx/store": ">=16.0.0" },
|
||||
"description": "Change the data persistence operator imports to '@ngrx/router-store/data-persistence'.",
|
||||
"factory": "./src/migrations/update-21-0-0/change-data-persistence-operators-imports-to-ngrx-router-store-data-persistence",
|
||||
"package": "@nx/angular",
|
||||
"name": "change-data-persistence-operators-imports-to-ngrx-router-store-data-persistence"
|
||||
},
|
||||
{
|
||||
"cli": "nx",
|
||||
"version": "21.2.0-beta.3",
|
||||
"requires": { "@angular/core": ">=20.0.0" },
|
||||
"description": "Update the @angular/cli package version to ~20.0.0.",
|
||||
"factory": "./src/migrations/update-21-2-0/update-angular-cli",
|
||||
"package": "@nx/angular",
|
||||
"name": "update-angular-cli-version-20-0-0"
|
||||
},
|
||||
{
|
||||
"version": "21.2.0-beta.3",
|
||||
"requires": { "@angular/core": ">=20.0.0" },
|
||||
"description": "Migrate imports of `provideServerRendering` from `@angular/platform-server` to `@angular/ssr`.",
|
||||
"factory": "./src/migrations/update-21-2-0/migrate-provide-server-rendering-import",
|
||||
"package": "@nx/angular",
|
||||
"name": "migrate-provide-server-rendering-import"
|
||||
},
|
||||
{
|
||||
"version": "21.2.0-beta.3",
|
||||
"requires": { "@angular/core": ">=20.0.0" },
|
||||
"description": "Replace `provideServerRouting` and `provideServerRoutesConfig` with `provideServerRendering` using `withRoutes`.",
|
||||
"factory": "./src/migrations/update-21-2-0/replace-provide-server-routing",
|
||||
"package": "@nx/angular",
|
||||
"name": "replace-provide-server-routing"
|
||||
},
|
||||
{
|
||||
"version": "21.2.0-beta.3",
|
||||
"requires": { "@angular/core": ">=20.0.0" },
|
||||
"description": "Update the generator defaults to maintain the previous style guide behavior.",
|
||||
"factory": "./src/migrations/update-21-2-0/set-generator-defaults-for-previous-style-guide",
|
||||
"package": "@nx/angular",
|
||||
"name": "set-generator-defaults-for-previous-style-guide"
|
||||
},
|
||||
{
|
||||
"version": "21.2.0-beta.3",
|
||||
"requires": { "@angular/core": ">=20.0.0" },
|
||||
"description": "Update 'moduleResolution' to 'bundler' in TypeScript configurations. You can read more about this here: https://www.typescriptlang.org/tsconfig/#moduleResolution.",
|
||||
"factory": "./src/migrations/update-21-2-0/update-module-resolution",
|
||||
"package": "@nx/angular",
|
||||
"name": "update-module-resolution"
|
||||
},
|
||||
{
|
||||
"version": "20.3.0-beta.2",
|
||||
"description": "Add gitignore entry for temporary vitest config files.",
|
||||
"implementation": "./src/migrations/update-20-3-0/add-vitest-temp-files-to-git-ignore",
|
||||
"package": "@nx/vite",
|
||||
"name": "update-20-3-0"
|
||||
},
|
||||
{
|
||||
"version": "20.5.0-beta.2",
|
||||
"description": "Install jiti as a devDependency to allow vite to parse TS postcss files.",
|
||||
"implementation": "./src/migrations/update-20-5-0/install-jiti",
|
||||
"package": "@nx/vite",
|
||||
"name": "update-20-5-0-install-jiti"
|
||||
},
|
||||
{
|
||||
"version": "20.5.0-beta.3",
|
||||
"description": "Update resolve.conditions to include defaults that are no longer provided by Vite.",
|
||||
"implementation": "./src/migrations/update-20-5-0/update-resolve-conditions",
|
||||
"package": "@nx/vite",
|
||||
"name": "update-20-5-0-update-resolve-conditions"
|
||||
},
|
||||
{
|
||||
"version": "20.5.0-beta.3",
|
||||
"description": "Add vite config temporary files to the ESLint configuration ignore patterns if ESLint is used.",
|
||||
"implementation": "./src/migrations/update-20-5-0/eslint-ignore-vite-temp-files",
|
||||
"package": "@nx/vite",
|
||||
"name": "eslint-ignore-vite-temp-files"
|
||||
},
|
||||
{
|
||||
"version": "20.0.0-alpha.0",
|
||||
"description": "Updates @angular-eslint to v20",
|
||||
"factory": "./migrations/update-20-0-0/update-20-0-0",
|
||||
"package": "angular-eslint",
|
||||
"name": "update-20-0-0"
|
||||
}
|
||||
]
|
||||
}
|
||||
328
nx.json
328
nx.json
@@ -1,164 +1,164 @@
|
||||
{
|
||||
"$schema": "./node_modules/nx/schemas/nx-schema.json",
|
||||
"cli": {
|
||||
"packageManager": "npm"
|
||||
},
|
||||
"targetDefaults": {
|
||||
"build": {
|
||||
"cache": true,
|
||||
"dependsOn": ["^build"],
|
||||
"inputs": ["production", "^production"]
|
||||
},
|
||||
"test": {
|
||||
"cache": true,
|
||||
"inputs": ["default", "^production", "{workspaceRoot}/karma.conf.js"]
|
||||
},
|
||||
"@nx/eslint:lint": {
|
||||
"cache": true,
|
||||
"inputs": [
|
||||
"default",
|
||||
"{workspaceRoot}/.eslintrc.json",
|
||||
"{workspaceRoot}/.eslintignore",
|
||||
"{workspaceRoot}/eslint.config.js"
|
||||
]
|
||||
},
|
||||
"@nx/jest:jest": {
|
||||
"cache": true,
|
||||
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"],
|
||||
"options": {
|
||||
"passWithNoTests": true
|
||||
},
|
||||
"configurations": {
|
||||
"ci": {
|
||||
"ci": true,
|
||||
"codeCoverage": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"@nx/js:tsc": {
|
||||
"cache": true,
|
||||
"dependsOn": ["^build"],
|
||||
"inputs": ["production", "^production"]
|
||||
},
|
||||
"@angular-devkit/build-angular:application": {
|
||||
"cache": true,
|
||||
"dependsOn": ["^build"],
|
||||
"inputs": ["production", "^production"]
|
||||
},
|
||||
"build-storybook": {
|
||||
"cache": true
|
||||
},
|
||||
"@nx/angular:ng-packagr-lite": {
|
||||
"cache": true,
|
||||
"dependsOn": ["^build"],
|
||||
"inputs": ["production", "^production"]
|
||||
},
|
||||
"@nx/vite:test": {
|
||||
"cache": true,
|
||||
"inputs": ["default", "^production"]
|
||||
}
|
||||
},
|
||||
"defaultBase": "develop",
|
||||
"namedInputs": {
|
||||
"sharedGlobals": [],
|
||||
"default": ["{projectRoot}/**/*", "sharedGlobals"],
|
||||
"production": [
|
||||
"default",
|
||||
"!{projectRoot}/tsconfig.spec.json",
|
||||
"!{projectRoot}/**/*.spec.[jt]s",
|
||||
"!{projectRoot}/.eslintrc.json",
|
||||
"!{projectRoot}/eslint.config.js",
|
||||
"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)",
|
||||
"!{projectRoot}/jest.config.[jt]s",
|
||||
"!{projectRoot}/src/test-setup.[jt]s",
|
||||
"!{projectRoot}/test-setup.[jt]s",
|
||||
"!{projectRoot}/**/*.stories.@(js|jsx|ts|tsx|mdx)",
|
||||
"!{projectRoot}/.storybook/**/*",
|
||||
"!{projectRoot}/tsconfig.storybook.json"
|
||||
]
|
||||
},
|
||||
"generators": {
|
||||
"@nx/angular:library": {
|
||||
"linter": "eslint",
|
||||
"unitTestRunner": "none"
|
||||
},
|
||||
"@nx/angular:component": {
|
||||
"style": "css",
|
||||
"type": "component"
|
||||
},
|
||||
"@nx/angular:application": {
|
||||
"e2eTestRunner": "none",
|
||||
"linter": "eslint",
|
||||
"style": "css",
|
||||
"unitTestRunner": "jest"
|
||||
},
|
||||
"@schematics/angular:component": {
|
||||
"type": "component"
|
||||
},
|
||||
"@nx/angular:directive": {
|
||||
"type": "directive"
|
||||
},
|
||||
"@schematics/angular:directive": {
|
||||
"type": "directive"
|
||||
},
|
||||
"@nx/angular:service": {
|
||||
"type": "service"
|
||||
},
|
||||
"@schematics/angular:service": {
|
||||
"type": "service"
|
||||
},
|
||||
"@nx/angular:scam": {
|
||||
"type": "component"
|
||||
},
|
||||
"@nx/angular:scam-directive": {
|
||||
"type": "directive"
|
||||
},
|
||||
"@nx/angular:guard": {
|
||||
"typeSeparator": "."
|
||||
},
|
||||
"@schematics/angular:guard": {
|
||||
"typeSeparator": "."
|
||||
},
|
||||
"@nx/angular:interceptor": {
|
||||
"typeSeparator": "."
|
||||
},
|
||||
"@schematics/angular:interceptor": {
|
||||
"typeSeparator": "."
|
||||
},
|
||||
"@nx/angular:module": {
|
||||
"typeSeparator": "."
|
||||
},
|
||||
"@schematics/angular:module": {
|
||||
"typeSeparator": "."
|
||||
},
|
||||
"@nx/angular:pipe": {
|
||||
"typeSeparator": "."
|
||||
},
|
||||
"@schematics/angular:pipe": {
|
||||
"typeSeparator": "."
|
||||
},
|
||||
"@nx/angular:resolver": {
|
||||
"typeSeparator": "."
|
||||
},
|
||||
"@schematics/angular:resolver": {
|
||||
"typeSeparator": "."
|
||||
}
|
||||
},
|
||||
"plugins": [
|
||||
{
|
||||
"plugin": "@nx/eslint/plugin",
|
||||
"options": {
|
||||
"targetName": "eslint:lint"
|
||||
}
|
||||
},
|
||||
{
|
||||
"plugin": "@nx/storybook/plugin",
|
||||
"options": {
|
||||
"serveStorybookTargetName": "storybook",
|
||||
"buildStorybookTargetName": "build-storybook",
|
||||
"testStorybookTargetName": "test-storybook",
|
||||
"staticStorybookTargetName": "static-storybook"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
{
|
||||
"$schema": "./node_modules/nx/schemas/nx-schema.json",
|
||||
"cli": {
|
||||
"packageManager": "npm"
|
||||
},
|
||||
"targetDefaults": {
|
||||
"build": {
|
||||
"cache": true,
|
||||
"dependsOn": ["^build"],
|
||||
"inputs": ["production", "^production"]
|
||||
},
|
||||
"test": {
|
||||
"cache": true,
|
||||
"inputs": ["default", "^production", "{workspaceRoot}/karma.conf.js"]
|
||||
},
|
||||
"@nx/eslint:lint": {
|
||||
"cache": true,
|
||||
"inputs": [
|
||||
"default",
|
||||
"{workspaceRoot}/.eslintrc.json",
|
||||
"{workspaceRoot}/.eslintignore",
|
||||
"{workspaceRoot}/eslint.config.js"
|
||||
]
|
||||
},
|
||||
"@nx/jest:jest": {
|
||||
"cache": true,
|
||||
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"],
|
||||
"options": {
|
||||
"passWithNoTests": true
|
||||
},
|
||||
"configurations": {
|
||||
"ci": {
|
||||
"ci": true,
|
||||
"codeCoverage": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"@nx/js:tsc": {
|
||||
"cache": true,
|
||||
"dependsOn": ["^build"],
|
||||
"inputs": ["production", "^production"]
|
||||
},
|
||||
"@angular-devkit/build-angular:application": {
|
||||
"cache": true,
|
||||
"dependsOn": ["^build"],
|
||||
"inputs": ["production", "^production"]
|
||||
},
|
||||
"build-storybook": {
|
||||
"cache": true
|
||||
},
|
||||
"@nx/angular:ng-packagr-lite": {
|
||||
"cache": true,
|
||||
"dependsOn": ["^build"],
|
||||
"inputs": ["production", "^production"]
|
||||
},
|
||||
"@nx/vite:test": {
|
||||
"cache": true,
|
||||
"inputs": ["default", "^production"]
|
||||
}
|
||||
},
|
||||
"defaultBase": "develop",
|
||||
"namedInputs": {
|
||||
"sharedGlobals": [],
|
||||
"default": ["{projectRoot}/**/*", "sharedGlobals"],
|
||||
"production": [
|
||||
"default",
|
||||
"!{projectRoot}/tsconfig.spec.json",
|
||||
"!{projectRoot}/**/*.spec.[jt]s",
|
||||
"!{projectRoot}/.eslintrc.json",
|
||||
"!{projectRoot}/eslint.config.js",
|
||||
"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)",
|
||||
"!{projectRoot}/jest.config.[jt]s",
|
||||
"!{projectRoot}/src/test-setup.[jt]s",
|
||||
"!{projectRoot}/test-setup.[jt]s",
|
||||
"!{projectRoot}/**/*.stories.@(js|jsx|ts|tsx|mdx)",
|
||||
"!{projectRoot}/.storybook/**/*",
|
||||
"!{projectRoot}/tsconfig.storybook.json"
|
||||
]
|
||||
},
|
||||
"generators": {
|
||||
"@nx/angular:library": {
|
||||
"linter": "eslint",
|
||||
"unitTestRunner": "none"
|
||||
},
|
||||
"@nx/angular:component": {
|
||||
"style": "css",
|
||||
"type": "component"
|
||||
},
|
||||
"@nx/angular:application": {
|
||||
"e2eTestRunner": "none",
|
||||
"linter": "eslint",
|
||||
"style": "css",
|
||||
"unitTestRunner": "jest"
|
||||
},
|
||||
"@schematics/angular:component": {
|
||||
"type": "component"
|
||||
},
|
||||
"@nx/angular:directive": {
|
||||
"type": "directive"
|
||||
},
|
||||
"@schematics/angular:directive": {
|
||||
"type": "directive"
|
||||
},
|
||||
"@nx/angular:service": {
|
||||
"type": "service"
|
||||
},
|
||||
"@schematics/angular:service": {
|
||||
"type": "service"
|
||||
},
|
||||
"@nx/angular:scam": {
|
||||
"type": "component"
|
||||
},
|
||||
"@nx/angular:scam-directive": {
|
||||
"type": "directive"
|
||||
},
|
||||
"@nx/angular:guard": {
|
||||
"typeSeparator": "."
|
||||
},
|
||||
"@schematics/angular:guard": {
|
||||
"typeSeparator": "."
|
||||
},
|
||||
"@nx/angular:interceptor": {
|
||||
"typeSeparator": "."
|
||||
},
|
||||
"@schematics/angular:interceptor": {
|
||||
"typeSeparator": "."
|
||||
},
|
||||
"@nx/angular:module": {
|
||||
"typeSeparator": "."
|
||||
},
|
||||
"@schematics/angular:module": {
|
||||
"typeSeparator": "."
|
||||
},
|
||||
"@nx/angular:pipe": {
|
||||
"typeSeparator": "."
|
||||
},
|
||||
"@schematics/angular:pipe": {
|
||||
"typeSeparator": "."
|
||||
},
|
||||
"@nx/angular:resolver": {
|
||||
"typeSeparator": "."
|
||||
},
|
||||
"@schematics/angular:resolver": {
|
||||
"typeSeparator": "."
|
||||
}
|
||||
},
|
||||
"plugins": [
|
||||
{
|
||||
"plugin": "@nx/eslint/plugin",
|
||||
"options": {
|
||||
"targetName": "eslint:lint"
|
||||
}
|
||||
},
|
||||
{
|
||||
"plugin": "@nx/storybook/plugin",
|
||||
"options": {
|
||||
"serveStorybookTargetName": "storybook",
|
||||
"buildStorybookTargetName": "build-storybook",
|
||||
"testStorybookTargetName": "test-storybook",
|
||||
"staticStorybookTargetName": "static-storybook"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
8381
package-lock.json
generated
8381
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
74
package.json
74
package.json
@@ -6,7 +6,7 @@
|
||||
"start": "nx serve isa-app --ssl",
|
||||
"pretest": "npx trash-cli testresults",
|
||||
"test": "npx nx run-many --tuiAutoExit true -t test --exclude isa-app",
|
||||
"ci": "npx nx run-many -t test --exclude isa-app -c ci",
|
||||
"ci": "npx nx run-many -t test --exclude isa-app -c ci --tuiAutoExit true",
|
||||
"build": "nx build isa-app --configuration=development",
|
||||
"build-prod": "nx build isa-app --configuration=production",
|
||||
"lint": "nx lint",
|
||||
@@ -20,17 +20,17 @@
|
||||
},
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@angular/animations": "20.0.3",
|
||||
"@angular/cdk": "20.0.3",
|
||||
"@angular/common": "20.0.3",
|
||||
"@angular/compiler": "20.0.3",
|
||||
"@angular/core": "20.0.3",
|
||||
"@angular/forms": "20.0.3",
|
||||
"@angular/localize": "20.0.3",
|
||||
"@angular/platform-browser": "20.0.3",
|
||||
"@angular/platform-browser-dynamic": "20.0.3",
|
||||
"@angular/router": "20.0.3",
|
||||
"@angular/service-worker": "20.0.3",
|
||||
"@angular/animations": "20.1.2",
|
||||
"@angular/cdk": "20.1.2",
|
||||
"@angular/common": "20.1.2",
|
||||
"@angular/compiler": "20.1.2",
|
||||
"@angular/core": "20.1.2",
|
||||
"@angular/forms": "20.1.2",
|
||||
"@angular/localize": "20.1.2",
|
||||
"@angular/platform-browser": "20.1.2",
|
||||
"@angular/platform-browser-dynamic": "20.1.2",
|
||||
"@angular/router": "20.1.2",
|
||||
"@angular/service-worker": "20.1.2",
|
||||
"@microsoft/signalr": "^8.0.7",
|
||||
"@ng-icons/core": "32.0.0",
|
||||
"@ng-icons/material-icons": "32.0.0",
|
||||
@@ -58,34 +58,34 @@
|
||||
"zone.js": "~0.15.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@analogjs/vite-plugin-angular": "~1.17.1",
|
||||
"@analogjs/vitest-angular": "~1.17.1",
|
||||
"@angular-devkit/build-angular": "20.0.3",
|
||||
"@angular-devkit/core": "20.0.2",
|
||||
"@angular-devkit/schematics": "20.0.2",
|
||||
"@angular/build": "20.0.3",
|
||||
"@angular/cli": "~20.0.0",
|
||||
"@angular/compiler-cli": "20.0.3",
|
||||
"@angular/language-service": "20.0.3",
|
||||
"@angular/pwa": "20.0.2",
|
||||
"@analogjs/vite-plugin-angular": "1.19.1",
|
||||
"@analogjs/vitest-angular": "1.19.1",
|
||||
"@angular-devkit/build-angular": "20.1.1",
|
||||
"@angular-devkit/core": "20.1.1",
|
||||
"@angular-devkit/schematics": "20.1.1",
|
||||
"@angular/build": "20.1.1",
|
||||
"@angular/cli": "~20.1.0",
|
||||
"@angular/compiler-cli": "20.1.2",
|
||||
"@angular/language-service": "20.1.2",
|
||||
"@angular/pwa": "20.1.1",
|
||||
"@eslint/js": "^9.8.0",
|
||||
"@ngneat/spectator": "19.6.2",
|
||||
"@nx/angular": "21.2.1",
|
||||
"@nx/eslint": "21.2.1",
|
||||
"@nx/eslint-plugin": "21.2.1",
|
||||
"@nx/jest": "21.2.1",
|
||||
"@nx/js": "21.2.1",
|
||||
"@nx/storybook": "21.2.1",
|
||||
"@nx/vite": "21.2.1",
|
||||
"@nx/web": "21.2.1",
|
||||
"@nx/workspace": "21.2.1",
|
||||
"@schematics/angular": "20.0.2",
|
||||
"@nx/angular": "21.3.2",
|
||||
"@nx/eslint": "21.3.2",
|
||||
"@nx/eslint-plugin": "21.3.2",
|
||||
"@nx/jest": "21.3.2",
|
||||
"@nx/js": "21.3.2",
|
||||
"@nx/storybook": "21.3.2",
|
||||
"@nx/vite": "21.3.2",
|
||||
"@nx/web": "21.3.2",
|
||||
"@nx/workspace": "21.3.2",
|
||||
"@schematics/angular": "20.1.1",
|
||||
"@storybook/addon-docs": "^9.0.11",
|
||||
"@storybook/angular": "^9.0.5",
|
||||
"@swc-node/register": "1.10.10",
|
||||
"@swc/core": "1.12.1",
|
||||
"@swc/helpers": "0.5.17",
|
||||
"@types/jest": "^29.5.12",
|
||||
"@types/jest": "30.0.0",
|
||||
"@types/lodash": "^4.17.16",
|
||||
"@types/node": "18.16.9",
|
||||
"@types/uuid": "^10.0.0",
|
||||
@@ -97,8 +97,8 @@
|
||||
"eslint": "^9.28.0",
|
||||
"eslint-config-prettier": "^10.1.5",
|
||||
"husky": "^9.1.7",
|
||||
"jest": "^29.7.0",
|
||||
"jest-environment-jsdom": "^29.7.0",
|
||||
"jest": "30.0.4",
|
||||
"jest-environment-jsdom": "30.0.4",
|
||||
"jest-environment-node": "^29.7.0",
|
||||
"jest-junit": "^16.0.0",
|
||||
"jest-preset-angular": "14.6.0",
|
||||
@@ -106,9 +106,9 @@
|
||||
"jsdom": "~22.1.0",
|
||||
"jsonc-eslint-parser": "^2.1.0",
|
||||
"ng-mocks": "14.13.5",
|
||||
"ng-packagr": "20.0.1",
|
||||
"ng-packagr": "20.1.0",
|
||||
"ng-swagger-gen": "^2.3.1",
|
||||
"nx": "21.2.1",
|
||||
"nx": "21.3.2",
|
||||
"postcss": "^8.5.3",
|
||||
"postcss-url": "~10.1.3",
|
||||
"prettier": "^3.5.2",
|
||||
|
||||
Reference in New Issue
Block a user