@teambit/docs 0.0.776 → 0.0.779
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 +1 @@
|
|
|
1
|
-
{"version":3,"names":["DocsPreviewDefinition","constructor","docs","renderTemplatePath","context","renderTemplatePathByEnv","env","getTemplate","getModuleMap","components","map","getDocsMap"
|
|
1
|
+
{"version":3,"names":["DocsPreviewDefinition","constructor","docs","renderTemplatePath","context","renderTemplatePathByEnv","env","getTemplate","getModuleMap","components","map","getDocsMap"],"sources":["docs.preview-definition.ts"],"sourcesContent":["import { Component, ComponentMap } from '@teambit/component';\nimport type { Environment, ExecutionContext } from '@teambit/envs';\nimport { PreviewDefinition } from '@teambit/preview';\nimport { AbstractVinyl } from '@teambit/legacy/dist/consumer/component/sources';\n\nimport { DocsMain } from './docs.main.runtime';\n\nexport class DocsPreviewDefinition implements PreviewDefinition {\n readonly prefix = 'overview';\n readonly include = ['compositions'];\n readonly includePeers = true;\n\n constructor(\n /**\n * docs extension.\n */\n private docs: DocsMain\n ) {}\n\n /**\n * application root\n */\n async renderTemplatePath(context: ExecutionContext): Promise<string> {\n return this.renderTemplatePathByEnv(context.env);\n }\n\n async renderTemplatePathByEnv(env: Environment) {\n return this.docs.getTemplate(env);\n }\n\n /**\n * files to load.\n */\n async getModuleMap(components: Component[]): Promise<ComponentMap<AbstractVinyl[]>> {\n const map = this.docs.getDocsMap(components);\n return map;\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAOO,MAAMA,qBAAN,CAAyD;EAK9DC,WAAW;EACT;AACJ;AACA;EACYC,IAJC,EAKT;IAAA,KADQA,IACR,GADQA,IACR;IAAA,gDATgB,UAShB;IAAA,iDARiB,CAAC,cAAD,CAQjB;IAAA,sDAPsB,IAOtB;EAAE;EAEJ;AACF;AACA;;;EAC0B,MAAlBC,kBAAkB,CAACC,OAAD,EAA6C;IACnE,OAAO,KAAKC,uBAAL,CAA6BD,OAAO,CAACE,GAArC,CAAP;EACD;;EAE4B,MAAvBD,uBAAuB,CAACC,GAAD,EAAmB;IAC9C,OAAO,KAAKJ,IAAL,CAAUK,WAAV,CAAsBD,GAAtB,CAAP;EACD;EAED;AACF;AACA;;;EACoB,MAAZE,YAAY,CAACC,UAAD,EAAkE;IAClF,MAAMC,GAAG,GAAG,KAAKR,IAAL,CAAUS,UAAV,CAAqBF,UAArB,CAAZ;IACA,OAAOC,GAAP;EACD;;AA7B6D"}
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/docs",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.779",
|
|
4
4
|
"homepage": "https://bit.dev/teambit/docs/docs",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.docs",
|
|
8
8
|
"name": "docs",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.779"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"graphql-tag": "2.12.1",
|
|
@@ -15,26 +15,26 @@
|
|
|
15
15
|
"core-js": "^3.0.0",
|
|
16
16
|
"@teambit/harmony": "0.3.3",
|
|
17
17
|
"@teambit/design.ui.separator": "0.0.354",
|
|
18
|
-
"@teambit/compiler": "0.0.
|
|
19
|
-
"@teambit/component": "0.0.
|
|
18
|
+
"@teambit/compiler": "0.0.779",
|
|
19
|
+
"@teambit/component": "0.0.779",
|
|
20
20
|
"@teambit/docs.entities.doc": "0.0.3",
|
|
21
|
-
"@teambit/pkg": "0.0.
|
|
22
|
-
"@teambit/workspace": "0.0.
|
|
23
|
-
"@teambit/docs.ui.overview-compare": "0.0.
|
|
24
|
-
"@teambit/cli": "0.0.
|
|
25
|
-
"@teambit/dev-files": "0.0.
|
|
26
|
-
"@teambit/envs": "0.0.
|
|
27
|
-
"@teambit/graphql": "0.0.
|
|
28
|
-
"@teambit/logger": "0.0.
|
|
29
|
-
"@teambit/preview": "0.0.
|
|
21
|
+
"@teambit/pkg": "0.0.779",
|
|
22
|
+
"@teambit/workspace": "0.0.779",
|
|
23
|
+
"@teambit/docs.ui.overview-compare": "0.0.22",
|
|
24
|
+
"@teambit/cli": "0.0.515",
|
|
25
|
+
"@teambit/dev-files": "0.0.779",
|
|
26
|
+
"@teambit/envs": "0.0.779",
|
|
27
|
+
"@teambit/graphql": "0.0.779",
|
|
28
|
+
"@teambit/logger": "0.0.608",
|
|
29
|
+
"@teambit/preview": "0.0.779",
|
|
30
30
|
"@teambit/component-id": "0.0.402",
|
|
31
|
-
"@teambit/component-compare": "0.0.
|
|
32
|
-
"@teambit/component.ui.component-meta": "0.0.
|
|
33
|
-
"@teambit/ui": "0.0.
|
|
31
|
+
"@teambit/component-compare": "0.0.27",
|
|
32
|
+
"@teambit/component.ui.component-meta": "0.0.75",
|
|
33
|
+
"@teambit/ui": "0.0.779",
|
|
34
|
+
"@teambit/pubsub": "0.0.779",
|
|
34
35
|
"@teambit/design.ui.surfaces.status-message-card": "0.0.7",
|
|
35
|
-
"@teambit/lanes.ui.lanes": "0.0.
|
|
36
|
-
"@teambit/preview.ui.component-preview": "0.0.493"
|
|
37
|
-
"@teambit/pubsub": "0.0.776"
|
|
36
|
+
"@teambit/lanes.ui.lanes": "0.0.83",
|
|
37
|
+
"@teambit/preview.ui.component-preview": "0.0.493"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/react-dom": "^17.0.5",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@teambit/docs.content.docs-overview": "1.95.9"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@teambit/legacy": "1.0.
|
|
50
|
+
"@teambit/legacy": "1.0.296",
|
|
51
51
|
"react-dom": "^16.8.0 || ^17.0.0",
|
|
52
52
|
"react": "^16.8.0 || ^17.0.0"
|
|
53
53
|
},
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"react": "-"
|
|
76
76
|
},
|
|
77
77
|
"peerDependencies": {
|
|
78
|
-
"@teambit/legacy": "1.0.
|
|
78
|
+
"@teambit/legacy": "1.0.296",
|
|
79
79
|
"react-dom": "^16.8.0 || ^17.0.0",
|
|
80
80
|
"react": "^16.8.0 || ^17.0.0"
|
|
81
81
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.docs_docs@0.0.
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.docs_docs@0.0.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.docs_docs@0.0.779/dist/docs.composition.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.docs_docs@0.0.779/dist/docs.docs.mdx';
|
|
3
3
|
|
|
4
4
|
export const compositions = [compositions_0];
|
|
5
|
-
export const overview = [overview_0]
|
|
5
|
+
export const overview = [overview_0];
|
|
Binary file
|