@superblocksteam/cli 1.3.0 → 1.3.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.
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@ $ npm install -g @superblocksteam/cli
|
|
|
12
12
|
$ superblocks COMMAND
|
|
13
13
|
running command...
|
|
14
14
|
$ superblocks (--version)
|
|
15
|
-
@superblocksteam/cli/1.3.
|
|
15
|
+
@superblocksteam/cli/1.3.1 linux-x64 node-v18.18.2
|
|
16
16
|
$ superblocks --help [COMMAND]
|
|
17
17
|
USAGE
|
|
18
18
|
$ superblocks COMMAND
|
|
@@ -269,7 +269,8 @@ async function getLocalGitRepoState(overrideLocalBranch) {
|
|
|
269
269
|
const git = (0, simple_git_1.simpleGit)();
|
|
270
270
|
let status;
|
|
271
271
|
try {
|
|
272
|
-
|
|
272
|
+
// do not return untracked files which can be slow, we only care about the branch info
|
|
273
|
+
status = await git.status(["--untracked-files=no"]);
|
|
273
274
|
}
|
|
274
275
|
catch {
|
|
275
276
|
return { status: "NO_GIT" };
|
|
@@ -320,7 +321,8 @@ exports.getLocalGitRepoState = getLocalGitRepoState;
|
|
|
320
321
|
async function getCurrentGitBranchIfGit() {
|
|
321
322
|
const git = (0, simple_git_1.simpleGit)();
|
|
322
323
|
try {
|
|
323
|
-
|
|
324
|
+
// do not return untracked files which can be slow, we only care about the branch info
|
|
325
|
+
const status = await git.status(["--untracked-files=no"]);
|
|
324
326
|
const currentBranch = status.current;
|
|
325
327
|
return currentBranch;
|
|
326
328
|
}
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superblocksteam/cli",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"description": "Official Superblocks CLI",
|
|
5
5
|
"bin": {
|
|
6
6
|
"superblocks": "bin/run"
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"@oclif/core": "^2.11.7",
|
|
19
19
|
"@oclif/plugin-help": "^5.2.16",
|
|
20
20
|
"@oclif/plugin-plugins": "^3.1.10",
|
|
21
|
-
"@superblocksteam/css-plugin": "1.3.
|
|
22
|
-
"@superblocksteam/react-shim": "1.3.
|
|
23
|
-
"@superblocksteam/sdk": "1.3.
|
|
24
|
-
"@superblocksteam/util": "1.3.
|
|
25
|
-
"@superblocksteam/vite-custom-component-reload-plugin": "1.3.
|
|
21
|
+
"@superblocksteam/css-plugin": "1.3.1",
|
|
22
|
+
"@superblocksteam/react-shim": "1.3.1",
|
|
23
|
+
"@superblocksteam/sdk": "1.3.1",
|
|
24
|
+
"@superblocksteam/util": "1.3.1",
|
|
25
|
+
"@superblocksteam/vite-custom-component-reload-plugin": "1.3.1",
|
|
26
26
|
"@vitejs/plugin-react": "^4.1.0",
|
|
27
27
|
"colorette": "^2.0.19",
|
|
28
28
|
"enquirer": "^2.3.6",
|