Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up dev/peer dependencies #265

Merged
merged 3 commits into from
Nov 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions examples/component-template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ If not using sass, you can remove the dev dependency for sass and also remove th

`@testing-library/react` is a react component testing library. We currently use `enzyme` in several packages. Or you may not need this at all.

`gh-pages` is currently listed but not used by any scripts in this template.

### PropTypes

While prop-types is only truly needed for JS components, you should still keep and use the package for TS components.
Expand Down
18,743 changes: 0 additions & 18,743 deletions examples/component-template/package-lock.json

This file was deleted.

6 changes: 1 addition & 5 deletions examples/component-template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@
"start": "cross-env NODE_ENV=development npm run watch",
"test": "jest --watch",
"test:ci": "jest",
"predeploy": "cd example && npm install && npm run build",
"deploy": "gh-pages -d example/build",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook"
},
Expand All @@ -56,7 +54,6 @@
"@types/jest": "^26.0.23",
"@types/react": "^16.14.8",
"cross-env": "^7.0.2",
"gh-pages": "^2.2.0",
"identity-obj-proxy": "^3.0.0",
"jest": "26.6.0",
"npm-run-all": "^4.1.5",
Expand All @@ -65,8 +62,7 @@
"rimraf": "^3.0.2",
"sass": "1.32.13",
"ts-jest": "^26.5.6",
"ts-loader": "^8.3.0",
"typescript": "^4.3.2"
"typescript": "~4.3.2"
},
"files": [
"dist"
Expand Down
132 changes: 132 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"@typescript-eslint/eslint-plugin": "^4.28.0",
"@typescript-eslint/parser": "^4.28.0",
"babel-eslint": "^10.1.0",
"babel-loader": "8.1.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"eslint": "^7.22.0",
Expand All @@ -58,7 +59,7 @@
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react-hooks": "^4.2.0",
"jest": "^26.6.0",
"jest": "26.6.0",
"jest-runner-eslint": "^0.10.1",
"jest-runner-stylelint": "^2.3.7",
"jest-watch-select-projects": "^2.0.0",
Expand All @@ -72,7 +73,7 @@
"stylelint": "^13.12.0",
"ts-jest": "^26.5.6",
"ts-node": "^10.1.0",
"typescript": "^4.3.2"
"typescript": "~4.3.2"
},
"prettier": "@deephaven/prettier-config",
"stylelint": {
Expand Down
39 changes: 11 additions & 28 deletions packages/chart/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,55 +31,38 @@
"watch:types": "npm run types -- -w --incremental --preserveWatchOutput",
"clean": "rimraf ./dist tsconfig.tsbuildinfo",
"prestart": "npm run build-dev",
"start": "cross-env NODE_ENV=development npm run watch",
"predeploy": "cd example && npm install && npm run build",
"deploy": "gh-pages -d example/build"
"start": "cross-env NODE_ENV=development npm run watch"
},
"dependencies": {
"plotly.js": "^2.2.1",
"react-plotly.js": "^2.4.0"
"react-plotly.js": "^2.4.0",
"@deephaven/icons": "^0.6.0",
"@deephaven/iris-grid": "^0.6.0",
"@deephaven/jsapi-shim": "^0.6.0",
"deep-equal": "^2.0.4",
"lodash.debounce": "^4.0.8",
"memoize-one": "^5.1.1",
"memoizee": "^0.4.15",
"prop-types": "^15.7.2"
},
"peerDependencies": {
"@deephaven/components": "^0.3.1",
"@deephaven/icons": "^0.3.1",
"@deephaven/iris-grid": "^0.3.1",
"@deephaven/jsapi-shim": "^0.3.1",
"@deephaven/log": "^0.3.1",
"@types/react": "^16.x",
"bootstrap": "^4.x",
"deep-equal": "^2.0.4",
"lodash.debounce": "^4.x",
"memoize-one": "^5.x",
"memoizee": "^0.x",
"prop-types": "^15.x",
"react": "^16.x"
},
"devDependencies": {
"@babel/cli": "^7.14.8",
"@deephaven/components": "^0.6.0",
"@deephaven/icons": "^0.6.0",
"@deephaven/iris-grid": "^0.6.0",
"@deephaven/jsapi-shim": "^0.6.0",
"@deephaven/log": "^0.6.0",
"@deephaven/mocks": "^0.6.0",
"@deephaven/tsconfig": "^0.6.0",
"@deephaven/utils": "^0.6.0",
"@types/react": "^16.14.8",
"@types/react-dom": "^16.9.13",
"bootstrap": "4.4.1",
"cross-env": "^7.0.2",
"deep-equal": "^2.0.4",
"gh-pages": "^2.2.0",
"lodash.debounce": "^4.0.8",
"memoize-one": "^5.1.1",
"memoizee": "^0.4.15",
"mini-css-extract-plugin": "^1.6.0",
"npm-run-all": "^4.1.5",
"prop-types": "^15.7.2",
"react": "^16.14.0",
"rimraf": "^3.0.2",
"sass": "1.32.13",
"typescript": "^4.3.2"
"typescript": "~4.3.2"
},
"files": [
"dist"
Expand Down
26 changes: 5 additions & 21 deletions packages/code-studio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,46 +29,25 @@
"@fortawesome/fontawesome-svg-core": "^1.2.32",
"@fortawesome/react-fontawesome": "^0.1.12",
"@paciolan/remote-component": "2.7.2",
"bootstrap": "4.4.1",
"classnames": "^2.3.1",
"color-convert": "^2.0.1",
"cross-env": "^7.0.2",
"deep-equal": "^2.0.4",
"fira": "github:mozilla/fira#4.202",
"jquery": "^3.5.1",
"jszip": "3.2.2",
"lodash.clamp": "^4.0.3",
"lodash.debounce": "^4.0.8",
"lodash.flatten": "^4.4.0",
"lodash.throttle": "^4.1.1",
"lodash.uniqby": "^4.7.0",
"memoize-one": "^5.1.1",
"memoizee": "^0.4.15",
"monaco-editor": "^0.27.0",
"npm-license": "^0.3.3",
"npm-run-all": "^4.1.5",
"papaparse": "^5.2.0",
"popper.js": "^1.16.1",
"pouchdb-browser": "^7.2.2",
"pouchdb-find": "^7.2.2",
"prop-types": "^15.7.2",
"react": "^16.14.0",
"react-beautiful-dnd": "^13.0.0",
"react-dom": "^16.14.0",
"react-markdown": "^6.0.2",
"react-redux": "^7.2.4",
"react-router-dom": "^5.1.2",
"react-scripts": "4.0.3",
"react-test-renderer": "^16.14.0",
"react-transition-group": "^2.3.1",
"react-virtualized-auto-sizer": "^1.0.2",
"react-window": "^1.8.5",
"reactstrap": "^8.4.1",
"redux": "^4.0.5",
"redux-thunk": "^2.3.0",
"shortid": "^2.2.15",
"source-map-explorer": "^2.5.2",
"typescript": "^4.3.2",
"webdav": "^4.6.1"
},
"dependenciesComments": {
Expand Down Expand Up @@ -113,8 +92,13 @@
"@types/react-beautiful-dnd": "^13.0.0",
"@types/react-dom": "^16.9.13",
"@types/react-transition-group": "^4.4.0",
"cross-env": "^7.0.2",
"npm-license": "^0.3.3",
"npm-run-all": "^4.1.5",
"react-is": "^16.13.1",
"sass": "1.32.13",
"source-map-explorer": "^2.5.2",
"typescript": "~4.3.2",
"webpack": "4.44.2"
},
"browserslist": [
Expand Down
Loading