From 7f1c3fa96fd9a4b8c9e76002c1e9280b1901a9a0 Mon Sep 17 00:00:00 2001 From: airscripts Date: Sat, 29 Jul 2023 17:31:18 +0200 Subject: [PATCH 1/2] refactor: remove config.js file --- VERSION | 2 +- config.js | 4 ---- lib/help.js | 4 +--- package-lock.json | 4 ++-- package.json | 2 +- 5 files changed, 5 insertions(+), 11 deletions(-) delete mode 100644 config.js diff --git a/VERSION b/VERSION index 8428158..9c1218c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.1.2 \ No newline at end of file +1.1.3 \ No newline at end of file diff --git a/config.js b/config.js deleted file mode 100644 index 93c35f2..0000000 --- a/config.js +++ /dev/null @@ -1,4 +0,0 @@ -import fs from 'node:fs'; - -const VERSION = fs.readFileSync('./VERSION', 'utf-8'); -export default VERSION; diff --git a/lib/help.js b/lib/help.js index 6a5a645..b4334e2 100644 --- a/lib/help.js +++ b/lib/help.js @@ -1,6 +1,4 @@ -import VERSION from '../config.js'; - -const version = `Analscript Version ${VERSION}`; +const version = 'Analscript, version 1.1.3'; const copyright = '\nCopyright (c) 2023 by Airscript\n'; const usage = ` diff --git a/package-lock.json b/package-lock.json index 3cd0f22..21d9d76 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "analscript", - "version": "1.1.2", + "version": "1.1.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "analscript", - "version": "1.1.2", + "version": "1.1.3", "license": "MIT", "bin": { "analscript": "cli.js" diff --git a/package.json b/package.json index 52461aa..f3f7316 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "type": "module", - "version": "1.1.2", + "version": "1.1.3", "name": "analscript", "main": "analscript.js", "description": "A modern approach for writing anally fast stuff.", From 339d5c4e86c613fd7eaef63752519177157b3972 Mon Sep 17 00:00:00 2001 From: airscripts Date: Sat, 29 Jul 2023 17:32:20 +0200 Subject: [PATCH 2/2] chore: update CHANGELOG and README files --- CHANGELOG.md | 7 +++++++ README.md | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c97f78..bd0f1cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) with some edits, and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +# 1.1.3 + +## What's Changed +* refactor: remove config.js file + +**Full Changelog**: https://github.com/airscripts/analscript/compare/1.1.2...1.1.3 + # 1.1.2 ## What's Changed diff --git a/README.md b/README.md index 3b79481..443eae4 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ analscript help This command will show you something like this: ``` -Analscript Version 1.1.2 +Analscript Version 1.1.3 Copyright (c) 2023 by Airscript Usage: