mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-23 21:07:20 +00:00
![dependabot[bot]](/assets/img/avatar_default.png)
* Bump del from 4.1.1 to 7.0.0 Bumps [del](https://github.com/sindresorhus/del) from 4.1.1 to 7.0.0. - [Release notes](https://github.com/sindresorhus/del/releases) - [Commits](https://github.com/sindresorhus/del/compare/v4.1.1...v7.0.0) --- updated-dependencies: - dependency-name: del dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Deduplicate dependencies * Adjust to ESM-only and API changes Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Steve Repsher <steverep@users.noreply.github.com>
41 lines
897 B
JavaScript
41 lines
897 B
JavaScript
const del = import("del");
|
|
const gulp = require("gulp");
|
|
const paths = require("../paths");
|
|
require("./translations");
|
|
|
|
gulp.task(
|
|
"clean",
|
|
gulp.parallel("clean-translations", async () =>
|
|
(await del).deleteSync([paths.app_output_root, paths.build_dir])
|
|
)
|
|
);
|
|
|
|
gulp.task(
|
|
"clean-demo",
|
|
gulp.parallel("clean-translations", async () =>
|
|
(await del).deleteSync([paths.demo_output_root, paths.build_dir])
|
|
)
|
|
);
|
|
|
|
gulp.task(
|
|
"clean-cast",
|
|
gulp.parallel("clean-translations", async () =>
|
|
(await del).deleteSync([paths.cast_output_root, paths.build_dir])
|
|
)
|
|
);
|
|
|
|
gulp.task("clean-hassio", async () =>
|
|
(await del).deleteSync([paths.hassio_output_root, paths.build_dir])
|
|
);
|
|
|
|
gulp.task(
|
|
"clean-gallery",
|
|
gulp.parallel("clean-translations", async () =>
|
|
(await del).deleteSync([
|
|
paths.gallery_output_root,
|
|
paths.gallery_build,
|
|
paths.build_dir,
|
|
])
|
|
)
|
|
);
|