Skip to content

Commit

Permalink
fix: add missing tsconfig props and mark some todos
Browse files Browse the repository at this point in the history
  • Loading branch information
Billy Lando committed Nov 24, 2021
1 parent 532b6dc commit 0579b92
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 5 deletions.
3 changes: 1 addition & 2 deletions apps/angular5-example/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { NgModule } from '@angular/core';
import { ReactiveFormsModule } from '@angular/forms';
import { BrowserModule } from '@angular/platform-browser';
import { RouterModule } from '@angular/router';
// import { NxModule } from '@nrwl/nx';

import { AppComponent } from './app.component';
import { EventBindingsComponent } from './components/event-bindings/event-bindings.component';
import { FormControlStarRatingComponent } from './components/form-control-star-rating/form-control-star-rating.component';
Expand All @@ -23,7 +23,6 @@ const DECLARATIONS = [
@NgModule({
imports: [
BrowserModule,
// NxModule.forRoot(),
ReactiveFormsModule,
StarRatingModule.forRoot(),
StaticModuleModule,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ $color-negative-rating: #ffff00;
$color-ok-rating: #00ff00;
$color-positive-rating: #ff00ff;
$color-default-rating: #00f;
// TODO: fix after css-star-rating refactoring.
// @import "~css-star-rating/scss/star-rating";

.rating.color-ok .star-container .star svg {
Expand Down
1 change: 1 addition & 0 deletions apps/angular5-example/src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

$fa-font-path: 'assets/fontawesome/webfonts';
@import 'assets/fontawesome/css/fontawesome-all.min.css';
// TODO: fix after css-star-rating refactoring.
// @import "assets/fontawesome/scss/fontawesome";
// @import "assets/fontawesome/scss/fa-brands";
// @import "assets/fontawesome/scss/fa-regular";
Expand Down
2 changes: 1 addition & 1 deletion apps/angular5-example/tsconfig.app.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"outDir": "../../dist/out-tsc/apps/angular5-example",
"types": ["node"]
},
"include": ["src/**/*.ts", "src/**/*.d.ts", "../../libs/mymodule/index.ts"],
"include": ["src/**/*.ts", "src/**/*.d.ts"],
"exclude": ["**/*.spec.ts"],
"files": ["src/main.ts", "src/polyfills.ts"]
}
2 changes: 1 addition & 1 deletion apps/angular5-example/tsconfig.packaged.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"extends": "../../tsconfig.packaged.json",
"compilerOptions": {
"outDir": "../../dist/apps/angular5-example-packaged",
"module": "es2015"
"module": "esnext"
},
"include": ["**/*.ts"],
"exclude": ["**/*.spec.ts"]
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@
"@angular-star-rating-lib/*": ["libs/*"]
}
},
"exclude": ["node_modules", "tmp"]
"exclude": ["node_modules", "tmp"],
"rootDir": "."
}

0 comments on commit 0579b92

Please sign in to comment.