From 297eb578f3ddbacd2e682b5b6f97af155497ae91 Mon Sep 17 00:00:00 2001 From: zdm Date: Mon, 10 Jul 2023 10:28:11 +0300 Subject: [PATCH] fix: build --- bin/build.js | 2 +- bin/update.js | 10 +++------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/bin/build.js b/bin/build.js index 33ca870..17c9a02 100644 --- a/bin/build.js +++ b/bin/build.js @@ -1,6 +1,6 @@ #!/usr/bin/env node -import Cli from "#lib/cli"; +import Cli from "#core/cli"; import Geolite2Asn from "#lib/external-resources/geolite2-asn"; const CLI = { diff --git a/bin/update.js b/bin/update.js index e5911c2..7885b64 100644 --- a/bin/update.js +++ b/bin/update.js @@ -1,7 +1,7 @@ #!/usr/bin/env node -import Cli from "#lib/cli"; -import externalResources from "#lib/external-resources"; +import Cli from "#core/cli"; +import externalResources from "#core/external-resources"; const CLI = { "title": "Update resources", @@ -18,11 +18,7 @@ const CLI = { await Cli.parse( CLI ); -externalResources.add( "softvisio-node/core/resources/geolite2-country", import.meta.url ); -externalResources.add( "softvisio-node/core/resources/http", import.meta.url ); -externalResources.add( "softvisio-node/core/resources/public-suffixes", import.meta.url ); -externalResources.add( "softvisio-node/core/resources/subnets", import.meta.url ); -externalResources.add( "softvisio-node/core/resources/tld", import.meta.url ); +externalResources.add( "softvisio-node/geoip-asn/resources/geolite2-asn", import.meta.url ); const res = await externalResources.update( { "remote": true,