@capraconsulting/cals-cli 3.6.0 → 3.7.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/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,3 +1,3 @@
1
1
  export { createSnykService, SnykService } from "./service";
2
- export { SnykGitHubRepo, SnykProject } from "./types";
2
+ export type { SnykGitHubRepo, SnykProject } from "./types";
3
3
  export { getGitHubRepo, getGitHubRepoId } from "./util";
@@ -1,2 +1,3 @@
1
1
  export { createSonarCloudService, SonarCloudService } from "./service";
2
- export { SonarCloudTokenProvider, SonarCloudTokenCliProvider } from "./token";
2
+ export { SonarCloudTokenCliProvider } from "./token";
3
+ export type { SonarCloudTokenProvider } from "./token";
package/package.json CHANGED
@@ -1,12 +1,14 @@
1
1
  {
2
2
  "name": "@capraconsulting/cals-cli",
3
- "version": "3.6.0",
3
+ "version": "3.7.1",
4
4
  "description": "CLI for repeatable tasks in CALS",
5
+ "type": "module",
6
+ "license": "Apache-2.0",
5
7
  "scripts": {
6
- "prepare": "node scripts/create-definition-schema.js && husky install",
8
+ "prepare": "tsx scripts/create-definition-schema.ts && husky",
7
9
  "build": "rollup -c",
8
- "test": "jest --coverage src",
9
- "test:watch": "jest --watch src",
10
+ "test": "NODE_OPTIONS=--experimental-vm-modules jest --coverage src",
11
+ "test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch src",
10
12
  "lint": "eslint .",
11
13
  "lint:fix": "eslint --fix .",
12
14
  "prepack": "./scripts/build-and-verify.sh",
@@ -14,22 +16,23 @@
14
16
  "semantic-release": "semantic-release",
15
17
  "watch": "rollup -c -w"
16
18
  },
17
- "license": "Apache-2.0",
18
19
  "main": "lib/index.js",
19
20
  "module": "lib/index.es.js",
21
+ "types": "lib/index.d.ts",
20
22
  "bin": {
21
- "cals": "lib/cals-cli.js"
23
+ "cals": "lib/cals-cli.mjs"
22
24
  },
23
25
  "dependencies": {
24
26
  "@octokit/rest": "^19.0.0",
27
+ "@types/dateformat": "5.0.2",
25
28
  "ajv": "^8.11.0",
26
29
  "cachedir": "^2.4.0",
27
- "chalk": "^4.0.0",
30
+ "chalk": "4.1.2",
28
31
  "execa": "^5.0.0",
29
32
  "find-up": "^5.0.0",
30
33
  "js-yaml": "^4.1.0",
31
34
  "keytar": "^7.9.0",
32
- "lodash": "^4.17.21",
35
+ "lodash-es": "^4.17.21",
33
36
  "node-fetch": "^2.6.7",
34
37
  "p-limit": "^3.0.0",
35
38
  "p-map": "^4.0.0",
@@ -37,7 +40,7 @@
37
40
  "rimraf": "^4.0.0",
38
41
  "semver": "^7.6.2",
39
42
  "sprintf-js": "^1.1.2",
40
- "yargs": "^17.5.1"
43
+ "yargs": "17.7.2"
41
44
  },
42
45
  "overrides": {
43
46
  "semantic-release": {
@@ -55,7 +58,7 @@
55
58
  "@rollup/plugin-replace": "6.0.1",
56
59
  "@types/jest": "29.5.14",
57
60
  "@types/js-yaml": "4.0.9",
58
- "@types/lodash": "4.17.13",
61
+ "@types/lodash-es": "4.17.12",
59
62
  "@types/node": "22.10.1",
60
63
  "@types/node-fetch": "2.6.12",
61
64
  "@types/read": "0.0.32",
@@ -70,14 +73,16 @@
70
73
  "eslint": "9.16.0",
71
74
  "eslint-config-prettier": "9.1.0",
72
75
  "eslint-plugin-prettier": "5.2.1",
73
- "husky": "8.0.3",
76
+ "husky": "9.1.7",
74
77
  "jest": "^29.6.1",
78
+ "lodash": "4.17.21",
75
79
  "prettier": "3.4.1",
76
80
  "rollup": "2.79.2",
77
81
  "rollup-plugin-typescript2": "0.36.0",
78
82
  "semantic-release": "24.2.0",
79
83
  "tempy": "1.0.1",
80
84
  "ts-jest": "^29.1.1",
85
+ "tsx": "4.19.2",
81
86
  "typescript": "5.7.2",
82
87
  "typescript-json-schema": "0.65.1"
83
88
  },
@@ -88,7 +93,6 @@
88
93
  "type": "git",
89
94
  "url": "https://github.com/capralifecycle/cals-cli.git"
90
95
  },
91
- "types": "lib/index.d.ts",
92
96
  "engines": {
93
97
  "node": ">=12.0.0"
94
98
  }