2017-03-15 12:09:22 -05:00
|
|
|
{
|
2019-07-29 05:24:54 -05:00
|
|
|
"//": [
|
|
|
|
"IMPORTANT:",
|
|
|
|
"If runtime or build time dependencies are changed in this file, the ",
|
|
|
|
"committer *must* ensure the DEB and RPM package maintainers are informed ",
|
2019-08-02 08:05:09 -05:00
|
|
|
"as soon as possible."
|
|
|
|
],
|
2017-12-04 23:21:13 -06:00
|
|
|
"license": "PostgreSQL",
|
2017-03-15 12:09:22 -05:00
|
|
|
"devDependencies": {
|
2021-01-16 05:36:50 -06:00
|
|
|
"@babel/core": "^7.10.2",
|
2024-07-04 07:55:47 -05:00
|
|
|
"@babel/eslint-parser": "^7.24.7",
|
|
|
|
"@babel/eslint-plugin": "^7.24.7",
|
2021-09-29 03:13:05 -05:00
|
|
|
"@babel/plugin-proposal-object-rest-spread": "^7.10.1",
|
2022-02-10 23:06:24 -06:00
|
|
|
"@babel/plugin-syntax-jsx": "^7.16.0",
|
2023-10-23 07:13:17 -05:00
|
|
|
"@babel/plugin-transform-runtime": "^7.22.15",
|
2021-01-16 05:36:50 -06:00
|
|
|
"@babel/preset-env": "^7.10.2",
|
2024-06-07 03:47:22 -05:00
|
|
|
"@babel/preset-typescript": "^7.24.7",
|
2024-08-27 01:09:03 -05:00
|
|
|
"@emotion/memoize": "^0.9.0",
|
2024-04-08 21:51:14 -05:00
|
|
|
"@emotion/react": "^11.11.3",
|
2023-06-08 00:14:48 -05:00
|
|
|
"@emotion/styled": "^11.11.0",
|
2021-06-29 04:03:36 -05:00
|
|
|
"@emotion/utils": "^1.0.0",
|
2023-10-27 01:28:55 -05:00
|
|
|
"@svgr/webpack": "^8.1.0",
|
2024-09-23 06:03:20 -05:00
|
|
|
"@testing-library/dom": "10.4.0",
|
2024-07-03 05:47:29 -05:00
|
|
|
"@testing-library/jest-dom": "^6.4.6",
|
|
|
|
"@testing-library/react": "16.0.0",
|
|
|
|
"@testing-library/user-event": "^14.5.2",
|
2023-10-23 07:13:17 -05:00
|
|
|
"@types/jest": "^29.5.4",
|
2021-02-10 01:17:52 -06:00
|
|
|
"autoprefixer": "^10.2.4",
|
2024-11-04 02:17:30 -06:00
|
|
|
"axios-mock-adapter": "^2.1.0",
|
2024-06-11 04:58:21 -05:00
|
|
|
"babel-loader": "^9.1.3",
|
2021-02-10 01:17:52 -06:00
|
|
|
"browserify": "^17.0.0",
|
|
|
|
"buffer": "^6.0.3",
|
2024-06-27 03:38:01 -05:00
|
|
|
"copy-webpack-plugin": "^12.0.2",
|
2021-02-10 01:17:52 -06:00
|
|
|
"cross-env": "^7.0.3",
|
2024-08-27 01:09:48 -05:00
|
|
|
"css-loader": "^7.1.2",
|
2023-06-10 06:07:12 -05:00
|
|
|
"css-minimizer-webpack-plugin": "^5.0.0",
|
2024-10-01 05:46:47 -05:00
|
|
|
"eslint": "^9.11.1",
|
2024-08-29 00:05:51 -05:00
|
|
|
"eslint-plugin-jest": "^28.8.0",
|
2024-07-04 07:55:47 -05:00
|
|
|
"eslint-plugin-react": "^7.34.3",
|
2024-11-14 01:10:55 -06:00
|
|
|
"exports-loader": "^5.0.0",
|
2024-07-04 07:55:47 -05:00
|
|
|
"globals": "^15.8.0",
|
2023-11-28 04:27:15 -06:00
|
|
|
"html-react-parser": "^5.0.6",
|
2024-06-07 03:47:22 -05:00
|
|
|
"image-minimizer-webpack-plugin": "^4.0.2",
|
2023-06-10 06:07:12 -05:00
|
|
|
"imagemin": "^8.0.1",
|
2022-08-26 02:02:09 -05:00
|
|
|
"imagemin-mozjpeg": "^10.0.0",
|
|
|
|
"imagemin-optipng": "^8.0.0",
|
2022-11-18 22:42:31 -06:00
|
|
|
"imports-loader": "^4.0.1",
|
2023-10-23 07:13:17 -05:00
|
|
|
"jest": "^29.6.4",
|
|
|
|
"jest-environment-jsdom": "^29.6.4",
|
2022-11-18 22:42:31 -06:00
|
|
|
"loader-utils": "^3.2.1",
|
2024-11-18 09:19:13 -06:00
|
|
|
"mini-css-extract-plugin": "^2.9.2",
|
2024-07-29 09:04:43 -05:00
|
|
|
"postcss-loader": "^8.1.1",
|
2021-02-10 01:17:52 -06:00
|
|
|
"process": "^0.11.10",
|
2020-07-29 04:19:22 -05:00
|
|
|
"prop-types": "^15.7.2",
|
2021-01-16 05:36:50 -06:00
|
|
|
"resize-observer-polyfill": "^1.5.1",
|
2022-11-18 22:42:31 -06:00
|
|
|
"shim-loader": "^1.0.1",
|
2023-03-31 00:15:32 -05:00
|
|
|
"style-loader": "^3.3.2",
|
2024-08-27 01:07:49 -05:00
|
|
|
"stylis": "^4.3.4",
|
2024-08-12 00:53:30 -05:00
|
|
|
"svgo": "^3.3.2",
|
2024-08-08 02:49:48 -05:00
|
|
|
"svgo-loader": "^4.0.0",
|
2021-02-10 01:17:52 -06:00
|
|
|
"terser-webpack-plugin": "^5.1.1",
|
2024-06-07 03:47:22 -05:00
|
|
|
"typescript": "^5.4.5",
|
2024-10-01 06:02:04 -05:00
|
|
|
"typescript-eslint": "^8.8.0",
|
2022-11-18 22:42:31 -06:00
|
|
|
"url-loader": "^4.1.1",
|
2023-03-24 00:39:35 -05:00
|
|
|
"webfonts-loader": "^8.0.1",
|
2023-10-04 08:07:38 -05:00
|
|
|
"webpack": "^5.88.2",
|
2023-03-29 06:27:01 -05:00
|
|
|
"webpack-bundle-analyzer": "^4.8.0",
|
2024-06-11 04:58:21 -05:00
|
|
|
"webpack-cli": "^5.1.4",
|
2023-04-25 03:38:46 -05:00
|
|
|
"yarn-audit-html": "4.0.0"
|
2017-06-12 10:51:54 -05:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2020-07-29 04:19:22 -05:00
|
|
|
"@babel/plugin-proposal-class-properties": "^7.10.4",
|
2021-02-10 01:17:52 -06:00
|
|
|
"@babel/preset-react": "^7.12.13",
|
2024-07-03 05:47:29 -05:00
|
|
|
"@codemirror/lang-json": "^6.0.1",
|
2024-06-17 06:35:36 -05:00
|
|
|
"@codemirror/lang-sql": "^6.6.5",
|
2024-04-08 21:51:14 -05:00
|
|
|
"@date-io/core": "^3.0.0",
|
|
|
|
"@date-io/date-fns": "3.x",
|
2021-06-29 04:03:36 -05:00
|
|
|
"@emotion/sheet": "^1.0.1",
|
2023-10-23 07:13:17 -05:00
|
|
|
"@fortawesome/fontawesome-free": "latest",
|
2024-08-08 06:48:50 -05:00
|
|
|
"@mui/icons-material": "^5.16.6",
|
2024-04-08 21:51:14 -05:00
|
|
|
"@mui/lab": "^5.0.0-alpha.165",
|
|
|
|
"@mui/material": "^5.15.10",
|
2024-06-27 03:38:01 -05:00
|
|
|
"@mui/x-date-pickers": "^7.7.1",
|
2024-07-03 07:49:27 -05:00
|
|
|
"@projectstorm/react-diagrams": "^7.0.4",
|
2020-04-03 06:36:47 -05:00
|
|
|
"@simonwep/pickr": "^1.5.1",
|
2024-10-30 06:38:24 -05:00
|
|
|
"@szhsin/react-menu": "^4.2.2",
|
2024-11-14 01:11:16 -06:00
|
|
|
"@tanstack/react-query": "5.59.20",
|
2024-05-07 06:01:04 -05:00
|
|
|
"@tanstack/react-table": "^8.16.0",
|
2024-08-08 06:48:30 -05:00
|
|
|
"@tanstack/react-virtual": "^3.8.4",
|
2024-07-03 05:47:29 -05:00
|
|
|
"@types/classnames": "^2.2.6",
|
|
|
|
"@types/react": "^18.0.2",
|
|
|
|
"@types/react-dom": "^18.0.0",
|
2024-08-14 07:45:03 -05:00
|
|
|
"@xterm/addon-fit": "^0.10.0",
|
|
|
|
"@xterm/addon-search": "^0.15.0",
|
|
|
|
"@xterm/addon-web-links": "^0.11.0",
|
|
|
|
"@xterm/xterm": "^5.5.0",
|
2022-02-10 23:06:24 -06:00
|
|
|
"ajv": "^8.8.2",
|
2022-05-23 05:34:21 -05:00
|
|
|
"anti-trojan-source": "^1.4.0",
|
2021-09-29 03:13:05 -05:00
|
|
|
"aspen-decorations": "^1.0.2",
|
2024-09-23 06:03:20 -05:00
|
|
|
"axios": "^1.7.7",
|
2019-03-14 10:11:16 -05:00
|
|
|
"babelify": "~10.0.0",
|
2021-02-10 01:17:52 -06:00
|
|
|
"bignumber.js": "^9.0.1",
|
2022-02-10 23:06:24 -06:00
|
|
|
"brace": "^0.11.1",
|
2021-09-29 03:13:05 -05:00
|
|
|
"browserfs": "^1.4.3",
|
2022-06-13 06:56:17 -05:00
|
|
|
"chart.js": "^3.0.0",
|
2023-06-08 00:11:46 -05:00
|
|
|
"chartjs-plugin-zoom": "^2.0.1",
|
2024-02-20 23:45:25 -06:00
|
|
|
"codemirror": "^6.0.1",
|
2022-07-19 04:57:47 -05:00
|
|
|
"convert-units": "^2.3.4",
|
2024-04-08 21:51:14 -05:00
|
|
|
"date-fns": "^3.6.0",
|
2021-06-29 04:03:36 -05:00
|
|
|
"diff-arrays-of-objects": "^1.1.8",
|
2024-02-09 05:03:30 -06:00
|
|
|
"hotkeys-js": "^3.13.3",
|
2023-10-04 07:53:41 -05:00
|
|
|
"html-to-image": "^1.11.11",
|
2019-03-14 10:11:16 -05:00
|
|
|
"immutability-helper": "^3.0.0",
|
2021-09-29 03:13:05 -05:00
|
|
|
"insert-if": "^1.1.0",
|
2024-07-29 09:04:43 -05:00
|
|
|
"ip-address": "^9.0.5",
|
2019-02-27 07:39:47 -06:00
|
|
|
"json-bignumber": "^1.0.1",
|
2024-10-01 05:20:43 -05:00
|
|
|
"jsoneditor": "^10.1.0",
|
2024-08-14 00:39:28 -05:00
|
|
|
"leaflet": "^1.9.4",
|
2021-01-16 05:36:50 -06:00
|
|
|
"lodash": "4.*",
|
2022-07-14 00:54:17 -05:00
|
|
|
"moment": "^2.29.4",
|
2022-04-27 00:07:53 -05:00
|
|
|
"moment-timezone": "^0.5.34",
|
2021-09-29 03:13:05 -05:00
|
|
|
"notificar": "^1.0.1",
|
2024-07-01 00:56:45 -05:00
|
|
|
"notistack": "^3.0.1",
|
2021-09-29 03:13:05 -05:00
|
|
|
"path-fx": "^2.0.0",
|
2023-10-04 07:54:46 -05:00
|
|
|
"postcss": "^8.4.31",
|
2022-02-10 23:06:24 -06:00
|
|
|
"rc-dock": "^3.2.9",
|
2024-07-03 05:47:29 -05:00
|
|
|
"react": "^18.2.0",
|
2023-09-13 00:37:28 -05:00
|
|
|
"react-arborist": "^3.2.0",
|
2021-09-29 03:13:05 -05:00
|
|
|
"react-aspen": "^1.1.0",
|
2022-01-04 00:57:17 -06:00
|
|
|
"react-checkbox-tree": "^1.7.2",
|
2024-07-31 08:42:36 -05:00
|
|
|
"react-data-grid": "https://github.com/pgadmin-org/react-data-grid.git#4e10a5a327ff58198ac83c7b0c62549b20b78ae5",
|
2022-10-03 00:48:22 -05:00
|
|
|
"react-dnd": "^16.0.1",
|
|
|
|
"react-dnd-html5-backend": "^16.0.1",
|
2024-07-03 05:47:29 -05:00
|
|
|
"react-dom": "^18.2.0",
|
2023-10-26 01:12:33 -05:00
|
|
|
"react-draggable": "^4.4.6",
|
2022-07-19 04:57:47 -05:00
|
|
|
"react-dropzone": "^14.2.1",
|
2023-10-23 07:13:17 -05:00
|
|
|
"react-frame-component": "^5.2.6",
|
2024-08-14 00:39:28 -05:00
|
|
|
"react-leaflet": "^4.2.1",
|
2023-10-23 07:13:17 -05:00
|
|
|
"react-new-window": "^1.0.1",
|
2024-07-29 09:04:43 -05:00
|
|
|
"react-resize-detector": "^11.0.1",
|
Improved the extendability of the SchemaView and DataGridView. (#7876)
Restructured these modules for ease of maintenance and apply the single
responsibility principle (wherever applicable).
* SchemaView
- Split the code based on the functionality and responsibility.
- Introduced a new View 'InlineView' instead of using the
'nextInline' configuration of the fields to have a better, and
manageable view.
- Using the separate class 'SchemaState' for managing the data and
states of the SchemaView (separated from the 'useSchemaState'
custom hook).
- Introduced three new custom hooks 'useFieldValue',
'useFieldOptions', 'useFieldError' for the individual control to
use for each Schema Field.
- Don't pass value as the parameter props, and let the
'useFieldValue' and other custom hooks to decide, whether to
rerender the control itself or the whole dialog/view. (single
responsibility principle)
- Introduced a new data store with a subscription facility.
- Moving the field metadata (option) evaluation to a separate place
for better management, and each option can be defined for a
particular kind of field (for example - collection, row, cell,
general, etc).
- Allow to provide custom control for all kind of Schema field.
* DataGridView
- Same as SchemaView, split the DataGridView call into smaller,
manageable chunks. (For example - grid, row, mappedCell, etc).
- Use context based approach for providing the row and table data
instead of passing them as parameters to every component
separately.
- Have a facility to extend this feature separately in future.
(for example - selectable cell, column grouping, etc.)
- Separated the features like deletable, editable, reorder,
expandable etc. cells using the above feature support.
- Added ability to provide the CustomHeader, and CustomRow through the
Schema field, which will extend the ability to customize better.
- Removed the 'DataGridViewWithHeaderForm' as it has been achieved
through providing 'CustomHeader', and also introduced
'DataGridFormHeader' (a custom header) to achieve the same feature
as 'DataGridViewWithHeaderForm'.
2024-09-09 03:57:31 -05:00
|
|
|
"react-rnd": "^10.4.12",
|
2023-03-29 07:52:03 -05:00
|
|
|
"react-select": "^5.7.2",
|
2022-02-10 23:06:24 -06:00
|
|
|
"react-timer-hook": "^3.0.5",
|
2021-09-20 02:32:41 -05:00
|
|
|
"react-virtualized-auto-sizer": "^1.0.6",
|
2021-02-10 01:17:52 -06:00
|
|
|
"snapsvg-cjs": "^0.0.6",
|
2022-11-04 03:18:35 -05:00
|
|
|
"socket.io-client": "^4.5.0",
|
2019-03-07 04:51:59 -06:00
|
|
|
"split.js": "^1.5.10",
|
2024-08-22 06:49:32 -05:00
|
|
|
"sql-formatter": "^15.4.0",
|
2023-02-06 04:25:02 -06:00
|
|
|
"uplot": "^1.6.24",
|
|
|
|
"uplot-react": "^1.1.4",
|
2024-11-14 01:12:46 -06:00
|
|
|
"valid-filename": "^4.0.0",
|
2021-05-25 09:42:57 -05:00
|
|
|
"wkx": "^0.5.0",
|
Improved the extendability of the SchemaView and DataGridView. (#7876)
Restructured these modules for ease of maintenance and apply the single
responsibility principle (wherever applicable).
* SchemaView
- Split the code based on the functionality and responsibility.
- Introduced a new View 'InlineView' instead of using the
'nextInline' configuration of the fields to have a better, and
manageable view.
- Using the separate class 'SchemaState' for managing the data and
states of the SchemaView (separated from the 'useSchemaState'
custom hook).
- Introduced three new custom hooks 'useFieldValue',
'useFieldOptions', 'useFieldError' for the individual control to
use for each Schema Field.
- Don't pass value as the parameter props, and let the
'useFieldValue' and other custom hooks to decide, whether to
rerender the control itself or the whole dialog/view. (single
responsibility principle)
- Introduced a new data store with a subscription facility.
- Moving the field metadata (option) evaluation to a separate place
for better management, and each option can be defined for a
particular kind of field (for example - collection, row, cell,
general, etc).
- Allow to provide custom control for all kind of Schema field.
* DataGridView
- Same as SchemaView, split the DataGridView call into smaller,
manageable chunks. (For example - grid, row, mappedCell, etc).
- Use context based approach for providing the row and table data
instead of passing them as parameters to every component
separately.
- Have a facility to extend this feature separately in future.
(for example - selectable cell, column grouping, etc.)
- Separated the features like deletable, editable, reorder,
expandable etc. cells using the above feature support.
- Added ability to provide the CustomHeader, and CustomRow through the
Schema field, which will extend the ability to customize better.
- Removed the 'DataGridViewWithHeaderForm' as it has been achieved
through providing 'CustomHeader', and also introduced
'DataGridFormHeader' (a custom header) to achieve the same feature
as 'DataGridViewWithHeaderForm'.
2024-09-09 03:57:31 -05:00
|
|
|
"zustand": "^4.5.4"
|
2017-06-12 10:51:54 -05:00
|
|
|
},
|
|
|
|
"scripts": {
|
2024-07-04 07:55:47 -05:00
|
|
|
"linter": "yarn run eslint -c .eslintrc.js .",
|
2018-05-30 15:53:03 -05:00
|
|
|
"webpacker": "yarn run webpack --config webpack.config.js --progress",
|
|
|
|
"webpacker:watch": "yarn run webpack --config webpack.config.js --progress --watch",
|
|
|
|
"bundle:watch": "yarn run linter && yarn run webpacker:watch",
|
|
|
|
"bundle:dev": "yarn run linter && yarn run webpacker",
|
2019-10-10 01:35:28 -05:00
|
|
|
"bundle:analyze": "cross-env NODE_ENV=production ANALYZE=true yarn run bundle:dev",
|
2024-11-04 02:17:30 -06:00
|
|
|
"bundle": "cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=3072 yarn run bundle:dev && yarn run git:hash",
|
|
|
|
"git:hash": "git log -1 --format=\"%H %as\" > commit_hash",
|
2023-10-23 07:13:17 -05:00
|
|
|
"test:js-once": "yarn run linter && yarn run jest --maxWorkers=50%",
|
|
|
|
"test:js": "yarn run test:js-once --watch",
|
2024-02-20 23:45:25 -06:00
|
|
|
"test:js-file": "yarn run test:js-once -t",
|
2023-10-23 07:13:17 -05:00
|
|
|
"test:js-coverage": "yarn run test:js-once --collect-coverage",
|
2018-05-30 15:53:03 -05:00
|
|
|
"test:feature": "yarn run bundle && python regression/runtests.py --pkg feature_tests",
|
2023-10-23 07:13:17 -05:00
|
|
|
"test": "yarn run test:js-once && yarn run bundle && python regression/runtests.py",
|
2019-08-02 08:05:09 -05:00
|
|
|
"pep8": "pycodestyle --config=../.pycodestyle ../docs && pycodestyle --config=../.pycodestyle ../pkg && pycodestyle --config=../.pycodestyle ../tools && pycodestyle --config=../.pycodestyle ../web",
|
|
|
|
"auditjs-html": "yarn audit --json | yarn run yarn-audit-html --output ../auditjs.html",
|
2021-10-21 04:38:24 -05:00
|
|
|
"auditjs": "yarn audit --groups dependencies",
|
2024-08-01 23:29:01 -05:00
|
|
|
"auditpy": "safety check --full-report -i 51668 -i 52495",
|
2024-06-07 04:51:13 -05:00
|
|
|
"audit-all": "yarn run auditjs && yarn run auditpy"
|
2023-04-25 03:38:46 -05:00
|
|
|
},
|
2024-09-23 06:32:24 -05:00
|
|
|
"packageManager": "yarn@3.8.5",
|
2024-07-04 07:55:47 -05:00
|
|
|
"browserslist": [
|
|
|
|
"defaults and fully supports es6-module"
|
|
|
|
]
|
2017-03-15 12:09:22 -05:00
|
|
|
}
|