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:
Sébastien Lorber 2021-04-07 18:28:06 +02:00 committed by GitHub
parent 44029128fa
commit 3bcd0a6ab1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
28 changed files with 1790 additions and 1601 deletions

View file

@ -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

View file

@ -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)"
}
}

View file

@ -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