From 43e4f46a86e05c6baea7fb1e95202983315e266a Mon Sep 17 00:00:00 2001 From: Timur Shemsedinov Date: Sat, 31 Aug 2024 20:00:23 +0300 Subject: [PATCH] Version 3.0.1 --- .eslintrc.json | 12 ----------- .github/PULL_REQUEST_TEMPLATE.md | 2 +- .prettierrc | 10 ---------- CHANGELOG.md | 8 +++++++- LICENSE | 2 +- README.md | 2 +- package-lock.json | 34 ++++++++++++++++---------------- package.json | 10 +++++----- 8 files changed, 32 insertions(+), 48 deletions(-) delete mode 100644 .eslintrc.json delete mode 100644 .prettierrc diff --git a/.eslintrc.json b/.eslintrc.json deleted file mode 100644 index 0051677..0000000 --- a/.eslintrc.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": ["metarhia", "plugin:prettier/recommended"], - "env": { - "browser": true, - "es6": true, - "es2020": true, - "node": true - }, - "parserOptions": { - "ecmaVersion": "latest" - } -} diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 4ca9209..26a46a0 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/.prettierrc b/.prettierrc deleted file mode 100644 index c43f7a3..0000000 --- a/.prettierrc +++ /dev/null @@ -1,10 +0,0 @@ -{ - "singleQuote": true, - "trailingComma": "all", - "overrides": [ - { - "files": ["**/.*rc", "**/*.json"], - "options": { "parser": "json" } - } - ] -} diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a6d5de..1ebfb60 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ ## [Unreleased][unreleased] +## [3.0.1][] - 2024-08-30 + +- Update eslint to 9.x and prettier +- Add node.js 22 to CI + ## [3.0.0][] - 2023-12-11 - Drop support of options `{ sandbox }` use `{ context }` instead @@ -89,7 +94,8 @@ - Support mode (log files second ext): `options.mode` - Support passing custom sandbox: `options.sandbox` -[unreleased]: https://github.com/metarhia/metaconfiguration/compare/v3.0.0...HEAD +[unreleased]: https://github.com/metarhia/metaconfiguration/compare/v3.0.1...HEAD +[3.0.1]: https://github.com/metarhia/metaconfiguration/compare/v3.0.0...v3.0.1 [3.0.0]: https://github.com/metarhia/metaconfiguration/compare/v2.2.0...v3.0.0 [2.2.0]: https://github.com/metarhia/metaconfiguration/compare/v2.1.11...v2.2.0 [2.1.11]: https://github.com/metarhia/metaconfiguration/compare/v2.1.10...v2.1.11 diff --git a/LICENSE b/LICENSE index 97df52d..7cdbf44 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2019-2023 Metarhia contributors +Copyright (c) 2019-2024 Metarhia contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 71ab215..1be0f53 100644 --- a/README.md +++ b/README.md @@ -82,6 +82,6 @@ const config = await new Config('./configDirectory', options); ## License & Contributors -Copyright (c) 2019-2023 [Metarhia contributors](https://github.com/metarhia/metaconfiguration/blob/master/AUTHORS). +Copyright (c) 2019-2024 [Metarhia contributors](https://github.com/metarhia/metaconfiguration/blob/master/AUTHORS). Metaconfiguration is [MIT licensed](./LICENSE).\ Metaconfiguration is a part of [Metarhia](https://github.com/metarhia) technology stack. diff --git a/package-lock.json b/package-lock.json index 7e72334..0c2da4e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,22 +1,22 @@ { "name": "metaconfiguration", - "version": "3.0.0", + "version": "3.0.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "metaconfiguration", - "version": "3.0.0", + "version": "3.0.1", "license": "MIT", "dependencies": { "metavm": "^1.4.1" }, "devDependencies": { - "@types/node": "^22.3.0", - "eslint": "^9.9.0", - "eslint-config-metarhia": "^9.0.3", + "@types/node": "^22.5.1", + "eslint": "^9.9.1", + "eslint-config-metarhia": "^9.0.5", "metatests": "^0.8.2", - "metautil": "^5.0.0", + "metautil": "^5.2.3", "prettier": "^3.3.3", "typescript": "^5.5.4" }, @@ -199,9 +199,9 @@ } }, "node_modules/@types/node": { - "version": "22.5.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.5.0.tgz", - "integrity": "sha512-DkFrJOe+rfdHTqqMg0bSNlGlQ85hSoh2TPzZyhHsXnMtligRWpxUySiyw8FY14ITt24HVCiQPWxS3KO/QlGmWg==", + "version": "22.5.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.5.1.tgz", + "integrity": "sha512-KkHsxej0j9IW1KKOOAA/XBA0z08UFSrRQHErzEfA3Vgq57eXIMYboIlHJuYIfd+lwCQjtKqUu3UnmKbtUc9yRw==", "dev": true, "dependencies": { "undici-types": "~6.19.2" @@ -501,12 +501,12 @@ } }, "node_modules/eslint-config-metarhia": { - "version": "9.0.3", - "resolved": "https://registry.npmjs.org/eslint-config-metarhia/-/eslint-config-metarhia-9.0.3.tgz", - "integrity": "sha512-TCt+M+ECSRFn1GtexpFhTtmLjXgQVeAtdoFiWuU47TypWcRdDqTNki4N4kmvcw1YDXbOpndD29auA+yLT48UNw==", + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/eslint-config-metarhia/-/eslint-config-metarhia-9.0.5.tgz", + "integrity": "sha512-JqPlGodV0xQLXYpAIENMJ45cw6KTx/eN1XwIRxxEGPUCSxIW5/2rhA/hip4xMqc+cY772uG2WqJrhKTgVnSnwQ==", "dev": true, "dependencies": { - "eslint": "^9.9.0", + "eslint": "^9.9.1", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.2.1", "prettier": "^3.3.3" @@ -1014,12 +1014,12 @@ } }, "node_modules/metautil": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/metautil/-/metautil-5.0.0.tgz", - "integrity": "sha512-2pNH9qt2Ca5weW2RHj1zTzGT8ip4l0E9CiWkUVwhqVWr8Uqs56EqO/6R47w7p2QqiUiY0+Bf7nQvGZGWauCo1g==", + "version": "5.2.3", + "resolved": "https://registry.npmjs.org/metautil/-/metautil-5.2.3.tgz", + "integrity": "sha512-chwrMB/fcgRu1+0CI95/JnoL/8gdCAlkTmvb2uWFkxcWQP1krcG6C8/Nb6iUK/N+uFT4jFH9T9/dl3XB9YpiGw==", "dev": true, "engines": { - "node": "18 || 20 || 21" + "node": "18 || 20 || 21 || 22" }, "funding": { "type": "patreon", diff --git a/package.json b/package.json index 54b0346..b686f99 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "metaconfiguration", - "version": "3.0.0", + "version": "3.0.1", "author": "Timur Shemsedinov ", "description": "Metarhia Configuration Loader", "license": "MIT", @@ -47,11 +47,11 @@ "metavm": "^1.4.1" }, "devDependencies": { - "@types/node": "^22.3.0", - "eslint": "^9.9.0", - "eslint-config-metarhia": "^9.0.3", + "@types/node": "^22.5.1", + "eslint": "^9.9.1", + "eslint-config-metarhia": "^9.0.5", "metatests": "^0.8.2", - "metautil": "^5.0.0", + "metautil": "^5.2.3", "prettier": "^3.3.3", "typescript": "^5.5.4" }