diff --git a/CHANGELOG.md b/CHANGELOG.md index 40e37de3..9edcd861 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.1.2 + +- Renamed + ## 0.1.1 - Cleanup diff --git a/README.md b/README.md index 8db3e092..a864bf11 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Add configuration and setup scripts: ```sh -npm install -D -E baxast +npm install -D -E typescriptbuild ``` ## Usage @@ -16,10 +16,10 @@ npm install -D -E baxast { "name": "my-awesome-package", "scripts": { - "prepublishOnly": "baxast 'Source/**/*.ts'" + "prepublishOnly": "TypeScriptBuild 'Source/**/*.ts'" }, "dependencies": { - "baxast": "latest" + "typescriptbuild": "0.1.2" } } ``` @@ -29,7 +29,7 @@ npm install -D -E baxast ```json { "scripts": { - "prepublishOnly": "baxast 'Source/**/*.ts' -es esbuild.ts" + "prepublishOnly": "TypeScriptBuild 'Source/**/*.ts' -es esbuild.ts" } } ``` @@ -51,5 +51,5 @@ npm install -D -E baxast The script will now automatically compile your build files with [esbuild] and add TypeScript types. -[baxast]: https://npmjs.org/baxast +[typescriptbuild]: https://npmjs.org/typescriptbuild [esbuild]: https://npmjs.org/esbuild diff --git a/Source/Index.ts b/Source/Index.ts index 1ac8c8d6..4e48ff14 100644 --- a/Source/Index.ts +++ b/Source/Index.ts @@ -4,7 +4,7 @@ import _JSON from "./Library/JSON.js"; try { new Command() - .name("baxast") + .name("TypeScript Build") .version((await _JSON("../package.json", import.meta.url))?.version) .description("Builds files") .argument("", "Files to build") diff --git a/Target/Index.js b/Target/Index.js index 6a6fb830..602471f6 100644 --- a/Target/Index.js +++ b/Target/Index.js @@ -1 +1 @@ -import{Command as o}from"commander";import e from"./Command/Build.js";import r from"./Library/JSON.js";try{new o().name("baxast").version((await r("../package.json",import.meta.url))?.version).description("Builds files").argument("","Files to build").option("-es, --esbuild ","esbuild configuration file").option("-ts, --TypeScript ","TypeScript configuration file").action(e).parse()}catch(i){console.log(i)} +import{Command as o}from"commander";import e from"./Command/Build.js";import r from"./Library/JSON.js";try{new o().name("TypeScript Build").version((await r("../package.json",import.meta.url))?.version).description("Builds files").argument("","Files to build").option("-es, --esbuild ","esbuild configuration file").option("-ts, --TypeScript ","TypeScript configuration file").action(e).parse()}catch(i){console.log(i)} diff --git a/package.json b/package.json index ed0695d3..2675fb12 100644 --- a/package.json +++ b/package.json @@ -1,19 +1,19 @@ { - "name": "baxast", - "version": "0.1.1", - "homepage": "https://github.com/NikolaRHristov/baxast#readme", + "name": "typescriptbuild", + "version": "0.1.2", + "homepage": "https://github.com/NikolaRHristov/TypeScriptBuild#readme", "bugs": { - "url": "https://github.com/NikolaRHristov/baxast/issues" + "url": "https://github.com/NikolaRHristov/TypeScriptBuild/issues" }, "repository": { "type": "git", - "url": "git+https://github.com/NikolaRHristov/baxast.git" + "url": "git+https://github.com/NikolaRHristov/TypeScriptBuild.git" }, "type": "module", "main": "./Target/Index.js", "types": "./Target/Index.d.ts", "bin": { - "baxast": "Target/Bin.js" + "TypeScriptBuild": "Target/Bin.js" }, "scripts": { "prepublishOnly": "node --no-warnings --loader ts-node/esm Source/Index.ts 'Source/**/*.ts'"