diff --git a/.eslintignore b/.eslintignore index fd582d2..30342a5 100644 --- a/.eslintignore +++ b/.eslintignore @@ -8,7 +8,6 @@ # Node /node_modules -/**/node_modules/* npm-debug.log yarn-error.log @@ -37,8 +36,13 @@ yarn-error.log /libpeerconnection.log testem.log /typings -/.nx +.nx # System files .DS_Store Thumbs.db + + +# Other + +src/index.html diff --git a/.eslintrc.confiks.json b/.eslintrc.confiks.json index 9b8702a..49572a8 100644 --- a/.eslintrc.confiks.json +++ b/.eslintrc.confiks.json @@ -1,5 +1,4 @@ { - "ignorePatterns": ["**/*"], "plugins": ["unused-imports", "simple-import-sort", "prettier", "unicorn"], "overrides": [ { diff --git a/.gitignore b/.gitignore index fd582d2..182351c 100644 --- a/.gitignore +++ b/.gitignore @@ -38,6 +38,7 @@ yarn-error.log testem.log /typings /.nx +/.nx/* # System files .DS_Store diff --git a/.nx/cache/18.3.3-nx.win32-x64-msvc.node b/.nx/cache/18.3.3-nx.win32-x64-msvc.node deleted file mode 100644 index 57b6c31..0000000 Binary files a/.nx/cache/18.3.3-nx.win32-x64-msvc.node and /dev/null differ diff --git a/package.json b/package.json index 194bf7e..99a6f2f 100644 --- a/package.json +++ b/package.json @@ -5,16 +5,17 @@ "ng": "ng", "start": "ng serve", "build": "ng build", - "watch": "ng build --watch --configuration development", + "build:watch": "ng build --watch --configuration development", "test": "ng test", "test:watch": "ng test --watch", "lint": "ng lint", - "prepare": "husky", + "lint:fix": "ng lint --fix", "format": "prettier --ignore-unknown **/*", "format:write": "prettier --write --ignore-unknown **/*", "stylelint": "stylelint **/*.{css,scss}", + "stylelint:fix": "stylelint **/*.{css,scss} --fix", "performance": "npx oxlint -D correctness -D perf --deny-warnings", - "stylelint:fix": "stylelint **/*.{css,scss} --fix" + "prepare": "husky" }, "private": true, "dependencies": { diff --git a/src/app/app.component.spec.ts b/src/app/app.component.spec.ts index c7df438..2f17b9f 100644 --- a/src/app/app.component.spec.ts +++ b/src/app/app.component.spec.ts @@ -1,4 +1,5 @@ import { TestBed } from '@angular/core/testing'; + import { AppComponent } from './app.component'; describe('AppComponent', () => { diff --git a/src/main.ts b/src/main.ts index 7180ec1..15883c5 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,5 +1,6 @@ import { bootstrapApplication } from '@angular/platform-browser'; -import { appConfig } from './app/app.config'; + import { AppComponent } from './app/app.component'; +import { appConfig } from './app/app.config'; bootstrapApplication(AppComponent, appConfig).catch(err => console.error(err));