-
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.
- Loading branch information
Showing
12 changed files
with
6,213 additions
and
6,102 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
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 |
---|---|---|
|
@@ -4,5 +4,5 @@ coverage | |
# Dependency directories | ||
node_modules/ | ||
|
||
# TSDX build / generate output | ||
# build / generated output | ||
dist |
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,21 +1,17 @@ | ||
module.exports = { | ||
"extends": [ | ||
"react-app", | ||
"prettier/@typescript-eslint", | ||
"plugin:prettier/recommended" | ||
], | ||
"settings": { | ||
"react": { | ||
"version": "detect" | ||
} | ||
extends: ['react-app', 'plugin:prettier/recommended'], | ||
settings: { | ||
react: { | ||
version: 'detect', | ||
}, | ||
}, | ||
"rules": { | ||
"@typescript-eslint/no-unused-vars": [ | ||
"warn", | ||
rules: { | ||
'@typescript-eslint/no-unused-vars': [ | ||
'warn', | ||
{ | ||
"args": "after-used", | ||
"ignoreRestSiblings": true | ||
} | ||
args: 'after-used', | ||
ignoreRestSiblings: true, | ||
}, | ||
], | ||
} | ||
}, | ||
} |
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,23 @@ | ||
name: Integration | ||
|
||
on: push | ||
|
||
jobs: | ||
integration: | ||
name: Run integration tests | ||
runs-on: ubuntu-latest | ||
if: "!contains(github.event.head_commit.message, 'skip ci')" | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js 14.x | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 14.x | ||
- name: Install deps (with cache) | ||
uses: bahmutov/npm-install@v1 | ||
- name: Get latest JBrowse | ||
run: mkdir .jbrowse && yarn run jbrowse create --force .jbrowse | ||
- name: Run unit tests | ||
run: yarn test --passWithNoTests | ||
- name: Test plugin | ||
run: yarn run test:e2e |
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 |
---|---|---|
|
@@ -121,3 +121,6 @@ dist | |
# Cypress specific files | ||
cypress/videos | ||
cypress/screenshots | ||
|
||
# Ignore code editor | ||
.vscode |
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,27 @@ | ||
import globals from '@jbrowse/core/ReExports/list' | ||
import { createRollupConfig } from '@jbrowse/development-tools' | ||
|
||
function stringToBoolean(string) { | ||
if (string === undefined) { | ||
return undefined | ||
} | ||
if (string === 'true') { | ||
return true | ||
} | ||
if (string === 'false') { | ||
return false | ||
} | ||
throw new Error('unknown boolean string') | ||
} | ||
|
||
const includeUMD = stringToBoolean(process.env.JB_UMD) | ||
const includeCJS = stringToBoolean(process.env.JB_CJS) | ||
const includeESMBundle = stringToBoolean(process.env.JB_ESM_BUNDLE) | ||
const includeNPM = stringToBoolean(process.env.JB_NPM) | ||
|
||
export default createRollupConfig(globals.default, { | ||
includeUMD, | ||
includeCJS, | ||
includeESMBundle, | ||
includeNPM, | ||
}) |
Oops, something went wrong.