Skip to content

Commit

Permalink
fix build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
hemant10yadav committed Dec 31, 2024
1 parent c95e1c6 commit c884921
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# book-store
# Book-Store

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 15.0.0.

Expand Down
10 changes: 5 additions & 5 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": 1,
"newProjectRoot": "projects",
"projects": {
"book-store": {
"Book-Store": {
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
Expand All @@ -17,7 +17,7 @@
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/book-store",
"outputPath": "dist/Book-Store",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": ["zone.js"],
Expand Down Expand Up @@ -61,11 +61,11 @@
"builder": "@angular-devkit/build-angular:dev-server",
"configurations": {
"production": {
"browserTarget": "book-store:build:production",
"browserTarget": "Book-Store:build:production",
"proxyConfig": "src/proxy.conf.json"
},
"development": {
"browserTarget": "book-store:build:development",
"browserTarget": "Book-Store:build:development",
"proxyConfig": "src/proxy.conf.json"
}
},
Expand All @@ -74,7 +74,7 @@
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "book-store:build"
"browserTarget": "Book-Store:build"
}
},
"test": {
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "book-store",
"name": "Book-Store",
"version": "0.0.0",
"scripts": {
"ng": "ng",
Expand Down
6 changes: 3 additions & 3 deletions src/app/app.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ describe('AppComponent', () => {
expect(app).toBeTruthy();
});

it(`should have as title 'book-store'`, () => {
it(`should have as title 'Book-Store'`, () => {
const fixture = TestBed.createComponent(AppComponent);
const app = fixture.componentInstance;
expect(app.title).toEqual('book-store');
expect(app.title).toEqual('Book-Store');
});

it('should render title', () => {
const fixture = TestBed.createComponent(AppComponent);
fixture.detectChanges();
const compiled = fixture.nativeElement as HTMLElement;
expect(compiled.querySelector('.content span')?.textContent).toContain('book-store app is running!');
expect(compiled.querySelector('.content span')?.textContent).toContain('Book-Store app is running!');
});
});
2 changes: 1 addition & 1 deletion src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ import { Component } from '@angular/core';
styleUrls: ['./app.component.scss']
})
export class AppComponent {
title = 'book-store';
title = 'Book-Store';
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="container-fluid app-padding">
<a class="navbar-brand" href="/">
<img
alt="book-store logo"
alt="Book-Store logo"
class="clickable app-logo"
src="assets/img/logo.jpeg"
/></a>
Expand Down
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8">
<title>book-store</title>
<title>Book-Store</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="assets/img/logo.jpeg">
Expand Down

0 comments on commit c884921

Please sign in to comment.