From 8a98234ae45169b4add07f04d6a56b1bc754ea8e Mon Sep 17 00:00:00 2001 From: Nikola Hristov Date: Thu, 10 Aug 2023 04:28:28 +0300 Subject: [PATCH] 0.0.11 --- .gitignore | 2 -- CHANGELOG.md | 4 ++++ Source/Index.ts | 4 +--- package.json | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 1244cda2..7392faca 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1 @@ -.github/ .turbo/ -Source/ diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e7911a5..8392eee5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.0.11 + +- Cleanup + ## 0.0.10 - Cleanup diff --git a/Source/Index.ts b/Source/Index.ts index bdc2bcf7..77149fd0 100644 --- a/Source/Index.ts +++ b/Source/Index.ts @@ -3,11 +3,9 @@ import Build from "./Command/Build.js"; import _JSON from "./Library/JSON.js"; try { - const { version } = await _JSON("../package.json", import.meta.url); - new Command() .name("baxast") - .version(version) + .version((await _JSON("../package.json", import.meta.url))?.version) .description("Builds files") .argument("", "Files to build") .option("-ts, --TypeScript ", "TypeScript configuration file") diff --git a/package.json b/package.json index c180f0b4..abb84be9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "baxast", - "version": "0.0.10", + "version": "0.0.11", "homepage": "https://github.com/baxast/baxast#readme", "bugs": { "url": "https://github.com/baxast/baxast/issues"