Commit 9345fce
feat: add branching (#195)
* chore: remove warning on every call
There is `enable-pre-post-scripts` option which is set to true and is true by default, but it throws a warning, so I am removing it:
npm warn Unknown project config "enable-pre-post-scripts". This will stop working in the next major version of npm.
* docs: add left out preposition
* feat: add --branch to push and pull commands
* feat: add --branch to compare command
* fix: update schema properly
* fix: set branch param properly
* test: branching in compare command
* test: add branching to pull command
* feat: add --branch to sync command
* feat: add branch command
* feat: add --branch to tag command
* feat: add merge command
* fix: use branch query param only when specified
* fix: list only non-merged branches
* chore: unify branch loading with platform
* chore: enable branching feature & project setting
* chore: replace `appendBranch` with `printBranchInfo` for improved branch logging consistency
* chore: refine branch resolution logic and update merge command descriptions
---------
Co-authored-by: Daniel Krizan <[email protected]>1 parent 655a37f commit 9345fce
File tree
27 files changed
+6863
-3571
lines changed- src
- client
- internal
- commands
- sync
- config
- utils
- test
- __fixtures__/validTolgeeRc
- e2e
- utils/api
- unit
27 files changed
+6863
-3571
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
8 | 13 | | |
9 | 14 | | |
10 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| 40 | + | |
| 41 | + | |
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
| |||
180 | 183 | | |
181 | 184 | | |
182 | 185 | | |
| 186 | + | |
183 | 187 | | |
184 | 188 | | |
185 | 189 | | |
| |||
209 | 213 | | |
210 | 214 | | |
211 | 215 | | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
212 | 222 | | |
213 | 223 | | |
214 | 224 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
46 | 50 | | |
47 | 51 | | |
48 | 52 | | |
| |||
0 commit comments