1
0
Derivar 0

Refactor rename lib/contact-model -> lib/contact

master
Kevin C. Coram 2019-09-04 21:36:09 -04:00
ascendente 2c6fde0acc
cometimento 28f56f2e85
Assinados por: kevin
ID da chave GPG: 0342351B3D61AD35
19 ficheiros modificados com 26 adições e 26 eliminações

Ver ficheiro

@ -1,9 +1,9 @@
{
"version": 1,
"projects": {
"contact-model": {
"root": "libs/contact-model",
"sourceRoot": "libs/contact-model/src",
"contact": {
"root": "libs/contact",
"sourceRoot": "libs/contact/src",
"projectType": "library",
"schematics": {},
"architect": {
@ -11,18 +11,18 @@
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"libs/contact-model/tsconfig.lib.json",
"libs/contact-model/tsconfig.spec.json"
"libs/contact/tsconfig.lib.json",
"libs/contact/tsconfig.spec.json"
],
"exclude": ["**/node_modules/**", "!libs/contact-model/**"]
"exclude": ["**/node_modules/**", "!libs/contact/**"]
}
},
"test": {
"builder": "@nrwl/jest:jest",
"options": {
"jestConfig": "libs/contact-model/jest.config.js",
"tsConfig": "libs/contact-model/tsconfig.spec.json",
"setupFile": "libs/contact-model/src/test-setup.ts"
"jestConfig": "libs/contact/jest.config.js",
"tsConfig": "libs/contact/tsconfig.spec.json",
"setupFile": "libs/contact/src/test-setup.ts"
}
}
}

Ver ficheiro

@ -1,5 +1,5 @@
import { FormGroup, FormBuilder, FormArray } from '@angular/forms';
import { Address } from '@nested-forms/contact-model';
import { Address } from '@nested-forms/contact';
import { Component, OnInit, Input } from '@angular/core';
@Component({

Ver ficheiro

@ -1,5 +1,5 @@
import { FormArray, FormBuilder, FormGroup, FormControl } from '@angular/forms';
import { Address } from '@nested-forms/contact-model';
import { Address } from '@nested-forms/contact';
import { Component, OnInit, Input } from '@angular/core';
@Component({

Ver ficheiro

@ -1,5 +1,5 @@
import { ContactService } from './../../../../libs/contact-model/src/lib/contact.service';
import { Contact } from '@nested-forms/contact-model';
import { ContactService } from './../../../../libs/contact/src/lib/contact.service';
import { Contact } from '@nested-forms/contact';
import { Component, OnInit, OnDestroy } from '@angular/core';
import { FormGroup, FormBuilder } from '@angular/forms';
import { Subscription } from 'rxjs';

Ver ficheiro

@ -1,5 +1,5 @@
import { FormGroup, FormBuilder, FormControl } from '@angular/forms';
import { Name } from '@nested-forms/contact-model';
import { Name } from '@nested-forms/contact';
import { Component, OnInit, Input } from '@angular/core';
@Component({

Ver ficheiro

@ -1,7 +0,0 @@
# contact-model
This library was generated with [Nx](https://nx.dev).
## Running unit tests
Run `ng test contact-model` to execute the unit tests via [Jest](https://jestjs.io).

7
libs/contact/README.md Normal file
Ver ficheiro

@ -0,0 +1,7 @@
# contact
This library was generated with [Nx](https://nx.dev).
## Running unit tests
Run `ng test contact` to execute the unit tests via [Jest](https://jestjs.io).

Ver ficheiro

@ -1,9 +1,9 @@
module.exports = {
name: 'contact-model',
name: 'contact',
preset: '../../jest.config.js',
transform: {
'^.+\\.[tj]sx?$': 'ts-jest'
},
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'html'],
coverageDirectory: '../../coverage/libs/contact-model',
coverageDirectory: '../../coverage/libs/contact',
};

Ver ficheiro

@ -1,6 +1,6 @@
import { Injectable } from '@angular/core';
import { Contact } from '@nested-forms/contact-model';
import { Contact } from './contact-model';
import { Observable, of } from 'rxjs';
const contact: Contact = {

Ver ficheiro

@ -8,7 +8,7 @@
"nx.json": "*"
},
"projects": {
"contact-model": {
"contact": {
"tags": []
},
"parent-form-e2e": {

Ver ficheiro

@ -16,7 +16,7 @@
"skipDefaultLibCheck": true,
"baseUrl": ".",
"paths": {
"@nested-forms/contact-model": ["libs/contact-model/src/index.ts"]
"@nested-forms/contact": ["libs/contact/src/index.ts"]
}
},
"exclude": ["node_modules", "tmp"]