From 89b00f22855eec777c95d9467d2754a8a5627ba1 Mon Sep 17 00:00:00 2001 From: AlexHaxe Date: Wed, 23 Dec 2020 01:20:40 +0100 Subject: [PATCH] prepare version 2.7.0 (#503) --- CHANGELOG.md | 2 ++ haxe_libraries/tokentree.hxml | 6 +++--- haxelib.json | 4 ++-- makeReleaseZip.sh | 2 +- package-lock.json | 10 +++++----- package.json | 28 ++++++++++++++-------------- 6 files changed, 27 insertions(+), 25 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d5c49998..63e3e8fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## dev branch / next version (2.x.x) +## version 2.7.0 (2020-12-23) + - **Breaking Change** replaced `EnforceVarTypeHint` with `VarTypeHint` check ([#500](https://github.com/HaxeCheckstyle/haxe-checkstyle/issues/500)) - Added support for final in `MagicNumber`, fixes [#494](https://github.com/HaxeCheckstyle/haxe-checkstyle/issues/494) ([#495](https://github.com/HaxeCheckstyle/haxe-checkstyle/issues/495)) - Fixed handling `OBJECT_DECL` token in `RightCurly`, fixes [#496](https://github.com/HaxeCheckstyle/haxe-checkstyle/issues/496) ([#497](https://github.com/HaxeCheckstyle/haxe-checkstyle/issues/497)) diff --git a/haxe_libraries/tokentree.hxml b/haxe_libraries/tokentree.hxml index 8a285676..6e92564a 100644 --- a/haxe_libraries/tokentree.hxml +++ b/haxe_libraries/tokentree.hxml @@ -1,3 +1,3 @@ -# @install: lix --silent download "gh://github.com/HaxeCheckstyle/tokentree#8d317ea6b0c472234c154ce21ec92f2cf1629d3e" into tokentree/1.0.31/github/8d317ea6b0c472234c154ce21ec92f2cf1629d3e --cp ${HAXE_LIBCACHE}/tokentree/1.0.31/github/8d317ea6b0c472234c154ce21ec92f2cf1629d3e/src --D tokentree=1.0.31 \ No newline at end of file +# @install: lix --silent download "haxelib:/tokentree#1.1.0" into tokentree/1.1.0/haxelib +-cp ${HAXE_LIBCACHE}/tokentree/1.1.0/haxelib/src +-D tokentree=1.1.0 \ No newline at end of file diff --git a/haxelib.json b/haxelib.json index c65e0116..fa748c7f 100644 --- a/haxelib.json +++ b/haxelib.json @@ -18,8 +18,8 @@ "adireddy", "Gama11" ], - "releasenote": "breaking changes: MethodLength settings changed, new checks CodeSimilarity, EnforceVarTypeHint, AvoidIdentifier, ArrowFunction and NestedControlFlow, some Haxe 4 fixes and a few bugfixes - see CHANGELOG", - "version": "2.6.1", + "releasenote": "breaking change: EnforceVarTypeHint renamed to VarTypeHint - see CHANGELOG", + "version": "2.7.0", "url": "https://github.com/HaxeCheckstyle/haxe-checkstyle", "dependencies": {} } \ No newline at end of file diff --git a/makeReleaseZip.sh b/makeReleaseZip.sh index 88f4cc00..8aa58087 100755 --- a/makeReleaseZip.sh +++ b/makeReleaseZip.sh @@ -2,7 +2,7 @@ npm install npx lix download -npx lix use haxe 4.0.5 +npx lix use haxe 4.1.4 npx haxe buildAll.hxml diff --git a/package-lock.json b/package-lock.json index a285c72f..aebcc12b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,13 +1,13 @@ { - "name": "haxe-checkstyle", - "version": "2.6.1", + "name": "@haxecheckstyle/haxe-checkstyle", + "version": "2.7.0", "lockfileVersion": 1, "requires": true, "dependencies": { "lix": { - "version": "15.9.0", - "resolved": "https://registry.npmjs.org/lix/-/lix-15.9.0.tgz", - "integrity": "sha512-XyIVUZ9Mr3DNPXwbvKrAS3t1XeeBugbrva/YoMUQSJLrmCwVNlx1/ishj4bkZ/WdH1x0m1Smd767zwyr6wy/8g==", + "version": "15.10.1", + "resolved": "https://registry.npmjs.org/lix/-/lix-15.10.1.tgz", + "integrity": "sha512-UZX+p4i+2ZSEyI6p2Yu1sfC0pRRFnFHDpNQ2+FqhxmBG8cCiHZkj+I8FqCK4AUuQ/VOPE/bK69JbWez+OG3zaA==", "dev": true } } diff --git a/package.json b/package.json index 22ed86c1..650df06e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@haxecheckstyle/haxe-checkstyle", - "version": "2.6.1", + "version": "2.7.0", "description": "Automated code analysis ideal for projects that want to enforce a coding standard.", "repository": { "type": "git", @@ -29,20 +29,20 @@ } ], "devDependencies": { - "lix": "^15.9.0" + "lix": "^15.10.1" }, "bugs": "https://github.com/HaxeCheckstyle/haxe-checkstyle/issues", "license": "MIT", - "bin": { - "haxe-checkstyle": "bin/checkstyle.js" - }, - "files": [ - "bin" - ], - "publishConfig": { - "registry": "https://npm.pkg.github.com/" - }, - "scripts": { - "build": "haxe buildAll.hxml" - } + "bin": { + "haxe-checkstyle": "bin/checkstyle.js" + }, + "files": [ + "bin" + ], + "publishConfig": { + "registry": "https://npm.pkg.github.com/" + }, + "scripts": { + "build": "haxe buildAll.hxml" + } }