-
Notifications
You must be signed in to change notification settings - Fork 387
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Merge with "migrate-to-esm" branch * Add plugin to .babelrc * Reanimate grid/scheduler material-ui unit tests * Update material import paths * Decrease a number of changes * Fix lint * Revert redundant changes * Revert exports * Revert grid-exporter-core changes * test update grid-exporter-api * fix site build * Revert "test update grid-exporter-api" This reverts commit f26012d. * Fix build api in dx-react-grid-export package * Rework getting paths base on import.meta.url Co-authored-by: Lykoi18 <[email protected]> Co-authored-by: Shpileva Yuliya <[email protected]>
- Loading branch information
1 parent
0ea8d03
commit 9b79e78
Showing
86 changed files
with
446 additions
and
285 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
module.exports = { | ||
export default { | ||
preset: 'ts-jest', | ||
testEnvironment: 'jsdom', | ||
transform: { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
const buildDefinitions = require('../../scripts/merge-dts'); | ||
import { fileURLToPath } from 'url'; | ||
import { dirname } from 'path'; | ||
|
||
buildDefinitions(__dirname); | ||
import buildDefinitions from '../../scripts/merge-dts.js'; | ||
|
||
buildDefinitions(dirname(fileURLToPath(import.meta.url))); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
module.exports = { | ||
export default { | ||
transform: { | ||
'^.+\\.tsx?$': 'ts-jest', | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
const buildDefinitions = require('../../scripts/merge-dts'); | ||
import { fileURLToPath } from 'url'; | ||
import { dirname } from 'path'; | ||
|
||
buildDefinitions(__dirname); | ||
import buildDefinitions from '../../scripts/merge-dts.js'; | ||
|
||
buildDefinitions(dirname(fileURLToPath(import.meta.url))); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{ | ||
"extends": "../../.eslintrc.react.json", | ||
"env": { | ||
"browser": true | ||
}, | ||
"rules": { | ||
"filenames/match-regex": [2, "^[a-z-\\.]+$"], | ||
"no-restricted-imports": ["error", "@mui/material", "@mui/icons-material"] | ||
} | ||
"extends": "../../.eslintrc.react.json", | ||
"env": { | ||
"browser": true | ||
}, | ||
"rules": { | ||
"filenames/match-regex": [2, "^[a-z-\\.]+$"], | ||
"no-restricted-imports": ["error", "@mui/material", "@mui/icons-material"] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,7 @@ | ||
const path = require('path'); | ||
import path from 'path'; | ||
|
||
const getCurrentProductName = () => { | ||
export const getCurrentProductName = () => { | ||
const packageName = path.basename(path.resolve('./')); | ||
const productName = packageName.split('-')[2]; | ||
return productName; | ||
}; | ||
|
||
module.exports = { | ||
getCurrentProductName, | ||
}; |
Oops, something went wrong.