@teambit/git 1.0.225 → 1.0.227

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.
@@ -1,4 +1,4 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <testsuites tests="0" failures="0" errors="0" skipped="0">
3
- <testsuite name="teambit.git/git@1.0.225" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.git/git@1.0.227" tests="0" failures="0" errors="0" skipped="0"/>
4
4
  </testsuites>
@@ -48,11 +48,7 @@
48
48
  "line": 32,
49
49
  "character": 24
50
50
  },
51
- "name": "Workspace",
52
- "componentId": {
53
- "scope": "teambit.workspace",
54
- "name": "workspace"
55
- }
51
+ "name": "Workspace"
56
52
  },
57
53
  "isOptional": false,
58
54
  "isSpread": false
@@ -72,8 +68,7 @@
72
68
  "line": 36,
73
69
  "character": 22
74
70
  },
75
- "name": "GitExtWorkspaceConfig",
76
- "internalFilePath": "git.main.runtime.ts"
71
+ "name": "GitExtWorkspaceConfig"
77
72
  },
78
73
  "isOptional": false,
79
74
  "isSpread": false
@@ -199,8 +194,7 @@
199
194
  "line": 52,
200
195
  "character": 33
201
196
  },
202
- "name": "SetGitMergeDriverOpts",
203
- "internalFilePath": "git.main.runtime.ts"
197
+ "name": "SetGitMergeDriverOpts"
204
198
  },
205
199
  "isOptional": false,
206
200
  "isSpread": false
@@ -315,11 +309,7 @@
315
309
  "line": 121,
316
310
  "character": 44
317
311
  },
318
- "name": "CLIMain",
319
- "componentId": {
320
- "scope": "teambit.harmony",
321
- "name": "cli"
322
- }
312
+ "name": "CLIMain"
323
313
  },
324
314
  {
325
315
  "__schema": "TypeRefSchema",
@@ -328,11 +318,7 @@
328
318
  "line": 121,
329
319
  "character": 53
330
320
  },
331
- "name": "Workspace",
332
- "componentId": {
333
- "scope": "teambit.workspace",
334
- "name": "workspace"
335
- }
321
+ "name": "Workspace"
336
322
  }
337
323
  ]
338
324
  },
@@ -354,8 +340,7 @@
354
340
  "line": 121,
355
341
  "character": 73
356
342
  },
357
- "name": "GitExtWorkspaceConfig",
358
- "internalFilePath": "git.main.runtime.ts"
343
+ "name": "GitExtWorkspaceConfig"
359
344
  },
360
345
  "isOptional": false,
361
346
  "isSpread": false
@@ -523,11 +508,7 @@
523
508
  "line": 32,
524
509
  "character": 24
525
510
  },
526
- "name": "Workspace",
527
- "componentId": {
528
- "scope": "teambit.workspace",
529
- "name": "workspace"
530
- }
511
+ "name": "Workspace"
531
512
  },
532
513
  "isOptional": false,
533
514
  "isSpread": false
@@ -547,8 +528,7 @@
547
528
  "line": 36,
548
529
  "character": 22
549
530
  },
550
- "name": "GitExtWorkspaceConfig",
551
- "internalFilePath": "git.main.runtime.ts"
531
+ "name": "GitExtWorkspaceConfig"
552
532
  },
553
533
  "isOptional": false,
554
534
  "isSpread": false
@@ -674,8 +654,7 @@
674
654
  "line": 52,
675
655
  "character": 33
676
656
  },
677
- "name": "SetGitMergeDriverOpts",
678
- "internalFilePath": "git.main.runtime.ts"
657
+ "name": "SetGitMergeDriverOpts"
679
658
  },
680
659
  "isOptional": false,
681
660
  "isSpread": false
@@ -790,11 +769,7 @@
790
769
  "line": 121,
791
770
  "character": 44
792
771
  },
793
- "name": "CLIMain",
794
- "componentId": {
795
- "scope": "teambit.harmony",
796
- "name": "cli"
797
- }
772
+ "name": "CLIMain"
798
773
  },
799
774
  {
800
775
  "__schema": "TypeRefSchema",
@@ -803,11 +778,7 @@
803
778
  "line": 121,
804
779
  "character": 53
805
780
  },
806
- "name": "Workspace",
807
- "componentId": {
808
- "scope": "teambit.workspace",
809
- "name": "workspace"
810
- }
781
+ "name": "Workspace"
811
782
  }
812
783
  ]
813
784
  },
@@ -829,8 +800,7 @@
829
800
  "line": 121,
830
801
  "character": 73
831
802
  },
832
- "name": "GitExtWorkspaceConfig",
833
- "internalFilePath": "git.main.runtime.ts"
803
+ "name": "GitExtWorkspaceConfig"
834
804
  },
835
805
  "isOptional": false,
836
806
  "isSpread": false
@@ -1151,7 +1121,7 @@
1151
1121
  "componentId": {
1152
1122
  "scope": "teambit.git",
1153
1123
  "name": "git",
1154
- "version": "1.0.225"
1124
+ "version": "1.0.227"
1155
1125
  },
1156
1126
  "taggedModuleExports": []
