Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions .browserslistrc

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

strategy:
matrix:
node-version: [22.x]
node-version: [22]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
Expand All @@ -25,10 +25,10 @@ jobs:
uses: actions/checkout@v4

# {3}
- name: Setup Node.js $
- name: Setup Node.js 22
uses: actions/setup-node@v4
with:
node-version: $
node-version: 22
cache: 'npm'
cache-dependency-path: package-lock.json

Expand Down
8 changes: 4 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
## **1.0.0 (2021-08-22)**
## **1.1.0 (2022-09-03)**

---

- Initial realease.
- Upgraded project to Angular V14.

## **1.1.0 (2022-09-03)**
## **1.0.0 (2021-08-22)**

---

- Upgraded project to Angular V14.
- Initial realease.
40 changes: 26 additions & 14 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,15 @@
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"builder": "@angular-devkit/build-angular:application",
"options": {
"outputPath": "dist/angular-seed-project",
"outputPath": {
"base": "dist/angular-seed-project"
},
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"polyfills": [
"src/polyfills.ts"
],
"tsConfig": "tsconfig.app.json",
"inlineStyleLanguage": "scss",
"assets": [
Expand Down Expand Up @@ -52,16 +55,16 @@
"node_modules/prismjs/components/prism-csharp.min.js",
"node_modules/prismjs/components/prism-css.min.js"
],
"serviceWorker": true,
"ngswConfigPath": "ngsw-config.json"
"serviceWorker": "ngsw-config.json",
"browser": "src/main.ts"
},
"configurations": {
"production": {
"budgets": [
{
"type": "initial",
"maximumWarning": "500kb",
"maximumError": "1mb"
"maximumWarning": "1.5kb",
"maximumError": "2mb"
},
{
"type": "anyComponentStyle",
Expand All @@ -78,9 +81,7 @@
"outputHashing": "all"
},
"development": {
"buildOptimizer": false,
"optimization": false,
"vendorChunk": true,
"extractLicenses": false,
"sourceMap": true,
"namedChunks": true
Expand All @@ -92,18 +93,18 @@
"builder": "@angular-devkit/build-angular:dev-server",
"configurations": {
"production": {
"browserTarget": "angular-seed-project:build:production"
"buildTarget": "angular-seed-project:build:production"
},
"development": {
"browserTarget": "angular-seed-project:build:development"
"buildTarget": "angular-seed-project:build:development"
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "angular-seed-project:build"
"buildTarget": "angular-seed-project:build"
}
},
"test": {
Expand All @@ -129,7 +130,10 @@
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": ["src/**/*.ts", "src/**/*.html"]
"lintFilePatterns": [
"src/**/*.ts",
"src/**/*.html"
]
}
}
}
Expand All @@ -140,5 +144,13 @@
"@angular-eslint/schematics"
],
"analytics": "5f4be362-9c2b-4e7e-a6d7-88ae23de76e6"
},
"schematics": {
"@angular-eslint/schematics:application": {
"setParserOptionsProject": true
},
"@angular-eslint/schematics:library": {
"setParserOptionsProject": true
}
}
}
4 changes: 2 additions & 2 deletions dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Stage 1
FROM node:16
FROM node:22
WORKDIR /angular-seed-project

# Copy project's package
Expand All @@ -8,7 +8,7 @@ COPY package.json ./package.json
# Install dependencies
RUN apt-get update && apt-get install -y \
build-essential \
python
python-is-python3
RUN apt-get -y autoclean

# Install Angular CLI
Expand Down
Loading