generated from nhcarrigan/template
feat: empty components, functional nav
This commit is contained in:
17
.editorconfig
Normal file
17
.editorconfig
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# Editor configuration, see https://editorconfig.org
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
charset = utf-8
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
||||||
|
insert_final_newline = true
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
|
[*.ts]
|
||||||
|
quote_type = single
|
||||||
|
ij_typescript_use_double_quotes = false
|
||||||
|
|
||||||
|
[*.md]
|
||||||
|
max_line_length = off
|
||||||
|
trim_trailing_whitespace = false
|
42
.gitignore
vendored
Normal file
42
.gitignore
vendored
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
# See https://docs.github.com/get-started/getting-started-with-git/ignoring-files for more about ignoring files.
|
||||||
|
|
||||||
|
# Compiled output
|
||||||
|
/dist
|
||||||
|
/tmp
|
||||||
|
/out-tsc
|
||||||
|
/bazel-out
|
||||||
|
|
||||||
|
# Node
|
||||||
|
/node_modules
|
||||||
|
npm-debug.log
|
||||||
|
yarn-error.log
|
||||||
|
|
||||||
|
# IDEs and editors
|
||||||
|
.idea/
|
||||||
|
.project
|
||||||
|
.classpath
|
||||||
|
.c9/
|
||||||
|
*.launch
|
||||||
|
.settings/
|
||||||
|
*.sublime-workspace
|
||||||
|
|
||||||
|
# Visual Studio Code
|
||||||
|
.vscode/*
|
||||||
|
!.vscode/settings.json
|
||||||
|
!.vscode/tasks.json
|
||||||
|
!.vscode/launch.json
|
||||||
|
!.vscode/extensions.json
|
||||||
|
.history/*
|
||||||
|
|
||||||
|
# Miscellaneous
|
||||||
|
/.angular/cache
|
||||||
|
.sass-cache/
|
||||||
|
/connect.lock
|
||||||
|
/coverage
|
||||||
|
/libpeerconnection.log
|
||||||
|
testem.log
|
||||||
|
/typings
|
||||||
|
|
||||||
|
# System files
|
||||||
|
.DS_Store
|
||||||
|
Thumbs.db
|
6
.vscode/settings.json
vendored
Normal file
6
.vscode/settings.json
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"editor.codeActionsOnSave": {
|
||||||
|
"source.fixAll.eslint": "explicit"
|
||||||
|
},
|
||||||
|
"eslint.validate": ["typescript"]
|
||||||
|
}
|
59
README.md
Normal file
59
README.md
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
# Yurigpt
|
||||||
|
|
||||||
|
This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 20.0.5.
|
||||||
|
|
||||||
|
## Development server
|
||||||
|
|
||||||
|
To start a local development server, run:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
ng serve
|
||||||
|
```
|
||||||
|
|
||||||
|
Once the server is running, open your browser and navigate to `http://localhost:4200/`. The application will automatically reload whenever you modify any of the source files.
|
||||||
|
|
||||||
|
## Code scaffolding
|
||||||
|
|
||||||
|
Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
ng generate component component-name
|
||||||
|
```
|
||||||
|
|
||||||
|
For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
ng generate --help
|
||||||
|
```
|
||||||
|
|
||||||
|
## Building
|
||||||
|
|
||||||
|
To build the project run:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
ng build
|
||||||
|
```
|
||||||
|
|
||||||
|
This will compile your project and store the build artifacts in the `dist/` directory. By default, the production build optimizes your application for performance and speed.
|
||||||
|
|
||||||
|
## Running unit tests
|
||||||
|
|
||||||
|
To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
ng test
|
||||||
|
```
|
||||||
|
|
||||||
|
## Running end-to-end tests
|
||||||
|
|
||||||
|
For end-to-end (e2e) testing, run:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
ng e2e
|
||||||
|
```
|
||||||
|
|
||||||
|
Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
|
||||||
|
|
||||||
|
## Additional Resources
|
||||||
|
|
||||||
|
For more information on using the Angular CLI, including detailed command references, visit the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.
|
69
angular.json
Normal file
69
angular.json
Normal file
@ -0,0 +1,69 @@
|
|||||||
|
{
|
||||||
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
||||||
|
"version": 1,
|
||||||
|
"newProjectRoot": "projects",
|
||||||
|
"projects": {
|
||||||
|
"yurigpt": {
|
||||||
|
"projectType": "application",
|
||||||
|
"schematics": {},
|
||||||
|
"root": "",
|
||||||
|
"sourceRoot": "src",
|
||||||
|
"prefix": "app",
|
||||||
|
"architect": {
|
||||||
|
"build": {
|
||||||
|
"builder": "@angular/build:application",
|
||||||
|
"options": {
|
||||||
|
"browser": "src/main.ts",
|
||||||
|
"polyfills": ["zone.js"],
|
||||||
|
"tsConfig": "tsconfig.json",
|
||||||
|
"assets": [
|
||||||
|
{
|
||||||
|
"glob": "**/*",
|
||||||
|
"input": "public"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"styles": ["src/styles.css"]
|
||||||
|
},
|
||||||
|
"configurations": {
|
||||||
|
"production": {
|
||||||
|
"budgets": [
|
||||||
|
{
|
||||||
|
"type": "initial",
|
||||||
|
"maximumWarning": "500kB",
|
||||||
|
"maximumError": "1MB"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "anyComponentStyle",
|
||||||
|
"maximumWarning": "4kB",
|
||||||
|
"maximumError": "8kB"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outputHashing": "all"
|
||||||
|
},
|
||||||
|
"development": {
|
||||||
|
"optimization": false,
|
||||||
|
"extractLicenses": false,
|
||||||
|
"sourceMap": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"defaultConfiguration": "production"
|
||||||
|
},
|
||||||
|
"serve": {
|
||||||
|
"builder": "@angular/build:dev-server",
|
||||||
|
"configurations": {
|
||||||
|
"production": {
|
||||||
|
"buildTarget": "yurigpt:build:production"
|
||||||
|
},
|
||||||
|
"development": {
|
||||||
|
"buildTarget": "yurigpt:build:development"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"defaultConfiguration": "development"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"cli": {
|
||||||
|
"analytics": "c60fb101-608b-4f54-a60c-673e53dc6f44"
|
||||||
|
}
|
||||||
|
}
|
22
eslint.config.js
Normal file
22
eslint.config.js
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
import NaomisConfig from "@nhcarrigan/eslint-config";
|
||||||
|
|
||||||
|
export default [
|
||||||
|
...NaomisConfig,
|
||||||
|
{
|
||||||
|
rules: {
|
||||||
|
"no-console": "off",
|
||||||
|
"new-cap": "off",
|
||||||
|
"@typescript-eslint/naming-convention": "off",
|
||||||
|
"jsdoc/require-jsdoc": "off",
|
||||||
|
"jsdoc/require-param": "off",
|
||||||
|
"jsdoc/require-returns": "off",
|
||||||
|
"@typescript-eslint/no-useless-constructor": "off",
|
||||||
|
"@typescript-eslint/no-empty-function": "off",
|
||||||
|
"@typescript-eslint/consistent-type-assertions": "off",
|
||||||
|
"@typescript-eslint/no-extraneous-class": "off",
|
||||||
|
"stylistic/no-multi-spaces": "off",
|
||||||
|
"unicorn/filename-case": "off",
|
||||||
|
"@typescript-eslint/consistent-type-imports": "off",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
];
|
52
package.json
52
package.json
@ -1,13 +1,51 @@
|
|||||||
{
|
{
|
||||||
"name": "yurigpt",
|
"name": "yurigpt",
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"description": "A webcomic about a girl dating an LLM, though she doesn't know it.",
|
"description": "A webcomic about a girl who is dating an LLM, but does not know it.",
|
||||||
"main": "index.js",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"ng": "ng",
|
||||||
|
"dev": "ng serve",
|
||||||
|
"build": "ng build",
|
||||||
|
"watch": "ng build --watch --configuration development",
|
||||||
|
"test": "echo 'No tests yet!' && exit 0",
|
||||||
|
"lint": "eslint ./src --max-warnings 0"
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"prettier": {
|
||||||
"author": "",
|
"overrides": [
|
||||||
"license": "ISC",
|
{
|
||||||
"packageManager": "pnpm@10.12.4"
|
"files": "*.html",
|
||||||
|
"options": {
|
||||||
|
"parser": "angular"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"private": true,
|
||||||
|
"dependencies": {
|
||||||
|
"@angular/common": "20.1.0",
|
||||||
|
"@angular/compiler": "20.1.0",
|
||||||
|
"@angular/core": "20.1.0",
|
||||||
|
"@angular/forms": "20.1.0",
|
||||||
|
"@angular/platform-browser": "20.1.0",
|
||||||
|
"@angular/router": "20.1.0",
|
||||||
|
"rxjs": "7.8.2",
|
||||||
|
"tslib": "2.8.1",
|
||||||
|
"zone.js": "0.15.1"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@angular/build": "20.1.0",
|
||||||
|
"@angular/cli": "20.1.0",
|
||||||
|
"@angular/compiler-cli": "20.1.0",
|
||||||
|
"@nhcarrigan/eslint-config": "5.2.0",
|
||||||
|
"@types/jasmine": "5.1.8",
|
||||||
|
"eslint": "9.31.0",
|
||||||
|
"jasmine-core": "5.8.0",
|
||||||
|
"karma": "6.4.4",
|
||||||
|
"karma-chrome-launcher": "3.2.0",
|
||||||
|
"karma-coverage": "2.2.1",
|
||||||
|
"karma-jasmine": "5.1.0",
|
||||||
|
"karma-jasmine-html-reporter": "2.1.0",
|
||||||
|
"typescript": "5.8.3"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
8283
pnpm-lock.yaml
generated
Normal file
8283
pnpm-lock.yaml
generated
Normal file
File diff suppressed because it is too large
Load Diff
BIN
public/favicon.ico
Normal file
BIN
public/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
0
src/app/about/about.css
Normal file
0
src/app/about/about.css
Normal file
1
src/app/about/about.html
Normal file
1
src/app/about/about.html
Normal file
@ -0,0 +1 @@
|
|||||||
|
<p>about works!</p>
|
11
src/app/about/about.ts
Normal file
11
src/app/about/about.ts
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
import { Component } from '@angular/core';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'app-about',
|
||||||
|
imports: [],
|
||||||
|
templateUrl: './about.html',
|
||||||
|
styleUrl: './about.css'
|
||||||
|
})
|
||||||
|
export class About {
|
||||||
|
|
||||||
|
}
|
21
src/app/app.config.ts
Normal file
21
src/app/app.config.ts
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
/**
|
||||||
|
* @copyright nhcarrigan
|
||||||
|
* @license Naomi's Public License
|
||||||
|
* @author Naomi Carrigan
|
||||||
|
*/
|
||||||
|
|
||||||
|
import {
|
||||||
|
ApplicationConfig,
|
||||||
|
provideBrowserGlobalErrorListeners,
|
||||||
|
provideZoneChangeDetection,
|
||||||
|
} from "@angular/core";
|
||||||
|
import { provideRouter } from "@angular/router";
|
||||||
|
import { routes } from "./app.routes";
|
||||||
|
|
||||||
|
export const appConfig: ApplicationConfig = {
|
||||||
|
providers: [
|
||||||
|
provideBrowserGlobalErrorListeners(),
|
||||||
|
provideZoneChangeDetection({ eventCoalescing: true }),
|
||||||
|
provideRouter(routes),
|
||||||
|
],
|
||||||
|
};
|
9
src/app/app.css
Normal file
9
src/app/app.css
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
main {
|
||||||
|
margin-top: 60px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 650px) {
|
||||||
|
main {
|
||||||
|
margin-top: 120px;
|
||||||
|
}
|
||||||
|
}
|
4
src/app/app.html
Normal file
4
src/app/app.html
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<app-nav></app-nav>
|
||||||
|
<main>
|
||||||
|
<router-outlet></router-outlet>
|
||||||
|
</main>
|
20
src/app/app.routes.ts
Normal file
20
src/app/app.routes.ts
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
/**
|
||||||
|
* @copyright nhcarrigan
|
||||||
|
* @license Naomi's Public License
|
||||||
|
* @author Naomi Carrigan
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { Routes } from "@angular/router";
|
||||||
|
import { About } from "./about/about.js";
|
||||||
|
import { Archive } from "./archive/archive.js";
|
||||||
|
import { Characters } from "./characters/characters.js";
|
||||||
|
import { Comic } from "./comic/comic.js";
|
||||||
|
import { Home } from "./home/home.js";
|
||||||
|
|
||||||
|
export const routes: Routes = [
|
||||||
|
{ component: Home, path: "", pathMatch: "full" },
|
||||||
|
{ component: Comic, path: "comic" },
|
||||||
|
{ component: About, path: "about" },
|
||||||
|
{ component: Archive, path: "archive" },
|
||||||
|
{ component: Characters, path: "characters" },
|
||||||
|
];
|
22
src/app/app.ts
Normal file
22
src/app/app.ts
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
/**
|
||||||
|
* @copyright nhcarrigan
|
||||||
|
* @license Naomi's Public License
|
||||||
|
* @author Naomi Carrigan
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { Component } from "@angular/core";
|
||||||
|
import { RouterOutlet } from "@angular/router";
|
||||||
|
import { Nav } from "./nav/nav.js";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The root component of the application.
|
||||||
|
*/
|
||||||
|
@Component({
|
||||||
|
imports: [ RouterOutlet, Nav ],
|
||||||
|
selector: "app-root",
|
||||||
|
styleUrl: "./app.css",
|
||||||
|
templateUrl: "./app.html",
|
||||||
|
})
|
||||||
|
export class App {
|
||||||
|
protected title = "yurigpt";
|
||||||
|
}
|
0
src/app/archive/archive.css
Normal file
0
src/app/archive/archive.css
Normal file
1
src/app/archive/archive.html
Normal file
1
src/app/archive/archive.html
Normal file
@ -0,0 +1 @@
|
|||||||
|
<p>archive works!</p>
|
11
src/app/archive/archive.ts
Normal file
11
src/app/archive/archive.ts
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
import { Component } from '@angular/core';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'app-archive',
|
||||||
|
imports: [],
|
||||||
|
templateUrl: './archive.html',
|
||||||
|
styleUrl: './archive.css'
|
||||||
|
})
|
||||||
|
export class Archive {
|
||||||
|
|
||||||
|
}
|
0
src/app/characters/characters.css
Normal file
0
src/app/characters/characters.css
Normal file
1
src/app/characters/characters.html
Normal file
1
src/app/characters/characters.html
Normal file
@ -0,0 +1 @@
|
|||||||
|
<p>characters works!</p>
|
11
src/app/characters/characters.ts
Normal file
11
src/app/characters/characters.ts
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
import { Component } from '@angular/core';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'app-characters',
|
||||||
|
imports: [],
|
||||||
|
templateUrl: './characters.html',
|
||||||
|
styleUrl: './characters.css'
|
||||||
|
})
|
||||||
|
export class Characters {
|
||||||
|
|
||||||
|
}
|
0
src/app/comic/comic.css
Normal file
0
src/app/comic/comic.css
Normal file
1
src/app/comic/comic.html
Normal file
1
src/app/comic/comic.html
Normal file
@ -0,0 +1 @@
|
|||||||
|
<p>comic works!</p>
|
11
src/app/comic/comic.ts
Normal file
11
src/app/comic/comic.ts
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
import { Component } from '@angular/core';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'app-comic',
|
||||||
|
imports: [],
|
||||||
|
templateUrl: './comic.html',
|
||||||
|
styleUrl: './comic.css'
|
||||||
|
})
|
||||||
|
export class Comic {
|
||||||
|
|
||||||
|
}
|
0
src/app/home/home.css
Normal file
0
src/app/home/home.css
Normal file
1
src/app/home/home.html
Normal file
1
src/app/home/home.html
Normal file
@ -0,0 +1 @@
|
|||||||
|
<p>home works!</p>
|
17
src/app/home/home.ts
Normal file
17
src/app/home/home.ts
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
/**
|
||||||
|
* @copyright nhcarrigan
|
||||||
|
* @license Naomi's Public License
|
||||||
|
* @author Naomi Carrigan
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { Component } from "@angular/core";
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
imports: [],
|
||||||
|
selector: "app-home",
|
||||||
|
styleUrl: "./home.css",
|
||||||
|
templateUrl: "./home.html",
|
||||||
|
})
|
||||||
|
export class Home {
|
||||||
|
|
||||||
|
}
|
44
src/app/nav/nav.css
Normal file
44
src/app/nav/nav.css
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
nav {
|
||||||
|
width: 100%;
|
||||||
|
height: 50px;
|
||||||
|
position: fixed;
|
||||||
|
background: var(--background);
|
||||||
|
color: var(--foreground);
|
||||||
|
top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-around;
|
||||||
|
align-items: center;
|
||||||
|
list-style: none;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
flex-wrap: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
li {
|
||||||
|
margin: 0 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#highlight {
|
||||||
|
font-size: 1.2em;
|
||||||
|
background: var(--foreground);
|
||||||
|
color: var(--background);
|
||||||
|
padding: 5px 10px;
|
||||||
|
border-radius: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 650px) {
|
||||||
|
nav {
|
||||||
|
height: 100px;
|
||||||
|
}
|
||||||
|
ul {
|
||||||
|
flex-wrap: wrap;
|
||||||
|
}
|
||||||
|
#highlight {
|
||||||
|
font-size: 1em;
|
||||||
|
color: var(--foreground);
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
}
|
9
src/app/nav/nav.html
Normal file
9
src/app/nav/nav.html
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<nav>
|
||||||
|
<ul>
|
||||||
|
<li><a routerLink="/">YuriGPT</a></li>
|
||||||
|
<li><a routerLink="/about">About</a></li>
|
||||||
|
<li id="highlight"><a routerLink="/comic">Start Reading</a></li>
|
||||||
|
<li><a routerLink="/characters">Characters</a></li>
|
||||||
|
<li><a routerLink="/archive">Archive</a></li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
18
src/app/nav/nav.ts
Normal file
18
src/app/nav/nav.ts
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
/**
|
||||||
|
* @copyright nhcarrigan
|
||||||
|
* @license Naomi's Public License
|
||||||
|
* @author Naomi Carrigan
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { Component } from "@angular/core";
|
||||||
|
import { RouterModule } from "@angular/router";
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
imports: [ RouterModule ],
|
||||||
|
selector: "app-nav",
|
||||||
|
styleUrl: "./nav.css",
|
||||||
|
templateUrl: "./nav.html",
|
||||||
|
})
|
||||||
|
export class Nav {
|
||||||
|
|
||||||
|
}
|
14
src/index.html
Normal file
14
src/index.html
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Yurigpt</title>
|
||||||
|
<base href="/">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<app-root></app-root>
|
||||||
|
</body>
|
||||||
|
<script src="https://cdn.nhcarrigan.com/headers/index.js"></script>
|
||||||
|
</html>
|
15
src/main.ts
Normal file
15
src/main.ts
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
/**
|
||||||
|
* @copyright nhcarrigan
|
||||||
|
* @license Naomi's Public License
|
||||||
|
* @author Naomi Carrigan
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { bootstrapApplication } from "@angular/platform-browser";
|
||||||
|
import { appConfig } from "./app/app.config.js";
|
||||||
|
import { App } from "./app/app.js";
|
||||||
|
|
||||||
|
bootstrapApplication(App, appConfig).
|
||||||
|
// eslint-disable-next-line unicorn/prefer-top-level-await -- It is an Angular thing.
|
||||||
|
catch((error: unknown) => {
|
||||||
|
console.error(error);
|
||||||
|
});
|
1
src/styles.css
Normal file
1
src/styles.css
Normal file
@ -0,0 +1 @@
|
|||||||
|
/* You can add global styles to this file, and also import other style files */
|
33
tsconfig.json
Normal file
33
tsconfig.json
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
|
||||||
|
/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
|
||||||
|
{
|
||||||
|
"compileOnSave": false,
|
||||||
|
"compilerOptions": {
|
||||||
|
"strict": true,
|
||||||
|
"noImplicitOverride": true,
|
||||||
|
"noPropertyAccessFromIndexSignature": true,
|
||||||
|
"noImplicitReturns": true,
|
||||||
|
"noFallthroughCasesInSwitch": true,
|
||||||
|
"skipLibCheck": true,
|
||||||
|
"isolatedModules": true,
|
||||||
|
"experimentalDecorators": true,
|
||||||
|
"importHelpers": true,
|
||||||
|
"target": "ES2022",
|
||||||
|
"module": "preserve",
|
||||||
|
"outDir": "./out-tsc/app",
|
||||||
|
"types": []
|
||||||
|
},
|
||||||
|
"include": [
|
||||||
|
"src/**/*.ts"
|
||||||
|
],
|
||||||
|
"exclude": [
|
||||||
|
"src/**/*.spec.ts"
|
||||||
|
],
|
||||||
|
"angularCompilerOptions": {
|
||||||
|
"enableI18nLegacyMessageIdFormat": false,
|
||||||
|
"strictInjectionParameters": true,
|
||||||
|
"strictInputAccessModifiers": true,
|
||||||
|
"typeCheckHostBindings": true,
|
||||||
|
"strictTemplates": true
|
||||||
|
}
|
||||||
|
}
|
Reference in New Issue
Block a user