mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-11 16:17:25 +02:00
chore: minor typo cleanup (#6324)
* chore: minor typo cleanup * fix tests Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
This commit is contained in:
parent
217b62682d
commit
02a233a221
19 changed files with 26 additions and 26 deletions
|
@ -67,7 +67,7 @@ async function generateTemplateExample(template) {
|
|||
);
|
||||
|
||||
// create sandbox.config.json file at the root of template
|
||||
const codeSanboxConfig = {
|
||||
const codeSandboxConfig = {
|
||||
infiniteLoopProtection: true,
|
||||
hardReloadOnChange: true,
|
||||
view: 'browser',
|
||||
|
@ -79,7 +79,7 @@ async function generateTemplateExample(template) {
|
|||
};
|
||||
await fs.writeFile(
|
||||
`./examples/${template}/sandbox.config.json`,
|
||||
`${JSON.stringify(codeSanboxConfig, null, 2)}\n`,
|
||||
`${JSON.stringify(codeSandboxConfig, null, 2)}\n`,
|
||||
);
|
||||
|
||||
const stackBlitzConfig = {
|
||||
|
@ -185,7 +185,7 @@ console.log(`Will generate examples for templates: ${templates.join(',')}`);
|
|||
for (const template of templates) {
|
||||
await generateTemplateExample(template);
|
||||
}
|
||||
console.log('Commiting changes');
|
||||
console.log('Committing changes');
|
||||
shell.exec('git add examples');
|
||||
shell.exec("git commit -am 'update examples' --allow-empty");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue