-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: add devcontainer * chore: add dockerfile * test: ignore electron in cypress * test: fix broken test for report selector * build: downgrade cypress to 13.8.1
- Loading branch information
1 parent
6ef199f
commit ddabe23
Showing
7 changed files
with
113 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# See http://help.github.com/ignore-files/ for more about ignoring files. | ||
|
||
# Compiled output | ||
../dist | ||
../tmp | ||
../out-tsc | ||
../bazel-out | ||
|
||
# Node | ||
../node_modules | ||
../npm-debug.log | ||
../yarn-error.log | ||
|
||
# IDEs and editors | ||
../.env | ||
../.idea/ | ||
../.project | ||
../.classpath | ||
../.c9/ | ||
../*.launch | ||
../.settings/ | ||
../*.sublime-workspace | ||
|
||
# Visual Studio Code | ||
../.vscode/* | ||
../!.vscode/settings.json | ||
../!.vscode/tasks.json | ||
../!.vscode/launch.json | ||
../!.vscode/extensions.json | ||
../.history/* | ||
|
||
# Miscellaneous | ||
../.angular/cache | ||
../.sass-cache/ | ||
../connect.lock | ||
../coverage | ||
../libpeerconnection.log | ||
../testem.log | ||
../typings | ||
../cypress/downloads | ||
|
||
# System files | ||
../.DS_Store | ||
../Thumbs.db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM mcr.microsoft.com/devcontainers/typescript-node:1-20-bullseye | ||
|
||
# Download and install Chrome | ||
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \ | ||
&& echo "deb http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google.list \ | ||
&& apt-get update \ | ||
&& apt-get install -y google-chrome-stable xvfb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the | ||
// README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node | ||
{ | ||
"name": "Custom Reports for YNAB", | ||
|
||
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile | ||
"build": { | ||
"dockerfile": "Dockerfile" | ||
}, | ||
// Load environment variables | ||
"runArgs": ["--env-file=${localWorkspaceFolder}/.env"], | ||
|
||
// Features to add to the dev container. More info: https://containers.dev/features. | ||
"features": { | ||
"ghcr.io/devcontainers-contrib/features/angular-cli:2": {}, | ||
"ghcr.io/schlich/devcontainer-features/cypress:1": {} | ||
}, | ||
|
||
// Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
"forwardPorts": [4200], | ||
|
||
// Use 'postCreateCommand' to run commands after the container is created. | ||
"postCreateCommand": "npm install", | ||
|
||
// TODO: Figure out a better way to handle this | ||
// Reinstall Cypress | ||
// https://github.com/cypress-io/cypress/issues/2610 | ||
"postStartCommand": "./node_modules/.bin/cypress install", | ||
|
||
// Configure tool-specific properties. | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"esbenp.prettier-vscode", | ||
"streetsidesoftware.code-spell-checker", | ||
"editorconfig.editorconfig", | ||
"rvest.vs-code-prettier-eslint", | ||
"ms-vscode.vscode-typescript-next", | ||
"angular.ng-template" | ||
], | ||
"settings": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.formatOnSave": true | ||
} | ||
} | ||
} | ||
|
||
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. | ||
// "remoteUser": "root" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters