ump 3.5.0 → 3.5.2

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.
Files changed (3) hide show
  1. package/bin/ump.js +1 -1
  2. package/package.json +13 -13
  3. package/ump.js +3 -0
package/bin/ump.js CHANGED
@@ -21,7 +21,7 @@ const argv = yargs
21
21
  .help('h')
22
22
  .alias('h', 'help')
23
23
  .options(options)
24
- .argv;
24
+ .parse();
25
25
 
26
26
  // @ts-ignore
27
27
  const {_: positional, ...opts} = argv;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ump",
3
3
  "title": "ump",
4
- "version": "3.5.0",
4
+ "version": "3.5.2",
5
5
  "description": "Bump without the B",
6
6
  "scripts": {
7
7
  "test": "npm run test:clean && npm run test:pre && npm run test:run",
@@ -28,23 +28,23 @@
28
28
  "node": ">=14"
29
29
  },
30
30
  "dependencies": {
31
- "@inquirer/confirm": "^5.0.0",
32
- "@inquirer/select": "^4.0.0",
33
- "chalk": "^5.3.0",
34
- "fs-extra": "^11.2.0",
31
+ "@inquirer/confirm": "^5.1.16",
32
+ "@inquirer/select": "^4.3.2",
33
+ "chalk": "^5.6.0",
34
+ "fs-extra": "^11.3.1",
35
35
  "git-config": "^0.0.7",
36
- "glob": "^11.0.0",
36
+ "glob": "^11.0.3",
37
37
  "rc": "^1.2.8",
38
- "semver": "^7.6.3",
38
+ "semver": "^7.7.2",
39
39
  "update-notifier": "^7.3.1",
40
- "yargs": "^17.7.2"
40
+ "yargs": "^18.0.0"
41
41
  },
42
42
  "devDependencies": {
43
- "@types/mocha": "^10.0.9",
44
- "chai": "^5.1.1",
45
- "eslint": "^9.13.0",
46
- "eslint-config-kswedberg": "^7.1.0",
47
- "mocha": "^10.7.3"
43
+ "@types/mocha": "^10.0.10",
44
+ "chai": "^6.0.1",
45
+ "eslint": "^9.34.0",
46
+ "eslint-config-kswedberg": "^7.2.0",
47
+ "mocha": "^11.7.1"
48
48
  },
49
49
  "license": "MIT"
50
50
  }
package/ump.js CHANGED
@@ -42,6 +42,9 @@ const ump = async function(options) {
42
42
  // opts.inquire is set to true automatically for CLI usage
43
43
  if (opts.publish && opts.inquire && config.pkgName.startsWith('@')) {
44
44
  opts.publishFlags = {};
45
+ if (opts.access) {
46
+ config.publishPrompt.default = opts.access;
47
+ }
45
48
  opts.publishFlags[config.publishPrompt.name] = await select(config.publishPrompt);
46
49
  }
47
50