Skip to content

Commit

Permalink
Merge pull request #99 from VadimDez/feat/ng-17
Browse files Browse the repository at this point in the history
Angular 17
  • Loading branch information
VadimDez authored May 20, 2024
2 parents 1d8cbb1 + a017d37 commit 420e542
Show file tree
Hide file tree
Showing 31 changed files with 8,687 additions and 19,598 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,20 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node-version: [16.x]
node-version: [20.x]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- uses: actions/cache@v2
- uses: actions/cache@v4
id: npm-cache
with:
path: node_modules
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-npm

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.
# See https://docs.github.com/get-started/getting-started-with-git/ignoring-files for more about ignoring files.

# Compiled output
/dist
Expand Down
62 changes: 26 additions & 36 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,21 @@
"schematics": {
"@schematics/angular:component": {
"style": "scss"
},
"@schematics/angular:application": {
"strict": true
}
},
"root": "",
"sourceRoot": "src",
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"builder": "@angular-devkit/build-angular:application",
"options": {
"outputPath": "dist",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"browser": "src/main.ts",
"polyfills": [
"zone.js"
],
"tsConfig": "tsconfig.app.json",
"inlineStyleLanguage": "scss",
"assets": [
Expand All @@ -49,21 +48,12 @@
"maximumError": "4kb"
}
],
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
],
"outputHashing": "all"
},
"development": {
"buildOptimizer": false,
"optimization": false,
"vendorChunk": true,
"extractLicenses": false,
"sourceMap": true,
"namedChunks": true
"sourceMap": true
}
},
"defaultConfiguration": "production"
Expand All @@ -72,27 +62,28 @@
"builder": "@angular-devkit/build-angular:dev-server",
"configurations": {
"production": {
"browserTarget": "ngx-img-fallback:build:production"
"buildTarget": "ngx-img-fallback:build:production"
},
"development": {
"browserTarget": "ngx-img-fallback:build:development"
"buildTarget": "ngx-img-fallback:build:development"
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "ngx-img-fallback:build"
"buildTarget": "ngx-img-fallback:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/test.ts",
"polyfills": "src/polyfills.ts",
"polyfills": [
"zone.js",
"zone.js/testing"
],
"tsConfig": "tsconfig.spec.json",
"karmaConfig": "karma.conf.js",
"inlineStyleLanguage": "scss",
"assets": [
"src/favicon.ico",
Expand All @@ -104,39 +95,38 @@
"scripts": []
}
},
"e2e": {
"cypress-run": {
"builder": "@cypress/schematic:cypress",
"options": {
"devServerTarget": "ngx-img-fallback:serve",
"watch": true,
"headless": false
"devServerTarget": "ngx-img-fallback:serve"
},
"configurations": {
"production": {
"devServerTarget": "ngx-img-fallback:serve:production"
}
}
},
"cypress-run": {
"cypress-open": {
"builder": "@cypress/schematic:cypress",
"options": {
"devServerTarget": "ngx-img-fallback:serve"
},
"configurations": {
"production": {
"devServerTarget": "ngx-img-fallback:serve:production"
}
"watch": true,
"headless": false
}
},
"cypress-open": {
"e2e": {
"builder": "@cypress/schematic:cypress",
"options": {
"devServerTarget": "ngx-img-fallback:serve",
"watch": true,
"headless": false
},
"configurations": {
"production": {
"devServerTarget": "ngx-img-fallback:serve:production"
}
}
}
}
}
},
"defaultProject": "ngx-img-fallback"
}
}
14 changes: 14 additions & 0 deletions cypress.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { defineConfig } from "cypress";

export default defineConfig({
videosFolder: "cypress/videos",
screenshotsFolder: "cypress/screenshots",
fixturesFolder: "cypress/fixtures",

e2e: {
baseUrl: 'http://localhost:4200',
setupNodeEvents(on, config) {
// implement node event listeners here
},
},
});
9 changes: 0 additions & 9 deletions cypress.json

This file was deleted.

File renamed without changes.
File renamed without changes.
43 changes: 20 additions & 23 deletions docs/3rdpartylicenses.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
@angular/common
MIT

@angular/core
MIT
--------------------------------------------------------------------------------
Package: @angular/core
License: "MIT"

@angular/platform-browser
MIT

rxjs
Apache-2.0
--------------------------------------------------------------------------------
Package: rxjs
License: "Apache-2.0"

Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
Expand Down Expand Up @@ -212,27 +211,23 @@ Apache-2.0
limitations under the License.


--------------------------------------------------------------------------------
Package: @angular/common
License: "MIT"


tslib
0BSD
Copyright (c) Microsoft Corporation.
--------------------------------------------------------------------------------
Package: @angular/platform-browser
License: "MIT"

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
--------------------------------------------------------------------------------
Package: zone.js
License: "MIT"