1157
1127
  }
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/git",
3
- "version": "1.0.225",
3
+ "version": "1.0.227",
4
4
  "homepage": "https://bit.cloud/teambit/git/git",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.git",
8
8
  "name": "git",
9
- "version": "1.0.225"
9
+ "version": "1.0.227"
10
10
  },
11
11
  "dependencies": {
12
12
  "chalk": "2.4.2",
@@ -14,14 +14,14 @@
14
14
  "gitconfig": "2.0.8",
15
15
  "@teambit/harmony": "0.4.6",
16
16
  "@teambit/bit-error": "0.0.404",
17
- "@teambit/cli": "0.0.859",
18
- "@teambit/workspace": "1.0.225"
17
+ "@teambit/cli": "0.0.860",
18
+ "@teambit/workspace": "1.0.227"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@types/fs-extra": "9.0.7",
22
22
  "@types/mocha": "9.1.0",
23
23
  "chai": "4.3.0",
24
- "@teambit/harmony.envs.core-aspect-env": "0.0.27"
24
+ "@teambit/harmony.envs.core-aspect-env": "0.0.30"
25
25
  },
26
26
  "peerDependencies": {
27
27
  "@teambit/legacy": "1.0.624"
package/tsconfig.json CHANGED
@@ -20,7 +20,8 @@
20
20
  "emitDeclarationOnly": true,
21
21
  "strict": true,
22
22
  "strictPropertyInitialization": false,
23
- "noImplicitAny": false
23
+ "noImplicitAny": false,
24
+ "composite": true
24
25
  },
25
26
  "exclude": [
26
27
  "artifacts",
@@ -35,5 +36,13 @@
35
36
  "include": [
36
37
  "**/*",
37
38
  "**/*.json"
39
+ ],
40
+ "references": [
41
+ {
42
+ "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_cli@0.0.860"
43
+ },
44
+ {
45
+ "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_workspace@1.0.227"
46
+ }
38
47
  ]
39
48
  }
@@ -1,2 +0,0 @@
1
- import { Aspect } from '@teambit/harmony';
2
- export declare const GitAspect: Aspect;
package/dist/git.cmd.d.ts DELETED
@@ -1,10 +0,0 @@
1
- import { Command } from '@teambit/cli';
2
- export declare class GitCmd implements Command {
3
- name: string;
4
- alias: string;
5
- description: string;
6
- options: never[];
7
- group: string;
8
- commands: Command[];
9
- report([unrecognizedSubcommand]: [string]): Promise<string>;
10
- }
@@ -1,31 +0,0 @@
1
- import { CLIMain } from '@teambit/cli';
2
- import { Workspace } from '@teambit/workspace';
3
- type SetGitMergeDriverOpts = {
4
- global?: boolean;
5
- };
6
- export interface GitExtWorkspaceConfig {
7
- mergeStrategy: 'ours' | 'theirs' | 'manual';
8
- }
9
- export declare class GitMain {
10
- private workspace;
11
- /**
12
- * Git extension configuration.
13
- */
14
- readonly config: GitExtWorkspaceConfig;
15
- constructor(workspace: Workspace,
16
- /**
17
- * Git extension configuration.
18
- */
19
- config: GitExtWorkspaceConfig);
20
- mergeBitmaps(ancestor: string, current: string, other: string): Promise<string>;
21
- setGitMergeDriver(opts: SetGitMergeDriverOpts): Promise<boolean>;
22
- private setGitConfig;
23
- private setGitAttributes;
24
- private getGitAttributesPath;
25
- private stripBom;
26
- static slots: never[];
27
- static dependencies: import("@teambit/harmony").Aspect[];
28
- static runtime: import("@teambit/harmony").RuntimeDefinition;
29
- static provider([cli, workspace]: [CLIMain, Workspace], config: GitExtWorkspaceConfig): Promise<GitMain>;
30
- }
31
- export default GitMain;
package/dist/index.d.ts DELETED
@@ -1,4 +0,0 @@
1
- import { GitAspect } from './git.aspect';
2
- export type { GitMain } from './git.main.runtime';
3
- export default GitAspect;
4
- export { GitAspect };
@@ -1,14 +0,0 @@
1
- import { Command, CommandOptions } from '@teambit/cli';
2
- import { GitMain } from './git.main.runtime';
3
- export declare class MergeBitmapsCmd implements Command {
4
- private git;
5
- name: string;
6
- alias: string;
7
- description: string;
8
- options: CommandOptions;
9
- group: string;
10
- commands: Command[];
11
- private: boolean;
12
- constructor(git: GitMain);
13
- report([ancestor, current, other]: string[]): Promise<string>;
14
- }
@@ -1,17 +0,0 @@
1
- import { Command, CommandOptions } from '@teambit/cli';
2
- import { GitMain } from './git.main.runtime';
3
- type SetGitMergeDriverFlags = {
4
- global?: boolean;
5
- };
6
- export declare class SetGitMergeDriverCmd implements Command {
7
- private git;
8
- name: string;
9
- alias: string;
10
- description: string;
11
- options: CommandOptions;
12
- group: string;
13
- commands: Command[];
14
- constructor(git: GitMain);
15
- report(_args: any, flags: SetGitMergeDriverFlags): Promise<string>;
16
- }
17
- export {};