AG-1329 Rename packages to new scopes (@ag-grid-community & @ag-grid-enterprise)
This commit is contained in:
@@ -35,8 +35,8 @@ module.exports = {
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
"@ag-community/grid-core/modules": path.resolve('./node_modules/@ag-community/grid-core/dist/es2015/modules'),
|
||||
"@ag-community/grid-core": path.resolve('./node_modules/@ag-community/grid-core'),
|
||||
"@ag-grid-community/grid-core/modules": path.resolve('./node_modules/@ag-grid-community/grid-core/dist/es2015/modules'),
|
||||
"@ag-grid-community/grid-core": path.resolve('./node_modules/@ag-grid-community/grid-core'),
|
||||
"ag-grid-enterprise": path.resolve('./node_modules/ag-grid-enterprise'),
|
||||
react: path.resolve('./node_modules/react')
|
||||
},
|
||||
|
||||
@@ -31,7 +31,7 @@ module.exports = {
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
"@ag-community/grid-core": path.resolve('./node_modules/@ag-community/grid-core'),
|
||||
"@ag-grid-community/grid-core": path.resolve('./node_modules/@ag-grid-community/grid-core'),
|
||||
"ag-grid-enterprise": path.resolve('./node_modules/ag-grid-enterprise'),
|
||||
react: path.resolve('./node_modules/react')
|
||||
},
|
||||
|
||||
@@ -31,7 +31,7 @@ module.exports = {
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
"@ag-community/grid-core": path.resolve('./node_modules/@ag-community/grid-core'),
|
||||
"@ag-grid-community/grid-core": path.resolve('./node_modules/@ag-grid-community/grid-core'),
|
||||
"ag-grid-enterprise": path.resolve('./node_modules/ag-grid-enterprise'),
|
||||
react: path.resolve('./node_modules/react')
|
||||
},
|
||||
|
||||
@@ -61,10 +61,10 @@
|
||||
"webpack-dev-server": "3.4.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"@ag-community/grid-all-modules": "^22.0.0-beta.0",
|
||||
"@ag-community/grid-core": "^22.0.0-beta.0",
|
||||
"@ag-community/grid-react": "^22.0.0-beta.0",
|
||||
"@ag-enterprise/grid-all-modules": "^22.0.0-beta.0",
|
||||
"@ag-grid-community/grid-all-modules": "^22.0.0-beta.0",
|
||||
"@ag-grid-community/grid-core": "^22.0.0-beta.0",
|
||||
"@ag-grid-community/grid-react": "^22.0.0-beta.0",
|
||||
"@ag-grid-enterprise/grid-all-modules": "^22.0.0-beta.0",
|
||||
"bootstrap": "4.3.1",
|
||||
"d3": "4.9.1",
|
||||
"lodash": "4.17.11",
|
||||
|
||||
@@ -4,8 +4,8 @@ import React from "react";
|
||||
import {render} from "react-dom";
|
||||
import {BrowserRouter} from "react-router-dom";
|
||||
|
||||
import "@ag-community/grid-core/dist/styles/ag-grid.css";
|
||||
import "@ag-community/grid-core/dist/styles/ag-theme-balham.css";
|
||||
import "@ag-grid-community/grid-core/dist/styles/ag-grid.css";
|
||||
import "@ag-grid-community/grid-core/dist/styles/ag-theme-balham.css";
|
||||
import "../node_modules/bootstrap/dist/css/bootstrap.css";
|
||||
|
||||
import App from "./App";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import React, {Component} from "react";
|
||||
import {AgGridColumn, AgGridReact} from "@ag-community/grid-react";
|
||||
import {AgGridColumn, AgGridReact} from "@ag-grid-community/grid-react";
|
||||
import RowDataFactory from "./RowDataFactory";
|
||||
import DateComponent from "./DateComponent.jsx";
|
||||
import SkillsCellRenderer from './SkillsCellRenderer.jsx';
|
||||
@@ -14,10 +14,10 @@ import SortableHeaderComponent from './SortableHeaderComponent.jsx';
|
||||
import "./RichGridDeclarativeExample.css";
|
||||
|
||||
// for community features
|
||||
// import {AllCommunityModules} from "@ag-community/grid-all-modules";
|
||||
// import {AllCommunityModules} from "@ag-grid-community/grid-all-modules";
|
||||
|
||||
// for enterprise features
|
||||
import {AllModules} from "@ag-enterprise/grid-all-modules";
|
||||
import {AllModules} from "@ag-grid-enterprise/grid-all-modules";
|
||||
|
||||
export default class RichGridDeclarativeExample extends Component {
|
||||
constructor(props) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import React, {Component} from "react";
|
||||
import {connect} from "react-redux";
|
||||
import {AgGridReact} from "@ag-community/grid-react";
|
||||
import {AgGridReact} from "@ag-grid-community/grid-react";
|
||||
|
||||
import PriceRenderer from "./PriceRenderer";
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import React, {useContext} from "react";
|
||||
import {Context} from "./store";
|
||||
import {AgGridReact} from "@ag-community/grid-react";
|
||||
import {AgGridReact} from "@ag-grid-community/grid-react";
|
||||
|
||||
/*
|
||||
* This component serves to display the row data (provided by redux)
|
||||
|
||||
@@ -4,8 +4,8 @@ import ReactDOM from 'react-dom';
|
||||
import React from 'react';
|
||||
import LargeGrid from './largeGrid.jsx';
|
||||
|
||||
import '@ag-community/grid-core/dist/styles/ag-grid.css';
|
||||
import '@ag-community/grid-core/dist/styles/ag-theme-fresh.css';
|
||||
import '@ag-grid-community/grid-core/dist/styles/ag-grid.css';
|
||||
import '@ag-grid-community/grid-core/dist/styles/ag-theme-fresh.css';
|
||||
|
||||
// waiting for dom to load before booting react. we could alternatively
|
||||
// put the index.js reference at the end fo the index.html, but i prefer this way.
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
import React, {Component} from 'react';
|
||||
import SimpleCellRenderer from './simpleCellRenderer.jsx';
|
||||
import {AgGridReact} from '@ag-community/grid-react';
|
||||
import {AgGridReact} from '@ag-grid-community/grid-react';
|
||||
|
||||
// for community features
|
||||
import {AllCommunityModules} from "@ag-community/grid-all-modules";
|
||||
import {AllCommunityModules} from "@ag-grid-community/grid-all-modules";
|
||||
|
||||
// for enterprise features
|
||||
// import {AllModules} from "@ag-enterprise/grid-all-modules";
|
||||
// import {AllModules} from "@ag-grid-enterprise/grid-all-modules";
|
||||
|
||||
export default class MyApp extends Component {
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React, {Component} from "react";
|
||||
import {connect} from "react-redux";
|
||||
|
||||
import {AgGridReact} from "@ag-community/grid-react";
|
||||
import {AgGridReact} from "@ag-grid-community/grid-react";
|
||||
|
||||
class FxQuoteMatrix extends Component {
|
||||
constructor(props) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import React, {Component} from "react";
|
||||
|
||||
import {AgGridReact} from "@ag-community/grid-react";
|
||||
import {AgGridReact} from "@ag-grid-community/grid-react";
|
||||
|
||||
import map from "lodash/map";
|
||||
import difference from "lodash/difference";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React, {Component} from "react";
|
||||
import {connect} from "react-redux";
|
||||
|
||||
import {AgGridReact} from "@ag-community/grid-react";
|
||||
import {AgGridReact} from "@ag-grid-community/grid-react";
|
||||
|
||||
class TopMoversGrid extends Component {
|
||||
constructor(props) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import React from 'react';
|
||||
import {AgGridReact} from '@ag-community/grid-react';
|
||||
import {AgGridReact} from '@ag-grid-community/grid-react';
|
||||
|
||||
export const App: React.FunctionComponent = () => <AgGridReact invalidProperty columnDefs={[]} rowData={[]}/>;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import React from 'react';
|
||||
import {AgGridReact} from '@ag-community/grid-react';
|
||||
import {AgGridReact} from '@ag-grid-community/grid-react';
|
||||
|
||||
export const App: React.FunctionComponent = () => <AgGridReact columnDefs={[]} rowData={[]}/>;
|
||||
|
||||
Reference in New Issue
Block a user