mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-22 13:37:05 +02:00
fix(v2): examples should use Node 14 by default on CodeSandbox + regen with alpha72 (#4574)
* codesandbox: use node 14 by default * Regenerate examples * Add example json files to prettierrignore
This commit is contained in:
parent
44029128fa
commit
3bcd0a6ab1
28 changed files with 1790 additions and 1601 deletions
|
@ -14,7 +14,7 @@ $ yarn
|
|||
$ yarn start
|
||||
```
|
||||
|
||||
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
|
||||
This command starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server.
|
||||
|
||||
### Build
|
||||
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
"dev": "docusaurus start"
|
||||
},
|
||||
"dependencies": {
|
||||
"@docusaurus/core": "2.0.0-alpha.71",
|
||||
"@docusaurus/preset-bootstrap": "2.0.0-alpha.71",
|
||||
"@docusaurus/core": "2.0.0-alpha.72",
|
||||
"@docusaurus/preset-bootstrap": "2.0.0-alpha.72",
|
||||
"@mdx-js/react": "^1.5.8",
|
||||
"classnames": "^2.2.6",
|
||||
"react": "^17.0.1",
|
||||
|
@ -35,4 +35,4 @@
|
|||
]
|
||||
},
|
||||
"description": "Docusaurus example project (bootstrap template)"
|
||||
}
|
||||
}
|
|
@ -2,5 +2,9 @@
|
|||
"infiniteLoopProtection": true,
|
||||
"hardReloadOnChange": true,
|
||||
"view": "browser",
|
||||
"template": "docusaurus"
|
||||
}
|
||||
"template": "docusaurus",
|
||||
"node": "14",
|
||||
"container": {
|
||||
"node": "14"
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue