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

View File

@@ -1,25 +1,25 @@
{ {
"name": "rxjs-race-condition", "name": "rxjs-race-condition",
"$schema": "../../node_modules/nx/schemas/project-schema.json", "$schema": "../../../node_modules/nx/schemas/project-schema.json",
"projectType": "application", "projectType": "application",
"sourceRoot": "apps/rxjs-race-condition/src", "sourceRoot": "apps/rxjs/race-condition/src",
"prefix": "app", "prefix": "app",
"targets": { "targets": {
"build": { "build": {
"executor": "@angular-devkit/build-angular:browser", "executor": "@angular-devkit/build-angular:browser",
"outputs": ["{options.outputPath}"], "outputs": ["{options.outputPath}"],
"options": { "options": {
"outputPath": "dist/apps/rxjs-race-condition", "outputPath": "dist/apps/rxjs/race-condition",
"index": "apps/rxjs-race-condition/src/index.html", "index": "apps/rxjs/race-condition/src/index.html",
"main": "apps/rxjs-race-condition/src/main.ts", "main": "apps/rxjs/race-condition/src/main.ts",
"polyfills": ["zone.js"], "polyfills": ["zone.js"],
"tsConfig": "apps/rxjs-race-condition/tsconfig.app.json", "tsConfig": "apps/rxjs/race-condition/tsconfig.app.json",
"inlineStyleLanguage": "scss", "inlineStyleLanguage": "scss",
"assets": [ "assets": [
"apps/rxjs-race-condition/src/favicon.ico", "apps/rxjs/race-condition/src/favicon.ico",
"apps/rxjs-race-condition/src/assets" "apps/rxjs/race-condition/src/assets"
], ],
"styles": ["apps/rxjs-race-condition/src/styles.scss"], "styles": ["apps/rxjs/race-condition/src/styles.scss"],
"scripts": [] "scripts": []
}, },
"configurations": { "configurations": {
@@ -72,8 +72,8 @@
"outputs": ["{options.outputFile}"], "outputs": ["{options.outputFile}"],
"options": { "options": {
"lintFilePatterns": [ "lintFilePatterns": [
"apps/rxjs-race-condition/**/*.ts", "apps/rxjs/race-condition/**/*.ts",
"apps/rxjs-race-condition/**/*.html" "apps/rxjs/race-condition/**/*.html"
] ]
} }
}, },
@@ -81,14 +81,14 @@
"executor": "@nx/jest:jest", "executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"], "outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": { "options": {
"jestConfig": "apps/rxjs-race-condition/jest.config.ts", "jestConfig": "apps/rxjs/race-condition/jest.config.ts",
"passWithNoTests": true "passWithNoTests": true
} }
}, },
"component-test": { "component-test": {
"executor": "@nx/cypress:cypress", "executor": "@nx/cypress:cypress",
"options": { "options": {
"cypressConfig": "apps/rxjs-race-condition/cypress.config.ts", "cypressConfig": "apps/rxjs/race-condition/cypress.config.ts",
"testingType": "component", "testingType": "component",
"skipServe": true, "skipServe": true,
"devServerTarget": "rxjs-race-condition:build" "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-warn: mat.define-palette(mat.$red-palette);
$theme: mat.define-light-theme((color: (primary: $theme-primary, $theme: mat.define-light-theme(
(
color: (
primary: $theme-primary,
accent: $theme-accent, accent: $theme-accent,
warn: $theme-warn, warn: $theme-warn,
), ),
typography: mat.define-typography-config(), typography: mat.define-typography-config(),
)); )
);
@include mat.dialog-theme($theme); @include mat.dialog-theme($theme);
@include mat.button-theme($theme); @include mat.button-theme($theme);

View File

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

View File

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

View File

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