mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-10 04:43:03 -05:00
feat(doc): move race-condition
This commit is contained in:
@@ -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>
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"extends": ["../../.eslintrc.json"],
|
||||
"extends": ["../../../.eslintrc.json"],
|
||||
"ignorePatterns": ["!**/*"],
|
||||
"overrides": [
|
||||
{
|
||||
@@ -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>
|
||||
@@ -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',
|
||||
@@ -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"
|
||||
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
@@ -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);
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "../../dist/out-tsc",
|
||||
"outDir": "../../../dist/out-tsc",
|
||||
"types": []
|
||||
},
|
||||
"files": ["src/main.ts"],
|
||||
@@ -25,7 +25,7 @@
|
||||
"path": "./cypress/tsconfig.json"
|
||||
}
|
||||
],
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"extends": "../../../tsconfig.base.json",
|
||||
"angularCompilerOptions": {
|
||||
"enableI18nLegacyMessageIdFormat": false,
|
||||
"strictInjectionParameters": true,
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "../../dist/out-tsc",
|
||||
"outDir": "../../../dist/out-tsc",
|
||||
"module": "commonjs",
|
||||
"types": ["jest", "node"]
|
||||
},
|
||||
Reference in New Issue
Block a user