projen 0.71.38 → 0.71.39

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 (175) hide show
  1. package/.jsii +3 -3
  2. package/lib/awscdk/auto-discover.js +5 -5
  3. package/lib/awscdk/awscdk-app-java.js +1 -1
  4. package/lib/awscdk/awscdk-app-py.js +1 -1
  5. package/lib/awscdk/awscdk-app-ts.js +1 -1
  6. package/lib/awscdk/awscdk-construct.js +2 -2
  7. package/lib/awscdk/awscdk-deps-java.js +1 -1
  8. package/lib/awscdk/awscdk-deps-js.js +1 -1
  9. package/lib/awscdk/awscdk-deps-py.js +1 -1
  10. package/lib/awscdk/awscdk-deps.js +1 -1
  11. package/lib/awscdk/cdk-config.js +1 -1
  12. package/lib/awscdk/cdk-tasks.js +1 -1
  13. package/lib/awscdk/integration-test.js +1 -1
  14. package/lib/awscdk/lambda-extension.js +1 -1
  15. package/lib/awscdk/lambda-function.js +2 -2
  16. package/lib/build/build-workflow.js +1 -1
  17. package/lib/cdk/auto-discover-base.js +2 -2
  18. package/lib/cdk/construct-lib.js +1 -1
  19. package/lib/cdk/integration-test-base.js +1 -1
  20. package/lib/cdk/jsii-docgen.js +1 -1
  21. package/lib/cdk/jsii-project.js +1 -1
  22. package/lib/cdk8s/auto-discover.js +2 -2
  23. package/lib/cdk8s/cdk8s-app-py.js +1 -1
  24. package/lib/cdk8s/cdk8s-app-ts.js +1 -1
  25. package/lib/cdk8s/cdk8s-construct.js +1 -1
  26. package/lib/cdk8s/cdk8s-deps-py.js +1 -1
  27. package/lib/cdk8s/cdk8s-deps.js +1 -1
  28. package/lib/cdk8s/integration-test.js +1 -1
  29. package/lib/cdktf/cdktf-construct.js +1 -1
  30. package/lib/circleci/circleci.js +1 -1
  31. package/lib/cli/cmds/new.js +27 -19
  32. package/lib/cli/index.js +2 -2
  33. package/lib/cli/util.d.ts +3 -0
  34. package/lib/cli/util.js +9 -2
  35. package/lib/component.js +1 -1
  36. package/lib/dependencies.js +1 -1
  37. package/lib/dev-env.js +1 -1
  38. package/lib/docker-compose/docker-compose-service.js +1 -1
  39. package/lib/docker-compose/docker-compose.js +1 -1
  40. package/lib/file.js +1 -1
  41. package/lib/gitattributes.js +1 -1
  42. package/lib/github/actions-provider.js +1 -1
  43. package/lib/github/auto-approve.js +1 -1
  44. package/lib/github/auto-merge.js +1 -1
  45. package/lib/github/dependabot.js +1 -1
  46. package/lib/github/github-credentials.js +1 -1
  47. package/lib/github/github-project.js +1 -1
  48. package/lib/github/github.js +1 -1
  49. package/lib/github/mergify.js +1 -1
  50. package/lib/github/pr-template.js +1 -1
  51. package/lib/github/pull-request-lint.js +1 -1
  52. package/lib/github/stale.js +1 -1
  53. package/lib/github/task-workflow.js +1 -1
  54. package/lib/github/workflow-actions.js +1 -1
  55. package/lib/github/workflow-jobs.js +1 -1
  56. package/lib/github/workflows.js +1 -1
  57. package/lib/gitlab/configuration.js +1 -1
  58. package/lib/gitlab/gitlab-configuration.js +1 -1
  59. package/lib/gitlab/nested-configuration.js +1 -1
  60. package/lib/gitpod.js +1 -1
  61. package/lib/ignore-file.js +1 -1
  62. package/lib/ini.js +1 -1
  63. package/lib/java/java-project.js +1 -1
  64. package/lib/java/junit.js +1 -1
  65. package/lib/java/maven-compile.js +1 -1
  66. package/lib/java/maven-packaging.js +1 -1
  67. package/lib/java/maven-sample.js +1 -1
  68. package/lib/java/pom.js +1 -1
  69. package/lib/java/projenrc.js +1 -1
  70. package/lib/javascript/bundler.js +1 -1
  71. package/lib/javascript/eslint.js +1 -1
  72. package/lib/javascript/jest.js +4 -4
  73. package/lib/javascript/node-package.js +1 -1
  74. package/lib/javascript/node-project.js +1 -1
  75. package/lib/javascript/npm-config.js +1 -1
  76. package/lib/javascript/prettier.js +1 -1
  77. package/lib/javascript/projenrc.js +1 -1
  78. package/lib/javascript/typescript-config.js +2 -2
  79. package/lib/javascript/upgrade-dependencies.js +2 -2
  80. package/lib/json-patch.js +1 -1
  81. package/lib/json.js +1 -1
  82. package/lib/license.js +1 -1
  83. package/lib/logger.js +1 -1
  84. package/lib/makefile.js +1 -1
  85. package/lib/object-file.js +1 -1
  86. package/lib/project-build.js +1 -1
  87. package/lib/project.js +1 -1
  88. package/lib/projects.js +1 -1
  89. package/lib/projenrc-json.js +2 -2
  90. package/lib/projenrc.js +1 -1
  91. package/lib/python/pip.js +1 -1
  92. package/lib/python/poetry.js +2 -2
  93. package/lib/python/projenrc.js +1 -1
  94. package/lib/python/pytest-sample.js +1 -1
  95. package/lib/python/pytest.js +1 -1
  96. package/lib/python/python-project.js +1 -1
  97. package/lib/python/python-sample.js +1 -1
  98. package/lib/python/requirements-file.js +1 -1
  99. package/lib/python/setuppy.js +1 -1
  100. package/lib/python/setuptools.js +1 -1
  101. package/lib/python/venv.js +1 -1
  102. package/lib/readme.js +1 -1
  103. package/lib/release/publisher.js +1 -1
  104. package/lib/release/release-trigger.js +1 -1
  105. package/lib/release/release.js +1 -1
  106. package/lib/renovatebot.js +1 -1
  107. package/lib/sample-file.js +2 -2
  108. package/lib/semver.js +1 -1
  109. package/lib/source-code.js +1 -1
  110. package/lib/task-runtime.js +1 -1
  111. package/lib/task.js +1 -1
  112. package/lib/tasks.js +1 -1
  113. package/lib/testing.js +1 -1
  114. package/lib/textfile.js +1 -1
  115. package/lib/toml.js +1 -1
  116. package/lib/typescript/projenrc-ts.js +1 -1
  117. package/lib/typescript/projenrc.js +1 -1
  118. package/lib/typescript/typescript-typedoc.js +1 -1
  119. package/lib/typescript/typescript.js +3 -3
  120. package/lib/version.js +1 -1
  121. package/lib/vscode/devcontainer.js +1 -1
  122. package/lib/vscode/extensions.js +1 -1
  123. package/lib/vscode/launch-config.js +1 -1
  124. package/lib/vscode/settings.js +1 -1
  125. package/lib/vscode/vscode.js +1 -1
  126. package/lib/web/next.js +3 -3
  127. package/lib/web/postcss.js +1 -1
  128. package/lib/web/react.js +4 -4
  129. package/lib/web/tailwind.js +1 -1
  130. package/lib/xmlfile.js +1 -1
  131. package/lib/yaml.js +1 -1
  132. package/node_modules/cliui/CHANGELOG.md +18 -0
  133. package/node_modules/cliui/build/index.d.cts +43 -0
  134. package/node_modules/cliui/package.json +6 -6
  135. package/node_modules/yargs/README.md +8 -6
  136. package/node_modules/yargs/browser.d.ts +5 -0
  137. package/node_modules/yargs/browser.mjs +2 -2
  138. package/node_modules/yargs/build/index.cjs +1 -2920
  139. package/node_modules/yargs/build/lib/command.js +277 -210
  140. package/node_modules/yargs/build/lib/completion-templates.js +5 -4
  141. package/node_modules/yargs/build/lib/completion.js +201 -86
  142. package/node_modules/yargs/build/lib/middleware.js +51 -16
  143. package/node_modules/yargs/build/lib/usage.js +88 -52
  144. package/node_modules/yargs/build/lib/utils/levenshtein.js +9 -1
  145. package/node_modules/yargs/build/lib/utils/maybe-async-result.js +17 -0
  146. package/node_modules/yargs/build/lib/validation.js +51 -54
  147. package/node_modules/yargs/build/lib/yargs-factory.js +1253 -884
  148. package/node_modules/yargs/build/lib/yerror.js +3 -1
  149. package/node_modules/yargs/index.cjs +22 -8
  150. package/node_modules/yargs/index.mjs +2 -2
  151. package/node_modules/yargs/lib/platform-shims/browser.mjs +3 -0
  152. package/node_modules/yargs/lib/platform-shims/esm.mjs +9 -3
  153. package/node_modules/yargs/locales/cs.json +51 -0
  154. package/node_modules/yargs/locales/en.json +4 -0
  155. package/node_modules/yargs/locales/fi.json +1 -1
  156. package/node_modules/yargs/locales/ko.json +25 -25
  157. package/node_modules/yargs/locales/ru.json +6 -1
  158. package/node_modules/yargs/locales/uk_UA.json +51 -0
  159. package/node_modules/yargs/locales/uz.json +52 -0
  160. package/node_modules/yargs/locales/zh_TW.json +50 -46
  161. package/node_modules/{yargs-parser → yargs/node_modules/yargs-parser}/CHANGELOG.md +45 -0
  162. package/node_modules/{yargs-parser → yargs/node_modules/yargs-parser}/build/index.cjs +25 -17
  163. package/node_modules/{yargs-parser → yargs/node_modules/yargs-parser}/build/lib/index.js +8 -5
  164. package/node_modules/{yargs-parser → yargs/node_modules/yargs-parser}/build/lib/yargs-parser.js +20 -12
  165. package/node_modules/{yargs-parser → yargs/node_modules/yargs-parser}/package.json +14 -9
  166. package/node_modules/yargs/package.json +25 -24
  167. package/node_modules/yargs/yargs.mjs +10 -0
  168. package/package.json +2 -2
  169. package/node_modules/yargs/CHANGELOG.md +0 -88
  170. /package/node_modules/{yargs-parser → yargs/node_modules/yargs-parser}/LICENSE.txt +0 -0
  171. /package/node_modules/{yargs-parser → yargs/node_modules/yargs-parser}/README.md +0 -0
  172. /package/node_modules/{yargs-parser → yargs/node_modules/yargs-parser}/browser.js +0 -0
  173. /package/node_modules/{yargs-parser → yargs/node_modules/yargs-parser}/build/lib/string-utils.js +0 -0
  174. /package/node_modules/{yargs-parser → yargs/node_modules/yargs-parser}/build/lib/tokenize-arg-string.js +0 -0
  175. /package/node_modules/{yargs-parser → yargs/node_modules/yargs-parser}/build/lib/yargs-parser-types.js +0 -0