zone.js
MIT
The MIT License

Copyright (c) 2010-2022 Google LLC. https://angular.io/license
Copyright (c) 2010-2024 Google LLC. https://angular.io/license

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -251,3 +246,5 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

--------------------------------------------------------------------------------
15 changes: 9 additions & 6 deletions docs/404.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<!DOCTYPE html><html lang="en"><head><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="">
<!doctype html>
<html lang="en" data-critters-container>

<head><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<meta charset="utf-8">
<title>ngx-img-fallback</title>
<base href="ngx-img-fallback">
Expand All @@ -8,8 +11,9 @@

<link rel="stylesheet" href="https://code.getmdl.io/1.3.0/material.pink-red.min.css">
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/material-design-lite/1.3.0/material.min.js"></script>
<style type="text/css">@font-face{font-family:'Material Icons';font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/materialicons/v129/flUhRq6tzZclQEJ-Vdg-IuiaDsNcIhQ8tQ.woff2) format('woff2');}.material-icons{font-family:'Material Icons';font-weight:normal;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-feature-settings:'liga';-webkit-font-smoothing:antialiased;}</style>
<style>body{font-family:Helvetica Neue,Helvetica,Arial,sans-serif;margin:0}header{padding-bottom:10px}footer{margin-top:15px;text-align:center;font-size:12px}</style><link rel="stylesheet" href="styles.201bf0419d8a3b61.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles.201bf0419d8a3b61.css"></noscript></head>
<style>@font-face{font-family:'Material Icons';font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/materialicons/v142/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2');}.material-icons{font-family:'Material Icons';font-weight:normal;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-feature-settings:'liga';-webkit-font-smoothing:antialiased;}</style>
<style>body{font-family:Helvetica Neue,Helvetica,Arial,sans-serif;margin:0}header{padding-bottom:10px}footer{margin-top:15px;text-align:center;font-size:12px}
</style><link rel="stylesheet" href="styles-EXRSN2ZF.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles-EXRSN2ZF.css"></noscript></head>

<body>

Expand Down Expand Up @@ -42,7 +46,6 @@
</footer>
</div>

<script src="runtime.7b385d3e245e795a.js" type="module"></script><script src="polyfills.30bd51e7afbcb6ef.js" type="module"></script><script src="main.30df8c0d06faf2ec.js" type="module"></script>

<script src="polyfills-A7MJM4D4.js" type="module"></script><script src="main-5J4POBMQ.js" type="module"></script></body>

</body></html>
</html>
Binary file modified docs/favicon.ico
Binary file not shown.
15 changes: 9 additions & 6 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<!DOCTYPE html><html lang="en"><head><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="">
<!doctype html>
<html lang="en" data-critters-container>

<head><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<meta charset="utf-8">
<title>ngx-img-fallback</title>
<base href="ngx-img-fallback">
Expand All @@ -8,8 +11,9 @@

<link rel="stylesheet" href="https://code.getmdl.io/1.3.0/material.pink-red.min.css">
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/material-design-lite/1.3.0/material.min.js"></script>
<style type="text/css">@font-face{font-family:'Material Icons';font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/materialicons/v129/flUhRq6tzZclQEJ-Vdg-IuiaDsNcIhQ8tQ.woff2) format('woff2');}.material-icons{font-family:'Material Icons';font-weight:normal;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-feature-settings:'liga';-webkit-font-smoothing:antialiased;}</style>
<style>body{font-family:Helvetica Neue,Helvetica,Arial,sans-serif;margin:0}header{padding-bottom:10px}footer{margin-top:15px;text-align:center;font-size:12px}</style><link rel="stylesheet" href="styles.201bf0419d8a3b61.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles.201bf0419d8a3b61.css"></noscript></head>
<style>@font-face{font-family:'Material Icons';font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/materialicons/v142/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2');}.material-icons{font-family:'Material Icons';font-weight:normal;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-feature-settings:'liga';-webkit-font-smoothing:antialiased;}</style>
<style>body{font-family:Helvetica Neue,Helvetica,Arial,sans-serif;margin:0}header{padding-bottom:10px}footer{margin-top:15px;text-align:center;font-size:12px}
</style><link rel="stylesheet" href="styles-EXRSN2ZF.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles-EXRSN2ZF.css"></noscript></head>

<body>

Expand Down Expand Up @@ -42,7 +46,6 @@
</footer>
</div>

<script src="runtime.7b385d3e245e795a.js" type="module"></script><script src="polyfills.30bd51e7afbcb6ef.js" type="module"></script><script src="main.30df8c0d06faf2ec.js" type="module"></script>

<script src="polyfills-A7MJM4D4.js" type="module"></script><script src="main-5J4POBMQ.js" type="module"></script></body>

</body></html>
</html>
Loading

0 comments on commit 420e542

Please sign in to comment.