Skip to content

Commit

Permalink
move types to dev dependencies
Browse files Browse the repository at this point in the history
closes #125
  • Loading branch information
souporserious committed May 21, 2024
1 parent db368ea commit 3cc2642
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 24 deletions.
5 changes: 5 additions & 0 deletions .changeset/stale-buses-dream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"mdxts": minor
---

Moves `@types` packages from dependencies to dev dependencies to reduce npm install size. These should be included in the project `mdxts` is used in now e.g. `npm install @types/react`.
12 changes: 6 additions & 6 deletions packages/mdxts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,12 @@
"@swc/cli": "^0.3.12",
"@swc/core": "^1.4.17",
"@types/glob-parent": "5.1.3",
"@types/hast": "^3.0.4",
"@types/mdast": "^4.0.3",
"@types/mdx": "^2.0.13",
"@types/react": "^18.3.1",
"@types/react-dom": "^18.3.0",
"@types/title": "^3.4.3",
"@types/webpack-env": "1.18.4",
"@types/ws": "^8.5.10",
"next": "14.2.3",
Expand All @@ -121,12 +127,6 @@
"@remark-embedder/transformer-codesandbox": "^3.0.0",
"@sindresorhus/slugify": "^2.2.1",
"@tsxmod/utils": "^0.5.1",
"@types/hast": "^3.0.4",
"@types/mdast": "^4.0.3",
"@types/mdx": "^2.0.13",
"@types/react": "^18.3.1",
"@types/react-dom": "^18.3.0",
"@types/title": "^3.4.3",
"case-anything": "^2.1.13",
"chalk": "^4.1.2",
"chokidar": "^3.6.0",
Expand Down
36 changes: 18 additions & 18 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3cc2642

Please sign in to comment.