diff --git a/Script/Configuration/ESBuild.js b/Script/Configuration/ESBuild.js index b97d165..efc3061 100644 --- a/Script/Configuration/ESBuild.js +++ b/Script/Configuration/ESBuild.js @@ -11,7 +11,9 @@ export default { setup({ onStart, initialOptions: { outdir } }) { onStart(async () => { try { - await (await import("fs/promises")).rm(outdir, { + await ( + await import("fs/promises") + ).rm(outdir, { recursive: true, }); } catch (_Error) {} diff --git a/Script/Configuration/ESBuild.ts b/Script/Configuration/ESBuild.ts index 263d35e..14a9d15 100644 --- a/Script/Configuration/ESBuild.ts +++ b/Script/Configuration/ESBuild.ts @@ -1,4 +1,4 @@ -export default ({ +export default { format: "esm", minify: false, outdir: "Target", @@ -11,7 +11,9 @@ export default ({ setup({ onStart, initialOptions: { outdir } }) { onStart(async () => { try { - await (await import("fs/promises")).rm(outdir, { + await ( + await import("fs/promises") + ).rm(outdir, { recursive: true, }); } catch (_Error) {} @@ -28,6 +30,6 @@ export default ({ ], }), ], -} satisfies BuildOptions); +} satisfies BuildOptions; import type { BuildOptions } from "esbuild"; diff --git a/Script/Documentation/index.html b/Script/Documentation/index.html index c63b91f..11e338a 100644 --- a/Script/Documentation/index.html +++ b/Script/Documentation/index.html @@ -1,62 +1,965 @@ -@yesmaintain/script - v0.0.1

@yesmaintain/script - v0.0.1

YesMaintain 🔧

Maintains GitHub repositories.

-

Installation

Using NPM

-
npm install -g @yesmaintain/script
+
+
+	
+		
+		
+		
+		@yesmaintain/script - v0.0.1
+		
+		
+		
+		
+		
+		
+		
+		
+	
+	
+		
+		
+
+ +
+ + +
+
+
+
+
+
+

@yesmaintain/script - v0.0.1

+
+
+ +

+ YesMaintain + 🔧 +

+

Maintains GitHub repositories.

+ +

Installation

+

Using NPM

+
npm install -g @yesmaintain/script
 
-

Using Yarn

-
yarn global add @yesmaintain/script
+					

Using Yarn

+
yarn global add @yesmaintain/script
 
-

Using PNPM

-
pnpm install -g @yesmaintain/script
+					

Using PNPM

+
pnpm install -g @yesmaintain/script
 
-

or direct usage:

-

Using NPM

-
npx @yesmaintain/script
+					

or direct usage:

+

Using NPM

+
npx @yesmaintain/script
 
-

Using Yarn

-
yarn @yesmaintain/script
+					

Using Yarn

+
yarn @yesmaintain/script
 
-

Using PNPM

-
pnpx @yesmaintain/script
+					

Using PNPM

+
pnpx @yesmaintain/script
 
-

CLI Usage:

Delete all GitHub Actions runs and their logs for all of your repositories:

-
Maintain Clean
+					
+					

CLI Usage:

+

+ Delete all GitHub Actions runs and their logs for all of + your repositories: +

+
Maintain Clean
 
-

Create a dependabot.yml file in each of the .github directories for each of -the packages in the monorepo:

-
Maintain Dependabot
+					

+ Create a dependabot.yml file in each of the + .github directories for each of the packages in the + monorepo: +

+
Maintain Dependabot
 
-

Dispatch all workflows for all repositories for a given user:

-
Maintain Dispatch
+					

+ Dispatch all workflows for all repositories for a given + user: +

+
Maintain Dispatch
 
-

or specific repositories by name:

-
Maintain Dispatch Repository1 Repository2
+					

or specific repositories by name:

+
Maintain Dispatch Repository1 Repository2
 
-

Enable / disable all the features that GitHub offers for all the repositories -that you have access to:

-
Maintain Edit
+					

+ Enable / disable all the features that GitHub offers for + all the repositories that you have access to: +

+
Maintain Edit
 
-

Create a Node.yml file in the .github/workflows directory for each -repository that has a package.json file.

-
Maintain Node
+					

+ Create a Node.yml file in the + .github/workflows directory for each + repository that has a package.json file. +

+
Maintain Node
 
-

Create a NPM.yml file in the .github/workflows directory for each repository -that has a package.json file.

-
Maintain NPM
+					

+ Create a NPM.yml file in the + .github/workflows directory for each + repository that has a package.json file. +

+
Maintain NPM
 
-

Create a Rust.yml file in the .github/workflows directory for each -repository that has a Cargo.toml file.

-
Maintain Rust
+					

+ Create a Rust.yml file in the + .github/workflows directory for each + repository that has a Cargo.toml file. +

+
Maintain Rust
 
-

Run all workflow tasks.

-
Maintain Workflow
+					

Run all workflow tasks.

+
Maintain Workflow
 
-

Find all the package.json files in the project, and then star all the -dependencies in that package.json.

-
Maintain Star
+					

+ Find all the package.json files in the + project, and then star all the dependencies in that + package.json. +

+
Maintain Star
 
-

.env

-
User="Username"
+					

.env

+
User="Username"
 Base="Folder"
 Token="AAAA"
 
-

Generated using TypeDoc

\ No newline at end of file +
+
+
+ + +
+
+
+

+ Generated using + TypeDoc +

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +