Skip to content

Commit

Permalink
feat!: Remove direct dependency on @doc-tools/transform
Browse files Browse the repository at this point in the history
  • Loading branch information
3y3 committed Sep 5, 2023
1 parent e617864 commit 6459a96
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,9 @@
},
"peerDependencies": {
"react": ">=16.8.0 || >=17.0.0 || >=18.0.0",
"react-dom": ">=16.8.0 || >=17.0.0 || >=18.0.0",
"@doc-tools/transform": "^3.10.2"
"react-dom": ">=16.8.0 || >=17.0.0 || >=18.0.0"
},
"devDependencies": {
"@doc-tools/transform": "^3.10.2",
"@gravity-ui/eslint-config": "^2.2.0",
"@gravity-ui/prettier-config": "^1.0.1",
"@gravity-ui/stylelint-config": "^3.0.0",
Expand Down
2 changes: 0 additions & 2 deletions src/components/DocPage/DocPage.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import React from 'react';

import block from 'bem-cn-lite';
import '@doc-tools/transform/dist/js/yfm';
import ReactDOMServer from 'react-dom/server';

import {DEFAULT_SETTINGS} from '../../constants';
Expand Down Expand Up @@ -39,7 +38,6 @@ import {TocNavPanel} from '../TocNavPanel';

import LinkIcon from '../../../assets/icons/link.svg';

import '@doc-tools/transform/dist/css/yfm.css';
import './DocPage.scss';

const b = block('dc-doc-page');
Expand Down

0 comments on commit 6459a96

Please sign in to comment.