Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dependencies: update to angular 11 #445

Merged
merged 1 commit into from
Dec 3, 2020
Merged
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
30 changes: 30 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: build

on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [12.x]

steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: install package
run: |
npm install -g @angular/cli@11
npm ci
- name: run tests
run: |
./run-tests.sh
npm run pack

env:
CI: true
35 changes: 0 additions & 35 deletions .github/workflows/npmpublish-on-release.yml

This file was deleted.

16 changes: 0 additions & 16 deletions .travis.yml

This file was deleted.

57 changes: 24 additions & 33 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,19 @@
"builder": "@angular-devkit/build-angular:browser",
"options": {
"preserveSymlinks": true,
"outputPath": "dist/admin",
"outputPath": "build/dist/admin",
"index": "projects/admin/src/index.html",
"main": "projects/admin/src/main.ts",
"polyfills": "projects/admin/src/polyfills.ts",
"tsConfig": "projects/admin/tsconfig.app.json",
"aot": false,
"aot": true,
"assets": [
"projects/admin/src/assets"
],
"styles": [
"node_modules/bootstrap/scss/bootstrap.scss",
"node_modules/ngx-bootstrap/datepicker/bs-datepicker.css",
"node_modules/font-awesome/scss/font-awesome.scss",
"projects/admin/src/app/scss/styles.scss"
],
"scripts": [
"node_modules/jquery/dist/jquery.js",
{
"input": "node_modules/document-register-element/build/document-register-element.js"
}
]
"scripts": []
},
"configurations": {
"production": {
Expand All @@ -47,18 +39,20 @@
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": false,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"deployUrl": "/static/node_modules/@rero/rero-ils-ui/dist/admin/",
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumWarning": "2.5mb",
"maximumError": "5mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
]
}
Expand Down Expand Up @@ -90,9 +84,6 @@
"karmaConfig": "projects/admin/karma.conf.js",
"assets": [],
"styles": [
"node_modules/bootstrap/scss/bootstrap.scss",
"node_modules/ngx-bootstrap/datepicker/bs-datepicker.css",
"node_modules/font-awesome/scss/font-awesome.scss",
"projects/admin/src/app/scss/styles.scss"
],
"scripts": []
Expand Down Expand Up @@ -136,19 +127,17 @@
"builder": "@angular-devkit/build-angular:browser",
"options": {
"preserveSymlinks": true,
"outputPath": "dist/public-search",
"outputPath": "build/dist/public-search",
"index": "projects/public-search/src/index.html",
"main": "projects/public-search/src/main.ts",
"polyfills": "projects/public-search/src/polyfills.ts",
"tsConfig": "projects/public-search/tsconfig.app.json",
"aot": false,
"aot": true,
"assets": [
"projects/public-search/src/favicon.ico",
"projects/public-search/src/assets"
],
"styles": [
"projects/public-search/src/styles.css"
],
"styles": [],
"scripts": []
},
"configurations": {
Expand All @@ -162,9 +151,7 @@
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": false,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
Expand All @@ -174,6 +161,10 @@
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
]
}
Expand Down Expand Up @@ -205,9 +196,7 @@
"tsConfig": "projects/public-search/tsconfig.spec.json",
"karmaConfig": "projects/public-search/karma.conf.js",
"assets": [],
"styles": [
"projects/public-search/src/styles.css"
],
"styles": [],
"scripts": []
}
},
Expand Down Expand Up @@ -248,16 +237,14 @@
"build": {
"builder": "ngx-build-plus:build",
"options": {
"outputPath": "dist/search-bar",
"outputPath": "build/dist/search-bar",
"index": "projects/search-bar/src/index.html",
"main": "projects/search-bar/src/main.ts",
"polyfills": "projects/search-bar/src/polyfills.ts",
"tsConfig": "projects/search-bar/tsconfig.app.json",
"aot": false,
"assets": [],
"styles": [
"projects/search-bar/src/styles.css"
],
"styles": [],
"scripts": []
},
"configurations": {
Expand All @@ -271,7 +258,6 @@
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": false,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
Expand Down Expand Up @@ -338,10 +324,15 @@
"prefix": "shared",
"architect": {
"build": {
"builder": "@angular-devkit/build-ng-packagr:build",
"builder": "@angular-devkit/build-angular:ng-packagr",
"options": {
"tsConfig": "projects/shared/tsconfig.lib.json",
"project": "projects/shared/ng-package.json"
},
"configurations": {
"production": {
"tsConfig": "projects/shared/tsconfig.lib.prod.json"
}
}
},
"test": {
Expand Down
Loading