bamboohr-cli 1.0.22 → 1.0.23
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/dist/index.js +3 -2
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -150,8 +150,9 @@ function textOrFileOption(cmd, name, opts = {}) {
|
|
|
150
150
|
return cmd;
|
|
151
151
|
}
|
|
152
152
|
function resolveTextOrFile(opts, name, { required = true } = {}) {
|
|
153
|
-
const
|
|
154
|
-
const
|
|
153
|
+
const record = opts;
|
|
154
|
+
const literal = record[name];
|
|
155
|
+
const ref = record[`${name}File`];
|
|
155
156
|
if (literal !== void 0 && ref !== void 0) {
|
|
156
157
|
throw new InvalidArgumentError3(`--${name} and --${name}-file are mutually exclusive; provide only one.`);
|
|
157
158
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bamboohr-cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.23",
|
|
4
4
|
"publish": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"commander": "^13.1.0",
|
|
15
15
|
"zod": "^3.25.67",
|
|
16
|
-
"bamboohr-client": "1.0.
|
|
16
|
+
"bamboohr-client": "1.0.25"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@types/node": "24.10.4",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"typescript": "^5.7.2",
|
|
25
25
|
"vitest": "^4.0.16",
|
|
26
26
|
"cli-utils": "1.0.0",
|
|
27
|
-
"config-
|
|
28
|
-
"config-
|
|
27
|
+
"config-typescript": "0.0.0",
|
|
28
|
+
"config-eslint": "0.0.0"
|
|
29
29
|
},
|
|
30
30
|
"engines": {
|
|
31
31
|
"node": ">=22.0.0"
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"scripts": {
|
|
34
34
|
"build": "tsup",
|
|
35
35
|
"dev": "tsx src/index.ts",
|
|
36
|
-
"lint": "eslint src",
|
|
37
|
-
"lint:fix": "eslint src --fix",
|
|
36
|
+
"lint": "eslint src tests",
|
|
37
|
+
"lint:fix": "eslint src tests --fix",
|
|
38
38
|
"test": "vitest run",
|
|
39
39
|
"test:integration": "vitest run --config vitest.integration.config.ts"
|
|
40
40
|
}
|