Skip to content

Commit

Permalink
chore: remove protractor
Browse files Browse the repository at this point in the history
  • Loading branch information
nwittstruck committed Apr 13, 2024
1 parent 696e267 commit a3c540f
Show file tree
Hide file tree
Showing 8 changed files with 478 additions and 1,244 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18-buster as base
FROM node:20.12-bookworm as base

USER node
WORKDIR /home/node/app
Expand All @@ -12,7 +12,8 @@ RUN set -eux ; \
python3 \
&& rm -rf /var/lib/apt/lists/*

#USER node
USER node

# Set up Chromium Headless flags
ENV CHROME_BIN=/usr/bin/chromium
ENV CHROME_PATH=/usr/lib/chromium/
Expand Down
33 changes: 12 additions & 21 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
"outputPath": "www",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": ["zone.js"],
"polyfills": [
"zone.js"
],
"tsConfig": "tsconfig.app.json",
"assets": [
{
Expand All @@ -31,7 +33,10 @@
},
"src/manifest.webmanifest"
],
"styles": ["src/theme/variables.scss", "src/global.scss"],
"styles": [
"src/theme/variables.scss",
"src/global.scss"
],
"scripts": [
"src/assets/js/webm.js"
],
Expand Down Expand Up @@ -83,8 +88,7 @@
"production": {
"buildTarget": "app:build:production"
},
"ci": {
}
"ci": {}
}
},
"extract-i18n": {
Expand All @@ -97,7 +101,9 @@
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/test.ts",
"polyfills": ["zone.js"],
"polyfills": [
"zone.js"
],
"tsConfig": "tsconfig.spec.json",
"karmaConfig": "karma.conf.js",
"styles": [],
Expand Down Expand Up @@ -132,21 +138,6 @@
]
}
},
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "e2e/protractor.conf.js",
"devServerTarget": "app:serve"
},
"configurations": {
"production": {
"devServerTarget": "app:serve:production"
},
"ci": {
"devServerTarget": "app:serve:ci"
}
}
},
"ionic-cordova-build": {
"builder": "@ionic/angular-toolkit:cordova-build",
"options": {
Expand Down Expand Up @@ -189,4 +180,4 @@
"styleext": "scss"
}
}
}
}
37 changes: 0 additions & 37 deletions e2e/protractor.conf.js

This file was deleted.

14 changes: 0 additions & 14 deletions e2e/src/app.e2e-spec.ts

This file was deleted.

11 changes: 0 additions & 11 deletions e2e/src/app.po.ts

This file was deleted.

12 changes: 0 additions & 12 deletions e2e/tsconfig.json

This file was deleted.

15 changes: 7 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,21 +50,20 @@
"@types/file-saver": "2.0.5",
"@types/jasmine": "3.6.0",
"@types/jasminewd2": "2.0.3",
"@types/node": "12.11.1",
"@typescript-eslint/eslint-plugin": "4.16.1",
"@typescript-eslint/parser": "4.16.1",
"eslint": "7.6.0",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-jsdoc": "30.7.6",
"eslint-plugin-prefer-arrow": "1.2.2",
"@types/node": "20.12.7",
"@typescript-eslint/eslint-plugin": "7.6.0",
"@typescript-eslint/parser": "7.6.0",
"eslint": "8.57.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jsdoc": "48.2.3",
"eslint-plugin-prefer-arrow": "1.2.3",
"jasmine-core": "5.1.2",
"jasmine-spec-reporter": "7.0.0",
"karma": "6.4.3",
"karma-chrome-launcher": "3.2.0",
"karma-coverage": "2.2.1",
"karma-jasmine": "5.1.0",
"karma-jasmine-html-reporter": "2.1.0",
"protractor": "7.0.0",
"ts-node": "8.3.0",
"typescript": "5.4.5"
},
Expand Down
Loading

0 comments on commit a3c540f

Please sign in to comment.