summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/copyright_checker.js2
-rwxr-xr-xtools/lint.js23
-rwxr-xr-xtools/release/00_start_release.ts3
-rwxr-xr-xtools/release/03_publish_crates.ts3
-rw-r--r--tools/release/promote_to_rc.ts2
-rw-r--r--tools/upload_wptfyi.js2
-rw-r--r--tools/util.js3
-rw-r--r--tools/verify_pr_title.js3
8 files changed, 27 insertions, 14 deletions
diff --git a/tools/copyright_checker.js b/tools/copyright_checker.js
index 3c46f3b1e..24afe1dfd 100755
--- a/tools/copyright_checker.js
+++ b/tools/copyright_checker.js
@@ -1,6 +1,8 @@
#!/usr/bin/env -S deno run --allow-read=. --allow-run=git --config=tests/config/deno.json
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// deno-lint-ignore-file no-console
+
import { getSources, ROOT_PATH } from "./util.js";
const copyrightYear = 2024;
diff --git a/tools/lint.js b/tools/lint.js
index aa02a3e2b..8c2e0f594 100755
--- a/tools/lint.js
+++ b/tools/lint.js
@@ -1,5 +1,8 @@
#!/usr/bin/env -S deno run --allow-write --allow-read --allow-run --allow-net --config=tests/config/deno.json
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+
+// deno-lint-ignore-file no-console
+
import { buildMode, getPrebuilt, getSources, join, ROOT_PATH } from "./util.js";
import { checkCopyright } from "./copyright_checker.js";
import * as ciFile from "../.github/workflows/ci.generate.ts";
@@ -44,27 +47,19 @@ async function dlint() {
"*.js",
"*.ts",
":!:.github/mtime_cache/action.js",
- ":!:tests/testdata/swc_syntax_error.ts",
- ":!:tests/testdata/error_008_checkjs.js",
":!:cli/bench/testdata/npm/*",
":!:cli/bench/testdata/express-router.js",
":!:cli/bench/testdata/react-dom.js",
":!:cli/compilers/wasm_wrap.js",
":!:cli/tsc/dts/**",
+ ":!:cli/tsc/*typescript.js",
+ ":!:cli/tsc/compiler.d.ts",
+ ":!:runtime/examples/",
":!:target/",
":!:tests/registry/**",
":!:tests/specs/**",
- ":!:tests/testdata/encoding/**",
- ":!:tests/testdata/error_syntax.js",
- ":!:tests/testdata/file_extensions/ts_with_js_extension.js",
- ":!:tests/testdata/fmt/**",
- ":!:tests/testdata/lint/**",
- ":!:tests/testdata/npm/**",
- ":!:tests/testdata/run/**",
- ":!:tests/testdata/tsc/**",
- ":!:tests/testdata/test/glob/**",
- ":!:cli/tsc/*typescript.js",
- ":!:cli/tsc/compiler.d.ts",
+ ":!:tests/testdata/**",
+ ":!:tests/unit_node/testdata/**",
":!:tests/wpt/suite/**",
":!:tests/wpt/runner/**",
]);
@@ -93,7 +88,7 @@ async function dlint() {
}),
);
}
- await Promise.all(pending);
+ await Promise.allSettled(pending);
}
// `prefer-primordials` has to apply only to files related to bootstrapping,
diff --git a/tools/release/00_start_release.ts b/tools/release/00_start_release.ts
index b5c35ae5a..125a76af6 100755
--- a/tools/release/00_start_release.ts
+++ b/tools/release/00_start_release.ts
@@ -1,5 +1,8 @@
#!/usr/bin/env -S deno run -A --quiet --lock=tools/deno.lock.json
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+
+// deno-lint-ignore-file no-console
+
import { $, createOctoKit, semver } from "./deps.ts";
const currentDirPath = $.path(import.meta).parentOrThrow();
diff --git a/tools/release/03_publish_crates.ts b/tools/release/03_publish_crates.ts
index dcad8ed92..ecfb75e79 100755
--- a/tools/release/03_publish_crates.ts
+++ b/tools/release/03_publish_crates.ts
@@ -1,5 +1,8 @@
#!/usr/bin/env -S deno run -A --lock=tools/deno.lock.json
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+
+// deno-lint-ignore-file no-console
+
import { DenoWorkspace } from "./deno_workspace.ts";
import { $, getCratesPublishOrder } from "./deps.ts";
diff --git a/tools/release/promote_to_rc.ts b/tools/release/promote_to_rc.ts
index eb4933678..297f5f462 100644
--- a/tools/release/promote_to_rc.ts
+++ b/tools/release/promote_to_rc.ts
@@ -1,6 +1,8 @@
#!/usr/bin/env -S deno run -A --lock=tools/deno.lock.json
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// deno-lint-ignore-file no-console
+
import { $ } from "jsr:@david/dax@0.41.0";
import { gray } from "jsr:@std/fmt@1/colors";
import { patchver } from "jsr:@deno/patchver@0.1.0";
diff --git a/tools/upload_wptfyi.js b/tools/upload_wptfyi.js
index b8f6d7c5a..23dd4c660 100644
--- a/tools/upload_wptfyi.js
+++ b/tools/upload_wptfyi.js
@@ -4,6 +4,8 @@
// passed, will automatically add a status check to the commit with a link to
// the wpt.fyi page.
+// deno-lint-ignore-file no-console
+
import { gzip } from "https://deno.land/x/compress@v0.4.1/gzip/mod.ts";
const user = Deno.env.get("WPT_FYI_USER");
diff --git a/tools/util.js b/tools/util.js
index ed322d0d8..99133628c 100644
--- a/tools/util.js
+++ b/tools/util.js
@@ -1,4 +1,7 @@
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+
+// deno-lint-ignore-file no-console
+
import { dirname, fromFileUrl, join, resolve, toFileUrl } from "@std/path";
import { wait } from "https://deno.land/x/wait@0.1.13/mod.ts";
export { dirname, fromFileUrl, join, resolve, toFileUrl };
diff --git a/tools/verify_pr_title.js b/tools/verify_pr_title.js
index d7b393bcd..98cc30aa7 100644
--- a/tools/verify_pr_title.js
+++ b/tools/verify_pr_title.js
@@ -1,4 +1,7 @@
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+
+// deno-lint-ignore-file no-console
+
const prTitle = Deno.args[0];
if (prTitle == null) {