@vocab/cli 0.0.0-master-20240711232538 → 0.0.0-master-20250202230611
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/vocab-cli.cjs.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./declarations/src/index";
|
|
1
|
+
export * from "./declarations/src/index.js";
|
|
2
2
|
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidm9jYWItY2xpLmNqcy5kLnRzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi9kZWNsYXJhdGlvbnMvc3JjL2luZGV4LmQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEifQ==
|
|
@@ -19,6 +19,12 @@ const branchDefinition = {
|
|
|
19
19
|
describe: 'The Phrase branch to target',
|
|
20
20
|
default: branch || 'local-development'
|
|
21
21
|
};
|
|
22
|
+
const ignorePathDefinition = {
|
|
23
|
+
type: 'string',
|
|
24
|
+
array: true,
|
|
25
|
+
describe: 'Array of glob paths to ignore when searching for keys to push',
|
|
26
|
+
default: []
|
|
27
|
+
};
|
|
22
28
|
let config = null;
|
|
23
29
|
|
|
24
30
|
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
|
|
@@ -38,7 +44,8 @@ yargsCli__default["default"](process.argv.slice(2)).scriptName('vocab').option('
|
|
|
38
44
|
type: 'boolean',
|
|
39
45
|
describe: 'Whether or not to delete unused keys after pushing',
|
|
40
46
|
default: false
|
|
41
|
-
}
|
|
47
|
+
},
|
|
48
|
+
ignore: ignorePathDefinition
|
|
42
49
|
}),
|
|
43
50
|
handler: async options => {
|
|
44
51
|
await phrase.push(options, config);
|
|
@@ -19,6 +19,12 @@ const branchDefinition = {
|
|
|
19
19
|
describe: 'The Phrase branch to target',
|
|
20
20
|
default: branch || 'local-development'
|
|
21
21
|
};
|
|
22
|
+
const ignorePathDefinition = {
|
|
23
|
+
type: 'string',
|
|
24
|
+
array: true,
|
|
25
|
+
describe: 'Array of glob paths to ignore when searching for keys to push',
|
|
26
|
+
default: []
|
|
27
|
+
};
|
|
22
28
|
let config = null;
|
|
23
29
|
|
|
24
30
|
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
|
|
@@ -38,7 +44,8 @@ yargsCli__default["default"](process.argv.slice(2)).scriptName('vocab').option('
|
|
|
38
44
|
type: 'boolean',
|
|
39
45
|
describe: 'Whether or not to delete unused keys after pushing',
|
|
40
46
|
default: false
|
|
41
|
-
}
|
|
47
|
+
},
|
|
48
|
+
ignore: ignorePathDefinition
|
|
42
49
|
}),
|
|
43
50
|
handler: async options => {
|
|
44
51
|
await phrase.push(options, config);
|
package/dist/vocab-cli.esm.js
CHANGED
|
@@ -12,6 +12,12 @@ const branchDefinition = {
|
|
|
12
12
|
describe: 'The Phrase branch to target',
|
|
13
13
|
default: branch || 'local-development'
|
|
14
14
|
};
|
|
15
|
+
const ignorePathDefinition = {
|
|
16
|
+
type: 'string',
|
|
17
|
+
array: true,
|
|
18
|
+
describe: 'Array of glob paths to ignore when searching for keys to push',
|
|
19
|
+
default: []
|
|
20
|
+
};
|
|
15
21
|
let config = null;
|
|
16
22
|
|
|
17
23
|
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
|
|
@@ -31,7 +37,8 @@ yargsCli(process.argv.slice(2)).scriptName('vocab').option('config', {
|
|
|
31
37
|
type: 'boolean',
|
|
32
38
|
describe: 'Whether or not to delete unused keys after pushing',
|
|
33
39
|
default: false
|
|
34
|
-
}
|
|
40
|
+
},
|
|
41
|
+
ignore: ignorePathDefinition
|
|
35
42
|
}),
|
|
36
43
|
handler: async options => {
|
|
37
44
|
await push(options, config);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vocab/cli",
|
|
3
|
-
"version": "0.0.0-master-
|
|
3
|
+
"version": "0.0.0-master-20250202230611",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/seek-oss/vocab.git",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"env-ci": "^7.3.0",
|
|
25
25
|
"fast-glob": "^3.2.4",
|
|
26
26
|
"yargs": "^17.7.2",
|
|
27
|
-
"@vocab/core": "^1.6.
|
|
28
|
-
"@vocab/phrase": "^0.0.0-master-
|
|
27
|
+
"@vocab/core": "^1.6.3",
|
|
28
|
+
"@vocab/phrase": "^0.0.0-master-20250202230611"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/env-ci": "^3.1.0",
|