-
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.
Merge pull request #87 from justin-hackin/svg-widget-studio
refactoring of widget-agnostic code into separate library svg-widget-studio
- Loading branch information
Showing
165 changed files
with
15,923 additions
and
31,540 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
# SVG Widgets Monorepo | ||
|
||
A monorepo of SVG scripting libraries. It contains the following packages: | ||
* [widgets](packages/widgets/README.md): aka Polyhedz Studio, the root web app serving SVG widgets at [https://polyhedz-studio.vercel.app](https://polyhedz-studio.vercel.app) | ||
* [widgets](packages/widgets/README.md): formerly Polyhedz Studio, the root web app serving SVG widgets at [https://polyhedz-studio.vercel.app]. (https://polyhedz-studio.vercel.app) | ||
* [fluent-svg-path-ts](packages/fluent-svg-path-ts/README.md): library (unpublished) for manipulating SVG path data | ||
* `eslint-config-custom`: TS eslint config extended from airbnb-base + airbnb-typescript (no React) | ||
* `eslint-config-custom-ts`: TS eslint config extended from airbnb-base + airbnb-typescript (no React) | ||
|
||
This repo is under heavy refactoring. The UI/state code for creating widgets will be extracted into a separate library `svg-widget-studio` of which the particular widgets created will depend on. |
Large diffs are not rendered by default.
Oops, something went wrong.
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,30 @@ | ||
const sharedTsRules = require('eslint-config-custom-ts/rules/sharedTsRules'); | ||
|
||
module.exports = { | ||
extends: ['eslint-config-custom-ts'], | ||
overrides: [ | ||
{ | ||
files: ['**/*.ts', '**/*.tsx'], | ||
extends: ['eslint-config-airbnb', 'eslint-config-airbnb-typescript'], | ||
parser: '@typescript-eslint/parser', | ||
parserOptions: { | ||
ecmaFeatures: { | ||
jsx: true, | ||
}, | ||
ecmaVersion: 2020, | ||
sourceType: 'module', | ||
project: './tsconfig.json', | ||
}, | ||
plugins: ['react', 'jsx-a11y','@typescript-eslint', 'import'], | ||
rules: { | ||
...sharedTsRules, | ||
'react/jsx-props-no-spreading': 0, | ||
'react/prop-types': 0, | ||
'react/no-array-index': 0, | ||
'react/no-array-index-key': 0, | ||
'react/require-default-props': 0, | ||
'react/function-component-definition': 0, | ||
}, | ||
}, | ||
], | ||
}; |
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,24 @@ | ||
{ | ||
"name": "eslint-config-custom-react", | ||
"version": "1.0.0", | ||
"description": "", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"author": "", | ||
"license": "ISC", | ||
"dependencies": { | ||
"eslint-config-custom-ts": "*", | ||
"eslint-config-airbnb": "^19.0.4" | ||
}, | ||
"peerDependencies": { | ||
"eslint-import-resolver-typescript": ">= 3", | ||
"eslint-plugin-import": ">= 2", | ||
"@typescript-eslint/eslint-plugin": ">= 5", | ||
"eslint": ">= 8", | ||
"eslint-plugin-jsx-a11y": ">= 6", | ||
"eslint-plugin-react": ">= 7", | ||
"typescript": ">= 4" | ||
} | ||
} |
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
Oops, something went wrong.
dac3897
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
polyhedz-studio – ./
polyhedz-studio.vercel.app
polyhedz-studio-justin-hackin.vercel.app
polyhedz-studio-git-web-justin-hackin.vercel.app