git-stack-cli 0.8.6 → 1.0.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 +32 -3
- package/dist/cjs/index.cjs +34770 -0
- package/package.json +23 -9
- package/dist/__fixtures__/metadata.js +0 -666
- package/dist/__fixtures__/metadata.json +0 -186
- package/dist/app/App copy.js +0 -30
- package/dist/app/App.js +0 -42
- package/dist/app/ArgCheck.js +0 -21
- package/dist/app/AutoUpdate.js +0 -128
- package/dist/app/Await.js +0 -45
- package/dist/app/Brackets copy.js +0 -10
- package/dist/app/Brackets.js +0 -11
- package/dist/app/Command.js +0 -7
- package/dist/app/Counter.js +0 -19
- package/dist/app/Debug.js +0 -33
- package/dist/app/DependencyCheck.js +0 -89
- package/dist/app/Exit.js +0 -14
- package/dist/app/FormatText.js +0 -9
- package/dist/app/GatherMetadata copy.js +0 -91
- package/dist/app/GatherMetadata.js +0 -100
- package/dist/app/GithubApiError.js +0 -50
- package/dist/app/InitMetadata.js +0 -14
- package/dist/app/Input.js +0 -15
- package/dist/app/KeepAlive.js +0 -11
- package/dist/app/LocalCommitStatus.js +0 -43
- package/dist/app/LocalMergeRebase.js +0 -157
- package/dist/app/Main copy.js +0 -200
- package/dist/app/ManualRebase copy.js +0 -127
- package/dist/app/ManualRebase.js +0 -220
- package/dist/app/MultiSelect copy.js +0 -76
- package/dist/app/MultiSelect.js +0 -143
- package/dist/app/NPMAutoUpdate.js +0 -34
- package/dist/app/Output.js +0 -19
- package/dist/app/Parens copy.js +0 -9
- package/dist/app/Parens.js +0 -10
- package/dist/app/PostRebaseStatus copy.js +0 -23
- package/dist/app/PostRebaseStatus.js +0 -23
- package/dist/app/PreLocalMergeRebase.js +0 -21
- package/dist/app/PreSelectCommitRanges copy.js +0 -21
- package/dist/app/PreSelectCommitRanges.js +0 -21
- package/dist/app/Providers.js +0 -5
- package/dist/app/RebaseCheck.js +0 -56
- package/dist/app/SelectCommitRange.js +0 -1
- package/dist/app/SelectCommitRanges.js +0 -207
- package/dist/app/Status copy.js +0 -46
- package/dist/app/Status.js +0 -61
- package/dist/app/StatusTable.js +0 -115
- package/dist/app/Store.js +0 -136
- package/dist/app/Table.js +0 -65
- package/dist/app/TextInput.js +0 -51
- package/dist/app/Url copy.js +0 -6
- package/dist/app/Url.js +0 -6
- package/dist/app/Waterfall.js +0 -20
- package/dist/app/YesNoPrompt copy.js +0 -24
- package/dist/app/YesNoPrompt.js +0 -40
- package/dist/app/main.js +0 -39
- package/dist/cli.js +0 -9
- package/dist/command.js +0 -60
- package/dist/core/CommitMetadata.js +0 -159
- package/dist/core/Metadata copy.js +0 -37
- package/dist/core/Metadata.js +0 -36
- package/dist/core/StackSummaryTable.js +0 -87
- package/dist/core/StackSummaryTable.test.js +0 -98
- package/dist/core/StackTable.js +0 -38
- package/dist/core/SummaryTable.js +0 -38
- package/dist/core/ZustandStore.js +0 -23
- package/dist/core/assertNever.js +0 -4
- package/dist/core/cache.js +0 -39
- package/dist/core/capitalize.js +0 -5
- package/dist/core/chalk.js +0 -83
- package/dist/core/clamp.js +0 -6
- package/dist/core/cli copy.js +0 -44
- package/dist/core/cli.js +0 -86
- package/dist/core/color.js +0 -83
- package/dist/core/colors.js +0 -15
- package/dist/core/date.js +0 -18
- package/dist/core/dependency_check.js +0 -27
- package/dist/core/env.js +0 -4
- package/dist/core/exit.js +0 -4
- package/dist/core/fetch_json.js +0 -24
- package/dist/core/get_commit_metadata.js +0 -61
- package/dist/core/github.js +0 -118
- package/dist/core/id.js +0 -61
- package/dist/core/invariant copy.js +0 -5
- package/dist/core/invariant.js +0 -5
- package/dist/core/isFiniteValue.js +0 -3
- package/dist/core/is_command_available.js +0 -15
- package/dist/core/is_dev.js +0 -1
- package/dist/core/is_finite_value.js +0 -3
- package/dist/core/json.js +0 -35
- package/dist/core/match_group.js +0 -9
- package/dist/core/readJson.js +0 -3
- package/dist/core/read_json.js +0 -12
- package/dist/core/safe_quote.js +0 -9
- package/dist/core/semver_compare.js +0 -26
- package/dist/core/serialize_json.js +0 -17
- package/dist/core/short_id.js +0 -60
- package/dist/core/sleep copy.js +0 -3
- package/dist/core/sleep.js +0 -3
- package/dist/core/wrap_index.js +0 -10
- package/dist/index.js +0 -13
- package/dist/main copy.js +0 -266
- package/dist/main.backup.js +0 -266
- package/dist/main.js +0 -265
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "git-stack-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "magus",
|
|
6
6
|
"license": "MIT",
|
|
@@ -9,19 +9,21 @@
|
|
|
9
9
|
"url": "https://github.com/magus/git-stack-cli.git"
|
|
10
10
|
},
|
|
11
11
|
"type": "module",
|
|
12
|
-
"preferGlobal": true,
|
|
13
12
|
"bin": {
|
|
14
|
-
"git-stack": "dist/index.
|
|
13
|
+
"git-stack": "dist/cjs/index.cjs"
|
|
15
14
|
},
|
|
16
15
|
"files": [
|
|
17
|
-
"dist"
|
|
16
|
+
"dist/cjs"
|
|
18
17
|
],
|
|
19
18
|
"scripts": {
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
19
|
+
"dev": "npm run build -- --watch",
|
|
20
|
+
"build": "rollup -c rollup.config.mjs",
|
|
21
|
+
"build:standalone": "bun run scripts/prepare-standalone.ts",
|
|
22
|
+
"release:github": "bun run scripts/publish-release.ts",
|
|
23
|
+
"release:npm": "npm publish",
|
|
24
|
+
"lint:check": "eslint . --cache",
|
|
23
25
|
"lint": "npm run lint:check -- --fix",
|
|
24
|
-
"prettier:check": "prettier ./src --check",
|
|
26
|
+
"prettier:check": "prettier ./src --check --cache",
|
|
25
27
|
"prettier": "npm run prettier:check -- --write",
|
|
26
28
|
"test": "bun test src",
|
|
27
29
|
"test:watch": "npm run test -- --watch",
|
|
@@ -31,25 +33,37 @@
|
|
|
31
33
|
"dependencies": {
|
|
32
34
|
"chalk": "^5.3.0",
|
|
33
35
|
"immer": "^10.0.3",
|
|
34
|
-
"ink": "
|
|
36
|
+
"ink-cjs": "4.4.1",
|
|
37
|
+
"luxon": "^3.4.4",
|
|
35
38
|
"react": "^18.2.0",
|
|
39
|
+
"react-devtools-core": "^4.19.1",
|
|
36
40
|
"react-intl": "^6.5.5",
|
|
37
41
|
"yargs": "^17.7.2",
|
|
38
42
|
"zustand": "^4.4.4"
|
|
39
43
|
},
|
|
40
44
|
"devDependencies": {
|
|
45
|
+
"@rollup/plugin-alias": "^5.1.0",
|
|
46
|
+
"@rollup/plugin-commonjs": "^25.0.7",
|
|
47
|
+
"@rollup/plugin-json": "^6.1.0",
|
|
48
|
+
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
49
|
+
"@rollup/plugin-replace": "^5.0.5",
|
|
50
|
+
"@rollup/plugin-typescript": "^11.1.6",
|
|
41
51
|
"@types/chalk": "^2.2.0",
|
|
52
|
+
"@types/luxon": "^3.4.2",
|
|
42
53
|
"@types/node": "^20.8.7",
|
|
43
54
|
"@types/react": "^18.2.33",
|
|
44
55
|
"@types/yargs": "^17.0.29",
|
|
45
56
|
"@typescript-eslint/eslint-plugin": "^6.9.0",
|
|
46
57
|
"@typescript-eslint/parser": "^6.9.0",
|
|
58
|
+
"bun": "^1.0.26",
|
|
47
59
|
"bun-types": "^1.0.21",
|
|
48
60
|
"eslint": "^8.52.0",
|
|
49
61
|
"eslint-import-resolver-typescript": "^3.6.1",
|
|
50
62
|
"eslint-plugin-import": "^2.29.0",
|
|
51
63
|
"eslint-plugin-react": "^7.33.2",
|
|
64
|
+
"pkg": "^5.8.1",
|
|
52
65
|
"prettier": "^3.0.3",
|
|
66
|
+
"rollup": "^4.10.0",
|
|
53
67
|
"typescript": "^5.2.2"
|
|
54
68
|
}
|
|
55
69
|
}
|