Skip to content

Commit

Permalink
post september dependecies (grommet#6365)
Browse files Browse the repository at this point in the history
* more updates

* modify webpack config for updated version of CopyPlugin

Co-authored-by: Brittany Archibeque <[email protected]>
Co-authored-by: Eric Soderberg <[email protected]>
Co-authored-by: Jessica Filben <[email protected]>
  • Loading branch information
4 people authored Sep 29, 2022
1 parent e83ba45 commit c154c8b
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 175 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,21 +85,21 @@
"@testing-library/react": "^13.3.0",
"@testing-library/testcafe": "^4.4.1",
"@testing-library/user-event": "^14.4.3",
"@types/jest": "^29.0.3",
"@types/jest": "^29.1.0",
"@types/jest-axe": "^3.5.5",
"@types/node": "^18.7.23",
"@types/react": "^18.0.21",
"@types/react-dom": "^18.0.6",
"@types/styled-components": "^5.1.25",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "28.1.2",
"babel-jest": "29.1.0",
"babel-loader": "^8.2.5",
"babel-plugin-styled-components": "2.0.6",
"babel-plugin-transform-imports": "^2.0.0",
"bundlesize2": "^0.0.31",
"chromatic": "^6.10.1",
"clean-webpack-plugin": "^4.0.0",
"copy-webpack-plugin": "^5.0.4",
"copy-webpack-plugin": "^11.0.0",
"copyfiles": "^2.4.1",
"core-js": "^3.25.3",
"cross-env": "^7.0.3",
Expand All @@ -114,7 +114,7 @@
"eslint-plugin-prettier": "^4.1.0",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-testing-library": "^5.5.1",
"eslint-plugin-testing-library": "^5.7.0",
"fs-extra": "^10.1.0",
"grommet-theme-aruba": "^0.1.2",
"grommet-theme-dxc": "^0.1.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ describe('SelectMultiple', () => {
});

test('disabled option', async () => {
window.HTMLElement.prototype.scrollIntoView = jest.fn();
const user = userEvent.setup();
render(
<Grommet>
Expand Down
14 changes: 8 additions & 6 deletions webpack.config.babel.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
import path from 'path';
import CopyWebpackPlugin from 'copy-webpack-plugin';
import CopyPlugin from 'copy-webpack-plugin';
import { CleanWebpackPlugin } from 'clean-webpack-plugin';

const plugins = [
new CleanWebpackPlugin(),
new CopyWebpackPlugin([
{ from: './README.md' },
{ from: './package.json' },
{ from: './tools', to: 'tools' },
]),
new CopyPlugin({
patterns: [
{ from: './README.md' },
{ from: './package.json' },
{ from: './tools', to: 'tools' },
],
}),
];

export default {
Expand Down
Loading

0 comments on commit c154c8b

Please sign in to comment.