@teambit/diagnostic 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.harmony/diagnostic@1.0.225" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.harmony/diagnostic@1.0.227" tests="0" failures="0" errors="0" skipped="0"/>
4
4
  </testsuites>
@@ -48,8 +48,7 @@
48
48
  "line": 17,
49
49
  "character": 29
50
50
  },
51
- "name": "DiagnosticSlot",
52
- "internalFilePath": "diagnostic.main.runtime.ts"
51
+ "name": "DiagnosticSlot"
53
52
  },
54
53
  "isOptional": false,
55
54
  "isSpread": false
@@ -161,8 +160,7 @@
161
160
  "line": 23,
162
161
  "character": 27
163
162
  },
164
- "name": "Diagnostic",
165
- "internalFilePath": "diagnostic.ts"
163
+ "name": "Diagnostic"
166
164
  }
167
165
  },
168
166
  "isOptional": false,
@@ -257,11 +255,7 @@
257
255
  "line": 46,
258
256
  "character": 26
259
257
  },
260
- "name": "ExpressMain",
261
- "componentId": {
262
- "scope": "teambit.harmony",
263
- "name": "express"
264
- }
258
+ "name": "ExpressMain"
265
259
  },
266
260
  {
267
261
  "__schema": "TypeRefSchema",
@@ -270,11 +264,7 @@
270
264
  "line": 46,
271
265
  "character": 39
272
266
  },
273
- "name": "GraphqlMain",
274
- "componentId": {
275
- "scope": "teambit.harmony",
276
- "name": "graphql"
277
- }
267
+ "name": "GraphqlMain"
278
268
  }
279
269
  ]
280
270
  },
@@ -324,8 +314,7 @@
324
314
  "line": 48,
325
315
  "character": 24
326
316
  },
327
- "name": "DiagnosticSlot",
328
- "internalFilePath": "diagnostic.main.runtime.ts"
317
+ "name": "DiagnosticSlot"
329
318
  }
330
319
  ]
331
320
  },
@@ -416,11 +405,6 @@
416
405
  "character": 30
417
406
  },
418
407
  "name": "SlotRegistry",
419
- "componentId": {
420
- "scope": "teambit.harmony",
421
- "name": "harmony",
422
- "version": "0.4.6"
423
- },
424
408
  "typeArgs": [
425
409
  {
426
410
  "__schema": "TypeArraySchema",
@@ -436,8 +420,7 @@
436
420
  "line": 12,
437
421
  "character": 43
438
422
  },
439
- "name": "Diagnostic",
440
- "internalFilePath": "diagnostic.ts"
423
+ "name": "Diagnostic"
441
424
  }
442
425
  }
443
426
  ]
@@ -478,8 +461,7 @@
478
461
  "line": 17,
479
462
  "character": 29
480
463
  },
481
- "name": "DiagnosticSlot",
482
- "internalFilePath": "diagnostic.main.runtime.ts"
464
+ "name": "DiagnosticSlot"
483
465
  },
484
466
  "isOptional": false,
485
467
  "isSpread": false
@@ -591,8 +573,7 @@
591
573
  "line": 23,
592
574
  "character": 27
593
575
  },
594
- "name": "Diagnostic",
595
- "internalFilePath": "diagnostic.ts"
576
+ "name": "Diagnostic"
596
577
  }
597
578
  },
598
579
  "isOptional": false,
@@ -687,11 +668,7 @@
687
668
  "line": 46,
688
669
  "character": 26
689
670
  },
690
- "name": "ExpressMain",
691
- "componentId": {
692
- "scope": "teambit.harmony",
693
- "name": "express"
694
- }
671
+ "name": "ExpressMain"
695
672
  },
696
673
  {
697
674
  "__schema": "TypeRefSchema",
@@ -700,11 +677,7 @@
700
677
  "line": 46,
701
678
  "character": 39
702
679
  },
703
- "name": "GraphqlMain",
704
- "componentId": {
705
- "scope": "teambit.harmony",
706
- "name": "graphql"
707
- }
680
+ "name": "GraphqlMain"
708
681
  }
709
682
  ]
710
683
  },
@@ -754,8 +727,7 @@
754
727
  "line": 48,
755
728
  "character": 24
756
729
  },
757
- "name": "DiagnosticSlot",
758
- "internalFilePath": "diagnostic.main.runtime.ts"
730
+ "name": "DiagnosticSlot"
759
731
  }
760
732
  ]
761
733
  },
