@teambit/git 1.0.107 → 1.0.109

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.
@@ -0,0 +1 @@
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.git/git-preview"]=t():e["teambit.git/git-preview"]=t()}(self,(()=>(()=>{"use strict";var e={d:(t,o)=>{for(var i in o)e.o(o,i)&&!e.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:o[i]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{compositions:()=>o,compositions_metadata:()=>r,overview:()=>i});const o=[],i=[],r={compositions:[]};return t})()));
package/dist/git.cmd.d.ts CHANGED
@@ -3,7 +3,7 @@ export declare class GitCmd implements Command {
3
3
  name: string;
4
4
  alias: string;
5
5
  description: string;
6
- options: never[];
6
+ options: any[];
7
7
  group: string;
8
8
  commands: Command[];
9
9
  report([unrecognizedSubcommand]: [string]): Promise<string>;
@@ -1,6 +1,6 @@
1
1
  import { CLIMain } from '@teambit/cli';
2
2
  import { Workspace } from '@teambit/workspace';
3
- declare type SetGitMergeDriverOpts = {
3
+ type SetGitMergeDriverOpts = {
4
4
  global?: boolean;
5
5
  };
6
6
  export interface GitExtWorkspaceConfig {
@@ -23,7 +23,7 @@ export declare class GitMain {
23
23
  private setGitAttributes;
24
24
  private getGitAttributesPath;
25
25
  private stripBom;
26
- static slots: never[];
26
+ static slots: any[];
27
27
  static dependencies: import("@teambit/harmony").Aspect[];
28
28
  static runtime: import("@teambit/harmony").RuntimeDefinition;
29
29
  static provider([cli, workspace]: [CLIMain, Workspace], config: GitExtWorkspaceConfig): Promise<GitMain>;
@@ -1,6 +1,6 @@
1
1
  import { Command, CommandOptions } from '@teambit/cli';
2
2
  import { GitMain } from './git.main.runtime';
3
- declare type SetGitMergeDriverFlags = {
3
+ type SetGitMergeDriverFlags = {
4
4
  global?: boolean;
5
5
  };
6
6
  export declare class SetGitMergeDriverCmd implements Command {
package/package.json CHANGED
@@ -1,37 +1,31 @@
1
1
  {
2
2
  "name": "@teambit/git",
3
- "version": "1.0.107",
3
+ "version": "1.0.109",
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.107"
9
+ "version": "1.0.109"
10
10
  },
11
11
  "dependencies": {
12
12
  "chalk": "2.4.2",
13
13
  "fs-extra": "10.0.0",
14
14
  "gitconfig": "2.0.8",
15
- "core-js": "^3.0.0",
16
- "@babel/runtime": "7.20.0",
17
15
  "@teambit/harmony": "0.4.6",
18
16
  "@teambit/bit-error": "0.0.404",
19
- "@teambit/cli": "0.0.839",
20
- "@teambit/workspace": "1.0.107"
17
+ "@teambit/cli": "0.0.841",
18
+ "@teambit/workspace": "1.0.109"
21
19
  },
22
20
  "devDependencies": {
23
21
  "@types/fs-extra": "9.0.7",
24
22
  "@types/mocha": "9.1.0",
25
- "@types/node": "12.20.4",
26
- "@types/react": "^17.0.8",
27
- "@types/react-dom": "^17.0.5",
28
- "@types/jest": "^26.0.0",
29
- "@types/testing-library__jest-dom": "5.9.5"
23
+ "@types/jest": "^29.2.2",
24
+ "@types/testing-library__jest-dom": "^5.9.5",
25
+ "@teambit/harmony.envs.core-aspect-env": "0.0.14"
30
26
  },
31
27
  "peerDependencies": {
32
- "@teambit/legacy": "1.0.624",
33
- "react": "^16.8.0 || ^17.0.0",
34
- "react-dom": "^16.8.0 || ^17.0.0"
28
+ "@teambit/legacy": "1.0.624"
35
29
  },
36
30
  "license": "Apache-2.0",
37
31
  "optionalDependencies": {},
@@ -45,7 +39,7 @@
45
39
  },
46
40
  "private": false,
47
41
  "engines": {
48
- "node": ">=12.22.0"
42
+ "node": ">=16.0.0"
49
43
  },
50
44
  "repository": {
51
45
  "type": "git",
@@ -54,12 +48,9 @@
54
48
  "keywords": [
55
49
  "bit",
56
50
  "bit-aspect",
51
+ "bit-core-aspect",
57
52
  "components",
58
53
  "collaboration",
59
- "web",
60
- "react",
61
- "react-components",
62
- "angular",
63
- "angular-components"
54
+ "web"
64
55
  ]
65
56
  }
package/tsconfig.json CHANGED
@@ -1,38 +1,33 @@
1
1
  {
2
2
  "compilerOptions": {
3
3
  "lib": [
4
- "es2019",
5
- "DOM",
6
- "ES6",
7
- "DOM.Iterable",
8
- "ScriptHost"
4
+ "esnext",
5
+ "dom",
6
+ "dom.Iterable"
9
7
  ],
10
- "target": "es2015",
11
- "module": "CommonJS",
12
- "jsx": "react",
13
- "allowJs": true,
14
- "composite": true,
8
+ "target": "es2020",
9
+ "module": "es2020",
10
+ "jsx": "react-jsx",
15
11
  "declaration": true,
16
12
  "sourceMap": true,
17
- "skipLibCheck": true,
18
13
  "experimentalDecorators": true,
19
- "outDir": "dist",
14
+ "skipLibCheck": true,
20
15
  "moduleResolution": "node",
21
16
  "esModuleInterop": true,
22
- "rootDir": ".",
23
17
  "resolveJsonModule": true,
24
- "emitDeclarationOnly": true,
25
- "emitDecoratorMetadata": true,
26
- "allowSyntheticDefaultImports": true,
27
- "strictPropertyInitialization": false,
28
- "strict": true,
29
- "noImplicitAny": false,
30
- "preserveConstEnums": true
18
+ "allowJs": true,
19
+ "outDir": "dist",
20
+ "emitDeclarationOnly": true
31
21
  },
32
22
  "exclude": [
23
+ "artifacts",
24
+ "public",
33
25
  "dist",
26
+ "node_modules",
27
+ "package.json",
34
28
  "esm.mjs",
35
- "package.json"
29
+ "**/*.cjs",
30
+ "./dist"
36
31
  ],
37
32
  "include": [
38
33
  "**/*",
package/types/asset.d.ts CHANGED
@@ -5,12 +5,12 @@ declare module '*.png' {
5
5
  declare module '*.svg' {
6
6
  import type { FunctionComponent, SVGProps } from 'react';
7
7
 
8
- export const ReactComponent: FunctionComponent<SVGProps<SVGSVGElement> & { title?: string }>;
8
+ export const ReactComponent: FunctionComponent<
9
+ SVGProps<SVGSVGElement> & { title?: string }
10
+ >;
9
11
  const src: string;
10
12
  export default src;
11
13
  }
12
-
13
- // @TODO Gilad
14
14
  declare module '*.jpg' {
15
15
  const value: any;
16
16
  export = value;
@@ -27,3 +27,15 @@ declare module '*.bmp' {
27
27
  const value: any;
28
28
  export = value;
29
29
  }
30
+ declare module '*.otf' {
31
+ const value: any;
32
+ export = value;
33
+ }
34
+ declare module '*.woff' {
35
+ const value: any;
36
+ export = value;
37
+ }
38
+ declare module '*.woff2' {
39
+ const value: any;
40
+ export = value;
41
+ }