Skip to content

Commit

Permalink
feat: first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
aaron-steinfeld committed Jun 28, 2020
0 parents commit bbbb19d
Show file tree
Hide file tree
Showing 137 changed files with 28,517 additions and 0 deletions.
54 changes: 54 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
version: 2.1
orbs:
codecov: codecov/codecov@1
executors:
node:
docker:
- image: circleci/node:14.3
jobs:
build:
executor: node
steps:
- checkout
- restore_cache:
keys:
- v1-dependencies-{{ checksum "package.json" }}-{{ checksum "package-lock.json" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-
- run: npm ci
- save_cache:
paths:
- ~/.npm
key: v1-dependencies-{{ checksum "package.json" }}-{{ checksum "package-lock.json" }}
- run: npm run build
- run: npm run test:prod
- codecov/upload
- store_test_results:
path: test-results
- store_artifacts:
path: test-results
publish:
executor: node
steps:
- checkout
- restore_cache:
keys:
- v1-dependencies-{{ checksum "package.json" }}-{{ checksum "package-lock.json" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-
- run: npm ci
- run: npm run build
- run: npm run semantic-release
workflows:
version: 2
build-and-publish:
jobs:
- build
- publish:
context: hypertrace-publishing
requires:
- build
filters:
branches:
only:
- master
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#root = true

[*]
indent_style = space
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 100
indent_size = 2

[*.md]
trim_trailing_whitespace = false
4 changes: 4 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Each line is a file pattern followed by one or more owners.

# global
* @aaron-steinfeld
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: 'npm'
directory: '/'
schedule:
interval: 'weekly'
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
node_modules
coverage
.nyc_output
.DS_Store
*.log
.idea
dist
compiled
.awcache
.rpt2_cache
docs
test-results
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@hypertrace:registry https://api.bintray.com/npm/hypertrace/npm
6 changes: 6 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"singleQuote": true,
"printWidth": 120,
"trailingComma": "none",
"arrowParens": "avoid"
}
35 changes: 35 additions & 0 deletions .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
version: v1.0
name: Dash POC
agent:
machine:
type: e1-standard-2
os_image: ubuntu1804

blocks:
- name: Install dependencies
task:
prologue:
commands:
- sem-version node 11.1
jobs:
- name: npm install and cache
commands:
- checkout
- cache restore node-modules-$(checksum package-lock.json)
- npm install
- cache store node-modules-$(checksum package-lock.json) node_modules

- name: "Build"
task:
prologue:
commands:
- sem-version node 11.1
- checkout
- cache restore node-modules-$(checksum package-lock.json)
jobs:
- name: npm run build
commands:
- npm run build
- name: npm run test:prod
commands:
- npm run test:prod
9 changes: 9 additions & 0 deletions .snyk
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
version: v1.14.1
# ignores vulnerabilities until expiry date; change duration by modifying expiry date
ignore:
SNYK-JS-LODASH-567746:
- '*':
reason: no fix or usages of vulnerable method
expires: 2020-09-30T00:00:00.000Z
patch: {}
21 changes: 21 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug hyperdash",
"type": "node",
"request": "launch",
"runtimeArgs": [
"--inspect-brk",
"${workspaceFolder}/node_modules/.bin/jest",
"--runInBand",
"--coverage",
"false"
],
"console": "internalConsole",
"internalConsoleOptions": "openOnSessionStart",
"port": 9229,
"sourceMaps": true
}
]
}
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"typescript.preferences.quoteStyle": "single",
"typescript.preferences.importModuleSpecifier": "relative"
}
Loading

0 comments on commit bbbb19d

Please sign in to comment.