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

fix(react-grid): Put the dx-react-grid dependencies in order #148

Merged
merged 17 commits into from
Jun 20, 2017
Merged
Show file tree
Hide file tree
Changes from 11 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: 1 addition & 1 deletion packages/dx-react-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"rollup-watch": "^3.2.2"
},
"dependencies": {
"@devexpress/dx-core": "^1.0.0-alpha.3",
"@devexpress/dx-core": "1.0.0-alpha.3",
"prop-types": "^15.5.8",
"react": "^15.5.4"
}
Expand Down
9 changes: 5 additions & 4 deletions packages/dx-react-demos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,13 @@
"output": "../../shippable/testresults/dx-react-grid-demos.xml"
},
"dependencies": {
"@devexpress/dx-react-grid": "^1.0.0-alpha.3",
"@devexpress/dx-react-grid-bootstrap3": "^1.0.0-alpha.3",
"@devexpress/dx-react-grid-material-ui": "^1.0.0-alpha.3",
"@devexpress/dx-react-core": "1.0.0-alpha.3",
"@devexpress/dx-react-grid": "1.0.0-alpha.3",
"@devexpress/dx-react-grid-bootstrap3": "1.0.0-alpha.3",
"@devexpress/dx-react-grid-material-ui": "1.0.0-alpha.3",
"core-js": "^2.4.1",
"material-ui": "^1.0.0-alpha.14",
"material-ui-icons": "^1.0.0-alpha.3",
"material-ui-icons": "1.0.0-alpha.3",
"prop-types": "^15.5.8",
"react": "^15.5.4",
"react-bootstrap": "^0.31.0",
Expand Down
11 changes: 8 additions & 3 deletions packages/dx-react-grid-bootstrap3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,16 @@ A template suite used to customize React Grid with the Bootstrap3 rendering.

## Installation

Install the package and its dependencies:
Install the main dx-react-grid package and its templates for Bootstrap 3:

```
npm i @devexpress/dx-react-grid --save
npm i @devexpress/dx-react-grid-bootstrap3 --save
npm i --save @devexpress/dx-react-grid @devexpress/dx-react-grid-bootstrap3
```

**Note:** The packages mentioned above have peer dependencies that should be installed manually. Use the following command to install them.

```
npm i --save @devexpress/dx-react-core
```

Add the required modules to your project:
Expand Down
14 changes: 7 additions & 7 deletions packages/dx-react-grid-bootstrap3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@
"output": "../../shippable/testresults/dx-react-grid-bootstrap3.xml"
},
"devDependencies": {
"@devexpress/dx-testing": "^1.0.0-alpha.3",
"@devexpress/dx-grid-core": "^1.0.0-alpha.3",
"@devexpress/dx-react-core": "^1.0.0-alpha.3",
"@devexpress/dx-react-grid": "^1.0.0-alpha.3",
"@devexpress/dx-testing": "1.0.0-alpha.3",
"@devexpress/dx-grid-core": "1.0.0-alpha.3",
"@devexpress/dx-react-core": "1.0.0-alpha.3",
"@devexpress/dx-react-grid": "1.0.0-alpha.3",
"babel-cli": "^6.24.1",
"babel-core": "^6.24.1",
"babel-jest": "^19.0.0",
Expand Down Expand Up @@ -93,9 +93,9 @@
"prop-types": "^15.5.8"
},
"peerDependencies": {
"@devexpress/dx-grid-core": "^1.0.0-alpha.3",
"@devexpress/dx-react-core": "^1.0.0-alpha.3",
"@devexpress/dx-react-grid": "^1.0.0-alpha.3",
"@devexpress/dx-grid-core": "1.0.0-alpha.3",
"@devexpress/dx-react-core": "1.0.0-alpha.3",
"@devexpress/dx-react-grid": "1.0.0-alpha.3",
"react": "^15.5.4",
"react-bootstrap": "^0.31.0"
}
Expand Down
11 changes: 8 additions & 3 deletions packages/dx-react-grid-material-ui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,16 @@ A template suite used to customize React Grid with the Material UI rendering.

## Installation

Install the package and its dependencies:
Install the main dx-react-grid package and its templates for Material UI:

```
npm i @devexpress/dx-react-grid --save
npm i @devexpress/dx-react-grid-material-ui --save
npm i --save @devexpress/dx-react-grid @devexpress/dx-react-grid-material-ui
```

**Note:** The packages mentioned above have peer dependencies that should be installed manually. Use the following command to install them.

```
npm i --save @devexpress/dx-react-core
```

