From 2f8b9d85968d1c7941ccd1dbd12a436fa6cb9d2f Mon Sep 17 00:00:00 2001 From: Timur Shemsedinov Date: Sat, 31 Aug 2024 19:16:40 +0300 Subject: [PATCH] Version 2.2.1 --- .github/PULL_REQUEST_TEMPLATE.md | 2 +- CHANGELOG.md | 5 +++++ package-lock.json | 4 ++-- package.json | 4 ++-- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 4ca9209b..26a46a0c 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -6,6 +6,6 @@ Change [ ] to [x] for completed items. - [ ] tests and linter show no problems (`npm t`) - [ ] tests are added/updated for bug fixes and new features -- [ ] code is properly formatted (`npm run fmt`) +- [ ] code is properly formatted (`npm run fix`) - [ ] description of changes is added in CHANGELOG.md - [ ] update .d.ts typings diff --git a/CHANGELOG.md b/CHANGELOG.md index c13935db..0bfb3c02 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ ## [Unreleased][unreleased] +## [2.2.1][] - 2024-08-31 + +- Update eslint to 9.x and prettier with configs +- Add node.js 22 to CI + ## [2.2.0][] - 2024-03-27 - Add browser support diff --git a/package-lock.json b/package-lock.json index e9750830..a6b2ae24 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "metaschema", - "version": "2.2.0", + "version": "2.2.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "metaschema", - "version": "2.2.0", + "version": "2.2.1", "license": "MIT", "dependencies": { "metautil": "^5.2.1", diff --git a/package.json b/package.json index 1c25e4ad..1b11ac1c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "metaschema", - "version": "2.2.0", + "version": "2.2.1", "author": "Timur Shemsedinov ", "description": "Metadata Schema and Interface Definition Language (IDL)", "license": "MIT", @@ -41,7 +41,7 @@ "test": "npm run lint && npm run types && metatests test/", "types": "tsc -p tsconfig.json", "lint": "eslint . && prettier -c \"**/*.js\" \"**/*.json\" \"**/*.md\" \"**/*.ts\"", - "fmt": "prettier --write \"**/*.js\" \"**/*.json\" \"**/*.md\" \"**/*.ts\"" + "fix": "eslint . --fix && prettier --write \"**/*.js\" \"**/*.json\" \"**/*.md\" \"**/*.ts\"" }, "engines": { "node": "18 || 20 || 21 || 22"