Skip to content

Commit

Permalink
scripts: move remove_dir script to utils to declutter scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
peaBerberian committed Sep 4, 2024
1 parent 7277ee9 commit 683b02e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -154,11 +154,11 @@
"check:all": "npm run check:types && npm run lint && npm run lint:demo && npm run lint:tests && npm run test:unit && npm run test:integration && npm run test:memory && node -r esm ./scripts/check_nodejs_import_compatibility.js",
"check:demo": "npm run check:demo:types && npm run lint:demo",
"check:demo:types": "tsc --noEmit --project demo/",
"clean:build": "scripts/remove_dir.mjs dist",
"clean:build": "scripts/utils/remove_dir.mjs dist",
"check:types": "tsc --noEmit --project .",
"check:types:unit_tests": "tsc --noEmit --project ./tsconfig.unit-tests.json",
"check:types:watch": "tsc --noEmit --watch --project .",
"clean:wasm": "scripts/remove_dir.mjs dist/mpd-parser.wasm && scripts/remove_dir.mjs ./src/parsers/manifest/dash/wasm-parser/target",
"clean:wasm": "scripts/utils/remove_dir.mjs dist/mpd-parser.wasm && scripts/utis/remove_dir.mjs ./src/parsers/manifest/dash/wasm-parser/target",
"demo": "node ./scripts/build_demo.mjs --production-mode",
"demo:min": "node ./scripts/build_demo.mjs --production-mode --minify",
"demo:watch": "node ./scripts/build_demo.mjs --watch --production-mode",
Expand Down
2 changes: 1 addition & 1 deletion scripts/generate_build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import * as path from "path";
import { fileURLToPath, pathToFileURL } from "url";
import generateEmbeds from "./generate_embeds.mjs";
import runBundler from "./run_bundler.mjs";
import removeDir from "./remove_dir.mjs";
import removeDir from "./utils/remove_dir.mjs";

const currentDirectory = path.dirname(fileURLToPath(import.meta.url));

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/performance/run.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import * as path from "path";
import { fileURLToPath } from "url";
import launchStaticServer from "../../scripts/launch_static_server.mjs";
import getHumanReadableHours from "../../scripts/utils/get_human_readable_hours.mjs";
import removeDir from "../../scripts/remove_dir.mjs";
import removeDir from "../../scripts/utils/remove_dir.mjs";
import { createContentServer } from "../contents/server.mjs";

const currentDirectory = path.dirname(fileURLToPath(import.meta.url));
Expand Down

0 comments on commit 683b02e

Please sign in to comment.