@@ -2,6 +2,8 @@ export class YError extends Error {
2
2
  constructor(msg) {
3
3
  super(msg || 'yargs error');
4
4
  this.name = 'YError';
5
- Error.captureStackTrace(this, YError);
5
+ if (Error.captureStackTrace) {
6
+ Error.captureStackTrace(this, YError);
7
+ }
6
8
  }
7
9
  }
@@ -11,9 +11,24 @@ module.exports = Argv;
11
11
  function Argv(processArgs, cwd) {
12
12
  const argv = Yargs(processArgs, cwd, require);
13
13
  singletonify(argv);
14
+ // TODO(bcoe): warn if argv.parse() or argv.argv is used directly.
14
15
  return argv;
15
16
  }
16
17
 
18
+ function defineGetter(obj, key, getter) {
19
+ Object.defineProperty(obj, key, {
20
+ configurable: true,
21
+ enumerable: true,
22
+ get: getter,
23
+ });
24
+ }
25
+ function lookupGetter(obj, key) {
26
+ const desc = Object.getOwnPropertyDescriptor(obj, key);
27
+ if (typeof desc !== 'undefined') {
28
+ return desc.get;
29
+ }
30
+ }
31
+
17
32
  /* Hack an instance of Argv with process.argv into Argv
18
33
  so people can do
19
34
  require('yargs')(['--beeble=1','-z','zizzle']).argv
@@ -22,18 +37,17 @@ function Argv(processArgs, cwd) {
22
37
  to get a parsed version of process.argv.
23
38
  */
