mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-10 04:43:03 -05:00
refactor: notification
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
# ngrx-notification-backend
|
||||
|
||||
This library was generated with [Nx](https://nx.dev).
|
||||
|
||||
## Running unit tests
|
||||
|
||||
Run `nx test ngrx-notification-backend` to execute the unit tests.
|
||||
@@ -1,7 +0,0 @@
|
||||
# ngrx-notification-model
|
||||
|
||||
This library was generated with [Nx](https://nx.dev).
|
||||
|
||||
## Running unit tests
|
||||
|
||||
Run `nx test ngrx-notification-model` to execute the unit tests.
|
||||
7
libs/power-of-effect/backend/README.md
Normal file
7
libs/power-of-effect/backend/README.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# power-of-effect-backend
|
||||
|
||||
This library was generated with [Nx](https://nx.dev).
|
||||
|
||||
## Running unit tests
|
||||
|
||||
Run `nx test power-of-effect-backend` to execute the unit tests.
|
||||
@@ -1,10 +1,10 @@
|
||||
/* eslint-disable */
|
||||
export default {
|
||||
displayName: 'ngrx-notification-model',
|
||||
displayName: 'power-of-effect-backend',
|
||||
preset: '../../../jest.preset.js',
|
||||
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
|
||||
globals: {},
|
||||
coverageDirectory: '../../../coverage/libs/ngrx-notification/model',
|
||||
coverageDirectory: '../../../coverage/libs/power-of-effect/backend',
|
||||
transform: {
|
||||
'^.+\\.(ts|mjs|js|html)$': [
|
||||
'jest-preset-angular',
|
||||
@@ -1,15 +1,15 @@
|
||||
{
|
||||
"name": "ngrx-notification-model",
|
||||
"name": "power-of-effect-backend",
|
||||
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
|
||||
"projectType": "library",
|
||||
"sourceRoot": "libs/ngrx-notification/model/src",
|
||||
"sourceRoot": "libs/power-of-effect/backend/src",
|
||||
"prefix": "lib",
|
||||
"targets": {
|
||||
"test": {
|
||||
"executor": "@nx/jest:jest",
|
||||
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
|
||||
"options": {
|
||||
"jestConfig": "libs/ngrx-notification/model/jest.config.ts"
|
||||
"jestConfig": "libs/power-of-effect/backend/jest.config.ts"
|
||||
}
|
||||
},
|
||||
"lint": {
|
||||
@@ -2,7 +2,7 @@ import {
|
||||
randSchool,
|
||||
randStudent,
|
||||
randTeacher,
|
||||
} from '@angular-challenges/ngrx-notification/model';
|
||||
} from '@angular-challenges/power-of-effect/model';
|
||||
import { Injectable, inject } from '@angular/core';
|
||||
import { randCompanyName, randFirstName } from '@ngneat/falso';
|
||||
import { concatLatestFrom } from '@ngrx/effects';
|
||||
@@ -2,7 +2,7 @@ import {
|
||||
School,
|
||||
Student,
|
||||
Teacher,
|
||||
} from '@angular-challenges/ngrx-notification/model';
|
||||
} from '@angular-challenges/power-of-effect/model';
|
||||
import { Injectable } from '@angular/core';
|
||||
import { randNumber } from '@ngneat/falso';
|
||||
import { ComponentStore } from '@ngrx/component-store';
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Push } from '@angular-challenges/ngrx-notification/model';
|
||||
import { Push } from '@angular-challenges/power-of-effect/model';
|
||||
import { Injectable } from '@angular/core';
|
||||
import { BehaviorSubject } from 'rxjs';
|
||||
|
||||
7
libs/power-of-effect/model/README.md
Normal file
7
libs/power-of-effect/model/README.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# power-of-effect-model
|
||||
|
||||
This library was generated with [Nx](https://nx.dev).
|
||||
|
||||
## Running unit tests
|
||||
|
||||
Run `nx test power-of-effect-model` to execute the unit tests.
|
||||
@@ -1,10 +1,10 @@
|
||||
/* eslint-disable */
|
||||
export default {
|
||||
displayName: 'ngrx-notification-backend',
|
||||
displayName: 'power-of-effect-model',
|
||||
preset: '../../../jest.preset.js',
|
||||
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
|
||||
globals: {},
|
||||
coverageDirectory: '../../../coverage/libs/ngrx-notification/backend',
|
||||
coverageDirectory: '../../../coverage/libs/power-of-effect/model',
|
||||
transform: {
|
||||
'^.+\\.(ts|mjs|js|html)$': [
|
||||
'jest-preset-angular',
|
||||
@@ -1,15 +1,15 @@
|
||||
{
|
||||
"name": "ngrx-notification-backend",
|
||||
"name": "power-of-effect-model",
|
||||
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
|
||||
"projectType": "library",
|
||||
"sourceRoot": "libs/ngrx-notification/backend/src",
|
||||
"sourceRoot": "libs/power-of-effect/model/src",
|
||||
"prefix": "lib",
|
||||
"targets": {
|
||||
"test": {
|
||||
"executor": "@nx/jest:jest",
|
||||
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
|
||||
"options": {
|
||||
"jestConfig": "libs/ngrx-notification/backend/jest.config.ts"
|
||||
"jestConfig": "libs/power-of-effect/model/jest.config.ts"
|
||||
}
|
||||
},
|
||||
"lint": {
|
||||
Reference in New Issue
Block a user