mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-23 01:45:05 +08:00
ff52bbcc86
* chore(deps): update dependency chalk to v5 * migrate chalk * Update .github/workflows/test.yml Signed-off-by: afc163 <afc163@gmail.com> --------- Signed-off-by: afc163 <afc163@gmail.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: afc163 <afc163@gmail.com>
17 lines
424 B
TypeScript
17 lines
424 B
TypeScript
import $ from 'dekko';
|
|
import chalk from 'chalk';
|
|
|
|
$('dist')
|
|
.isDirectory()
|
|
.hasFile('antd-with-locales.js')
|
|
.hasFile('antd-with-locales.js.map')
|
|
.hasFile('antd-with-locales.min.js')
|
|
.hasFile('antd-with-locales.min.js.map')
|
|
.hasFile('antd.js')
|
|
.hasFile('antd.js.map')
|
|
.hasFile('antd.min.js')
|
|
.hasFile('antd.min.js.map')
|
|
.hasFile('reset.css');
|
|
|
|
console.log(chalk.green('✨ `dist` directory is valid.'));
|