Skip to content

Commit

Permalink
squash!
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaRHristov committed Sep 19, 2023
1 parent 66c9715 commit c46a160
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 11 deletions.
7 changes: 4 additions & 3 deletions Source/Bin.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
#!/usr/bin/env node

import Build from "./Command/Build.js";
import _JSON from "./Library/JSON.js";

import { Command } from "commander";
import Build from "./Command/Build.ts";
import _JSON from "./Library/JSON.ts";

try {
new Command()
Expand All @@ -13,7 +14,7 @@ try {
.option("-es, --ESBuild <File>", "esbuild configuration file")
.option("-ts, --TypeScript <File>", "TypeScript configuration file")
.action(Build)
.parse();
.parse();
} catch (_Error) {
console.log(_Error);
}
3 changes: 0 additions & 3 deletions Source/Export.ts

This file was deleted.

2 changes: 1 addition & 1 deletion Target/Bin.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/usr/bin/env node
import "./Index.js";
export {};
2 changes: 1 addition & 1 deletion Target/Bin.js

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

1 change: 0 additions & 1 deletion Target/Index.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion Target/Index.js

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"TypeScriptESBuild": "Target/Bin.js"
},
"scripts": {
"prepublishOnly": "node --no-warnings --loader ts-node/esm Source/Index.ts 'Source/**/*.ts'"
"prepublishOnly": "node --no-warnings --loader ts-node/esm Source/Bin.ts 'Source/**/*.ts'"
},
"dependencies": {
"@types/node": "20.6.2",
Expand Down

0 comments on commit c46a160

Please sign in to comment.