@inditextech/docouture-cli 0.1.0-SNAPSHOT.40.1 → 0.1.0-SNAPSHOT.46.1
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.
|
@@ -109,7 +109,7 @@ export function checkNamesAgree(input) {
|
|
|
109
109
|
export function checkGitHasCommit(dir) {
|
|
110
110
|
const label = 'git history';
|
|
111
111
|
return new Promise((resolvePromise) => {
|
|
112
|
-
execFile('git', ['rev-parse', 'HEAD'], { cwd: dir }, (err) => {
|
|
112
|
+
execFile('git', ['rev-parse', 'HEAD'], { cwd: dir, timeout: 10_000 }, (err) => {
|
|
113
113
|
resolvePromise(err
|
|
114
114
|
? {
|
|
115
115
|
ok: false,
|
|
@@ -191,7 +191,7 @@ const RELEASE_LABEL = 'docs/release';
|
|
|
191
191
|
export function checkReleaseLabelExists(repoRoot) {
|
|
192
192
|
const label = 'docs/release label';
|
|
193
193
|
return new Promise((resolvePromise) => {
|
|
194
|
-
execFile('gh', ['label', 'list', '--json', 'name'], { cwd: repoRoot }, (err, stdout) => {
|
|
194
|
+
execFile('gh', ['label', 'list', '--json', 'name'], { cwd: repoRoot, timeout: 10_000 }, (err, stdout) => {
|
|
195
195
|
if (err) {
|
|
196
196
|
resolvePromise({
|
|
197
197
|
ok: true,
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inditextech/docouture-cli",
|
|
3
|
-
"version": "0.1.0-SNAPSHOT.
|
|
3
|
+
"version": "0.1.0-SNAPSHOT.46.1",
|
|
4
4
|
"description": "Command-line tool for docouture documentation sites: scaffold a new site and set its Antora version outside the monorepo",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
|
-
"url": "https://github.com/InditexTech/
|
|
7
|
+
"url": "https://github.com/InditexTech/docouture.git",
|
|
8
8
|
"directory": "code/packages/cli"
|
|
9
9
|
},
|
|
10
|
-
"license": "
|
|
10
|
+
"license": "Apache-2.0",
|
|
11
11
|
"type": "module",
|
|
12
12
|
"bin": {
|
|
13
13
|
"docouture": "build/bin.js"
|