@vocab/cli 0.0.0-compiled-translation-import-order-20230328231631 → 0.0.0-global-key-support-20231025223328

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.
@@ -46,7 +46,12 @@ yargs__default["default"](process.argv.slice(2)).scriptName('vocab').option('con
46
46
  }).command({
47
47
  command: 'pull',
48
48
  builder: () => yargs__default["default"].options({
49
- branch: branchDefinition
49
+ branch: branchDefinition,
50
+ 'error-on-no-global-key-translation': {
51
+ type: 'boolean',
52
+ describe: 'Throw an error when there is no translation for a global key',
53
+ default: false
54
+ }
50
55
  }),
51
56
  handler: async options => {
52
57
  await phrase.pull(options, config);
@@ -46,7 +46,12 @@ yargs__default["default"](process.argv.slice(2)).scriptName('vocab').option('con
46
46
  }).command({
47
47
  command: 'pull',
48
48
  builder: () => yargs__default["default"].options({
49
- branch: branchDefinition
49
+ branch: branchDefinition,
50
+ 'error-on-no-global-key-translation': {
51
+ type: 'boolean',
52
+ describe: 'Throw an error when there is no translation for a global key',
53
+ default: false
54
+ }
50
55
  }),
51
56
  handler: async options => {
52
57
  await phrase.pull(options, config);
@@ -39,7 +39,12 @@ yargs(process.argv.slice(2)).scriptName('vocab').option('config', {
39
39
  }).command({
40
40
  command: 'pull',
41
41
  builder: () => yargs.options({
42
- branch: branchDefinition
42
+ branch: branchDefinition,
43
+ 'error-on-no-global-key-translation': {
44
+ type: 'boolean',
45
+ describe: 'Throw an error when there is no translation for a global key',
46
+ default: false
47
+ }
43
48
  }),
44
49
  handler: async options => {
45
50
  await pull(options, config);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vocab/cli",
3
- "version": "0.0.0-compiled-translation-import-order-20230328231631",
3
+ "version": "0.0.0-global-key-support-20231025223328",
4
4
  "main": "dist/vocab-cli.cjs.js",
5
5
  "module": "dist/vocab-cli.esm.js",
6
6
  "bin": {
@@ -14,8 +14,8 @@
14
14
  "license": "MIT",
15
15
  "dependencies": {
16
16
  "@types/env-ci": "^3.1.0",
17
- "@vocab/core": "0.0.0-compiled-translation-import-order-20230328231631",
18
- "@vocab/phrase": "0.0.0-compiled-translation-import-order-20230328231631",
17
+ "@vocab/core": "0.0.0-global-key-support-20231025223328",
18
+ "@vocab/phrase": "0.0.0-global-key-support-20231025223328",
19
19
  "env-ci": "^5.0.2",
20
20
  "fast-glob": "^3.2.4",
21
21
  "form-data": "^3.0.0",
@@ -26,7 +26,6 @@
26
26
  "devDependencies": {
27
27
  "@types/node-fetch": "^2.5.7",
28
28
  "@types/prettier": "^2.1.5",
29
- "@types/yargs": "^15.0.9",
30
- "@vocab/types": "^1.1.2"
29
+ "@types/yargs": "^15.0.9"
31
30
  }
32
31
  }