Skip to content

Commit bd7c7b1

Browse files
authored
Merge pull request #532 from OmkarPh/v4.0-react-typescript
GSoC`22 - Refactored workbench to react+typescript v4.0 & schema updates for latest version
2 parents c60f024 + 84d2e20 commit bd7c7b1

File tree

489 files changed

+36620
-255084
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

489 files changed

+36620
-255084
lines changed

.eslintrc.json

Lines changed: 21 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -1,87 +1,23 @@
11
{
2-
"env": {
3-
"browser": true,
4-
"es6": true,
5-
"node": true,
6-
"jquery": true
7-
},
8-
"globals": {
9-
"c3": false,
10-
"d3": false,
11-
"ProgressBar": false,
12-
"Split": false,
13-
"describe": false,
14-
"it": false
15-
},
16-
"extends": "eslint:recommended",
17-
"parserOptions": {
18-
"sourceType": "module"
19-
},
20-
"rules": {
21-
"indent": [
22-
"error",
23-
2
24-
],
25-
"linebreak-style": [
26-
"error",
27-
"unix"
28-
],
29-
"quotes": [
30-
"error",
31-
"single",
32-
{
33-
"avoidEscape": true,
34-
"allowTemplateLiterals": true
35-
}
36-
],
37-
"semi": [
38-
"error",
39-
"always"
40-
],
41-
"no-console": [
42-
"error",
43-
{
44-
"allow": [
45-
"warn",
46-
"error",
47-
"info",
48-
"time",
49-
"log",
50-
"timeEnd"
51-
]
52-
}
53-
],
54-
"space-infix-ops": [
55-
"error",
56-
{
57-
"int32Hint": false
58-
}
59-
],
60-
"space-before-blocks": "error",
61-
"keyword-spacing": [
62-
"error",
63-
{
64-
"before": true
65-
}
66-
],
67-
"one-var": [
68-
"error",
69-
"never"
70-
],
71-
"padded-blocks": [
72-
"error",
73-
"never"
74-
],
75-
"space-in-parens": [
76-
"error",
77-
"never"
78-
],
79-
"prefer-const": "error",
80-
"prefer-arrow-callback": "error",
81-
"arrow-spacing": "error",
82-
"arrow-parens": [
83-
"error",
84-
"always"
85-
]
2+
"env": {
3+
"browser": true,
4+
"es6": true,
5+
"node": true
6+
},
7+
"extends": [
8+
"eslint:recommended",
9+
"plugin:@typescript-eslint/eslint-recommended",
10+
"plugin:@typescript-eslint/recommended",
11+
"plugin:import/recommended",
12+
"plugin:import/electron",
13+
"plugin:import/typescript"
14+
],
15+
"parser": "@typescript-eslint/parser",
16+
"settings": {
17+
"import/resolver": {
18+
"node": {
19+
"extensions": [".js", ".jsx", ".ts", ".tsx"]
20+
}
8621
}
87-
}
22+
},
23+
}

.gitattributes

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/workflows/Release.yml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# name of your github action
2+
name: Release
3+
4+
# this will help you specify when & which branch to run deployment
5+
on:
6+
push:
7+
tags:
8+
- v*
9+
10+
jobs:
11+
create_release:
12+
name: Create Release
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@master
16+
# - name: Exit if tag not is not pointing to a commit in master branch
17+
# if: endsWith(github.ref, 'master') == false
18+
# run: exit -1
19+
- name: Get release tag
20+
id: tag
21+
uses: dawidd6/action-get-tag@v1
22+
with:
23+
strip_v: false
24+
- name: Create Release
25+
id: create_release
26+
uses: softprops/action-gh-release@v1
27+
with:
28+
tag_name: ${{steps.tag.outputs.tag}}
29+
name: Release ${{steps.tag.outputs.tag}}
30+
body_path: ./Release.md
31+
draft: false
32+
prerelease: false
33+
generate_release_notes: false
34+
35+
build:
36+
needs: create_release
37+
name: Build Release archives
38+
strategy:
39+
matrix:
40+
os: [ubuntu-latest, macos-latest, windows-latest]
41+
runs-on: ${{ matrix.os }}
42+
steps:
43+
- uses: actions/checkout@master
44+
- uses: actions/setup-python@v4
45+
with:
46+
python-version: 3.9
47+
- uses: actions/setup-node@master
48+
with:
49+
node-version: 16.13.0
50+
- name: Install dependencies
51+
run: npm install
52+
- name: Build Workbench & create archive for ${{ matrix.os }}
53+
run: npm run publish
54+
- name: Verify Generated archive in dist/
55+
run: ls ./dist
56+
- name: Upload release assets
57+
uses: softprops/action-gh-release@v1
58+
with:
59+
tag_name: ${{ github.ref_name }}
60+
files: dist/*

.gitignore

Lines changed: 85 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,91 @@
1-
*.py[cod]
2-
3-
# virtualenv and other misc bits
4-
*.egg-info
5-
/dist
6-
/build
7-
/bin
8-
/lib
9-
/scripts
10-
/Scripts
11-
/Lib
12-
/tmp
13-
.Python
14-
/include
15-
/Include
16-
/local
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
lerna-debug.log*
8+
9+
# Diagnostic reports (https://nodejs.org/api/report.html)
10+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
11+
12+
# Runtime data
13+
pids
14+
*.pid
15+
*.seed
16+
*.pid.lock
17+
.DS_Store
18+
19+
# Directory for instrumented libs generated by jscoverage/JSCover
20+
lib-cov
21+
22+
# Coverage directory used by tools like istanbul
23+
coverage
24+
*.lcov
25+
26+
# nyc test coverage
27+
.nyc_output
28+
29+
# node-waf configuration
30+
.lock-wscript
31+
32+
# Compiled binary addons (https://nodejs.org/api/addons.html)
33+
build/Release
34+
release-builds-*
35+
dist/*
36+
37+
# Dependency directories
1738
node_modules/
18-
bower_components/
19-
docs/build
39+
jspm_packages/
2040

21-
# Installer logs
22-
debug.log
23-
npm-debug.log
41+
# TypeScript v1 declaration files
42+
typings/
2443

25-
# IDEs
26-
.project
27-
.pydevproject
28-
.idea
29-
.vscode
44+
# TypeScript cache
45+
*.tsbuildinfo
3046

31-
.DS_Store
32-
*~
33-
.*.sw[po]
34-
.build
35-
.ve
36-
.venv
37-
*.bak
38-
/.cache/
47+
# Optional npm cache directory
48+
.npm
49+
50+
# Optional eslint cache
51+
.eslintcache
52+
53+
# Optional REPL history
54+
.node_repl_history
55+
56+
# Output of 'npm pack'
57+
*.tgz
58+
59+
# Yarn Integrity file
60+
.yarn-integrity
61+
62+
# dotenv environment variables file
63+
.env
64+
.env.test
65+
66+
# parcel-bundler cache (https://parceljs.org/)
67+
.cache
68+
69+
# next.js build output
70+
.next
71+
72+
# nuxt.js build output
73+
.nuxt
74+
75+
# vuepress build output
76+
.vuepress/dist
77+
78+
# Serverless directories
79+
.serverless/
80+
81+
# FuseBox cache
82+
.fusebox/
83+
84+
# DynamoDB Local files
85+
.dynamodb/
3986

87+
# Webpack
88+
.webpack/
4089

41-
# Generated sqlite files
42-
*.sqlite
90+
# Electron-Forge
91+
out/

.travis.yml

Lines changed: 0 additions & 73 deletions
This file was deleted.

0 commit comments

Comments
 (0)