@youcan/cli-kit 2.5.1 → 2.7.0
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/node/git.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import process from 'node:process';
|
|
1
2
|
import git from 'simple-git';
|
|
2
3
|
import { exec } from './system.js';
|
|
3
4
|
|
|
@@ -30,10 +31,8 @@ async function clone(cloneOptions) {
|
|
|
30
31
|
if (shallow) {
|
|
31
32
|
options['--depth'] = 1;
|
|
32
33
|
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
};
|
|
36
|
-
await git(simpleGitOptions)
|
|
34
|
+
await git({ config: [] })
|
|
35
|
+
.env({ ...process.env, GIT_TERMINAL_PROMPT: '0' })
|
|
37
36
|
.clone(repository, destination, options);
|
|
38
37
|
if (latestTag) {
|
|
39
38
|
const localRepo = git(destination);
|
package/dist/node/session.js
CHANGED
|
@@ -3,7 +3,7 @@ import { listen } from './callback.js';
|
|
|
3
3
|
import './cli.js';
|
|
4
4
|
import { manager } from './config.js';
|
|
5
5
|
import { randomHex, sha256, base64URLEncode } from './crypto.js';
|
|
6
|
-
import { apiHostname,
|
|
6
|
+
import { apiHostname, sellerAreaHostname, oauthClientId } from './env.js';
|
|
7
7
|
import './filesystem.js';
|
|
8
8
|
import 'formdata-node';
|
|
9
9
|
import 'formdata-node/file-from-path';
|
|
@@ -8,7 +8,7 @@ import 'change-case';
|
|
|
8
8
|
import '../node/cli.js';
|
|
9
9
|
import 'conf';
|
|
10
10
|
import 'env-paths';
|
|
11
|
-
import { isExecutable,
|
|
11
|
+
import { isExecutable, mkdir, chmod, tapIntoTmp, decompressGzip, extractTar, move } from '../node/filesystem.js';
|
|
12
12
|
import 'formdata-node';
|
|
13
13
|
import 'formdata-node/file-from-path';
|
|
14
14
|
import 'simple-git';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { useState, useEffect } from 'react';
|
|
2
|
-
import { useInput, Static, Box, Text
|
|
2
|
+
import { render, useInput, Static, Box, Text } from 'ink';
|
|
3
3
|
import { HotKeys } from './HotKeys.js';
|
|
4
4
|
import { VerticalDivider } from './utils/symbols.js';
|
|
5
5
|
import { map } from 'rxjs/operators';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { RightChevron, VerticalDivider } from './utils/symbols.js';
|
|
3
|
-
import {
|
|
3
|
+
import { render, Box, useInput, Text } from 'ink';
|
|
4
4
|
|
|
5
5
|
const HotKey = ({ keyboardKey, description, handler }) => {
|
|
6
6
|
useInput((input) => {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@youcan/cli-kit",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.7.0",
|
|
5
5
|
"description": "Utilities for the YouCan CLI",
|
|
6
6
|
"author": "YouCan <contact@youcan.shop> (https://youcan.shop)",
|
|
7
7
|
"license": "MIT",
|
|
@@ -9,6 +9,10 @@
|
|
|
9
9
|
"type": "git",
|
|
10
10
|
"url": "https://github.com/youcan-shop/cli"
|
|
11
11
|
},
|
|
12
|
+
"publishConfig": {
|
|
13
|
+
"access": "public",
|
|
14
|
+
"provenance": true
|
|
15
|
+
},
|
|
12
16
|
"keywords": [
|
|
13
17
|
"youcan",
|
|
14
18
|
"youcan-cli",
|
|
@@ -23,42 +27,42 @@
|
|
|
23
27
|
"dist"
|
|
24
28
|
],
|
|
25
29
|
"dependencies": {
|
|
26
|
-
"@oclif/core": "^2.
|
|
30
|
+
"@oclif/core": "^2.16.0",
|
|
27
31
|
"archiver": "^5.3.2",
|
|
28
32
|
"change-case": "^4.1.2",
|
|
29
|
-
"chokidar": "^4.0.
|
|
33
|
+
"chokidar": "^4.0.3",
|
|
30
34
|
"conf": "^11.0.2",
|
|
31
|
-
"dayjs": "^1.11.
|
|
35
|
+
"dayjs": "^1.11.20",
|
|
32
36
|
"env-paths": "^3.0.0",
|
|
33
37
|
"execa": "^6.1.0",
|
|
34
|
-
"find-process": "^1.4.
|
|
38
|
+
"find-process": "^1.4.11",
|
|
35
39
|
"formdata-node": "^6.0.3",
|
|
36
|
-
"fs-extra": "^11.
|
|
37
|
-
"get-port": "^7.
|
|
40
|
+
"fs-extra": "^11.3.4",
|
|
41
|
+
"get-port": "^7.2.0",
|
|
38
42
|
"glob": "^11.0.0",
|
|
39
|
-
"ink": "^5.1
|
|
40
|
-
"kill-port-process": "^3.2.
|
|
43
|
+
"ink": "^5.2.1",
|
|
44
|
+
"kill-port-process": "^3.2.1",
|
|
41
45
|
"kleur": "^4.1.5",
|
|
42
46
|
"node-fetch": "^3.3.2",
|
|
43
47
|
"open": "^9.1.0",
|
|
44
48
|
"prompts": "^2.4.2",
|
|
45
49
|
"ramda": "^0.28.0",
|
|
46
50
|
"react": "^18.3.1",
|
|
47
|
-
"rxjs": "^7.8.
|
|
48
|
-
"simple-git": "^3.
|
|
49
|
-
"tar": "^7.
|
|
51
|
+
"rxjs": "^7.8.2",
|
|
52
|
+
"simple-git": "^3.36.0",
|
|
53
|
+
"tar": "^7.5.13",
|
|
50
54
|
"tcp-port-used": "^1.0.2",
|
|
51
|
-
"tempy": "^3.
|
|
55
|
+
"tempy": "^3.2.0",
|
|
52
56
|
"worker": "^0.4.0"
|
|
53
57
|
},
|
|
54
58
|
"devDependencies": {
|
|
55
|
-
"@types/archiver": "^5.3.
|
|
56
|
-
"@types/fs-extra": "^11.0.
|
|
57
|
-
"@types/node": "^18.
|
|
58
|
-
"@types/prompts": "^2.4.
|
|
59
|
+
"@types/archiver": "^5.3.4",
|
|
60
|
+
"@types/fs-extra": "^11.0.4",
|
|
61
|
+
"@types/node": "^18.19.130",
|
|
62
|
+
"@types/prompts": "^2.4.9",
|
|
59
63
|
"@types/ramda": "^0.28.25",
|
|
60
|
-
"@types/react": "^18.3.
|
|
61
|
-
"@types/tcp-port-used": "^1.0.
|
|
64
|
+
"@types/react": "^18.3.28",
|
|
65
|
+
"@types/tcp-port-used": "^1.0.4",
|
|
62
66
|
"shx": "^0.3.4"
|
|
63
67
|
},
|
|
64
68
|
"scripts": {
|