Skip to content

Commit

Permalink
Fix appstore build (binary-com#5986)
Browse files Browse the repository at this point in the history
* chore: fix build #1

* chore: fix type props
  • Loading branch information
balakrishna-deriv committed Jul 18, 2022
1 parent 3ab20e3 commit 994a2b3
Show file tree
Hide file tree
Showing 7 changed files with 35,430 additions and 33,526 deletions.
68,940 changes: 35,423 additions & 33,517 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/appstore/.storybook/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const path = require('path');
const CopyPlugin = require('copy-webpack-plugin-v6');
const CopyPlugin = require('copy-webpack-plugin');

// Export a function. Accept the base config as the only param.
module.exports = async ({ config, mode }) => {
Expand Down
2 changes: 1 addition & 1 deletion packages/appstore/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"babel-core": "^6.26.3",
"babel-loader": "^8.1.0",
"chai": "^4.2.0",
"copy-webpack-plugin-v6": "npm:copy-webpack-plugin@6",
"copy-webpack-plugin": "^9.0.1",
"concurrently": "^5.3.0",
"cross-env": "^5.2.0",
"css-loader": "^5.0.1",
Expand Down
6 changes: 2 additions & 4 deletions packages/appstore/src/components/cards-link/cards-link.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
import React from 'react';
import { Icon } from '@deriv/components';
import AppStoreAppCard from 'Components/app-card';
import AppStoreSkeletonCard from 'Components/skeleton-card';
import AppStoreWalletCard from 'Components/wallet';

type TCardsLinkDetails = {
app_card?: Partial<typeof AppStoreAppCard>;
wallet_card?: Partial<typeof AppStoreWalletCard>;
app_card?: React.ReactNode;
wallet_card?: React.ReactNode;
is_linked: boolean;
};

Expand Down
3 changes: 2 additions & 1 deletion packages/appstore/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"Stores": ["src/stores/index"],
"Types": ["src/types"],
"Utils": ["src/utils"]
}
},
"experimentalDecorators": true
},
"include": ["./src/**/*.ts", "./src/**/*.tsx", "./src/declarations.d.ts"]
}
2 changes: 1 addition & 1 deletion packages/components/.storybook/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const path = require('path');
const CopyPlugin = require('copy-webpack-plugin-v6');
const CopyPlugin = require('copy-webpack-plugin');

// Export a function. Accept the base config as the only param.
module.exports = async ({ config, mode }) => {
Expand Down
1 change: 0 additions & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
"@testing-library/react": "^12.0.0",
"babel-loader": "^8.1.0",
"copy-webpack-plugin": "^9.0.1",
"copy-webpack-plugin-v6": "npm:copy-webpack-plugin@6",
"cross-env": "^5.2.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-binary": "^1.0.2",
Expand Down

0 comments on commit 994a2b3

Please sign in to comment.