From dd13fa7425661e772ed6fe46cdee7d45267a5eb4 Mon Sep 17 00:00:00 2001 From: "Nikola R. Hristov" Date: Thu, 21 Mar 2024 18:02:08 +0200 Subject: [PATCH] 0.0.4 --- .github/workflows/GitHub.yml | 7 +-- .github/workflows/Node.yml | 7 +-- Configuration/ESBuild.js | 85 ++++++++++++++---------------- Target/Class/TypeScriptDocument.js | 2 +- 4 files changed, 49 insertions(+), 52 deletions(-) diff --git a/.github/workflows/GitHub.yml b/.github/workflows/GitHub.yml index ffde8df..09e8b75 100644 --- a/.github/workflows/GitHub.yml +++ b/.github/workflows/GitHub.yml @@ -20,19 +20,19 @@ jobs: env: ADBLOCK: true - TELEMETRY_DISABLED: 1 ASTRO_TELEMETRY_DISABLED: 1 AUTOMATEDLAB_TELEMETRY_OPTOUT: 1 AZURE_CORE_COLLECT_TELEMETRY: 0 CHOOSENIM_NO_ANALYTICS: 1 DIEZ_DO_NOT_TRACK: 1 - DO_NOT_TRACK: 1 DOTNET_CLI_TELEMETRY_OPTOUT: 1 DOTNET_INTERACTIVE_CLI_TELEMETRY_OPTOUT: 1 + DO_NOT_TRACK: 1 ET_NO_TELEMETRY: 1 GATSBY_TELEMETRY_DISABLED: 1 - GATSBY_TELEMETRY_OPT_OUT: 1 GATSBY_TELEMETRY_OPTOUT: 1 + GATSBY_TELEMETRY_OPT_OUT: 1 + GRIT_TELEMETRY_DISABLED: 1 HASURA_GRAPHQL_ENABLE_TELEMETRY: false HINT_TELEMETRY: off HOMEBREW_NO_ANALYTICS: 1 @@ -47,6 +47,7 @@ jobs: SAM_CLI_TELEMETRY: 0 STNOUPGRADE: 1 STRIPE_CLI_TELEMETRY_OPTOUT: 1 + TELEMETRY_DISABLED: 1 steps: - uses: pozil/auto-assign-issue@v1.13.0 diff --git a/.github/workflows/Node.yml b/.github/workflows/Node.yml index 64b00f6..2fd4da9 100644 --- a/.github/workflows/Node.yml +++ b/.github/workflows/Node.yml @@ -23,19 +23,19 @@ jobs: env: ADBLOCK: true - TELEMETRY_DISABLED: 1 ASTRO_TELEMETRY_DISABLED: 1 AUTOMATEDLAB_TELEMETRY_OPTOUT: 1 AZURE_CORE_COLLECT_TELEMETRY: 0 CHOOSENIM_NO_ANALYTICS: 1 DIEZ_DO_NOT_TRACK: 1 - DO_NOT_TRACK: 1 DOTNET_CLI_TELEMETRY_OPTOUT: 1 DOTNET_INTERACTIVE_CLI_TELEMETRY_OPTOUT: 1 + DO_NOT_TRACK: 1 ET_NO_TELEMETRY: 1 GATSBY_TELEMETRY_DISABLED: 1 - GATSBY_TELEMETRY_OPT_OUT: 1 GATSBY_TELEMETRY_OPTOUT: 1 + GATSBY_TELEMETRY_OPT_OUT: 1 + GRIT_TELEMETRY_DISABLED: 1 HASURA_GRAPHQL_ENABLE_TELEMETRY: false HINT_TELEMETRY: off HOMEBREW_NO_ANALYTICS: 1 @@ -50,6 +50,7 @@ jobs: SAM_CLI_TELEMETRY: 0 STNOUPGRADE: 1 STRIPE_CLI_TELEMETRY_OPTOUT: 1 + TELEMETRY_DISABLED: 1 strategy: matrix: diff --git a/Configuration/ESBuild.js b/Configuration/ESBuild.js index 1bcd170..7ba9e6b 100644 --- a/Configuration/ESBuild.js +++ b/Configuration/ESBuild.js @@ -3,49 +3,44 @@ * */ export default { - color: true, - format: "esm", - metafile: true, - minify: true, - outdir: "Target", - platform: "node", - target: "esnext", - write: true, - logLevel: "debug", - plugins: [ - { - name: "Target", - setup({ onStart, initialOptions: { outdir } }) { - onStart(async () => { - try { - outdir - ? await (await import("fs/promises")).rm(outdir, { - recursive: true, - }) - : {}; - } catch (_Error) { - console.log(_Error); - } - }); - }, - }, - (await import("esbuild-plugin-copy")).copy({ - resolveFrom: "out", - assets: [ - { - from: "./Source/Stylesheet/Theme.css", - to: "./Stylesheet/", - }, - ], - }), - ], - define: { - "process.env.VERSION_PACKAGE": `'${ - ( - await ( - await import("../Target/Function/JSON.js") - ).default("package.json") - )?.version - }'`, - }, + color: true, + format: "esm", + metafile: true, + minify: true, + outdir: "Target", + platform: "node", + target: "esnext", + write: true, + logLevel: "debug", + plugins: [ + { + name: "Target", + setup({ onStart, initialOptions: { outdir } }) { + onStart(async () => { + try { + outdir + ? await (await import("fs/promises")).rm(outdir, { + recursive: true, + }) + : {}; + } + catch (_Error) { + console.log(_Error); + } + }); + }, + }, + (await import("esbuild-plugin-copy")).copy({ + resolveFrom: "out", + assets: [ + { + from: "./Source/Stylesheet/Theme.css", + to: "./Stylesheet/", + }, + ], + }), + ], + define: { + "process.env.VERSION_PACKAGE": `'${(await (await import("../Target/Function/JSON.js")).default("package.json"))?.version}'`, + }, }; diff --git a/Target/Class/TypeScriptDocument.js b/Target/Class/TypeScriptDocument.js index 4f0975d..3d486a7 100644 --- a/Target/Class/TypeScriptDocument.js +++ b/Target/Class/TypeScriptDocument.js @@ -1,2 +1,2 @@ #!/usr/bin/env node -var e=new(await import("commander")).Command().name("TypeScriptDocument").version("0.0.3").description("\u{1F4C3} Document TypeScript.").argument("","Document File.").action((await import("../Function/Document.js")).default).parse();export{e as default}; +var e=new(await import("commander")).Command().name("TypeScriptDocument").version("0.0.4").description("\u{1F4C3} Document TypeScript.").argument("","Document File.").action((await import("../Function/Document.js")).default).parse();export{e as default};