Skip to content

Commit 8b01c7d

Browse files
authored
Merge pull request #134 from charsleysa/feat-angular-15
feat: angular 15
2 parents ddb8870 + 3d4df41 commit 8b01c7d

26 files changed

+20703
-16112
lines changed

.devcontainer/devcontainer.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node
3+
{
4+
"name": "Node.js & TypeScript",
5+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
"image": "mcr.microsoft.com/devcontainers/typescript-node:0-18",
7+
"features": {
8+
"ghcr.io/devcontainers-contrib/features/angular-cli:2": {
9+
"version": "latest"
10+
}
11+
}
12+
13+
// Features to add to the dev container. More info: https://containers.dev/features.
14+
// "features": {},
15+
16+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
17+
// "forwardPorts": [],
18+
19+
// Use 'postCreateCommand' to run commands after the container is created.
20+
// "postCreateCommand": "yarn install",
21+
22+
// Configure tool-specific properties.
23+
// "customizations": {},
24+
25+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
26+
// "remoteUser": "root"
27+
}

.eslintrc.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"parser": "@typescript-eslint/parser",
3+
"parserOptions": {
4+
"ecmaVersion": 12,
5+
"sourceType": "module"
6+
},
7+
"plugins": ["@typescript-eslint"],
8+
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier"],
9+
"rules": {},
10+
"env": {
11+
"browser": true,
12+
"es2021": true
13+
}
14+
}

.npmignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
demo-app/
22
lib/
3-
tsconfig.json
3+
.eslintrc.json

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
Easy, Reusable Animation Utility library for Angular Apps.
99

10-
Angular Animations utility library is a collection of reusable and parametrized animations build for Angular 4.4.6+ that can be used in a declarative manner. It implements all animations from [animate.css](https://daneden.github.io/animate.css/) (and more). Works both with AOT and JIT compilations.
10+
Angular Animations utility library is a collection of reusable and parametrized animations build for Angular 15+ that can be used in a declarative manner. It implements all animations from [animate.css](https://daneden.github.io/animate.css/) (and more). Works both with AOT and JIT compilations.
1111

1212
### Quick links
1313

demo-app/.eslintrc.json

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
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+
"@angular-eslint/component-selector": [
23+
"error",
24+
{
25+
"prefix": "app",
26+
"style": "kebab-case",
27+
"type": "element"
28+
}
29+
],
30+
"@angular-eslint/directive-selector": [
31+
"error",
32+
{
33+
"prefix": "app",
34+
"style": "camelCase",
35+
"type": "attribute"
36+
}
37+
]
38+
}
39+
},
40+
{
41+
"files": [
42+
"*.html"
43+
],
44+
"extends": [
45+
"plugin:@angular-eslint/template/recommended"
46+
],
47+
"rules": {}
48+
}
49+
]
50+
}

demo-app/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
!.vscode/extensions.json
2626

2727
# misc
28+
/.angular/cache
2829
/.sass-cache
2930
/connect.lock
3031
/coverage

demo-app/angular.json

Lines changed: 20 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
"build": {
1818
"builder": "@angular-devkit/build-angular:browser",
1919
"options": {
20-
"aot": true,
2120
"outputPath": "dist/demo",
2221
"index": "src/index.html",
2322
"main": "src/main.ts",
@@ -31,7 +30,13 @@
3130
"./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
3231
"src/styles.scss"
3332
],
34-
"scripts": []
33+
"scripts": [],
34+
"vendorChunk": true,
35+
"extractLicenses": false,
36+
"buildOptimizer": false,
37+
"sourceMap": true,
38+
"optimization": false,
39+
"namedChunks": true
3540
},
3641
"configurations": {
3742
"production": {
@@ -50,14 +55,13 @@
5055
"optimization": true,
5156
"outputHashing": "all",
5257
"sourceMap": false,
53-
"extractCss": true,
5458
"namedChunks": false,
55-
"aot": true,
5659
"extractLicenses": true,
5760
"vendorChunk": false,
5861
"buildOptimizer": true
5962
}
60-
}
63+
},
64+
"defaultConfiguration": ""
6165
},
6266
"serve": {
6367
"builder": "@angular-devkit/build-angular:dev-server",
@@ -95,46 +99,21 @@
9599
}
96100
},
97101
"lint": {
98-
"builder": "@angular-devkit/build-angular:tslint",
99-
"options": {
100-
"tsConfig": [
101-
"src/tsconfig.app.json",
102-
"src/tsconfig.spec.json"
103-
],
104-
"exclude": [
105-
"**/node_modules/**"
106-
]
107-
}
108-
}
109-
}
110-
},
111-
"demo-e2e": {
112-
"root": "e2e/",
113-
"projectType": "application",
114-
"architect": {
115-
"e2e": {
116-
"builder": "@angular-devkit/build-angular:protractor",
117-
"options": {
118-
"protractorConfig": "e2e/protractor.conf.js",
119-
"devServerTarget": "demo:serve"
120-
},
121-
"configurations": {
122-
"production": {
123-
"devServerTarget": "demo:serve:production"
124-
}
125-
}
126-
},
127-
"lint": {
128-
"builder": "@angular-devkit/build-angular:tslint",
102+
"builder": "@angular-eslint/builder:lint",
129103
"options": {
130-
"tsConfig": "e2e/tsconfig.e2e.json",
131-
"exclude": [
132-
"**/node_modules/**"
104+
"lintFilePatterns": [
105+
"src/**/*.ts",
106+
"src/**/*.html"
133107
]
134108
}
135109
}
136110
}
137111
}
138112
},
139-
"defaultProject": "demo"
140-
}
113+
"cli": {
114+
"analytics": false,
115+
"schematicCollections": [
116+
"@angular-eslint/schematics"
117+
]
118+
}
119+
}

demo-app/e2e/protractor.conf.js

Lines changed: 0 additions & 28 deletions
This file was deleted.

demo-app/e2e/src/app.e2e-spec.ts

Lines changed: 0 additions & 14 deletions
This file was deleted.

demo-app/e2e/src/app.po.ts

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)