@benup/bensdk 1.8.2 → 1.9.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.
@@ -0,0 +1,29 @@
1
+ name: Run lint - static checker
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
+ branches:
9
+ - main
10
+
11
+ jobs:
12
+ test:
13
+ runs-on: ubuntu-latest
14
+
15
+ steps:
16
+ - name: Checkout repository
17
+ uses: actions/checkout@v4
18
+
19
+ - name: Use Node.js 20.x
20
+ uses: actions/setup-node@v4
21
+ with:
22
+ node-version: 20.x
23
+ cache: 'npm'
24
+
25
+ - name: Install dependencies
26
+ run: npm install
27
+
28
+ - name: Run tests
29
+ run: npm run lint
@@ -1,3 +1,4 @@
1
+ /* eslint-disable n/no-unpublished-import */
1
2
  /* eslint-disable n/no-extraneous-import */
2
3
 
3
4
  import js from "@eslint/js";
@@ -37,6 +38,6 @@ export default [
37
38
  },
38
39
  },
39
40
  {
40
- ignores: [".docs/", "build/"],
41
+ ignores: [".docs/", "build/", "bin/"],
41
42
  },
42
43
  ];
@@ -25,6 +25,10 @@
25
25
  },
26
26
  "devDependencies": {
27
27
  "concurrently": "^9.1.2",
28
+ "eslint": "^9.36.0",
29
+ "eslint-config-prettier": "^10.1.8",
30
+ "eslint-plugin-jsdoc": "^60.7.1",
31
+ "eslint-plugin-n": "^17.23.1",
28
32
  "prettier": "^3.5.1",
29
33
  "prettier-plugin-organize-imports": "^4.1.0",
30
34
  "tsx": "^4.19.2",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@benup/bensdk",
3
- "version": "1.8.2",
3
+ "version": "1.9.0",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "scripts": {