Skip to content

Commit

Permalink
Merge pull request #11 from travis-w/beta
Browse files Browse the repository at this point in the history
Version 1.0.0
  • Loading branch information
travis-w committed Aug 31, 2022
2 parents f21dda5 + 9b5a470 commit 12c4723
Show file tree
Hide file tree
Showing 104 changed files with 3,372 additions and 3,280 deletions.
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

54 changes: 54 additions & 0 deletions .eslintrc
@@ -0,0 +1,54 @@
{
"env": {
"browser": true,
"es2021": true,
"node": true
},
"settings": {
"react": {
"version": "detect"
}
},
"extends": [
"eslint:recommended",
"plugin:import/recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"react",
"@typescript-eslint"
],
"rules": {
"@typescript-eslint/indent": ["error", 2, { "ignoredNodes": ["PropertyDefinition"] }],
"@typescript-eslint/no-unused-vars": ["error"],
"linebreak-style": ["error", "unix"],
"quotes": ["error", "single"],
"semi": ["error", "always"],
"import/no-unresolved": 0,
"import/order": ["error", {
"groups": ["builtin", "external", "internal"],
"newlines-between": "always",
"alphabetize": {
"order": "asc",
"caseInsensitive": true
}
}],
"prefer-const": ["error", {
"ignoreReadBeforeAssign": true
}],
"no-async-promise-executor": 0,
"no-empty": 0,
"react/react-in-jsx-scope": "off",
"@typescript-eslint/no-empty-function": "off",
"react/prop-types": "off"
}
}
14 changes: 0 additions & 14 deletions .eslintrc.js

This file was deleted.

36 changes: 14 additions & 22 deletions .github/workflows/workflow.yml
@@ -1,25 +1,21 @@
name: Testing and Release
name: CI/CD

# Run on push to all branches. But only PRs to master
on:
push:
branches:
- '*'

pull_request:
branches:
- 'master'

jobs:
test:
name: Test

runs-on: ubuntu-latest

runs-on: macos-latest
strategy:
matrix:
node-version: [12.x, 14.x, 16.x]

node-version: [14.x, 16.x, 18.x]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -28,43 +24,37 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
run: npm i --legacy-peer-deps
- name: Build Project
run: npm run build
- name: Run Litning
run: npm run lint
run: npm i
- name: Run Tests
run: npm test
- name: Run Linting
run: npm run lint
- name: Build Project
run: npm run build
- name: Coveralls Parallel
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: run-${{ matrix.test_number }}
path-to-lcov: './test/coverage/lcov.info'
path-to-lcov: './coverage/lcov.info'
parallel: true


coveralls:
name: Coveralls
needs: test

runs-on: ubuntu-latest

runs-on: macos-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: './test/coverage/lcov.info'
path-to-lcov: './coverage/lcov.info'
parallel-finished: true


release:
name: Release
needs: test

runs-on: ubuntu-latest

runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -76,6 +66,8 @@ jobs:
run: npm i
- name: Build Project
run: npm run build
- name: Build Types
run: npm run build:types
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
34 changes: 10 additions & 24 deletions .gitignore
Expand Up @@ -4,6 +4,8 @@ logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Lock Files
package-lock.json
yarn.lock

Expand All @@ -19,28 +21,10 @@ lib-cov
# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Typescript v1 declaration files
typings/

# Optional npm cache directory
.npm

Expand All @@ -53,12 +37,14 @@ typings/
# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

hijacker.config.json
lib/frontend/*
storybook-static
# Hijacker config
hijacker.config.js*

# Output
dist

# Editor settings
.vscode

0 comments on commit 12c4723

Please sign in to comment.