Skip to content

Commit

Permalink
Merge pull request #532 from OmkarPh/v4.0-react-typescript
Browse files Browse the repository at this point in the history
GSoC`22 - Refactored workbench to react+typescript v4.0 & schema updates for latest version
  • Loading branch information
OmkarPh authored Apr 13, 2023
2 parents c60f024 + 84d2e20 commit bd7c7b1
Show file tree
Hide file tree
Showing 489 changed files with 36,620 additions and 255,084 deletions.
106 changes: 21 additions & 85 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,87 +1,23 @@
{
"env": {
"browser": true,
"es6": true,
"node": true,
"jquery": true
},
"globals": {
"c3": false,
"d3": false,
"ProgressBar": false,
"Split": false,
"describe": false,
"it": false
},
"extends": "eslint:recommended",
"parserOptions": {
"sourceType": "module"
},
"rules": {
"indent": [
"error",
2
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single",
{
"avoidEscape": true,
"allowTemplateLiterals": true
}
],
"semi": [
"error",
"always"
],
"no-console": [
"error",
{
"allow": [
"warn",
"error",
"info",
"time",
"log",
"timeEnd"
]
}
],
"space-infix-ops": [
"error",
{
"int32Hint": false
}
],
"space-before-blocks": "error",
"keyword-spacing": [
"error",
{
"before": true
}
],
"one-var": [
"error",
"never"
],
"padded-blocks": [
"error",
"never"
],
"space-in-parens": [
"error",
"never"
],
"prefer-const": "error",
"prefer-arrow-callback": "error",
"arrow-spacing": "error",
"arrow-parens": [
"error",
"always"
]
"env": {
"browser": true,
"es6": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/recommended",
"plugin:import/electron",
"plugin:import/typescript"
],
"parser": "@typescript-eslint/parser",
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
}
}
},
}
1 change: 0 additions & 1 deletion .gitattributes

This file was deleted.

60 changes: 60 additions & 0 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# name of your github action
name: Release

# this will help you specify when & which branch to run deployment
on:
push:
tags:
- v*

jobs:
create_release:
name: Create Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
# - name: Exit if tag not is not pointing to a commit in master branch
# if: endsWith(github.ref, 'master') == false
# run: exit -1
- name: Get release tag
id: tag
uses: dawidd6/action-get-tag@v1
with:
strip_v: false
- name: Create Release
id: create_release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{steps.tag.outputs.tag}}
name: Release ${{steps.tag.outputs.tag}}
body_path: ./Release.md
draft: false
prerelease: false
generate_release_notes: false

build:
needs: create_release
name: Build Release archives
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@master
- uses: actions/setup-python@v4
with:
python-version: 3.9
- uses: actions/setup-node@master
with:
node-version: 16.13.0
- name: Install dependencies
run: npm install
- name: Build Workbench & create archive for ${{ matrix.os }}
run: npm run publish
- name: Verify Generated archive in dist/
run: ls ./dist
- name: Upload release assets
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ github.ref_name }}
files: dist/*
121 changes: 85 additions & 36 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,42 +1,91 @@
*.py[cod]

# virtualenv and other misc bits
*.egg-info
/dist
/build
/bin
/lib
/scripts
/Scripts
/Lib
/tmp
.Python
/include
/Include
/local
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock
.DS_Store

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
release-builds-*
dist/*

# Dependency directories
node_modules/
bower_components/
docs/build
jspm_packages/

# Installer logs
debug.log
npm-debug.log
# TypeScript v1 declaration files
typings/

# IDEs
.project
.pydevproject
.idea
.vscode
# TypeScript cache
*.tsbuildinfo

.DS_Store
*~
.*.sw[po]
.build
.ve
.venv
*.bak
/.cache/
# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache

# next.js build output
.next

# nuxt.js build output
.nuxt

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# Webpack
.webpack/

# Generated sqlite files
*.sqlite
# Electron-Forge
out/
73 changes: 0 additions & 73 deletions .travis.yml

This file was deleted.

Loading

0 comments on commit bd7c7b1

Please sign in to comment.