Skip to content

Commit 025623c

Browse files
committed
TSConfig Composite project
1 parent dccf822 commit 025623c

12 files changed

+451
-156
lines changed

.eslintrc.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ module.exports = {
6969

7070
overrides: [
7171
{
72-
files: ["./.eslintrc.js", "**/*.ts"],
72+
files: ["./.eslintrc.js", "./src/**/*.ts"],
7373

7474
env: {
7575
es6: true,
@@ -186,7 +186,7 @@ module.exports = {
186186
},
187187

188188
{
189-
files: ["**/*.html"],
189+
files: ["./src/**/*.html"],
190190
extends: ["plugin:@angular-eslint/template/recommended"],
191191
},
192192
],

.gitignore

Lines changed: 49 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,49 @@
1-
# See http://help.github.com/ignore-files/ for more about ignoring files.
2-
3-
# Compiled output
4-
/dist
5-
/tmp
6-
/out-tsc
7-
/bazel-out
8-
9-
# Node
10-
/node_modules
11-
npm-debug.log
12-
yarn-error.log
13-
14-
# IDEs and editors
15-
.idea/
16-
.project
17-
.classpath
18-
.c9/
19-
*.launch
20-
.settings/
21-
*.sublime-workspace
22-
23-
# Visual Studio Code
24-
.vscode/*
25-
!.vscode/settings.json
26-
!.vscode/tasks.json
27-
!.vscode/launch.json
28-
!.vscode/extensions.json
29-
.history/*
30-
31-
# Miscellaneous
32-
/.angular/cache
33-
.sass-cache/
34-
/connect.lock
35-
/coverage
36-
/libpeerconnection.log
37-
testem.log
38-
/typings
39-
40-
# System files
41-
.DS_Store
42-
Thumbs.db
1+
# dependencies
2+
/node_modules
3+
4+
# production
5+
/dist
6+
/out-tsc
7+
*.tgz
8+
9+
# testing and coverage
10+
/logs
11+
/coverage
12+
13+
# bun (not production ready)
14+
bun.lockb
15+
bunfig.toml
16+
node_modules.bun
17+
18+
# IDEs and editors
19+
/.idea
20+
.project
21+
.classpath
22+
.c9/
23+
*.launch
24+
.settings/
25+
*.sublime-workspace
26+
.DS_Store
27+
**/tsconfig*.tsbuildinfo
28+
**/jsconfig*.tsbuildinfo
29+
30+
# IDE - VSCode
31+
.vscode/*
32+
!.vscode/settings.json
33+
!.vscode/tasks.json
34+
!.vscode/launch.json
35+
!.vscode/extensions.json
36+
.history/*
37+
38+
# misc
39+
/.angular/cache
40+
.sass-cache/
41+
/connect.lock
42+
/libpeerconnection.log
43+
testem.log
44+
/tmp
45+
/bazel-out
46+
Thumbs.db
47+
*-debug.log
48+
*-error.log
49+

angular.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"builder": "@angular-devkit/build-angular:karma",
3838

3939
"options": {
40-
"tsConfig": "./tsconfig.spec.json",
40+
"tsConfig": "./tsconfig.base.spec.json",
4141
"polyfills": ["zone.js", "zone.js/testing"]
4242
}
4343
},

jsconfig.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"extends": "./tsconfig.json",
3+
4+
"compilerOptions": {
5+
"target": "esnext",
6+
"lib": ["esnext"],
7+
8+
"module": "esnext",
9+
"types": ["node"],
10+
11+
"checkJs": true,
12+
13+
"outDir": "./dist/",
14+
"noEmit": false
15+
},
16+
17+
"include": ["./.eslintrc.js", "./scripts/**/*.mjs"],
18+
"exclude": [],
19+
"references": []
20+
}

0 commit comments

Comments
 (0)