@adbayb/stack 2.3.0 → 2.4.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.
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import sortKeysCustomOrderPlugin from "eslint-plugin-sort-keys-custom-order";
|
|
2
|
+
import dependPlugin from "eslint-plugin-depend";
|
|
2
3
|
import { FlatCompat } from "@eslint/eslintrc";
|
|
3
4
|
|
|
4
5
|
import { JAVASCRIPT_LIKE_EXTENSIONS } from "../constants.js";
|
|
@@ -7,9 +8,11 @@ export const config = [
|
|
|
7
8
|
{
|
|
8
9
|
files: JAVASCRIPT_LIKE_EXTENSIONS,
|
|
9
10
|
plugins: {
|
|
11
|
+
"depend": dependPlugin,
|
|
10
12
|
"sort-keys-custom-order": sortKeysCustomOrderPlugin,
|
|
11
13
|
},
|
|
12
14
|
rules: {
|
|
15
|
+
"depend/ban-dependencies": "error",
|
|
13
16
|
"sort-keys-custom-order/object-keys": [
|
|
14
17
|
"error",
|
|
15
18
|
{
|
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.4.0";
|
|
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 ()=>{
|
|
@@ -753,15 +752,14 @@ const createProgram = (...commandFactories)=>{
|
|
|
753
752
|
const program = termost({
|
|
754
753
|
name: "stack",
|
|
755
754
|
description: "Toolbox to easily scaffold and maintain a project",
|
|
756
|
-
version: VERSION
|
|
757
|
-
}, {
|
|
758
755
|
onException () {
|
|
759
756
|
botMessage({
|
|
760
757
|
title: "Oops, an error occurred",
|
|
761
758
|
description: "Keep calm and carry on with some coffee ☕️",
|
|
762
759
|
type: "error"
|
|
763
760
|
});
|
|
764
|
-
}
|
|
761
|
+
},
|
|
762
|
+
version: VERSION
|
|
765
763
|
});
|
|
766
764
|
for (const commandBuilder of commandFactories){
|
|
767
765
|
commandBuilder(program);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adbayb/stack",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.0",
|
|
4
4
|
"description": "My opinionated JavaScript-based toolchain",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"license": "MIT",
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@types/node": "22.9.0",
|
|
46
|
-
"quickbundle": "2.
|
|
46
|
+
"quickbundle": "2.8.0"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@changesets/changelog-github": "^0.5.0",
|
|
@@ -53,12 +53,13 @@
|
|
|
53
53
|
"@eslint/compat": "^1.2.2",
|
|
54
54
|
"@eslint/eslintrc": "^3.1.0",
|
|
55
55
|
"@stylistic/eslint-plugin": "^2.10.1",
|
|
56
|
-
"@vitest/eslint-plugin": "^1.1.
|
|
56
|
+
"@vitest/eslint-plugin": "^1.1.8",
|
|
57
57
|
"eslint-config-prettier": "^9.1.0",
|
|
58
58
|
"eslint-import-resolver-typescript": "^3.6.3",
|
|
59
|
-
"eslint-plugin-
|
|
59
|
+
"eslint-plugin-depend": "^0.12.0",
|
|
60
|
+
"eslint-plugin-import-x": "^4.4.2",
|
|
60
61
|
"eslint-plugin-jest-formatting": "^3.1.0",
|
|
61
|
-
"eslint-plugin-jsdoc": "^50.
|
|
62
|
+
"eslint-plugin-jsdoc": "^50.5.0",
|
|
62
63
|
"eslint-plugin-mdx": "^3.1.5",
|
|
63
64
|
"eslint-plugin-n": "^17.13.1",
|
|
64
65
|
"eslint-plugin-prettier": "^5.2.1",
|
|
@@ -70,9 +71,9 @@
|
|
|
70
71
|
"fdir": "^6.4.2",
|
|
71
72
|
"globals": "^15.12.0",
|
|
72
73
|
"prettier": "^3.3.3",
|
|
73
|
-
"termost": "^
|
|
74
|
+
"termost": "^1.2.0",
|
|
74
75
|
"turbo": "^2.2.3",
|
|
75
|
-
"typescript-eslint": "^8.
|
|
76
|
+
"typescript-eslint": "^8.14.0",
|
|
76
77
|
"typescript": "^5.6.3"
|
|
77
78
|
},
|
|
78
79
|
"scripts": {
|