@vocab/cli
Advanced tools
Comparing version 0.0.0-package-files-20231142931 to 0.0.0-push-split-translation-files-20230508031119
export {}; |
@@ -16,3 +16,3 @@ 'use strict'; | ||
branch | ||
} = envCi__default['default'](); | ||
} = envCi__default["default"](); | ||
const branchDefinition = { | ||
@@ -23,5 +23,6 @@ type: 'string', | ||
}; | ||
let config = null; // eslint-disable-next-line @typescript-eslint/no-unused-expressions | ||
let config = null; | ||
yargs__default['default'](process.argv.slice(2)).scriptName('vocab').option('config', { | ||
// eslint-disable-next-line @typescript-eslint/no-unused-expressions | ||
yargs__default["default"](process.argv.slice(2)).scriptName('vocab').option('config', { | ||
type: 'string', | ||
@@ -36,3 +37,3 @@ describe: 'Path to config file' | ||
command: 'push', | ||
builder: () => yargs__default['default'].options({ | ||
builder: () => yargs__default["default"].options({ | ||
branch: branchDefinition, | ||
@@ -50,3 +51,3 @@ 'delete-unused-keys': { | ||
command: 'pull', | ||
builder: () => yargs__default['default'].options({ | ||
builder: () => yargs__default["default"].options({ | ||
branch: branchDefinition | ||
@@ -59,3 +60,3 @@ }), | ||
command: 'compile', | ||
builder: () => yargs__default['default'].options({ | ||
builder: () => yargs__default["default"].options({ | ||
watch: { | ||
@@ -77,3 +78,2 @@ type: 'boolean', | ||
const valid = await core.validate(config); | ||
if (!valid) { | ||
@@ -80,0 +80,0 @@ throw new Error('Project invalid'); |
@@ -16,3 +16,3 @@ 'use strict'; | ||
branch | ||
} = envCi__default['default'](); | ||
} = envCi__default["default"](); | ||
const branchDefinition = { | ||
@@ -23,5 +23,6 @@ type: 'string', | ||
}; | ||
let config = null; // eslint-disable-next-line @typescript-eslint/no-unused-expressions | ||
let config = null; | ||
yargs__default['default'](process.argv.slice(2)).scriptName('vocab').option('config', { | ||
// eslint-disable-next-line @typescript-eslint/no-unused-expressions | ||
yargs__default["default"](process.argv.slice(2)).scriptName('vocab').option('config', { | ||
type: 'string', | ||
@@ -36,3 +37,3 @@ describe: 'Path to config file' | ||
command: 'push', | ||
builder: () => yargs__default['default'].options({ | ||
builder: () => yargs__default["default"].options({ | ||
branch: branchDefinition, | ||
@@ -50,3 +51,3 @@ 'delete-unused-keys': { | ||
command: 'pull', | ||
builder: () => yargs__default['default'].options({ | ||
builder: () => yargs__default["default"].options({ | ||
branch: branchDefinition | ||
@@ -59,3 +60,3 @@ }), | ||
command: 'compile', | ||
builder: () => yargs__default['default'].options({ | ||
builder: () => yargs__default["default"].options({ | ||
watch: { | ||
@@ -77,3 +78,2 @@ type: 'boolean', | ||
const valid = await core.validate(config); | ||
if (!valid) { | ||
@@ -80,0 +80,0 @@ throw new Error('Project invalid'); |
@@ -15,4 +15,5 @@ import { push, pull } from '@vocab/phrase'; | ||
}; | ||
let config = null; // eslint-disable-next-line @typescript-eslint/no-unused-expressions | ||
let config = null; | ||
// eslint-disable-next-line @typescript-eslint/no-unused-expressions | ||
yargs(process.argv.slice(2)).scriptName('vocab').option('config', { | ||
@@ -66,3 +67,2 @@ type: 'string', | ||
const valid = await validate(config); | ||
if (!valid) { | ||
@@ -69,0 +69,0 @@ throw new Error('Project invalid'); |
{ | ||
"name": "@vocab/cli", | ||
"version": "0.0.0-package-files-20231142931", | ||
"version": "0.0.0-push-split-translation-files-20230508031119", | ||
"main": "dist/vocab-cli.cjs.js", | ||
@@ -17,4 +17,4 @@ "module": "dist/vocab-cli.esm.js", | ||
"@types/env-ci": "^3.1.0", | ||
"@vocab/core": "^1.1.0", | ||
"@vocab/phrase": "^0.0.0-package-files-20231142931", | ||
"@vocab/core": "^1.3.1", | ||
"@vocab/phrase": "0.0.0-push-split-translation-files-20230508031119", | ||
"env-ci": "^5.0.2", | ||
@@ -32,2 +32,2 @@ "fast-glob": "^3.2.4", | ||
} | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
223
7621
+ Added@vocab/phrase@0.0.0-push-split-translation-files-20230508031119(transitive)
+ Addedchalk@4.1.2(transitive)
+ Addedhas-flag@4.0.0(transitive)
+ Addedsupports-color@7.2.0(transitive)
- Removed@vocab/phrase@0.0.0-use-phrase-locale-name-20240924060647(transitive)
Updated@vocab/core@^1.3.1
Updated@vocab/phrase@0.0.0-push-split-translation-files-20230508031119