Renaming angular project to 'mempool' from 'mempoolspace'

This commit is contained in:
softsimon 2020-04-28 00:14:29 +07:00
parent 9025d4dd54
commit 7e7b536acb
No known key found for this signature in database
GPG Key ID: 488D7DCFB5A430D7
4 changed files with 13 additions and 13 deletions

View File

@ -3,7 +3,7 @@
"version": 1, "version": 1,
"newProjectRoot": "projects", "newProjectRoot": "projects",
"projects": { "projects": {
"mempoolspace": { "mempool": {
"projectType": "application", "projectType": "application",
"schematics": { "schematics": {
"@schematics/angular:component": { "@schematics/angular:component": {
@ -17,7 +17,7 @@
"build": { "build": {
"builder": "@angular-devkit/build-angular:browser", "builder": "@angular-devkit/build-angular:browser",
"options": { "options": {
"outputPath": "dist/mempoolspace", "outputPath": "dist/mempool",
"index": "src/index.html", "index": "src/index.html",
"main": "src/main.ts", "main": "src/main.ts",
"polyfills": "src/polyfills.ts", "polyfills": "src/polyfills.ts",
@ -65,18 +65,18 @@
"serve": { "serve": {
"builder": "@angular-devkit/build-angular:dev-server", "builder": "@angular-devkit/build-angular:dev-server",
"options": { "options": {
"browserTarget": "mempoolspace:build" "browserTarget": "mempool:build"
}, },
"configurations": { "configurations": {
"production": { "production": {
"browserTarget": "mempoolspace:build:production" "browserTarget": "mempool:build:production"
} }
} }
}, },
"extract-i18n": { "extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n", "builder": "@angular-devkit/build-angular:extract-i18n",
"options": { "options": {
"browserTarget": "mempoolspace:build" "browserTarget": "mempool:build"
} }
}, },
"test": { "test": {
@ -113,15 +113,15 @@
"builder": "@angular-devkit/build-angular:protractor", "builder": "@angular-devkit/build-angular:protractor",
"options": { "options": {
"protractorConfig": "e2e/protractor.conf.js", "protractorConfig": "e2e/protractor.conf.js",
"devServerTarget": "mempoolspace:serve" "devServerTarget": "mempool:serve"
}, },
"configurations": { "configurations": {
"production": { "production": {
"devServerTarget": "mempoolspace:serve:production" "devServerTarget": "mempool:serve:production"
} }
} }
} }
} }
}}, }},
"defaultProject": "mempoolspace" "defaultProject": "mempool"
} }

View File

@ -10,7 +10,7 @@ describe('workspace-project App', () => {
it('should display welcome message', () => { it('should display welcome message', () => {
page.navigateTo(); page.navigateTo();
expect(page.getTitleText()).toEqual('Welcome to mempoolspace!'); expect(page.getTitleText()).toEqual('Welcome to mempool!');
}); });
afterEach(async () => { afterEach(async () => {

View File

@ -16,7 +16,7 @@ module.exports = function (config) {
clearContext: false // leave Jasmine Spec Runner output visible in browser clearContext: false // leave Jasmine Spec Runner output visible in browser
}, },
coverageIstanbulReporter: { coverageIstanbulReporter: {
dir: require('path').join(__dirname, './coverage/mempoolspace'), dir: require('path').join(__dirname, './coverage/mempool'),
reports: ['html', 'lcovonly', 'text-summary'], reports: ['html', 'lcovonly', 'text-summary'],
fixWebpackSourcePaths: true fixWebpackSourcePaths: true
}, },

View File

@ -20,16 +20,16 @@ describe('AppComponent', () => {
expect(app).toBeTruthy(); expect(app).toBeTruthy();
}); });
it(`should have as title 'mempoolspace'`, () => { it(`should have as title 'mempool'`, () => {
const fixture = TestBed.createComponent(AppComponent); const fixture = TestBed.createComponent(AppComponent);
const app = fixture.debugElement.componentInstance; const app = fixture.debugElement.componentInstance;
expect(app.title).toEqual('mempoolspace'); expect(app.title).toEqual('mempool');
}); });
it('should render title in a h1 tag', () => { it('should render title in a h1 tag', () => {
const fixture = TestBed.createComponent(AppComponent); const fixture = TestBed.createComponent(AppComponent);
fixture.detectChanges(); fixture.detectChanges();
const compiled = fixture.debugElement.nativeElement; const compiled = fixture.debugElement.nativeElement;
expect(compiled.querySelector('h1').textContent).toContain('Welcome to mempoolspace!'); expect(compiled.querySelector('h1').textContent).toContain('Welcome to mempool!');
}); });
}); });