update deps

This commit is contained in:
Cory LaViska
2022-07-27 16:17:23 -04:00
parent ed76d8aecc
commit 47388d4a3f
6 changed files with 777 additions and 554 deletions

View File

@@ -2,7 +2,7 @@ import commandLineArgs from 'command-line-args';
import fs from 'fs';
import path from 'path';
import chalk from 'chalk';
import del from 'del';
import { deleteSync } from 'del';
import { pascalCase } from 'pascal-case';
import prettier from 'prettier';
import prettierConfig from '../prettier.config.cjs';
@@ -13,7 +13,7 @@ const { outdir } = commandLineArgs({ name: 'outdir', type: String });
const reactDir = path.join('./src/react');
// Clear build directory
del.sync(reactDir);
deleteSync(reactDir);
fs.mkdirSync(reactDir, { recursive: true });
// Fetch component metadata