@adbayb/stack 2.3.1 → 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 reactHooksPlugin from "eslint-plugin-react-hooks";
2
+ // eslint-disable-next-line depend/ban-dependencies
2
3
  import reactPlugin from "eslint-plugin-react";
3
4
 
4
5
  export const config = [
@@ -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.3.1";
171
+ var version = "2.4.0";
172
172
 
173
173
  const VERSION = version;
174
174
 
@@ -752,15 +752,14 @@ const createProgram = (...commandFactories)=>{
752
752
  const program = termost({
753
753
  name: "stack",
754
754
  description: "Toolbox to easily scaffold and maintain a project",
755
- version: VERSION
756
- }, {
757
755
  onException () {
758
756
  botMessage({
759
757
  title: "Oops, an error occurred",
760
758
  description: "Keep calm and carry on with some coffee ☕️",
761
759
  type: "error"
762
760
  });
763
- }
761
+ },
762
+ version: VERSION
764
763
  });
765
764
  for (const commandBuilder of commandFactories){
766
765
  commandBuilder(program);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adbayb/stack",
3
- "version": "2.3.1",
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.6.0"
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.7",
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-import-x": "^4.4.0",
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.4.3",
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": "^0.18.0",
74
+ "termost": "^1.2.0",
74
75
  "turbo": "^2.2.3",
75
- "typescript-eslint": "^8.13.0",
76
+ "typescript-eslint": "^8.14.0",
76
77
  "typescript": "^5.6.3"
77
78
  },
78
79
  "scripts": {