Skip to content

Commit

Permalink
0.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaRHristov committed Mar 15, 2024
1 parent 2a45982 commit f14854b
Show file tree
Hide file tree
Showing 126 changed files with 1,350 additions and 28,387 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.0.4

- Cleanup

## 0.0.3

- Cleanup
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/",
},
],
}),
],
};
Loading

0 comments on commit f14854b

Please sign in to comment.