This file contains hidden or 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
#!/usr/bin/env bash | |
DOCKER_PATH=$(which docker) | |
# PORT Number Definition | |
# ---------------------------------------------- | |
# system ports | |
PORT_JENKINS="9110" | |
PORT_PORTAINER="9120" |
This file contains hidden or 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
/** | |
* Converts paths defined in tsconfig.json to the format of | |
* moduleNameMapper in jest.config.js. | |
* | |
* For example, {'@alias/*': [ 'path/to/alias/*' ]} | |
* Becomes {'@alias/(.*)': [ '<rootDir>/path/to/alias/$1' ]} | |
* | |
* @param {string} srcPath | |
* @param {string} tsconfigPath | |
*/ |
This file contains hidden or 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
{ | |
"Use Non-ASCII Font" : true, | |
"Tags" : [ | |
], | |
"Ansi 12 Color" : { | |
"Red Component" : 0.28794747591018677, | |
"Color Space" : "Calibrated", | |
"Blue Component" : 0.99877303838729858, | |
"Alpha Component" : 1, |
This file contains hidden or 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
version: 2 | |
defaults: &defaults | |
working_directory: ~/repo | |
docker: | |
- image: circleci/node:14.15.3 | |
jobs: | |
test: | |
<<: *defaults |
This file contains hidden or 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
version: 2 | |
defaults: &defaults | |
working_directory: ~/repo | |
docker: | |
- image: circleci/node:14.15.3 | |
This file contains hidden or 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
jobs: | |
test: | |
<<: *defaults | |
steps: | |
- checkout | |
- restore_cache: | |
keys: | |
- v1-dependencies-{{ checksum "package.json" }} | |
- v1-dependencies- | |
- run: npm install |
This file contains hidden or 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
build: | |
<<: *defaults | |
steps: | |
- attach_workspace: | |
at: ~/repo | |
- run: npm run build | |
- persist_to_workspace: | |
root: ~/repo | |
paths: | |
- . |
This file contains hidden or 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
release: | |
<<: *defaults | |
steps: | |
- attach_workspace: | |
at: ~/repo | |
- run: | |
name: Add github.com to known hosts | |
command: mkdir ~/.ssh && ssh-keyscan github.com >> ~/.ssh/known_hosts | |
- run: | |
name: Versioning |
This file contains hidden or 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
workflows: | |
version: 2 | |
test-deploy: | |
jobs: | |
- test | |
- build: | |
requires: | |
- test | |
- release: | |
filters: |
This file contains hidden or 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
src | |
.prettierrc | |
.gitignore | |
.eslintrc | |
.eslintignore | |
.editorconfig | |
.circleci | |
tsconfig.json | |
jest.config.js |
OlderNewer