@soos-io/soos-scm-audit 0.1.1 → 0.1.3
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/bin/index.js +1 -0
- package/eslint.config.mjs +11 -0
- package/package.json +10 -4
package/bin/index.js
CHANGED
|
@@ -9,6 +9,7 @@ const utilities_1 = require("@soos-io/api-client/dist/utilities");
|
|
|
9
9
|
const ContributorAuditService_1 = tslib_1.__importDefault(require("@soos-io/api-client/dist/services/ContributorAuditService/ContributorAuditService"));
|
|
10
10
|
const ContributorAuditArgumentParser_1 = tslib_1.__importDefault(require("@soos-io/api-client/dist/services/ContributorAuditArgumentParser"));
|
|
11
11
|
class SOOSSCMAudit {
|
|
12
|
+
args;
|
|
12
13
|
constructor(args) {
|
|
13
14
|
this.args = args;
|
|
14
15
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import globals from "globals";
|
|
2
|
+
import pluginJs from "@eslint/js";
|
|
3
|
+
import tseslint from "typescript-eslint";
|
|
4
|
+
|
|
5
|
+
/** @type {import('eslint').Linter.Config[]} */
|
|
6
|
+
export default [
|
|
7
|
+
{ files: ["**/*.{mjs,ts}"] },
|
|
8
|
+
{ languageOptions: { globals: globals.node } },
|
|
9
|
+
pluginJs.configs.recommended,
|
|
10
|
+
...tseslint.configs.recommended,
|
|
11
|
+
];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soos-io/soos-scm-audit",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "SOOS SCM Audit CLI",
|
|
5
5
|
"main": "bin/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -12,8 +12,10 @@
|
|
|
12
12
|
"build:clean": "npx rimraf build",
|
|
13
13
|
"format": "prettier ./src --check",
|
|
14
14
|
"format:fix": "prettier ./src --write",
|
|
15
|
+
"lint": "eslint --max-warnings 0",
|
|
16
|
+
"lint:fix": "eslint --max-warnings 0 --fix",
|
|
15
17
|
"typecheck": "tsc --noEmit",
|
|
16
|
-
"check": "npm run format && npm run typecheck && (npm outdated || exit 0)",
|
|
18
|
+
"check": "npm run format && npm run lint && npm run typecheck && (npm outdated || exit 0)",
|
|
17
19
|
"patch": "npm version patch --no-git-tag-version",
|
|
18
20
|
"patch-api-client": "npm run patch && npm run setup:clean && npm install @soos-io/api-client@latest --save-exact && npm install && npm run check",
|
|
19
21
|
"link:local": "npm link @soos-io/api-client && npm run build && npm link"
|
|
@@ -29,15 +31,19 @@
|
|
|
29
31
|
},
|
|
30
32
|
"homepage": "https://github.com/soos-io/soos-scm-audit#readme",
|
|
31
33
|
"dependencies": {
|
|
32
|
-
"@soos-io/api-client": "1.
|
|
34
|
+
"@soos-io/api-client": "1.2.2",
|
|
33
35
|
"argparse": "^2.0.1",
|
|
34
36
|
"tslib": "^2.6.2"
|
|
35
37
|
},
|
|
36
38
|
"devDependencies": {
|
|
39
|
+
"@eslint/js": "^9.21.0",
|
|
37
40
|
"@types/argparse": "^2.0.16",
|
|
38
41
|
"@types/node": "^20.11.30",
|
|
42
|
+
"eslint": "^9.21.0",
|
|
43
|
+
"globals": "^16.0.0",
|
|
39
44
|
"prettier": "^3.2.5",
|
|
40
|
-
"typescript": "^5.4.3"
|
|
45
|
+
"typescript": "^5.4.3",
|
|
46
|
+
"typescript-eslint": "^8.24.1"
|
|
41
47
|
},
|
|
42
48
|
"bin": {
|
|
43
49
|
"soos-scm-audit": "bin/index.js"
|