Skip to content

Commit

Permalink
chore: clean up files, remove old e2e project and reformat using pret…
Browse files Browse the repository at this point in the history
…tier
  • Loading branch information
BioPhoton authored Jan 2, 2022
2 parents fc4cbc0 + 417ba0f commit ab1501f
Show file tree
Hide file tree
Showing 104 changed files with 19,131 additions and 1,013 deletions.
108 changes: 0 additions & 108 deletions .angular-cli.json

This file was deleted.

8 changes: 6 additions & 2 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
{
"singleQuote": true
}
"singleQuote": true,
"useTabs": false,
"tabWidth": 2,
"semi": true,
"bracketSpacing": true
}
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: node_js
sudo: false
node_js:
- '6.11.0'
- '16.13.1'

cache:
directories:
Expand Down
62 changes: 31 additions & 31 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,26 +27,26 @@
}
}
},
"angular5-example": {
"root": "apps/angular5-example",
"sourceRoot": "apps/angular5-example/src",
"demos": {
"root": "apps/demos",
"sourceRoot": "apps/demos/src",
"projectType": "application",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/apps/angular5-example",
"index": "apps/angular5-example/src/index.html",
"main": "apps/angular5-example/src/main.ts",
"polyfills": "apps/angular5-example/src/polyfills.ts",
"tsConfig": "apps/angular5-example/tsconfig.app.json",
"outputPath": "dist/apps/demos",
"index": "apps/demos/src/index.html",
"main": "apps/demos/src/main.ts",
"polyfills": "apps/demos/src/polyfills.ts",
"tsConfig": "apps/demos/tsconfig.app.json",
"assets": [
"apps/angular5-example/src/favicon.ico",
"apps/angular5-example/src/assets",
"apps/angular5-example/src/assets/images",
"apps/angular5-example/src/assets/fontawesome"
"apps/demos/src/favicon.ico",
"apps/demos/src/assets",
"apps/demos/src/assets/images",
"apps/demos/src/assets/fontawesome"
],
"styles": ["apps/angular5-example/src/styles.scss"],
"styles": ["apps/demos/src/styles.scss"],
"scripts": [],
"vendorChunk": true,
"extractLicenses": false,
Expand All @@ -66,8 +66,8 @@
],
"fileReplacements": [
{
"replace": "apps/angular5-example/src/environments/environment.ts",
"with": "apps/angular5-example/src/environments/environment.prod.ts"
"replace": "apps/demos/src/environments/environment.ts",
"with": "apps/demos/src/environments/environment.prod.ts"
}
],
"optimization": true,
Expand All @@ -88,8 +88,8 @@
],
"fileReplacements": [
{
"replace": "apps/angular5-example/src/environments/environment.ts",
"with": "apps/angular5-example/src/environments/environment.prod.ts"
"replace": "apps/demos/src/environments/environment.ts",
"with": "apps/demos/src/environments/environment.prod.ts"
}
],
"optimization": true,
Expand Down Expand Up @@ -128,49 +128,49 @@
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "angular5-example:build"
"browserTarget": "demos:build"
},
"configurations": {
"production": {
"browserTarget": "angular5-example:build:production"
"browserTarget": "demos:build:production"
},
"test": {
"browserTarget": "angular5-example:build:test"
"browserTarget": "demos:build:test"
},
"development": {
"browserTarget": "angular5-example:build:development"
"browserTarget": "demos:build:development"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "angular5-example:build"
"browserTarget": "demos:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "apps/angular5-example/src/test.ts",
"polyfills": "apps/angular5-example/src/polyfills.ts",
"tsConfig": "apps/angular5-example/tsconfig.spec.json",
"karmaConfig": "apps/angular5-example/karma.conf.js",
"main": "apps/demos/src/test.ts",
"polyfills": "apps/demos/src/polyfills.ts",
"tsConfig": "apps/demos/tsconfig.spec.json",
"karmaConfig": "apps/demos/karma.conf.js",
"codeCoverage": true,
"browsers": "ChromeHeadlessNoSandbox",
"styles": ["apps/angular5-example/src/styles.scss"],
"styles": ["apps/demos/src/styles.scss"],
"scripts": [],
"assets": [
"apps/angular5-example/src/favicon.ico",
"apps/angular5-example/src/assets"
"apps/demos/src/favicon.ico",
"apps/demos/src/assets"
]
}
},
"lint": {
"builder": "@nrwl/linter:eslint",
"options": {
"lintFilePatterns": [
"apps/angular5-example/**/*.ts",
"apps/angular5-example/**/*.html"
"apps/demos/**/*.ts",
"apps/demos/**/*.html"
]
}
}
Expand Down
14 changes: 0 additions & 14 deletions apps/angular5-example/e2e/app.e2e-spec.ts

This file was deleted.

11 changes: 0 additions & 11 deletions apps/angular5-example/e2e/app.po.ts

This file was deleted.

22 changes: 0 additions & 22 deletions apps/angular5-example/e2e/tsconfig.e2e.json

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
<div id="main-container" class="container-fluid">
<nav id="main-menu" class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
<a class="navbar-brand" href="https://github.com/BioPhoton/angular-star-rating">
Angular Star Rating<!--<i class="fas fa-github"></i>-->
<nav id="main-menu"
class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
<a class="navbar-brand"
href="https://github.com/BioPhoton/angular-star-rating">
Angular Star Rating
</a>
<button class="navbar-toggler d-lg-none"
type="button"
data-toggle="collapse"
data-target="#mainNavbar"
aria-controls="mainNavbar"
aria-expanded="false"
aria-label="Toggle navigation"
(click)="toggleNav()">
<button class="navbar-toggler d-lg-none" type="button"
data-toggle="collapse" data-target="#mainNavbar"
aria-controls="mainNavbar" aria-expanded="false"
aria-label="Toggle navigation" (click)="toggleNav()">
<span class="navbar-toggler-icon"></span>
</button>

<div class=" navbar-collapse" id="mainNavbar"
[ngClass]="{collapse:navBarCollapsed}">
[ngClass]="{collapse:navBarCollapsed}">
<ul class="navbar-nav mr-auto">
<li class="nav-item" routerLinkActive="active">
<a class="nav-link" [routerLink]="['property-bindings']"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Component } from '@angular/core';

@Component({
selector: 'app-root',
templateUrl: './app.component.html'
templateUrl: './app.component.html',
})
export class AppComponent {
navBarCollapsed = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const DECLARATIONS = [
path: 'lazy-config-override',
loadChildren: () =>
import(
'apps/angular5-example/src/app/lazy-module/lazy-module.module'
'apps/demos/src/app/lazy-module/lazy-module.module'
).then((m) => m.LazyModuleModule),
},
{
Expand Down
Loading

0 comments on commit ab1501f

Please sign in to comment.