feat(doc): move race-condition

This commit is contained in:
thomas
2023-10-18 09:53:41 +02:00
parent c0caace62f
commit 7cf675de60
26 changed files with 42 additions and 39 deletions

View File

@@ -1,13 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<title>rxjs-race-condition Components App</title>
</head>
<body>
<div data-cy-root></div>
</body>
</html>

View File

@@ -1,5 +1,5 @@
{
"extends": ["../../.eslintrc.json"],
"extends": ["../../../.eslintrc.json"],
"ignorePatterns": ["!**/*"],
"overrides": [
{

View File

@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
<title>rxjs-race-condition Components App</title>
</head>
<body>
<div data-cy-root></div>
</body>
</html>

View File

@@ -1,10 +1,10 @@
/* eslint-disable */
export default {
displayName: 'rxjs-race-condition',
preset: '../../jest.preset.js',
preset: '../../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
globals: {},
coverageDirectory: '../../coverage/apps/rxjs-race-condition',
coverageDirectory: '../../../coverage/apps/rxjs/race-condition',
transform: {
'^.+\\.(ts|mjs|js|html)$': [
'jest-preset-angular',

View File

@@ -1,25 +1,25 @@
{
"name": "rxjs-race-condition",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
"projectType": "application",
"sourceRoot": "apps/rxjs-race-condition/src",
"sourceRoot": "apps/rxjs/race-condition/src",
"prefix": "app",
"targets": {
"build": {
"executor": "@angular-devkit/build-angular:browser",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/apps/rxjs-race-condition",
"index": "apps/rxjs-race-condition/src/index.html",
"main": "apps/rxjs-race-condition/src/main.ts",
"outputPath": "dist/apps/rxjs/race-condition",
"index": "apps/rxjs/race-condition/src/index.html",
"main": "apps/rxjs/race-condition/src/main.ts",
"polyfills": ["zone.js"],
"tsConfig": "apps/rxjs-race-condition/tsconfig.app.json",
"tsConfig": "apps/rxjs/race-condition/tsconfig.app.json",
"inlineStyleLanguage": "scss",
"assets": [
"apps/rxjs-race-condition/src/favicon.ico",
"apps/rxjs-race-condition/src/assets"
"apps/rxjs/race-condition/src/favicon.ico",
"apps/rxjs/race-condition/src/assets"
],
"styles": ["apps/rxjs-race-condition/src/styles.scss"],
"styles": ["apps/rxjs/race-condition/src/styles.scss"],
"scripts": []
},
"configurations": {
@@ -72,8 +72,8 @@
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": [
"apps/rxjs-race-condition/**/*.ts",
"apps/rxjs-race-condition/**/*.html"
"apps/rxjs/race-condition/**/*.ts",
"apps/rxjs/race-condition/**/*.html"
]
}
},
@@ -81,14 +81,14 @@
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "apps/rxjs-race-condition/jest.config.ts",
"jestConfig": "apps/rxjs/race-condition/jest.config.ts",
"passWithNoTests": true
}
},
"component-test": {
"executor": "@nx/cypress:cypress",
"options": {
"cypressConfig": "apps/rxjs-race-condition/cypress.config.ts",
"cypressConfig": "apps/rxjs/race-condition/cypress.config.ts",
"testingType": "component",
"skipServe": true,
"devServerTarget": "rxjs-race-condition:build"

View File

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -9,12 +9,16 @@ $theme-accent: mat.define-palette(mat.$pink-palette, A200, A100, A400);
$theme-warn: mat.define-palette(mat.$red-palette);
$theme: mat.define-light-theme((color: (primary: $theme-primary,
accent: $theme-accent,
warn: $theme-warn,
),
typography: mat.define-typography-config(),
));
$theme: mat.define-light-theme(
(
color: (
primary: $theme-primary,
accent: $theme-accent,
warn: $theme-warn,
),
typography: mat.define-typography-config(),
)
);
@include mat.dialog-theme($theme);
@include mat.button-theme($theme);
@include mat.button-theme($theme);

View File

@@ -1,7 +1,7 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "../../dist/out-tsc",
"outDir": "../../../dist/out-tsc",
"types": []
},
"files": ["src/main.ts"],

View File

@@ -25,7 +25,7 @@
"path": "./cypress/tsconfig.json"
}
],
"extends": "../../tsconfig.base.json",
"extends": "../../../tsconfig.base.json",
"angularCompilerOptions": {
"enableI18nLegacyMessageIdFormat": false,
"strictInjectionParameters": true,

View File

@@ -1,7 +1,7 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "../../dist/out-tsc",
"outDir": "../../../dist/out-tsc",
"module": "commonjs",
"types": ["jest", "node"]
},