Skip to content

Commit

Permalink
updated build dependencies and scripts
Browse files Browse the repository at this point in the history
Signed-off-by: Onur Sumer <[email protected]>
  • Loading branch information
onursumer committed Dec 31, 2019
1 parent c502afa commit 9eea1cb
Show file tree
Hide file tree
Showing 19 changed files with 132 additions and 14,005 deletions.
12 changes: 11 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@
"@babel/plugin-transform-modules-commonjs": "^7.4.4",
"@babel/preset-env": "^7.4.4",
"@babel/preset-react": "^7.0.0",
"@rollup/plugin-commonjs": "^11.0.0",
"@rollup/plugin-node-resolve": "^6.0.0",
"@rollup/plugin-url": "^4.0.0",
"@svgr/rollup": "^4.2.0",
"@types/chai": "3.5.2",
"@types/chai-enzyme": "^0.6.2",
"@types/chart.js": "^2.4.6",
Expand Down Expand Up @@ -175,9 +179,15 @@
"plotly.js": "^1.42.5",
"pluralize": "^7.0.0",
"postcss-loader": "^1.2.2",
"postcss-url": "^8.0.0",
"precss": "^1.4.0",
"progress-bar-webpack-plugin": "^1.9.3",
"pushstate-server": "3.0.1",
"rollup": "^1.27.14",
"rollup-plugin-auto-external": "^2.0.0",
"rollup-plugin-postcss": "^2.0.3",
"rollup-plugin-sourcemaps": "^0.4.2",
"rollup-plugin-typescript2": "^0.25.3",
"qtip2": "^3.0.3",
"raw-loader": "^0.5.1",
"rc-animate": "^2.4.1",
Expand Down Expand Up @@ -206,7 +216,7 @@
"react-markdown": "^3.4.1",
"react-mfb": "^0.6.0",
"react-motion": "^0.4.7",
"react-mutation-mapper": "^0.3.6",
"react-mutation-mapper": "^0.4.0",
"react-overlays": "0.7.4",
"react-portal": "^4.2.0",
"react-rangeslider": "^2.1.0",
Expand Down
19 changes: 3 additions & 16 deletions packages/cbioportal-frontend-commons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
"files": [
"dist"
],
"author": "",
"license": "",
"author": "cBioPortal",
"license": "GNU Affero General Public License v3.0",
"repository": "cBioPortal/cbioportal-frontend",
"scripts": {
"build": "cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=2048 yarn run rollup",
"start": "yarn run watch",
Expand All @@ -34,30 +35,16 @@
"react-dom": "^15.0.0 || ^16.0.0"
},
"dependencies": {
"@svgr/rollup": "^4.2.0",
"@types/rollup-plugin-commonjs": "^9.2.0",
"@types/rollup-plugin-node-resolve": "^4.0.0",
"@types/rollup-plugin-sourcemaps": "^0.4.2",
"autobind-decorator": "^2.1.0",
"classnames": "^2.2.5",
"jquery": "^3.2.1",
"lodash": "^4.17.11",
"measure-text": "0.0.4",
"mobxpromise": "github:cbioportal/mobxpromise#v1.0.2",
"node-sass": "^4.9.3",
"object-sizeof": "^1.2.0",
"postcss-url": "^8.0.0",
"rc-tooltip": "3.7.3",
"react-file-download": "^0.3.2",
"react-select": "^3.0.4",
"rollup": "^1.27.2",
"rollup-plugin-auto-external": "^2.0.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-postcss": "^2.0.3",
"rollup-plugin-sourcemaps": "^0.4.2",
"rollup-plugin-typescript2": "^0.25.2",
"rollup-plugin-url": "^2.2.0",
"save-svg-as-png": "^1.4.6",
"seamless-immutable": "^7.0.1",
"superagent": "^3.8.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/cbioportal-frontend-commons/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
"src",
"../typings/**/*"
]
}
}
14 changes: 7 additions & 7 deletions packages/config/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
import typescript from 'rollup-plugin-typescript2';
import commonjs from 'rollup-plugin-commonjs';
import commonjs from '@rollup/plugin-commonjs';
// import external from 'rollup-plugin-peer-deps-external';
import autoExternal from 'rollup-plugin-auto-external';
import postcss from 'rollup-plugin-postcss';
import resolve from 'rollup-plugin-node-resolve';
import resolve from '@rollup/plugin-node-resolve';
import sourcemaps from 'rollup-plugin-sourcemaps';
import url from 'rollup-plugin-url';
import url from '@rollup/plugin-url';
import postcssUrl from 'postcss-url';
import svgr from '@svgr/rollup';

// common rollup config options for all libraries under packages
export default function getRollupOptions(input, mainOutput, moduleOutput, styles)
{
return {
input: input,
output: [
input: input,
output: [
{
file: mainOutput,
format: 'cjs',
Expand All @@ -28,7 +28,7 @@ export default function getRollupOptions(input, mainOutput, moduleOutput, styles
sourcemap: true
}
],
plugins: [
plugins: [
autoExternal(),
postcss({
autoModules: true,
Expand All @@ -49,7 +49,7 @@ export default function getRollupOptions(input, mainOutput, moduleOutput, styles
resolve(),
sourcemaps()
],
watch: {
watch: {
chokidar: {
usePolling: true
}
Expand Down
1 change: 1 addition & 0 deletions packages/config/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"noImplicitReturns": true,
"noImplicitThis": true,
"noImplicitAny": true,
"resolveJsonModule": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,
"noUnusedLocals": false,
Expand Down
9 changes: 0 additions & 9 deletions packages/react-mutation-mapper/.editorconfig

This file was deleted.

26 changes: 0 additions & 26 deletions packages/react-mutation-mapper/.github/workflows/nodejs.yml

This file was deleted.

19 changes: 0 additions & 19 deletions packages/react-mutation-mapper/.github/workflows/publish.yml

This file was deleted.

25 changes: 0 additions & 25 deletions packages/react-mutation-mapper/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions packages/react-mutation-mapper/.travis.yml

This file was deleted.

Loading

0 comments on commit 9eea1cb

Please sign in to comment.