Skip to content

Commit c9e9b2e

Browse files
committed
Update Angular 14.0.1 & add React starter
1 parent cc28b7e commit c9e9b2e

File tree

427 files changed

+55281
-17741
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

427 files changed

+55281
-17741
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Angular 13 Example Modules
1+
# Angular 14 Example Modules
22

3-
> An Angular starter kit featuring [Angular 13.3.5](https://angular.io), [Angular CLI 13.3.4](https://cli.angular.io/)
3+
> An Angular starter kit featuring [Angular 14.0.1](https://angular.io), [Angular CLI 14.0.2](https://cli.angular.io/)
44
55
> it's part of a repo series designed to create a Progressive Web App with Angular
66
File renamed without changes.
File renamed without changes.

angular/.eslintrc.json

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"root": true,
3+
"ignorePatterns": [
4+
"projects/**/*"
5+
],
6+
"overrides": [
7+
{
8+
"files": [
9+
"*.ts"
10+
],
11+
"parserOptions": {
12+
"project": [
13+
"tsconfig.json"
14+
],
15+
"createDefaultProgram": true
16+
},
17+
"extends": [
18+
"plugin:@angular-eslint/recommended",
19+
"plugin:@angular-eslint/template/process-inline-templates"
20+
],
21+
"rules": {
22+
"no-undefined": "error",
23+
"no-var": "error",
24+
"prefer-const": "error",
25+
"func-names": "error",
26+
"id-length": "error",
27+
"newline-before-return": "error",
28+
"space-before-blocks": "error",
29+
"no-alert": "error",
30+
"@angular-eslint/directive-selector": [
31+
"error",
32+
{
33+
"type": "attribute",
34+
"prefix": "app",
35+
"style": "camelCase"
36+
}
37+
],
38+
"@angular-eslint/component-selector": [
39+
"error",
40+
{
41+
"type": "element",
42+
"prefix": "app",
43+
"style": "kebab-case"
44+
}
45+
]
46+
}
47+
},
48+
{
49+
"files": [
50+
"*.html"
51+
],
52+
"extends": [
53+
"plugin:@angular-eslint/template/recommended"
54+
],
55+
"rules": {}
56+
}
57+
]
58+
}
Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,42 @@
11
# See http://help.github.com/ignore-files/ for more about ignoring files.
22

3-
# compiled output
3+
# Compiled output
44
/dist
55
/tmp
66
/out-tsc
7-
# Only exists if Bazel was run
87
/bazel-out
98

10-
# dependencies
9+
# Node
1110
/node_modules
12-
13-
# profiling files
14-
chrome-profiler-events*.json
11+
npm-debug.log
12+
yarn-error.log
1513

1614
# IDEs and editors
17-
/.idea
15+
.idea/
1816
.project
1917
.classpath
2018
.c9/
2119
*.launch
2220
.settings/
2321
*.sublime-workspace
2422

25-
# IDE - VSCode
23+
# Visual Studio Code
2624
.vscode/*
2725
!.vscode/settings.json
2826
!.vscode/tasks.json
2927
!.vscode/launch.json
3028
!.vscode/extensions.json
3129
.history/*
3230

33-
# misc
31+
# Miscellaneous
3432
/.angular/cache
35-
/.sass-cache
33+
.sass-cache/
3634
/connect.lock
3735
/coverage
3836
/libpeerconnection.log
39-
npm-debug.log
40-
yarn-error.log
4137
testem.log
4238
/typings
4339

44-
# System Files
40+
# System files
4541
.DS_Store
4642
Thumbs.db

angular.json renamed to angular/angular.json

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,21 +32,19 @@
3232
"src/assets/params/css/fonts.googleapis.min.css",
3333
"src/styles.css"
3434
],
35-
"scripts": [
36-
"node_modules/bootstrap/dist/js/bootstrap.bundle.min.js"
37-
]
35+
"scripts": []
3836
},
3937
"configurations": {
4038
"production": {
4139
"budgets": [
4240
{
4341
"type": "initial",
44-
"maximumWarning": "1mb",
42+
"maximumWarning": "500kb",
4543
"maximumError": "1mb"
4644
},
4745
{
4846
"type": "anyComponentStyle",
49-
"maximumWarning": "4kb",
47+
"maximumWarning": "2kb",
5048
"maximumError": "4kb"
5149
}
5250
],
@@ -103,9 +101,20 @@
103101
],
104102
"scripts": []
105103
}
104+
},
105+
"lint": {
106+
"builder": "@angular-eslint/builder:lint",
107+
"options": {
108+
"lintFilePatterns": [
109+
"src/**/*.ts",
110+
"src/**/*.html"
111+
]
112+
}
106113
}
107114
}
108115
}
109116
},
110-
"defaultProject": "angular-starter"
111-
}
117+
"cli": {
118+
"defaultCollection": "@angular-eslint/schematics"
119+
}
120+
}
13.8 KB
Loading

0 commit comments

Comments
 (0)