mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-10-17 00:14:55 +00:00
update ava version, migrate to gacts/install-dnscontrol and use lockfiles
This commit is contained in:
1 parent
fb5e12dc36
commit
a692aa1209
11 files changed
+1927
-43
No files matched your search
+6
-6
@@ -1,6 +1,9 @@
|
||||
const t = require("ava");
|
||||
const fs = require("fs-extra");
|
||||
const path = require("path");
|
||||
import t from "ava";
|
||||
import fs from "fs-extra";
|
||||
import path from "path";
|
||||
|
||||
import internalDomains from "../util/internal.json" with { type: "json" };
|
||||
import reservedDomains from "../util/reserved.json" with { type: "json" };
|
||||
|
||||
const ignoredRootJSONFiles = ["package-lock.json", "package.json"];
|
||||
|
||||
@@ -32,9 +35,6 @@ const blockedFields = ["domain", "internal", "proxy", "reserved", "services", "s
|
||||
const emailRegex = /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/;
|
||||
const hostnameRegex = /^(?=.{1,253}$)(?:(?:[_a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)\.)+[a-zA-Z]{2,63}$/;
|
||||
|
||||
const internalDomains = require("../util/internal.json");
|
||||
const reservedDomains = require("../util/reserved.json");
|
||||
|
||||
const domainsPath = path.resolve("domains");
|
||||
const files = fs.readdirSync(domainsPath);
|
||||
|
||||
|
||||
Reference in new issue
Block a user