Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

Commit

Permalink
fix(react): fixed react build
Browse files Browse the repository at this point in the history
  • Loading branch information
favna committed Jun 11, 2020
1 parent 48ca3f2 commit bab8808
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 295 deletions.
3 changes: 2 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"files": ["packages/core/**"],
"rules": {
"react/react-in-jsx-scope": 0,
"@typescript-eslint/no-unused-vars": 0
"@typescript-eslint/no-unused-vars": 0,
"@typescript-eslint/ban-types": 0
}
},
{
Expand Down
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,13 @@
"devDependencies": {
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"@favware/eslint-config-react-app": "^0.1.0-alpha.0",
"@favware/ts-config": "^3.0.0",
"@favware/eslint-config-react-app": "^1.0.0",
"@favware/ts-config": "^3.0.2",
"@types/clipboard": "^2.0.0",
"@types/node": "^14.0.13",
"@types/react": "^16.9.35",
"@types/react": "^16.9.36",
"@types/react-dom": "^16.9.8",
"cz-conventional-changelog": "^3.2.0",
"eslint": "^7.2.0",
"husky": "^4.2.5",
"lerna": "^3.22.1",
"lint-staged": "^10.2.9",
Expand Down
1 change: 0 additions & 1 deletion packages/core/src/components/themes/_variables.scss

This file was deleted.

124 changes: 0 additions & 124 deletions packages/core/src/components/themes/dark.scss

This file was deleted.

144 changes: 0 additions & 144 deletions packages/core/src/components/themes/light.scss

This file was deleted.

4 changes: 2 additions & 2 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
"devDependencies": {
"@rollup/plugin-commonjs": "^13.0.0",
"@rollup/plugin-node-resolve": "^8.0.1",
"rollup": "^2.13.1",
"rollup": "^2.15.0",
"rollup-plugin-cleaner": "^1.0.0",
"rollup-plugin-peer-deps-external": "^2.2.2",
"rollup-plugin-terser": "^6.1.0",
"rollup-plugin-typescript2": "^0.27.1"
},
"peerDependencies": {
"@favare/syntax-highlighter-core": "latest",
"@favware/syntax-highlighter-core": "latest",
"react": "^16.x",
"react-dom": "^16.x"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/react/rollup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default {
terser({
ecma: 6,
// This will ensure that whenever Rollup is in watch (dev) mode, console logs will not be removed
compress: { drop_console: !Reflect.has(process.env, 'ROLLUP_WATCH') }, // eslint-disable-line @typescript-eslint/camelcase
compress: { drop_console: !Reflect.has(process.env, 'ROLLUP_WATCH') }, // eslint-disable-line @typescript-eslint/naming-convention
output: { comments: false }
})
]
Expand Down
Loading

0 comments on commit bab8808

Please sign in to comment.