Skip to content

Commit

Permalink
chore: remove unused devDeps (ant-design#39392)
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 authored Dec 8, 2022
1 parent d04756c commit 6675406
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 33 deletions.
2 changes: 0 additions & 2 deletions .dumi/theme/builtins/Previewer/fromDumiProps.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import React, { useEffect, useState } from 'react';
// @ts-ignore
import JsonML from 'jsonml.js/lib/utils';
// @ts-ignore
import toReactComponent from 'jsonml-to-react-element';
import Prism from 'prismjs';
import 'prismjs/components/prism-typescript';
Expand Down
2 changes: 0 additions & 2 deletions .dumi/theme/static/style.js
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
import 'react-github-button/assets/style.css';
import 'docsearch.js/dist/cdn/docsearch.css';
import 'rc-footer/assets/index.css';
12 changes: 0 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,11 +157,8 @@
"shallowequal": "^1.1.0"
},
"devDependencies": {
"@ant-design/bisheng-plugin": "^3.3.0-alpha.4",
"@ant-design/hitu": "^0.0.0-alpha.13",
"@ant-design/tools": "^16.1.0-alpha.2",
"@babel/eslint-plugin": "^7.19.1",
"@docsearch/css": "^3.0.0",
"@emotion/babel-preset-css-prop": "^11.10.0",
"@emotion/css": "^11.10.5",
"@emotion/react": "^11.10.4",
Expand Down Expand Up @@ -198,19 +195,14 @@
"antd-img-crop": "^4.2.8",
"antd-token-previewer": "^1.1.0-6",
"array-move": "^4.0.0",
"babel-plugin-add-react-displayname": "^0.0.5",
"bundlesize2": "^0.0.31",
"chalk": "^4.0.0",
"cheerio": "1.0.0-rc.12",
"concurrently": "^7.0.0",
"cross-env": "^7.0.0",
"css-minimizer-webpack-plugin": "^1.3.0",
"dekko": "^0.2.1",
"docsearch-react-fork": "^0.0.0-alpha.0",
"docsearch.js": "^2.6.3",
"dumi": "^2.0.2",
"duplicate-package-checker-webpack-plugin": "^3.0.0",
"enquire-js": "^0.2.1",
"esbuild-loader": "^2.13.1",
"eslint": "^8.0.0",
"eslint-config-airbnb": "^19.0.0",
Expand All @@ -227,7 +219,6 @@
"fast-glob": "^3.2.11",
"fetch-jsonp": "^1.1.3",
"fs-extra": "^11.0.0",
"full-icu": "^1.3.0",
"gh-pages": "^4.0.0",
"glob": "^8.0.1",
"highlight.js": "^11.5.0",
Expand All @@ -236,9 +227,7 @@
"identity-obj-proxy": "^3.0.0",
"immer": "^9.0.1",
"immutability-helper": "^3.0.0",
"increase-memory-limit": "^1.0.7",
"inquirer": "^9.1.2",
"intersection-observer": "^0.12.0",
"isomorphic-fetch": "^3.0.0",
"jest": "^29.0.0",
"jest-axe": "^7.0.0",
Expand Down Expand Up @@ -273,7 +262,6 @@
"react-dom": "^18.0.0",
"react-draggable": "^4.4.3",
"react-fast-marquee": "^1.2.1",
"react-github-button": "^0.1.11",
"react-highlight-words": "^0.18.0",
"react-infinite-scroll-component": "^6.1.0",
"react-resizable": "^3.0.1",
Expand Down
19 changes: 2 additions & 17 deletions typings/custom-typings.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,6 @@ declare module '*.svg' {
export default src;
}

declare module 'bisheng/collect';

declare module 'bisheng/router';

declare module 'react-github-button';

declare module 'jsonml.js/*';

declare module 'rc-pagination/*';

declare module 'rc-util*';
Expand All @@ -24,17 +16,10 @@ declare module 'rc-checkbox';

declare module 'rc-rate';

declare module 'jsonml.js/*';

declare module '*.json' {
const value: any;
export const version: string;
export default value;
}

declare module 'docsearch-react-fork/style/modal';

declare module 'docsearch-react-fork/modal' {
import { DocSearchModal as value } from 'docsearch-react-fork';
export const DocSearchModal = value;
}

declare module 'docsearch.js';

0 comments on commit 6675406

Please sign in to comment.