Skip to content

Commit

Permalink
fix(create): install types for JS template as well (#7078)
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-Cena authored Mar 31, 2022
1 parent 949a72e commit ce2b631
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ const config = {
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/favicon.ico',

// GitHub pages deployment config.
// If you aren't using GitHub pages, you don't need these.
organizationName: 'facebook', // Usually your GitHub org/user name.
projectName: 'docusaurus', // Usually your repo name.

Expand Down
3 changes: 3 additions & 0 deletions packages/create-docusaurus/templates/classic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "2.0.0-beta.18"
},
"browserslist": {
"production": [
">0.5%",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ const config = {
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/favicon.ico',

// GitHub pages deployment config.
// If you aren't using GitHub pages, you don't need these.
organizationName: 'facebook', // Usually your GitHub org/user name.
projectName: 'docusaurus', // Usually your repo name.

Expand Down
2 changes: 0 additions & 2 deletions packages/docusaurus-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
"test": "tsc -p ."
},
"dependencies": {
"@docusaurus/react-loadable": "5.5.2",
"react-loadable": "npm:@docusaurus/react-loadable@5.5.2",
"commander": "^5.1.0",
"history": "^4.9.0",
"joi": "^17.6.0",
Expand Down

0 comments on commit ce2b631

Please sign in to comment.