-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Angular 14, Cypress 10, Google Sheets block, share metadata with flow…
…, state reactive mapping block, documentation Merges pull request #331 from kendraio/develop
- Loading branch information
Showing
57 changed files
with
12,200 additions
and
14,814 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,26 @@ | ||
# Establish a development environment for Kendraio | ||
# | ||
# This builds on top of microsoft's codespace container for typescript | ||
|
||
# [Choice] Node.js version (use -bullseye variants on local arm64/Apple Silicon): 18, 16, 14, 18-bullseye, 16-bullseye, 14-bullseye, 18-buster, 16-buster, 14-buster | ||
ARG VARIANT=16-bullseye | ||
FROM mcr.microsoft.com/vscode/devcontainers/typescript-node:0-${VARIANT} | ||
|
||
|
||
# Install additional packages | ||
|
||
# Karma and Cypress both require electron. | ||
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ | ||
&& apt-get -y install --no-install-recommends libgtk2.0-0 \ | ||
libgtk-3-0 \ | ||
libgbm-dev \ | ||
libnotify-dev \ | ||
libgconf-2-4 \ | ||
libnss3 \ | ||
libxss1 \ | ||
libasound2 \ | ||
libxtst6 xauth xvfb \ | ||
openssh-server | ||
|
||
# Install more global node packages | ||
RUN su node -c "npm install -g @angular/cli --legacy-peer-deps" |
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 |
---|---|---|
@@ -1,7 +1,34 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: | ||
// https://github.com/microsoft/vscode-dev-containers/tree/v0.241.1/containers/typescript-node | ||
{ | ||
"name":"kendraio-app", | ||
"forwardPorts": [4200], | ||
"name": "Node.js & TypeScript", | ||
"build": { | ||
"dockerfile": "Dockerfile", | ||
// Update 'VARIANT' to pick a Node version: 18, 16, 14. | ||
// Append -bullseye or -buster to pin to an OS version. | ||
// Use -bullseye variants on local on arm64/Apple Silicon. | ||
"args": { | ||
"VARIANT": "16-bullseye" | ||
} | ||
}, | ||
|
||
"image": "mcr.microsoft.com/vscode/devcontainers/typescript-node:0-16" | ||
// Configure tool-specific properties. | ||
"customizations": { | ||
// Configure properties specific to VS Code. | ||
"vscode": { | ||
// Add the IDs of extensions you want installed when the container is created. | ||
"extensions": [ | ||
"dbaeumer.vscode-eslint" | ||
] | ||
} | ||
}, | ||
|
||
} | ||
// 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 --legacy-peer-deps", | ||
|
||
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. | ||
"remoteUser": "node" | ||
} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import { defineConfig } from 'cypress' | ||
|
||
export default defineConfig({ | ||
videosFolder: 'cypress/videos', | ||
video: false, | ||
screenshotsFolder: 'cypress/screenshots', | ||
fixturesFolder: 'cypress/fixtures', | ||
reporter: 'mochawesome', | ||
reporterOptions: { | ||
reportDir: 'cypress/results', | ||
overwrite: false, | ||
html: true, | ||
json: true, | ||
}, | ||
watchForFileChanges: false, | ||
projectId: 'ebzwp1', | ||
pageLoadTimeout: 100000, | ||
defaultCommandTimeout: 30000, | ||
retries: { | ||
runMode: 2, | ||
openMode: 2, | ||
}, | ||
experimentalStudio: true, | ||
e2e: { | ||
setupNodeEvents(on, config) {}, | ||
supportFile: false, | ||
baseUrl: 'http://localhost:4200', | ||
specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}', | ||
}, | ||
}) |
This file was deleted.
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
File renamed without changes.
Oops, something went wrong.