@teambit/diagnostic 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,o){"object"==typeof exports&&"object"==typeof module?module.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof exports?exports["teambit.harmony/diagnostic-preview"]=o():e["teambit.harmony/diagnostic-preview"]=o()}(self,(()=>(()=>{"use strict";var e={d:(o,t)=>{for(var r in t)e.o(t,r)&&!e.o(o,r)&&Object.defineProperty(o,r,{enumerable:!0,get:t[r]})},o:(e,o)=>Object.prototype.hasOwnProperty.call(e,o),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},o={};e.r(o),e.d(o,{compositions:()=>t,compositions_metadata:()=>i,overview:()=>r});const t=[],r=[],i={compositions:[]};return o})()));
@@ -1,4 +1,4 @@
1
- export declare type DiagnosticFc = () => Object;
1
+ export type DiagnosticFc = () => Object;
2
2
  export interface Diagnostic {
3
3
  diagnosticFn: DiagnosticFc;
4
4
  }
@@ -2,7 +2,7 @@ import { SlotRegistry } from '@teambit/harmony';
2
2
  import { ExpressMain } from '@teambit/express';
3
3
  import { GraphqlMain } from '@teambit/graphql';
4
4
  import { Diagnostic } from './diagnostic';
5
- export declare type DiagnosticSlot = SlotRegistry<Diagnostic[]>;
5
+ export type DiagnosticSlot = SlotRegistry<Diagnostic[]>;
6
6
  export declare class DiagnosticMain {
7
7
  /** the diagnostic entity slot */
8
8
  private diagnosticSlot;
package/package.json CHANGED
@@ -1,34 +1,28 @@
1
1
  {
2
2
  "name": "@teambit/diagnostic",
3
- "version": "1.0.107",
3
+ "version": "1.0.109",
4
4
  "homepage": "https://bit.cloud/teambit/harmony/diagnostic",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.harmony",
8
8
  "name": "diagnostic",
9
- "version": "1.0.107"
9
+ "version": "1.0.109"
10
10
  },
11
11
  "dependencies": {
12
12
  "graphql-tag": "2.12.1",
13
- "core-js": "^3.0.0",
14
- "@babel/runtime": "7.20.0",
15
13
  "@teambit/harmony": "0.4.6",
16
- "@teambit/graphql": "1.0.107",
17
- "@teambit/cli": "0.0.839",
18
- "@teambit/express": "0.0.938"
14
+ "@teambit/graphql": "1.0.109",
15
+ "@teambit/cli": "0.0.841",
16
+ "@teambit/express": "0.0.940"
19
17
  },
20
18
  "devDependencies": {
21
19
  "@types/mocha": "9.1.0",
22
- "@types/node": "12.20.4",
23
- "@types/react": "^17.0.8",
24
- "@types/react-dom": "^17.0.5",
25
- "@types/jest": "^26.0.0",
26
- "@types/testing-library__jest-dom": "5.9.5"
20
+ "@types/jest": "^29.2.2",
21
+ "@types/testing-library__jest-dom": "^5.9.5",
22
+ "@teambit/harmony.envs.core-aspect-env": "0.0.14"
27
23
  },
28
24
  "peerDependencies": {
29
- "@teambit/legacy": "1.0.624",
30
- "react": "^16.8.0 || ^17.0.0",
31
- "react-dom": "^16.8.0 || ^17.0.0"
25
+ "@teambit/legacy": "1.0.624"
32
26
  },
33
27
  "license": "Apache-2.0",
34
28
  "optionalDependencies": {},
@@ -42,7 +36,7 @@
42
36
  },
43
37
  "private": false,
44
38
  "engines": {
45
- "node": ">=12.22.0"
39
+ "node": ">=16.0.0"
46
40
  },
47
41
  "repository": {
48
42
  "type": "git",
@@ -51,12 +45,9 @@
51
45
  "keywords": [
52
46
  "bit",
53
47
  "bit-aspect",
48
+ "bit-core-aspect",
54
49
  "components",
55
50
  "collaboration",
56
- "web",
57
- "react",
58
- "react-components",
59
- "angular",
60
- "angular-components"
51
+ "web"
61
52
  ]
62
53
  }
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
+ }