mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 05:05:48 +08:00
0a18e5ba41
* chore: improve publish process by skipping test command (#48230) * chore: speed up publishing * chore: check runs * chore: check runs * chore: check runs * chore: check runs * chore: check runs * chore: check runs * chore: check runs * chore: check runs * chore: check runs * chore: check runs * chore: check runs * chore: skip test * fix: types * revert demo change * fix: script * chore: fix duplicate parts * chore: fix duplicate parts * chore: fix duplicate parts * improve code * use latest.hash chore: download build artifacts from remote chore: skip build when publish chore: improve cli log chore: fix something chore: fix something chore: fix something chore: fix something chore: fix something chore: fix upload-build-artifacts chore: fix needs chore: fix needs * chore: check map files * chore: check package diff before publish * chore Please use `npm publish` instead * chore: sort-package-json * chore: fix needs * chore: import download process * fix types * fix types * chore: update scripts * chore: codesandbox ci * fix token:statistic * fix token:statistic * fix ci * fix ci * chore: codesandbox ci * fix ci * chore: only upload when push to master
18 lines
473 B
JavaScript
18 lines
473 B
JavaScript
const $ = require('dekko');
|
|
const chalk = require('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');
|
|
|
|
// eslint-disable-next-line no-console
|
|
console.log(chalk.green('✨ `dist` directory is valid.'));
|