From 70cdef29d1f4f46719c74f20d683a662fb247fd2 Mon Sep 17 00:00:00 2001 From: danrevah Date: Sun, 27 Nov 2016 18:21:21 +0200 Subject: [PATCH] Getting rid of redundant stuff --- angular-cli.json | 17 ++++++--------- package.json | 2 +- src/app/demo/app.component.css | 0 src/app/demo/app.component.html | 3 --- src/app/demo/app.component.spec.ts | 33 ----------------------------- src/app/demo/app.component.ts | 10 --------- src/app/demo/app.module.ts | 20 ----------------- src/app/index.ts | 2 -- src/favicon.ico | Bin 5430 -> 0 bytes src/main.ts | 10 --------- src/styles.css | 1 - src/typings.d.ts | 2 -- 12 files changed, 7 insertions(+), 93 deletions(-) delete mode 100644 src/app/demo/app.component.css delete mode 100644 src/app/demo/app.component.html delete mode 100644 src/app/demo/app.component.spec.ts delete mode 100644 src/app/demo/app.component.ts delete mode 100644 src/app/demo/app.module.ts delete mode 100644 src/favicon.ico delete mode 100644 src/styles.css delete mode 100644 src/typings.d.ts diff --git a/angular-cli.json b/angular-cli.json index 03ed289d..115a6467 100644 --- a/angular-cli.json +++ b/angular-cli.json @@ -7,19 +7,14 @@ { "root": "src", "outDir": "dist", - "assets": [ - "assets", - "favicon.ico" - ], + "assets": [], "index": "index.html", "main": "main.ts", "test": "test.ts", "tsconfig": "tsconfig.json", "prefix": "app", "mobile": false, - "styles": [ - "styles.css" - ], + "styles": [], "scripts": [], "environments": { "source": "environments/environment.ts", @@ -49,11 +44,11 @@ }, "spec": { "class": false, - "component": true, - "directive": true, - "module": false, + "component": false, + "directive": false, + "module": true, "pipe": true, - "service": true + "service": false } } } diff --git a/package.json b/package.json index 6738511f..eef35f90 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ng2-pipes", - "version": "0.4.12", + "version": "0.4.13", "author": "Dan Revah", "description": "Useful angular2 pipes", "license": "MIT", diff --git a/src/app/demo/app.component.css b/src/app/demo/app.component.css deleted file mode 100644 index e69de29b..00000000 diff --git a/src/app/demo/app.component.html b/src/app/demo/app.component.html deleted file mode 100644 index b6931b53..00000000 --- a/src/app/demo/app.component.html +++ /dev/null @@ -1,3 +0,0 @@ -

- {{title}} -

diff --git a/src/app/demo/app.component.spec.ts b/src/app/demo/app.component.spec.ts deleted file mode 100644 index f1e6bed7..00000000 --- a/src/app/demo/app.component.spec.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* tslint:disable:no-unused-variable */ - -import { TestBed, async } from '@angular/core/testing'; -import { AppComponent } from './app.component'; - -describe('AppComponent', () => { - beforeEach(() => { - TestBed.configureTestingModule({ - declarations: [ - AppComponent - ], - }); - }); - - it('should create the app', async(() => { - let fixture = TestBed.createComponent(AppComponent); - let app = fixture.debugElement.componentInstance; - expect(app).toBeTruthy(); - })); - - it(`should have as title 'app works!'`, async(() => { - let fixture = TestBed.createComponent(AppComponent); - let app = fixture.debugElement.componentInstance; - expect(app.title).toEqual('app works!'); - })); - - it('should render title in a h1 tag', async(() => { - let fixture = TestBed.createComponent(AppComponent); - fixture.detectChanges(); - let compiled = fixture.debugElement.nativeElement; - expect(compiled.querySelector('h1').textContent).toContain('app works!'); - })); -}); diff --git a/src/app/demo/app.component.ts b/src/app/demo/app.component.ts deleted file mode 100644 index ff63e050..00000000 --- a/src/app/demo/app.component.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { Component } from '@angular/core'; - -@Component({ - selector: 'app-root', - templateUrl: './app.component.html', - styleUrls: ['./app.component.css'] -}) -export class AppComponent { - title = 'app works!'; -} diff --git a/src/app/demo/app.module.ts b/src/app/demo/app.module.ts deleted file mode 100644 index 67ae4911..00000000 --- a/src/app/demo/app.module.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { BrowserModule } from '@angular/platform-browser'; -import { NgModule } from '@angular/core'; -import { FormsModule } from '@angular/forms'; -import { HttpModule } from '@angular/http'; - -import { AppComponent } from './app.component'; - -@NgModule({ - declarations: [ - AppComponent - ], - imports: [ - BrowserModule, - FormsModule, - HttpModule - ], - providers: [], - bootstrap: [AppComponent] -}) -export class AppModule { } diff --git a/src/app/index.ts b/src/app/index.ts index 706bafc6..77a56417 100644 --- a/src/app/index.ts +++ b/src/app/index.ts @@ -1,3 +1 @@ export * from './pipes.module'; -export * from './demo/app.component'; -export * from './demo/app.module'; diff --git a/src/favicon.ico b/src/favicon.ico deleted file mode 100644 index 8081c7ceaf2be08bf59010158c586170d9d2d517..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5430 zcmc(je{54#6vvCoAI3i*G5%$U7!sA3wtMZ$fH6V9C`=eXGJb@R1%(I_{vnZtpD{6n z5Pl{DmxzBDbrB>}`90e12m8T*36WoeDLA&SD_hw{H^wM!cl_RWcVA!I+x87ee975; z@4kD^=bYPn&pmG@(+JZ`rqQEKxW<}RzhW}I!|ulN=fmjVi@x{p$cC`)5$a!)X&U+blKNvN5tg=uLvuLnuqRM;Yc*swiexsoh#XPNu{9F#c`G zQLe{yWA(Y6(;>y|-efAy11k<09(@Oo1B2@0`PtZSkqK&${ zgEY}`W@t{%?9u5rF?}Y7OL{338l*JY#P!%MVQY@oqnItpZ}?s z!r?*kwuR{A@jg2Chlf0^{q*>8n5Ir~YWf*wmsh7B5&EpHfd5@xVaj&gqsdui^spyL zB|kUoblGoO7G(MuKTfa9?pGH0@QP^b#!lM1yHWLh*2iq#`C1TdrnO-d#?Oh@XV2HK zKA{`eo{--^K&MW66Lgsktfvn#cCAc*(}qsfhrvOjMGLE?`dHVipu1J3Kgr%g?cNa8 z)pkmC8DGH~fG+dlrp(5^-QBeEvkOvv#q7MBVLtm2oD^$lJZx--_=K&Ttd=-krx(Bb zcEoKJda@S!%%@`P-##$>*u%T*mh+QjV@)Qa=Mk1?#zLk+M4tIt%}wagT{5J%!tXAE;r{@=bb%nNVxvI+C+$t?!VJ@0d@HIyMJTI{vEw0Ul ze(ha!e&qANbTL1ZneNl45t=#Ot??C0MHjjgY8%*mGisN|S6%g3;Hlx#fMNcL<87MW zZ>6moo1YD?P!fJ#Jb(4)_cc50X5n0KoDYfdPoL^iV`k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