@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.0 linux-x64 node-v18.18.2
15
+ @superblocksteam/cli/1.3.1 linux-x64 node-v18.18.2
16
16
  $ superblocks --help [COMMAND]
17
17
  USAGE
18
18
  $ superblocks COMMAND
@@ -7,7 +7,7 @@
7
7
  "lint:fix": "npx eslint . --fix"
8
8
  },
9
9
  "dependencies": {
10
- "@superblocksteam/custom-components": "1.3.0",
10
+ "@superblocksteam/custom-components": "1.3.1",
11
11
  "react": "^18",
12
12
  "react-dom": "^18"
13
13
  },
@@ -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
- status = await git.status();
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
- const status = await git.status();
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
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.3.0",
2
+ "version": "1.3.1",
3
3
  "commands": {
4
4
  "init": {
5
5
  "id": "init",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superblocksteam/cli",
3
- "version": "1.3.0",
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.0",
22
- "@superblocksteam/react-shim": "1.3.0",
23
- "@superblocksteam/sdk": "1.3.0",
24
- "@superblocksteam/util": "1.3.0",
25
- "@superblocksteam/vite-custom-component-reload-plugin": "1.3.0",
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",