@teambit/docs 1.0.528 → 1.0.530

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,7 +12,7 @@ class DocsService {
12
12
  _defineProperty(this, "name", 'docs');
13
13
  }
14
14
  async run(context) {
15
- return context.env.getDocsTemplate();
15
+ return context.env.getDocsTemplate?.();
16
16
  }
17
17
  }
18
18
  exports.DocsService = DocsService;
@@ -1 +1 @@
1
- {"version":3,"names":["DocsService","constructor","_defineProperty","run","context","env","getDocsTemplate","exports"],"sources":["docs.service.ts"],"sourcesContent":["import { EnvService, ExecutionContext } from '@teambit/envs';\n\nexport class DocsService implements EnvService<any> {\n name = 'docs';\n\n async run(context: ExecutionContext) {\n return context.env.getDocsTemplate();\n }\n}\n"],"mappings":";;;;;;;;;AAEO,MAAMA,WAAW,CAA4B;EAAAC,YAAA;IAAAC,eAAA,eAC3C,MAAM;EAAA;EAEb,MAAMC,GAAGA,CAACC,OAAyB,EAAE;IACnC,OAAOA,OAAO,CAACC,GAAG,CAACC,eAAe,CAAC,CAAC;EACtC;AACF;AAACC,OAAA,CAAAP,WAAA,GAAAA,WAAA","ignoreList":[]}
1
+ {"version":3,"names":["DocsService","constructor","_defineProperty","run","context","env","getDocsTemplate","exports"],"sources":["docs.service.ts"],"sourcesContent":["import { EnvService, ExecutionContext } from '@teambit/envs';\n\nexport class DocsService implements EnvService<any> {\n name = 'docs';\n\n async run(context: ExecutionContext) {\n return context.env.getDocsTemplate?.();\n }\n}\n"],"mappings":";;;;;;;;;AAEO,MAAMA,WAAW,CAA4B;EAAAC,YAAA;IAAAC,eAAA,eAC3C,MAAM;EAAA;EAEb,MAAMC,GAAGA,CAACC,OAAyB,EAAE;IACnC,OAAOA,OAAO,CAACC,GAAG,CAACC,eAAe,GAAG,CAAC;EACxC;AACF;AAACC,OAAA,CAAAP,WAAA,GAAAA,WAAA","ignoreList":[]}
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.docs_docs@1.0.528/dist/docs.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.docs_docs@1.0.528/dist/docs.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.docs_docs@1.0.530/dist/docs.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.docs_docs@1.0.530/dist/docs.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/docs",
3
- "version": "1.0.528",
3
+ "version": "1.0.530",
4
4
  "homepage": "https://bit.cloud/teambit/docs/docs",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.docs",
8
8
  "name": "docs",
9
- "version": "1.0.528"
9
+ "version": "1.0.530"
10
10
  },
11
11
  "dependencies": {
12
12
  "graphql-tag": "2.12.1",
@@ -19,26 +19,26 @@
19
19
  "@teambit/base-react.themes.theme-switcher": "1.1.2",
20
20
  "@teambit/component.ui.component-meta": "0.0.366",
21
21
  "@teambit/base-ui.loaders.skeleton": "1.0.1",
22
- "@teambit/compiler": "1.0.528",
23
- "@teambit/component": "1.0.528",
24
- "@teambit/pkg": "1.0.528",
25
- "@teambit/workspace": "1.0.528",
26
- "@teambit/cli": "0.0.1105",
27
- "@teambit/component.sources": "0.0.76",
28
- "@teambit/dev-files": "1.0.528",
29
- "@teambit/envs": "1.0.528",
30
- "@teambit/graphql": "1.0.528",
31
- "@teambit/legacy.consumer-component": "0.0.25",
32
- "@teambit/logger": "0.0.1198",
33
- "@teambit/preview": "1.0.528",
34
- "@teambit/scope": "1.0.528",
35
- "@teambit/api-reference": "1.0.528",
36
- "@teambit/component-compare": "1.0.528",
22
+ "@teambit/compiler": "1.0.530",
23
+ "@teambit/component": "1.0.530",
24
+ "@teambit/pkg": "1.0.530",
25
+ "@teambit/workspace": "1.0.530",
26
+ "@teambit/cli": "0.0.1107",
27
+ "@teambit/component.sources": "0.0.77",
28
+ "@teambit/dev-files": "1.0.530",
29
+ "@teambit/envs": "1.0.530",
30
+ "@teambit/graphql": "1.0.530",
31
+ "@teambit/legacy.consumer-component": "0.0.26",
32
+ "@teambit/logger": "0.0.1200",
33
+ "@teambit/preview": "1.0.530",
34
+ "@teambit/scope": "1.0.530",
35
+ "@teambit/api-reference": "1.0.530",
36
+ "@teambit/component-compare": "1.0.530",
37
37
  "@teambit/preview.ui.component-preview": "1.0.20",
38
- "@teambit/ui": "1.0.528",
39
- "@teambit/pubsub": "1.0.528",
38
+ "@teambit/ui": "1.0.530",
39
+ "@teambit/pubsub": "1.0.530",
40
40
  "@teambit/compositions.panels.composition-gallery": "0.0.217",
41
- "@teambit/compositions": "1.0.528",
41
+ "@teambit/compositions": "1.0.530",
42
42
  "@teambit/workspace.ui.use-workspace-mode": "0.0.2"
43
43
  },
44
44
  "devDependencies": {