@adbayb/stack 2.2.0 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/configs/eslint/presets/node.js +0 -1
- package/dist/index.js +2 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -168,7 +168,7 @@ const ESLINT_EXTENSIONS = [
|
|
|
168
168
|
"mdx"
|
|
169
169
|
];
|
|
170
170
|
|
|
171
|
-
var version = "2.
|
|
171
|
+
var version = "2.3.0";
|
|
172
172
|
|
|
173
173
|
const VERSION = version;
|
|
174
174
|
|
|
@@ -653,7 +653,7 @@ const createPackagesVersionMismatchChecker = ()=>{
|
|
|
653
653
|
};
|
|
654
654
|
};
|
|
655
655
|
const createPackageError = (message, context)=>{
|
|
656
|
-
return createError("stack check", !context ? message : `\`${context.name}\` consumed by \`${context.consumedBy}\` doesn't conform to
|
|
656
|
+
return createError("stack check", !context ? message : `\`${context.name}\` consumed by \`${context.consumedBy}\` doesn't conform to \`package.json\` guidelines.\n${message}`);
|
|
657
657
|
};
|
|
658
658
|
function assertVersion(version, { name, consumedBy }) {
|
|
659
659
|
assert(version, ()=>createPackageError(`\`${name}\` must have a valid version specified (current version equals to \`${String(version)}\`).`, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adbayb/stack",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"description": "My opinionated JavaScript-based toolchain",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"eslint-plugin-jest-formatting": "^3.1.0",
|
|
61
61
|
"eslint-plugin-jsdoc": "^50.4.3",
|
|
62
62
|
"eslint-plugin-mdx": "^3.1.5",
|
|
63
|
-
"eslint-plugin-n": "^17.
|
|
63
|
+
"eslint-plugin-n": "^17.13.1",
|
|
64
64
|
"eslint-plugin-prettier": "^5.2.1",
|
|
65
65
|
"eslint-plugin-react-hooks": "^5.0.0",
|
|
66
66
|
"eslint-plugin-react": "^7.37.2",
|