chore(version): update to version 16

This commit is contained in:
thomas
2023-05-22 22:06:48 +02:00
parent e2680b3911
commit 2d5dab5211
126 changed files with 3782 additions and 7197 deletions

View File

@@ -23,13 +23,13 @@
]
},
"extends": [
"plugin:@nrwl/nx/angular",
"plugin:@nx/angular",
"plugin:@angular-eslint/template/process-inline-templates"
]
},
{
"files": ["*.html"],
"extends": ["plugin:@nrwl/nx/angular-template"],
"extends": ["plugin:@nx/angular-template"],
"rules": {}
}
]

View File

@@ -1,5 +1,5 @@
import { defineConfig } from 'cypress';
import { nxComponentTestingPreset } from '@nrwl/angular/plugins/component-testing';
import { nxComponentTestingPreset } from '@nx/angular/plugins/component-testing';
export default defineConfig({
component: nxComponentTestingPreset(__filename),

View File

@@ -3,7 +3,8 @@
"compilerOptions": {
"outDir": "../../../dist/out-tsc",
"module": "commonjs",
"types": ["cypress", "node"]
"types": ["cypress", "node"],
"sourceMap": false
},
"include": [
"support/**/*.ts",

View File

@@ -71,7 +71,7 @@
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"executor": "@nx/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": [
@@ -81,7 +81,7 @@
}
},
"test": {
"executor": "@nrwl/jest:jest",
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "apps/testing-modal/jest.config.ts",
@@ -95,7 +95,7 @@
}
},
"component-test": {
"executor": "@nrwl/cypress:cypress",
"executor": "@nx/cypress:cypress",
"options": {
"cypressConfig": "apps/testing-modal/cypress.config.ts",
"testingType": "component",

View File

@@ -0,0 +1,5 @@
import { ApplicationConfig } from '@angular/core';
import { provideAnimations } from '@angular/platform-browser/animations';
export const appConfig: ApplicationConfig = {
providers: [provideAnimations()],
};

View File

@@ -1,7 +1,8 @@
import { appConfig } from './app/app.config';
import { bootstrapApplication } from '@angular/platform-browser';
import { provideAnimations } from '@angular/platform-browser/animations';
import { AppComponent } from './app/app.component';
bootstrapApplication(AppComponent, {
providers: [provideAnimations()],
}).catch((err) => console.error(err));
bootstrapApplication(AppComponent, appConfig).catch((err) =>
console.error(err)
);

View File

@@ -1,4 +1,4 @@
const { createGlobPatternsForDependencies } = require('@nrwl/angular/tailwind');
const { createGlobPatternsForDependencies } = require('@nx/angular/tailwind');
const { join } = require('path');
/** @type {import('tailwindcss').Config} */

View File

@@ -22,7 +22,7 @@
"path": "./tsconfig.editor.json"
},
{
"path": "./cypress/tsconfig.cy.json"
"path": "./cypress/tsconfig.json"
}
],
"extends": "../../tsconfig.base.json",