Skip to content

Commit

Permalink
Merge pull request #12 from ref-humbold/angular-15
Browse files Browse the repository at this point in the history
Angular 15
  • Loading branch information
R. Kaleta authored Jul 2, 2023
2 parents 0a3500c + b5765c0 commit c77115f
Show file tree
Hide file tree
Showing 13 changed files with 4,701 additions and 4,105 deletions.
5 changes: 4 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@
"error",
{ "accessibility": "explicit", "overrides": { "constructors": "no-public" } }
],
"@typescript-eslint/explicit-module-boundary-types": ["warn"],
"@typescript-eslint/explicit-module-boundary-types": [
"warn",
{ "allowArgumentsExplicitlyTypedAsAny": true }
],
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-inferrable-types": "warn",
"@typescript-eslint/prefer-readonly": "warn",
Expand Down
23 changes: 23 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "localhost Firefox",
"type": "firefox",
"request": "launch",
"reAttach": true,
"url": "http://localhost:4200",
"webRoot": "${workspaceFolder}"
},
{
"name": "localhost Chrome",
"type": "chrome",
"request": "launch",
"url": "http://localhost:4200",
"webRoot": "${workspaceFolder}"
}
]
}
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,22 @@ ZenSaper is a small single-player game written in Angular framework. The player

## How to build Docker image?

For development image use `Dockerfile.dev`:
```
docker build -f Dockerfile.dev -t zen-saper:dev .
```

For production image use `Dockerfile`:
```
docker build -f Dockerfile -t zen-saper:prod .
```

## How to run in Docker?

```
docker run zen-saper:[tag]
```

-----

## Angular information
Expand Down
34 changes: 14 additions & 20 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,8 @@
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.app.json",
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"src/styles.css"
],
"assets": ["src/favicon.ico", "src/assets"],
"styles": ["src/styles.css"],
"scripts": [],
"vendorChunk": true,
"extractLicenses": false,
Expand Down Expand Up @@ -87,23 +82,15 @@
"polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.spec.json",
"karmaConfig": "karma.conf.js",
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"src/styles.css"
],
"assets": ["src/favicon.ico", "src/assets"],
"styles": ["src/styles.css"],
"scripts": []
}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": [
"src/**/*.ts",
"src/**/*.html"
]
"lintFilePatterns": ["src/**/*.ts", "src/**/*.html"]
}
},
"e2e": {
Expand All @@ -121,8 +108,15 @@
}
}
},
"defaultProject": "ZenSaper",
"cli": {
"defaultCollection": "@angular-eslint/schematics"
"schematicCollections": ["@angular-eslint/schematics"]
},
"schematics": {
"@angular-eslint/schematics:application": {
"setParserOptionsProject": true
},
"@angular-eslint/schematics:library": {
"setParserOptionsProject": true
}
}
}
Loading

0 comments on commit c77115f

Please sign in to comment.