Skip to content

Commit

Permalink
Build/v0.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaRHristov committed Apr 4, 2024
1 parent 2848b53 commit b6beb91
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 6 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
2 changes: 1 addition & 1 deletion Source/Class/Build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ export default new (await import("commander")).Command()
.description("🌀 Build.")
.argument("<File...>", "File.")
.option("-ES, --ESBuild <File>", "ESBuild.")
.option("-TS, --TypeScript <File>", "TypeScript.")
.option("-TS, --TypeScript <File>", "TypeScript.", "tsconfig.json")
.action((await import("../Function/Build.js")).default)
.parse();
5 changes: 3 additions & 2 deletions Source/Function/Build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export default (async (...[File, Option]: Parameters<Type>) => {
File,
])
),
tsconfig: Option?.TypeScript ?? "tsconfig.json",
}
);

Expand Down Expand Up @@ -52,8 +53,8 @@ export default (async (...[File, Option]: Parameters<Type>) => {
)
);

Exec(`tsc -p ${Option?.TypeScript ?? "tsconfig.json"}`);
Exec(`tsc-alias -p ${Option?.TypeScript ?? "tsconfig.json"}`);
Exec(`tsc -p ${Configuration.tsconfig}`);
Exec(`tsc-alias -p ${Configuration.tsconfig}`);
}) satisfies Type as Type;

import type Type from "../Interface/Build.js";
Expand Down
2 changes: 1 addition & 1 deletion Target/Class/Build.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Target/Function/Build.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@playform/build",
"version": "0.0.3",
"version": "0.0.4",
"private": false,
"description": "🌀 Build.",
"keywords": [
Expand Down

0 comments on commit b6beb91

Please sign in to comment.