Skip to content

Commit

Permalink
squash!
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaRHristov committed Mar 21, 2024
1 parent 337a83a commit b573641
Show file tree
Hide file tree
Showing 29 changed files with 103 additions and 90 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/GitHub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -47,6 +47,7 @@ jobs:
SAM_CLI_TELEMETRY: 0
STNOUPGRADE: 1
STRIPE_CLI_TELEMETRY_OPTOUT: 1
TELEMETRY_DISABLED: 1

steps:
- uses: pozil/[email protected]
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/Node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -50,6 +50,7 @@ jobs:
SAM_CLI_TELEMETRY: 0
STNOUPGRADE: 1
STRIPE_CLI_TELEMETRY_OPTOUT: 1
TELEMETRY_DISABLED: 1

strategy:
matrix:
Expand Down
14 changes: 7 additions & 7 deletions Configuration/ESBuild.d.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
declare const _default: {
format: "esm";
minify: true;
outdir: string;
platform: "node";
target: string;
write: true;
plugins: import("esbuild").Plugin[];
format: "esm";
minify: true;
outdir: string;
platform: "node";
target: string;
write: true;
plugins: import("esbuild").Plugin[];
};
export default _default;
63 changes: 32 additions & 31 deletions Configuration/ESBuild.js
Original file line number Diff line number Diff line change
@@ -1,33 +1,34 @@
export default {
format: "esm",
minify: true,
outdir: "Target",
platform: "node",
target: "esnext",
write: true,
plugins: [
{
name: "Target",
setup({ onStart, initialOptions: { outdir } }) {
onStart(async () => {
try {
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/Workflow/*.yml",
to: "./Workflow/",
},
],
}),
],
format: "esm",
minify: true,
outdir: "Target",
platform: "node",
target: "esnext",
write: true,
plugins: [
{
name: "Target",
setup({ onStart, initialOptions: { outdir } }) {
onStart(async () => {
try {
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/Workflow/*.yml",
to: "./Workflow/",
},
],
}),
],
};
2 changes: 1 addition & 1 deletion Source/Command/Cloudflare.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,4 @@ export default async () =>
}
})((await import("../Variable/Cloudflare.js")).default);

import type Files from "../Type/Files.js";
import type Files from "../Type/File.js";
2 changes: 1 addition & 1 deletion Source/Command/Dependabot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,4 @@ export default async () =>
}
})((await import("../Variable/Dependabot.js")).default);

import type Files from "../Type/Files.js";
import type Files from "../Type/File.js";
2 changes: 1 addition & 1 deletion Source/Command/GitHub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ export default async () =>
}
})((await import("../Variable/GitHub.js")).default);

import type Files from "../Type/Files.js";
import type Files from "../Type/File.js";
2 changes: 1 addition & 1 deletion Source/Command/NPM.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,4 @@ export default async () =>
}
})((await import("../Variable/NPM.js")).default);

import type Files from "../Type/Files.js";
import type Files from "../Type/File.js";
2 changes: 1 addition & 1 deletion Source/Command/Node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,4 +188,4 @@ export default async () =>
}
})((await import("../Variable/Node.js")).default);

import type Files from "../Type/Files.js";
import type Files from "../Type/File.js";
2 changes: 1 addition & 1 deletion Source/Command/Rust.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,4 @@ export default async () =>
}
})((await import("../Variable/Rust.js")).default);

import type Files from "../Type/Files.js";
import type Files from "../Type/File.js";
2 changes: 1 addition & 1 deletion Source/Type/Files.ts → Source/Type/File.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @module Files
* @module File
*
*/
export type Type = Set<{
Expand Down
2 changes: 1 addition & 1 deletion Source/Variable/Cloudflare.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ export default new Set([
},
]) satisfies Type;

import type Type from "../Type/Files.js";
import type Type from "../Type/File.js";
2 changes: 1 addition & 1 deletion Source/Variable/Dependabot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default new Set([
},
]) satisfies Type;

import type Type from "../Type/Files.js";
import type Type from "../Type/File.js";

export const { readFile } = await import("fs/promises");

Expand Down
2 changes: 1 addition & 1 deletion Source/Variable/GitHub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ export default new Set([
},
]) satisfies Type;

import type Type from "../Type/Files.js";
import type Type from "../Type/File.js";
2 changes: 1 addition & 1 deletion Source/Variable/NPM.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ export default new Set([
},
]) satisfies Type;

import type Type from "../Type/Files.js";
import type Type from "../Type/File.js";
2 changes: 1 addition & 1 deletion Source/Variable/Node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ export default new Set([
},
]) satisfies Type;

import type Type from "../Type/Files.js";
import type Type from "../Type/File.js";
2 changes: 1 addition & 1 deletion Source/Variable/Rust.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ export default new Set([
},
]) satisfies Type;

import type Type from "../Type/Files.js";
import type Type from "../Type/File.js";
7 changes: 4 additions & 3 deletions Source/Workflow/Cloudflare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,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
Expand All @@ -48,6 +48,7 @@ jobs:
SAM_CLI_TELEMETRY: 0
STNOUPGRADE: 1
STRIPE_CLI_TELEMETRY_OPTOUT: 1
TELEMETRY_DISABLED: 1

steps:
- uses: actions/[email protected]
7 changes: 4 additions & 3 deletions Source/Workflow/GitHub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -47,6 +47,7 @@ jobs:
SAM_CLI_TELEMETRY: 0
STNOUPGRADE: 1
STRIPE_CLI_TELEMETRY_OPTOUT: 1
TELEMETRY_DISABLED: 1

steps:
- uses: pozil/[email protected]
Expand Down
7 changes: 4 additions & 3 deletions Source/Workflow/Node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -50,6 +50,7 @@ jobs:
SAM_CLI_TELEMETRY: 0
STNOUPGRADE: 1
STRIPE_CLI_TELEMETRY_OPTOUT: 1
TELEMETRY_DISABLED: 1

strategy:
matrix:
Expand Down
7 changes: 4 additions & 3 deletions Source/Workflow/Rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,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
Expand All @@ -48,6 +48,7 @@ jobs:
SAM_CLI_TELEMETRY: 0
STNOUPGRADE: 1
STRIPE_CLI_TELEMETRY_OPTOUT: 1
TELEMETRY_DISABLED: 1

strategy:
matrix:
Expand Down
7 changes: 4 additions & 3 deletions Source/Workflow/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -50,6 +50,7 @@ jobs:
SAM_CLI_TELEMETRY: 0
STNOUPGRADE: 1
STRIPE_CLI_TELEMETRY_OPTOUT: 1
TELEMETRY_DISABLED: 1

timeout-minutes: 360

Expand Down
2 changes: 1 addition & 1 deletion Target/Type/Files.d.ts → Target/Type/File.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @module Files
* @module File
*
*/
export type Type = Set<{
Expand Down
File renamed without changes.
Loading

0 comments on commit b573641

Please sign in to comment.