use platform agnostic delete

pull/463/head
Cory LaViska 2021-05-11 08:35:31 -04:00
rodzic b3bcfc9934
commit e274904d28
2 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -12,6 +12,7 @@ _During the beta period, these restrictions may be relaxed in the event of a mis
- Fixed a bug where setting properties before an element was defined would render incorrectly [#425](https://github.com/shoelace-style/shoelace/issues/425)
- Fixed a bug that caused all modules to be imported when cherry picking certain components [#439](https://github.com/shoelace-style/shoelace/issues/439)
- Fixed a bug where the scrollbar would reposition `sl-dialog` on hide causing it to jump [#424](https://github.com/shoelace-style/shoelace/issues/424)
- Fixed a bug that prevented the project from being built in a Windows environment
- Improved a11y in `sl-progress-ring`
- Updated to Bootstrap Icons 1.5.0
- Updated React docs to use [`@shoelace-style/react`](https://github.com/shoelace-style/react)

Wyświetl plik

@ -18,7 +18,8 @@ const { build } = require('esbuild');
const { dev } = commandLineArgs({ name: 'dev', type: Boolean });
execSync(`rm -rf ./dist`, { stdio: 'inherit' });
del.sync('./dist');
if (!dev) execSync('tsc', { stdio: 'inherit' }); // for type declarations
execSync('node scripts/make-metadata.cjs', { stdio: 'inherit' });
execSync('node scripts/make-icons.cjs', { stdio: 'inherit' });