Skip to content

Upgrade to Angular 17 #107

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

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
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
19 changes: 12 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
sudo: required
dist: trusty
dist: jammy
language: node_js
node_js:
- '14.18.1'
- '20.11.0'
addons:
apt:
update: true
Expand All @@ -12,21 +12,26 @@ addons:
- dpkg
chrome: stable


services:
- docker
- xvfb

before_script:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- ./node_modules/protractor/bin/webdriver-manager update --versions.chrome=96.0.4664.45 --gecko=false
- export NODE_OPTIONS="--max-old-space-size=8192"

before_install:
- export CHROME_BIN=/usr/bin/google-chrome
- export DISPLAY=:99.0
- npm i -g npm@8.19.4
- npm --version
- docker pull mysql:5.7.22
- docker run --name db -d -e MYSQL_ROOT_PASSWORD=supersecret -e MYSQL_DATABASE=SEED -e MYSQL_USER=SEED -e MYSQL_PASSWORD=SEED -p 3307:3306 mysql:5.7.22
- docker pull systelab/seed-jee:latest
- docker run --link db:db -d -e MYSQL_HOST=db -e MYSQL_PORT=3306 -e MYSQL_DATABASE=SEED -e MYSQL_USER=SEED -e MYSQL_PASSWORD=SEED -p 8080:8080 systelab/seed-jee:latest

install:
- npm install
- npm ci

script:
- npm run e2e
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ cd seed-angular

### Install Dependencies

To install the dependencies you must run:
To install the dependencies you need to install Node and run the following command:

```bash
npm install
Expand Down
6 changes: 3 additions & 3 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,18 +106,18 @@
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "seed-angular:build"
"buildTarget": "seed-angular:build"
},
"configurations": {
"production": {
"browserTarget": "seed-angular:build:production"
"buildTarget": "seed-angular:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "seed-angular:build"
"buildTarget": "seed-angular:build"
}
},
"test": {
Expand Down
100 changes: 0 additions & 100 deletions e2e/README.md

This file was deleted.

26 changes: 0 additions & 26 deletions e2e/general-parameters.ts

This file was deleted.

72 changes: 0 additions & 72 deletions e2e/protractor.conf.js

This file was deleted.

46 changes: 0 additions & 46 deletions e2e/src/login/page-objects/login.po.ts

This file was deleted.

20 changes: 0 additions & 20 deletions e2e/src/login/services/login-action.service.ts

This file was deleted.

11 changes: 0 additions & 11 deletions e2e/src/login/services/login-navigation.service.ts

This file was deleted.

42 changes: 0 additions & 42 deletions e2e/src/login/tests/login.e2e-spec.ts

This file was deleted.

Loading