Add the required modules to your project:
Expand Down
18 changes: 9 additions & 9 deletions packages/dx-react-grid-material-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@
"output": "../../shippable/testresults/dx-react-grid-material-ui.xml"
},
"devDependencies": {
"@devexpress/dx-testing": "^1.0.0-alpha.3",
"@devexpress/dx-grid-core": "^1.0.0-alpha.3",
"@devexpress/dx-react-core": "^1.0.0-alpha.3",
"@devexpress/dx-react-grid": "^1.0.0-alpha.3",
"@devexpress/dx-testing": "1.0.0-alpha.3",
"@devexpress/dx-grid-core": "1.0.0-alpha.3",
"@devexpress/dx-react-core": "1.0.0-alpha.3",
"@devexpress/dx-react-grid": "1.0.0-alpha.3",
"babel-cli": "^6.24.1",
"babel-core": "^6.24.1",
"babel-jest": "^19.0.0",
Expand All @@ -83,7 +83,7 @@
"jss-preset-default": "^2.0.0",
"jss-theme-reactor": "^0.11.1",
"material-ui": "^1.0.0-alpha.14",
"material-ui-icons": "^1.0.0-alpha.3",
"material-ui-icons": "1.0.0-alpha.3",
"react": "^15.5.4",
"react-bootstrap": "^0.31.0",
"react-dom": "^15.5.4",
Expand All @@ -100,11 +100,11 @@
"prop-types": "^15.5.8"
},
"peerDependencies": {
"@devexpress/dx-grid-core": "^1.0.0-alpha.3",
"@devexpress/dx-react-core": "^1.0.0-alpha.3",
"@devexpress/dx-react-grid": "^1.0.0-alpha.3",
"@devexpress/dx-grid-core": "1.0.0-alpha.3",
"@devexpress/dx-react-core": "1.0.0-alpha.3",
"@devexpress/dx-react-grid": "1.0.0-alpha.3",
"material-ui": "^1.0.0-alpha.14",
"material-ui-icons": "^1.0.0-alpha.3",
"material-ui-icons": "1.0.0-alpha.3",
"react": "^15.5.4"
}
}
14 changes: 10 additions & 4 deletions packages/dx-react-grid/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Overview

The DevExtreme React Grid component allows you to display table data with a set of different transformations, such as paging, sorting, filtering, grouping, etc. It also allows row selection and data editing. It has a composable and extensible plugin-based architecture. It supports the controlled and uncontrolled state modes, and can be easily used in either a regular or a Redux-based application. It's provided with the Twitter Bootstrap rendering and theming out-of-the-box.
The DevExtreme React Grid component has a composable and extensible plugin-based architecture and allows you to display table data with a set of different transformations, such as paging, sorting, filtering, grouping, etc. It also allows row selection and data editing, supports the controlled and uncontrolled state modes and can be used in either a regular or a Redux-based application. It is provided with Twitter Bootstrap rendering and theming out-of-the-box.

## Installation

Expand All @@ -12,21 +12,27 @@ The DevExtreme React Grid component allows you to display table data with a set
npm i @devexpress/dx-react-grid --save
```

This package does not contain any visual components, so all examples provided below use the DevExtreme React Grid Bootstrap3 package to use Bootstrap rendering for the Grid visual components.
This package does not contain any visual components; all examples below use the DevExtreme React Grid Bootstrap3 package to use Bootstrap rendering for the Grid visual components.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"all examples below use the DevExtreme React Grid Bootstrap3 package to use Bootstrap rendering for the Grid visual components" is a confusing sentence. Consider rewriting it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can omit the second part of the sentence since it's obvious that if we use the BS3 package then BS3 will be used for rendering the Grid.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all examples below import modules from the DevExtreme React Grid Bootstrap 3 package to use Bootstrap rendering for the Grid visual components


Install the Grid Bootstrap3 components package:

```
npm i @devexpress/dx-react-grid-bootstrap3 --save
```

**Note:** The packages mentioned above have peer dependencies that should be installed manually using the following command:

```
npm i --save @devexpress/dx-react-core
```

Make sure that Bootstrap styles are linked to the page. If you have not yet configured Bootstrap for your project, check the [following link](http://getbootstrap.com/getting-started/#download).

#### Add a Grid to your app:

By default Grid renders nothing. All its functionality is implemented via plugin components that are nested into the root Grid component. So, we should specify at least one plugin that visualizes the data provided for the grid.
The Grid renders nothing by default. All its functionality is implemented via plugin components that are nested into the root Grid component. You should specify at least one plugin that visualizes the data provided for the grid.

To display the data as a simple table, you can use the TableView plugin as follows:
You can use the TableView plugin as follows to display the data as a simple table:

```js
import {
Expand Down
8 changes: 7 additions & 1 deletion packages/dx-react-grid/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,18 @@ npm i @devexpress/dx-react-grid --save
```
This package does not contain visual components. In the examples below, the DevExtreme React Grid Bootstrap3 package is used to render visual components.

Install the Grid Bootstrap3 components package:
Install the Grid Bootstrap 3 components package:

```
npm i @devexpress/dx-react-grid-bootstrap3 --save
```

**Note:** The packages mentioned above have peer dependencies that should be installed manually. Use the following command to install them.

```
npm i --save @devexpress/dx-react-core
```

Make sure that Bootstrap styles are linked to the page. If you have not yet configured Bootstrap for your project, check the [following link](http://getbootstrap.com/getting-started/#download).

### Polyfills
Expand Down
7 changes: 4 additions & 3 deletions packages/dx-react-grid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@
"output": "../../shippable/testresults/dx-react-grid.xml"
},
"devDependencies": {
"@devexpress/dx-testing": "^1.0.0-alpha.3",
"@devexpress/dx-react-core": "1.0.0-alpha.3",
"@devexpress/dx-testing": "1.0.0-alpha.3",
"babel-cli": "^6.24.1",
"babel-core": "^6.24.1",
"babel-jest": "^19.0.0",
Expand Down Expand Up @@ -83,11 +84,11 @@
"rollup-watch": "^3.2.2"
},
"dependencies": {
"@devexpress/dx-grid-core": "^1.0.0-alpha.3",
"@devexpress/dx-react-core": "^1.0.0-alpha.3",
"@devexpress/dx-grid-core": "1.0.0-alpha.3",
"prop-types": "^15.5.8"
},
"peerDependencies": {
"@devexpress/dx-react-core": "1.0.0-alpha.3",
"react": "^15.5.4"
}
}