24
39
  function singletonify(inst) {
25
- Object.keys(inst).forEach(key => {
40
+ [
41
+ ...Object.keys(inst),
42
+ ...Object.getOwnPropertyNames(inst.constructor.prototype),
43
+ ].forEach(key => {
26
44
  if (key === 'argv') {
27
- Argv.__defineGetter__(key, inst.__lookupGetter__(key));
45
+ defineGetter(Argv, key, lookupGetter(inst, key));
28
46
  } else if (typeof inst[key] === 'function') {
29
47
  Argv[key] = inst[key].bind(inst);
30
48
  } else {
31
- Argv.__defineGetter__('$0', () => {
32
- return inst.$0;
33
- });
34
- Argv.__defineGetter__('parsed', () => {
35
- return inst.parsed;
36
- });
49
+ defineGetter(Argv, '$0', () => inst.$0);
50
+ defineGetter(Argv, 'parsed', () => inst.parsed);
37
51
  }
38
52
  });
39
53
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  // Bootstraps yargs for ESM:
4
4
  import esmPlatformShim from './lib/platform-shims/esm.mjs';
5
- import {YargsWithShim} from './build/lib/yargs-factory.js';
5
+ import {YargsFactory} from './build/lib/yargs-factory.js';
6
6
 
7
- const Yargs = YargsWithShim(esmPlatformShim);
7
+ const Yargs = YargsFactory(esmPlatformShim);
8
8
  export default Yargs;
@@ -1,3 +1,4 @@
1
+ /* eslint-disable no-unused-vars */
1
2
  'use strict';
2
3
 
3
4
  import cliui from 'https://unpkg.com/cliui@7.0.1/index.mjs'; // eslint-disable-line
@@ -40,10 +41,12 @@ export default {
40
41
  process: {
41
42
  argv: () => [],
42
43
  cwd: () => '',
44
+ emitWarning: (warning, name) => {},
43
45
  execPath: () => '',
44
46
  // exit is noop browser:
45
47
  exit: () => {},
46
48
  nextTick: cb => {
49
+ // eslint-disable-next-line no-undef
47
50
  window.setTimeout(cb, 1);
48
51
  },
49
52
  stdColumns: 80,
@@ -3,7 +3,7 @@
3
3
  import { notStrictEqual, strictEqual } from 'assert'
4
4
  import cliui from 'cliui'
5
5
  import escalade from 'escalade/sync'
6
- import { format, inspect } from 'util'
6
+ import { inspect } from 'util'
7
7
  import { readFileSync } from 'fs'
8
8
  import { fileURLToPath } from 'url';
9
9
  import Parser from 'yargs-parser'
@@ -15,8 +15,13 @@ import y18n from 'y18n'
15
15
  const REQUIRE_ERROR = 'require is not supported by ESM'
16
16
  const REQUIRE_DIRECTORY_ERROR = 'loading a directory of commands is not supported yet for ESM'
17
17
 
18
- const mainFilename = fileURLToPath(import.meta.url).split('node_modules')[0]
19
- const __dirname = fileURLToPath(import.meta.url)
18
+ let __dirname;
19
+ try {
20
+ __dirname = fileURLToPath(import.meta.url);
21
+ } catch (e) {
22
+ __dirname = process.cwd();
23
+ }
24
+ const mainFilename = __dirname.substring(0, __dirname.lastIndexOf('node_modules'));
20
25
 
21
26
  export default {
22
27
  assert: {
@@ -45,6 +50,7 @@ export default {
45
50
  process: {
46
51
  argv: () => process.argv,
47
52
  cwd: process.cwd,
53
+ emitWarning: (warning, type) => process.emitWarning(warning, type),
48
54
  execPath: () => process.execPath,
49
55
  exit: process.exit,
50
56
  nextTick: process.nextTick,
@@ -0,0 +1,51 @@
1
+ {
2
+ "Commands:": "Příkazy:",
3
+ "Options:": "Možnosti:",
4
+ "Examples:": "Příklady:",
5
+ "boolean": "logická hodnota",
6
+ "count": "počet",
7
+ "string": "řetězec",
8
+ "number": "číslo",
9
+ "array": "pole",
10
+ "required": "povinné",
11
+ "default": "výchozí",
12
+ "default:": "výchozí:",
13
+ "choices:": "volby:",
14
+ "aliases:": "aliasy:",
15
+ "generated-value": "generovaná-hodnota",
16
+ "Not enough non-option arguments: got %s, need at least %s": {
17
+ "one": "Nedostatek argumentů: zadáno %s, je potřeba alespoň %s",
18
+ "other": "Nedostatek argumentů: zadáno %s, je potřeba alespoň %s"
19
+ },
20
+ "Too many non-option arguments: got %s, maximum of %s": {
21
+ "one": "Příliš mnoho argumentů: zadáno %s, maximálně %s",
22
+ "other": "Příliš mnoho argumentů: zadáno %s, maximálně %s"
23
+ },
24
+ "Missing argument value: %s": {
25
+ "one": "Chybí hodnota argumentu: %s",
26
+ "other": "Chybí hodnoty argumentů: %s"
27
+ },
28
+ "Missing required argument: %s": {
29
+ "one": "Chybí požadovaný argument: %s",
30
+ "other": "Chybí požadované argumenty: %s"
31
+ },
32
+ "Unknown argument: %s": {
33
+ "one": "Neznámý argument: %s",
34
+ "other": "Neznámé argumenty: %s"
35
+ },
36
+ "Invalid values:": "Neplatné hodnoty:",
37
+ "Argument: %s, Given: %s, Choices: %s": "Argument: %s, Zadáno: %s, Možnosti: %s",
38
+ "Argument check failed: %s": "Kontrola argumentů se nezdařila: %s",
39
+ "Implications failed:": "Chybí závislé argumenty:",
40
+ "Not enough arguments following: %s": "Následuje nedostatek argumentů: %s",
41
+ "Invalid JSON config file: %s": "Neplatný konfigurační soubor JSON: %s",
42
+ "Path to JSON config file": "Cesta ke konfiguračnímu souboru JSON",
43
+ "Show help": "Zobrazit nápovědu",
44
+ "Show version number": "Zobrazit číslo verze",
45
+ "Did you mean %s?": "Měl jste na mysli %s?",
46
+ "Arguments %s and %s are mutually exclusive" : "Argumenty %s a %s se vzájemně vylučují",
47
+ "Positionals:": "Poziční:",
48
+ "command": "příkaz",
49
+ "deprecated": "zastaralé",
50
+ "deprecated: %s": "zastaralé: %s"
51
+ }
@@ -33,6 +33,10 @@
33
33
  "one": "Unknown argument: %s",
34
34
  "other": "Unknown arguments: %s"
35
35
  },
36
+ "Unknown command: %s": {
37
+ "one": "Unknown command: %s",
38
+ "other": "Unknown commands: %s"
39
+ },
36
40
  "Invalid values:": "Invalid values:",
37
41
  "Argument: %s, Given: %s, Choices: %s": "Argument: %s, Given: %s, Choices: %s",
38
42
  "Argument check failed: %s": "Argument check failed: %s",
@@ -30,7 +30,7 @@
30
30
  "other": "Pakollisia argumentteja puuttuu: %s"
31
31
  },
32
32
  "Unknown argument: %s": {
33
- "one": "Tuntematon argumenttn: %s",
33
+ "one": "Tuntematon argumentti: %s",
34
34
  "other": "Tuntemattomia argumentteja: %s"
35
35
  },
36
36
  "Invalid values:": "Virheelliset arvot:",
@@ -2,48 +2,48 @@
2
2
  "Commands:": "명령:",
3
3
  "Options:": "옵션:",
4
4
  "Examples:": "예시:",
5
- "boolean": "여부",
5
+ "boolean": "불리언",
6
6
  "count": "개수",
7
7
  "string": "문자열",
8
8
  "number": "숫자",
9
9
  "array": "배열",
10
10
  "required": "필수",
11
- "default": "기본",
12
- "default:": "기본:",
13
- "choices:": "선택:",
11
+ "default": "기본값",
12
+ "default:": "기본값:",
13
+ "choices:": "선택지:",
14
14
  "aliases:": "별칭:",
15
15
  "generated-value": "생성된 값",
16
16
  "Not enough non-option arguments: got %s, need at least %s": {
17
- "one": "옵션이 아닌 인자가 충분치 않습니다: %s개를 받았지만, 적어도 %s개는 필요합니다",
18
- "other": "옵션이 아닌 인자가 충분치 않습니다: %s개를 받았지만, 적어도 %s개는 필요합니다"
17
+ "one": "옵션이 아닌 인수가 충분하지 않습니다: %s 입력받음, 최소 %s 입력 필요",
18
+ "other": "옵션이 아닌 인수가 충분하지 않습니다: %s 입력받음, 최소 %s 입력 필요"
19
19
  },
20
20
  "Too many non-option arguments: got %s, maximum of %s": {
21
- "one": "옵션이 아닌 인자가 너무 많습니다: %s개를 받았지만, %s개 이하여야 합니다",
22
- "other": "옵션이 아닌 인자가 너무 많습니다: %s개를 받았지만, %s개 이하여야 합니다"
21
+ "one": "옵션이 아닌 인수가 너무 많습니다: %s 입력받음, 최대 %s개 입력 가능",
22
+ "other": "옵션이 아닌 인수가 너무 많습니다: %s 입력받음, 최대 %s개 입력 가능"
23
23
  },
24
24
  "Missing argument value: %s": {
25
- "one": "인자값을 받지 못했습니다: %s",
26
- "other": "인자값들을 받지 못했습니다: %s"
25
+ "one": "인수가 주어지지 않았습니다: %s",
26
+ "other": "인수가 주어지지 않았습니다: %s"
27
27
  },
28
28
  "Missing required argument: %s": {
29
- "one": "필수 인자를 받지 못했습니다: %s",
30
- "other": "필수 인자들을 받지 못했습니다: %s"
29
+ "one": "필수 인수가 주어지지 않았습니다: %s",
30
+ "other": "필수 인수가 주어지지 않았습니다: %s"
31
31
  },
32
32
  "Unknown argument: %s": {
33
- "one": "알 수 없는 인자입니다: %s",
34
- "other": "알 수 없는 인자들입니다: %s"
33
+ "one": "알 수 없는 인수입니다: %s",
34
+ "other": "알 수 없는 인수입니다: %s"
35
35
  },
36
- "Invalid values:": "잘못된 값입니다:",
37
- "Argument: %s, Given: %s, Choices: %s": "인자: %s, 입력받은 값: %s, 선택지: %s",
38
- "Argument check failed: %s": "유효하지 않은 인자입니다: %s",
39
- "Implications failed:": "옵션의 조합이 잘못되었습니다:",
40
- "Not enough arguments following: %s": "인자가 충분하게 주어지지 않았습니다: %s",
41
- "Invalid JSON config file: %s": "유효하지 않은 JSON 설정파일입니다: %s",
42
- "Path to JSON config file": "JSON 설정파일 경로",
43
- "Show help": "도움말을 보여줍니다",
44
- "Show version number": "버전 넘버를 보여줍니다",
45
- "Did you mean %s?": "찾고계신게 %s입니까?",
46
- "Arguments %s and %s are mutually exclusive" : "%s와 %s 인자는 같이 사용될 수 없습니다",
36
+ "Invalid values:": "유효하지 않은 값:",
37
+ "Argument: %s, Given: %s, Choices: %s": "인수: %s, 주어진 값: %s, 선택지: %s",
38
+ "Argument check failed: %s": "인수 체크에 실패했습니다: %s",
39
+ "Implications failed:": "주어진 인수에 필요한 추가 인수가 주어지지 않았습니다:",
40
+ "Not enough arguments following: %s": "다음 인수가 주어지지 않았습니다: %s",
41
+ "Invalid JSON config file: %s": "유효하지 않은 JSON 설정 파일: %s",
42
+ "Path to JSON config file": "JSON 설정 파일 경로",
43
+ "Show help": "도움말 표시",
44
+ "Show version number": "버전 표시",
45
+ "Did you mean %s?": "%s을(를) 찾으시나요?",
46
+ "Arguments %s and %s are mutually exclusive" : "인수 %s과() %s은(는) 동시에 지정할 수 없습니다",
47
47
  "Positionals:": "위치:",
48
48
  "command": "명령"
49
49
  }
@@ -42,5 +42,10 @@
42
42
  "Path to JSON config file": "Путь к файлу конфигурации JSON",
43
43
  "Show help": "Показать помощь",
44
44
  "Show version number": "Показать номер версии",
45
- "Did you mean %s?": "Вы имели в виду %s?"
45
+ "Did you mean %s?": "Вы имели в виду %s?",
46
+ "Arguments %s and %s are mutually exclusive": "Аргументы %s и %s являются взаимоисключающими",
47
+ "Positionals:": "Позиционные аргументы:",
48
+ "command": "команда",
49
+ "deprecated": "устар.",
50
+ "deprecated: %s": "устар.: %s"
46
51
  }
@@ -0,0 +1,51 @@
1
+ {
2
+ "Commands:": "Команди:",
3
+ "Options:": "Опції:",
4
+ "Examples:": "Приклади:",
5
+ "boolean": "boolean",
6
+ "count": "кількість",
7
+ "string": "строка",
8
+ "number": "число",
9
+ "array": "масива",
10
+ "required": "обов'язково",
11
+ "default": "за замовчуванням",
12
+ "default:": "за замовчуванням:",
13
+ "choices:": "доступні варіанти:",
14
+ "aliases:": "псевдоніми:",
15
+ "generated-value": "згенероване значення",
16
+ "Not enough non-option arguments: got %s, need at least %s": {
17
+ "one": "Недостатньо аргументів: наразі %s, потрібно %s або більше",
18
+ "other": "Недостатньо аргументів: наразі %s, потрібно %s або більше"
19
+ },
20
+ "Too many non-option arguments: got %s, maximum of %s": {
21
+ "one": "Забагато аргументів: наразі %s, максимум %s",
22
+ "other": "Too many non-option arguments: наразі %s, максимум of %s"
23
+ },
24
+ "Missing argument value: %s": {
25
+ "one": "Відсутнє значення для аргументу: %s",
26
+ "other": "Відсутні значення для аргументу: %s"
27
+ },
28
+ "Missing required argument: %s": {
29
+ "one": "Відсутній обов'язковий аргумент: %s",
30
+ "other": "Відсутні обов'язкові аргументи: %s"
31
+ },
32
+ "Unknown argument: %s": {
33
+ "one": "Аргумент %s не підтримується",
34
+ "other": "Аргументи %s не підтримуються"
35
+ },
36
+ "Invalid values:": "Некоректні значення:",
37
+ "Argument: %s, Given: %s, Choices: %s": "Аргумент: %s, Введено: %s, Доступні варіанти: %s",
38
+ "Argument check failed: %s": "Аргумент не пройшов перевірку: %s",
39
+ "Implications failed:": "Відсутні залежні аргументи:",
40
+ "Not enough arguments following: %s": "Не достатньо аргументів після: %s",
41
+ "Invalid JSON config file: %s": "Некоректний JSON-файл конфігурації: %s",
42
+ "Path to JSON config file": "Шлях до JSON-файлу конфігурації",
43
+ "Show help": "Показати довідку",
44
+ "Show version number": "Показати версію",
45
+ "Did you mean %s?": "Можливо, ви мали на увазі %s?",
46
+ "Arguments %s and %s are mutually exclusive" : "Аргументи %s та %s взаємовиключні",
47
+ "Positionals:": "Позиційні:",
48
+ "command": "команда",
49
+ "deprecated": "застарілий",
50
+ "deprecated: %s": "застарілий: %s"
51
+ }
@@ -0,0 +1,52 @@
1
+ {
2
+ "Commands:": "Buyruqlar:",
3
+ "Options:": "Imkoniyatlar:",
4
+ "Examples:": "Misollar:",
5
+ "boolean": "boolean",
6
+ "count": "sanoq",
7
+ "string": "satr",
8
+ "number": "raqam",
9
+ "array": "massiv",
10
+ "required": "majburiy",
11
+ "default": "boshlang'ich",
12
+ "default:": "boshlang'ich:",
13
+ "choices:": "tanlovlar:",
14
+ "aliases:": "taxalluslar:",
15
+ "generated-value": "yaratilgan-qiymat",
16
+ "Not enough non-option arguments: got %s, need at least %s": {
17
+ "one": "No-imkoniyat argumentlar yetarli emas: berilgan %s, minimum %s",
18
+ "other": "No-imkoniyat argumentlar yetarli emas: berilgan %s, minimum %s"
19
+ },
20
+ "Too many non-option arguments: got %s, maximum of %s": {
21
+ "one": "No-imkoniyat argumentlar juda ko'p: berilgan %s, maksimum %s",
22
+ "other": "No-imkoniyat argumentlar juda ko'p: got %s, maksimum %s"
23
+ },
24
+ "Missing argument value: %s": {
25
+ "one": "Argument qiymati berilmagan: %s",
26
+ "other": "Argument qiymatlari berilmagan: %s"
27
+ },
28
+ "Missing required argument: %s": {
29
+ "one": "Majburiy argument berilmagan: %s",
30
+ "other": "Majburiy argumentlar berilmagan: %s"
31
+ },
32
+ "Unknown argument: %s": {
33
+ "one": "Noma'lum argument berilmagan: %s",
34
+ "other": "Noma'lum argumentlar berilmagan: %s"
35
+ },
36
+ "Invalid values:": "Nosoz qiymatlar:",
37
+ "Argument: %s, Given: %s, Choices: %s": "Argument: %s, Berilgan: %s, Tanlovlar: %s",
38
+ "Argument check failed: %s": "Muvaffaqiyatsiz argument tekshiruvi: %s",
39
+ "Implications failed:": "Bog'liq argumentlar berilmagan:",
40
+ "Not enough arguments following: %s": "Quyidagi argumentlar yetarli emas: %s",
41
+ "Invalid JSON config file: %s": "Nosoz JSON konfiguratsiya fayli: %s",
42
+ "Path to JSON config file": "JSON konfiguratsiya fayli joylashuvi",
43
+ "Show help": "Yordam ko'rsatish",
44
+ "Show version number": "Versiyani ko'rsatish",
45
+ "Did you mean %s?": "%s ni nazarda tutyapsizmi?",
46
+ "Arguments %s and %s are mutually exclusive" : "%s va %s argumentlari alohida",
47
+ "Positionals:": "Positsionallar:",
48
+ "command": "buyruq",
49
+ "deprecated": "eskirgan",
50
+ "deprecated: %s": "eskirgan: %s"
51
+ }
52
+
@@ -1,47 +1,51 @@
1
1
  {
2
- "Commands:": "命令:",
3
- "Options:": "選項:",
4
- "Examples:": "例:",
5
- "boolean": "布林",
6
- "count": "次數",
7
- "string": "字串",
8
- "number": "數字",
9
- "array": "陣列",
10
- "required": "必須",
11
- "default": "預設值",
12
- "default:": "預設值:",
13
- "choices:": "可選值:",
14
- "aliases:": "別名:",
15
- "generated-value": "生成的值",
16
- "Not enough non-option arguments: got %s, need at least %s": {
17
- "one": "non-option 引數不足:只傳入了 %s 個, 至少要 %s 個",
18
- "other": "non-option 引數不足:只傳入了 %s 個, 至少要 %s 個"
19
- },
20
- "Too many non-option arguments: got %s, maximum of %s": {
21
- "one": "non-option 引數過多:傳入了 %s 個, 但最多 %s 個",
22
- "other": "non-option 引數過多:傳入了 %s 個, 但最多 %s 個"
23
- },
24
- "Missing argument value: %s": {
25
- "one": "此引數無指定值:%s",
26
- "other": "這些引數無指定值:%s"
27
- },
28
- "Missing required argument: %s": {
29
- "one": "缺少必須的引數:%s",
30
- "other": "缺少這些必須的引數:%s"
31
- },
32
- "Unknown argument: %s": {
33
- "one": "未知的引數:%s",
34
- "other": "未知的這些引數:%s"
35
- },
36
- "Invalid values:": "無效的選項值:",
37
- "Argument: %s, Given: %s, Choices: %s": "引數名稱: %s, 傳入的值: %s, 可選的值:%s",
38
- "Argument check failed: %s": "引數驗證失敗:%s",
39
- "Implications failed:": "缺少依賴的選項:",
40
- "Not enough arguments following: %s": "沒有提供足夠的值給此引數:%s",
41
- "Invalid JSON config file: %s": "無效的 JSON 設置文件:%s",
42
- "Path to JSON config file": "JSON 設置文件的路徑",
43
- "Show help": "顯示說明",
44
- "Show version number": "顯示版本",
45
- "Did you mean %s?": "是指 %s?",
46
- "Arguments %s and %s are mutually exclusive" : "引數 %s 和 %s 是互斥的"
47
- }
2
+ "Commands:": "命令:",
3
+ "Options:": "選項:",
4
+ "Examples:": "範例:",
5
+ "boolean": "布林",
6
+ "count": "次數",
7
+ "string": "字串",
8
+ "number": "數字",
9
+ "array": "陣列",
10
+ "required": "必填",
11
+ "default": "預設值",
12
+ "default:": "預設值:",
13
+ "choices:": "可選值:",
14
+ "aliases:": "別名:",
15
+ "generated-value": "生成的值",
16
+ "Not enough non-option arguments: got %s, need at least %s": {
17
+ "one": "non-option 引數不足:只傳入了 %s 個, 至少要 %s 個",
18
+ "other": "non-option 引數不足:只傳入了 %s 個, 至少要 %s 個"
19
+ },
20
+ "Too many non-option arguments: got %s, maximum of %s": {
21
+ "one": "non-option 引數過多:傳入了 %s 個, 但最多 %s 個",
22
+ "other": "non-option 引數過多:傳入了 %s 個, 但最多 %s 個"
23
+ },
24
+ "Missing argument value: %s": {
25
+ "one": "此引數無指定值:%s",
26
+ "other": "這些引數無指定值:%s"
27
+ },
28
+ "Missing required argument: %s": {
29
+ "one": "缺少必須的引數:%s",
30
+ "other": "缺少這些必須的引數:%s"
31
+ },
32
+ "Unknown argument: %s": {
33
+ "one": "未知的引數:%s",
34
+ "other": "未知的引數:%s"
35
+ },
36
+ "Invalid values:": "無效的選項值:",
37
+ "Argument: %s, Given: %s, Choices: %s": "引數名稱: %s, 傳入的值: %s, 可選的值:%s",
38
+ "Argument check failed: %s": "引數驗證失敗:%s",
39
+ "Implications failed:": "缺少依賴引數:",
40
+ "Not enough arguments following: %s": "沒有提供足夠的值給此引數:%s",
41
+ "Invalid JSON config file: %s": "無效的 JSON 設置文件:%s",
42
+ "Path to JSON config file": "JSON 設置文件的路徑",
43
+ "Show help": "顯示說明",
44
+ "Show version number": "顯示版本",
45
+ "Did you mean %s?": "您是指 %s 嗎?",
46
+ "Arguments %s and %s are mutually exclusive" : "引數 %s 和 %s 互斥",
47
+ "Positionals:": "位置:",
48
+ "command": "命令",
49
+ "deprecated": "已淘汰",
50
+ "deprecated: %s": "已淘汰:%s"
51
+ }
@@ -2,6 +2,51 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [21.1.1](https://github.com/yargs/yargs-parser/compare/yargs-parser-v21.1.0...yargs-parser-v21.1.1) (2022-08-04)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **typescript:** ignore .cts files during publish ([#454](https://github.com/yargs/yargs-parser/issues/454)) ([d69f9c3](https://github.com/yargs/yargs-parser/commit/d69f9c3a91c3ad2f9494d0a94e29a8b76c41b81b)), closes [#452](https://github.com/yargs/yargs-parser/issues/452)
11
+
12
+ ## [21.1.0](https://github.com/yargs/yargs-parser/compare/yargs-parser-v21.0.1...yargs-parser-v21.1.0) (2022-08-03)
13
+
14
+
15
+ ### Features
16
+
17
+ * allow the browser build to be imported ([#443](https://github.com/yargs/yargs-parser/issues/443)) ([a89259f](https://github.com/yargs/yargs-parser/commit/a89259ff41d6f5312b3ce8a30bef343a993f395a))
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **halt-at-non-option:** prevent known args from being parsed when "unknown-options-as-args" is enabled ([#438](https://github.com/yargs/yargs-parser/issues/438)) ([c474bc1](https://github.com/yargs/yargs-parser/commit/c474bc10c3aa0ae864b95e5722730114ef15f573))
23
+ * node version check now uses process.versions.node ([#450](https://github.com/yargs/yargs-parser/issues/450)) ([d07bcdb](https://github.com/yargs/yargs-parser/commit/d07bcdbe43075f7201fbe8a08e491217247fe1f1))
24
+ * parse options ending with 3+ hyphens ([#434](https://github.com/yargs/yargs-parser/issues/434)) ([4f1060b](https://github.com/yargs/yargs-parser/commit/4f1060b50759fadbac3315c5117b0c3d65b0a7d8))
25
+
26
+ ### [21.0.1](https://github.com/yargs/yargs-parser/compare/yargs-parser-v21.0.0...yargs-parser-v21.0.1) (2022-02-27)
27
+
28
+
29
+ ### Bug Fixes
30
+
31
+ * return deno env object ([#432](https://github.com/yargs/yargs-parser/issues/432)) ([b00eb87](https://github.com/yargs/yargs-parser/commit/b00eb87b4860a890dd2dab0d6058241bbfd2b3ec))
32
+
33
+ ## [21.0.0](https://www.github.com/yargs/yargs-parser/compare/yargs-parser-v20.2.9...yargs-parser-v21.0.0) (2021-11-15)
34
+
35
+
36
+ ### ⚠ BREAKING CHANGES
37
+
38
+ * drops support for 10 (#421)
39
+
40
+ ### Bug Fixes
41
+
42
+ * esm json import ([#416](https://www.github.com/yargs/yargs-parser/issues/416)) ([90f970a](https://www.github.com/yargs/yargs-parser/commit/90f970a6482dd4f5b5eb18d38596dd6f02d73edf))
43
+ * parser should preserve inner quotes ([#407](https://www.github.com/yargs/yargs-parser/issues/407)) ([ae11f49](https://www.github.com/yargs/yargs-parser/commit/ae11f496a8318ea8885aa25015d429b33713c314))
44
+
45
+
46
+ ### Code Refactoring
47
+
48
+ * drops support for 10 ([#421](https://www.github.com/yargs/yargs-parser/issues/421)) ([3aaf878](https://www.github.com/yargs/yargs-parser/commit/3aaf8784f5c7f2aec6108c1c6a55537fa7e3b5c1))
49
+
5
50
  ### [20.2.9](https://www.github.com/yargs/yargs-parser/compare/yargs-parser-v20.2.8...yargs-parser-v20.2.9) (2021-06-20)
6
51
 
7
52