@@ -836,7 +808,7 @@
836
808
  "componentId": {
837
809
  "scope": "teambit.harmony",
838
810
  "name": "diagnostic",
839
- "version": "1.0.225"
811
+ "version": "1.0.227"
840
812
  },
841
813
  "taggedModuleExports": []
842
814
  }
package/package.json CHANGED
@@ -1,24 +1,24 @@
1
1
  {
2
2
  "name": "@teambit/diagnostic",
3
- "version": "1.0.225",
3
+ "version": "1.0.227",
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.225"
9
+ "version": "1.0.227"
10
10
  },
11
11
  "dependencies": {
12
12
  "graphql-tag": "2.12.1",
13
13
  "@teambit/harmony": "0.4.6",
14
- "@teambit/graphql": "1.0.225",
15
- "@teambit/cli": "0.0.859",
16
- "@teambit/express": "0.0.958"
14
+ "@teambit/graphql": "1.0.227",
15
+ "@teambit/cli": "0.0.860",
16
+ "@teambit/express": "0.0.959"
17
17
  },
18
18
  "devDependencies": {
19
19
  "@types/mocha": "9.1.0",
20
20
  "chai": "4.3.0",
21
- "@teambit/harmony.envs.core-aspect-env": "0.0.27"
21
+ "@teambit/harmony.envs.core-aspect-env": "0.0.30"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "@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,16 @@
35
36
  "include": [
36
37
  "**/*",
37
38
  "**/*.json"
39
+ ],
40
+ "references": [
41
+ {
42
+ "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_graphql@1.0.227"
43
+ },
44
+ {
45
+ "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_cli@0.0.860"
46
+ },
47
+ {
48
+ "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_express@0.0.959"
49
+ }
38
50
  ]
39
51
  }
@@ -1,2 +0,0 @@
1
- import { Aspect } from '@teambit/harmony';
2
- export declare const DiagnosticAspect: Aspect;
@@ -1,4 +0,0 @@
1
- export type DiagnosticFc = () => Object;
2
- export interface Diagnostic {
3
- diagnosticFn: DiagnosticFc;
4
- }
@@ -1,12 +0,0 @@
1
- import { Schema } from '@teambit/graphql';
2
- import { DiagnosticMain } from './diagnostic.main.runtime';
3
- export declare class DiagnosticGraphql implements Schema {
4
- private diagnosticMain;
5
- constructor(diagnosticMain: DiagnosticMain);
6
- typeDefs: import("graphql").DocumentNode;
7
- resolvers: {
8
- Query: {
9
- _diagnostic: () => {};
10
- };
11
- };
12
- }
@@ -1,21 +0,0 @@
1
- import { SlotRegistry } from '@teambit/harmony';
2
- import { ExpressMain } from '@teambit/express';
3
- import { GraphqlMain } from '@teambit/graphql';
4
- import { Diagnostic } from './diagnostic';
5
- export type DiagnosticSlot = SlotRegistry<Diagnostic[]>;
6
- export declare class DiagnosticMain {
7
- /** the diagnostic entity slot */
8
- private diagnosticSlot;
9
- constructor(
10
- /** the diagnostic entity slot */
11
- diagnosticSlot: DiagnosticSlot);
12
- static slots: ((registerFn: () => string) => SlotRegistry<Diagnostic[]>)[];
13
- static dependencies: import("@teambit/harmony").Aspect[];
14
- static runtime: import("@teambit/harmony").RuntimeDefinition;
15
- register(...diagnostic: Diagnostic[]): void;
16
- getDiagnosticData(): {};
17
- static getBitVersion(): {
18
- version: any;
19
- };
20
- static provider([express, graphql]: [ExpressMain, GraphqlMain], config: any, [diagnosticSlot]: [DiagnosticSlot]): Promise<DiagnosticMain>;
21
- }
@@ -1,10 +0,0 @@
1
- import { Route, Verb, Request, Response } from '@teambit/express';
2
- import type { DiagnosticMain } from './diagnostic.main.runtime';
3
- export declare class DiagnosticRoute implements Route {
4
- readonly diagnosticMain: DiagnosticMain;
5
- constructor(diagnosticMain: DiagnosticMain);
6
- method: string;
7
- route: string;
8
- verb: Verb;
9
- middlewares: ((req: Request, res: Response) => Promise<void>)[];
10
- }
package/dist/index.d.ts DELETED
@@ -1,4 +0,0 @@
1
- import { DiagnosticAspect } from './diagnostic.aspect';
2
- export type { DiagnosticMain } from './diagnostic.main.runtime';
3
- export default DiagnosticAspect;
4
- export { DiagnosticAspect };