chore: re-generate 2.0.1 examples ()

This commit is contained in:
Sébastien Lorber 2022-08-01 10:59:14 +02:00 committed by GitHub
parent 111b4cdcd2
commit e8a11da805
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 2087 additions and 2093 deletions
admin/scripts

View file

@ -41,7 +41,8 @@ async function generateTemplateExample(template) {
// too new and could generate upcoming/unavailable config options.
// Remember CodeSandbox templates will use the published version,
// not the repo version.
`npm init docusaurus@latest examples/${template} ${command}`,
// Using "yarn create" because "npm init" still try to use local pkg
`yarn create docusaurus examples/${template} ${command}`,
);
const templatePackageJson =