@adbayb/stack 2.2.0 → 2.3.1
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 +3 -4
- 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.1";
|
|
172
172
|
|
|
173
173
|
const VERSION = version;
|
|
174
174
|
|
|
@@ -545,8 +545,7 @@ const retrieveIgnoredFiles = async ()=>{
|
|
|
545
545
|
return rawFiles.split(/\n/).filter(Boolean);
|
|
546
546
|
};
|
|
547
547
|
const PRESERVE_FILES = [
|
|
548
|
-
"node_modules"
|
|
549
|
-
".turbo"
|
|
548
|
+
"node_modules"
|
|
550
549
|
];
|
|
551
550
|
|
|
552
551
|
const checkTypes = async ()=>{
|
|
@@ -653,7 +652,7 @@ const createPackagesVersionMismatchChecker = ()=>{
|
|
|
653
652
|
};
|
|
654
653
|
};
|
|
655
654
|
const createPackageError = (message, context)=>{
|
|
656
|
-
return createError("stack check", !context ? message : `\`${context.name}\` consumed by \`${context.consumedBy}\` doesn't conform to
|
|
655
|
+
return createError("stack check", !context ? message : `\`${context.name}\` consumed by \`${context.consumedBy}\` doesn't conform to \`package.json\` guidelines.\n${message}`);
|
|
657
656
|
};
|
|
658
657
|
function assertVersion(version, { name, consumedBy }) {
|
|
659
658
|
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.1",
|
|
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",
|