@teambit/docs 1.0.186 → 1.0.188
Sign up to get free protection for your applications and to get access to all the features.
- package/artifacts/__bit_junit.xml +1 -1
- package/artifacts/preview/static/css/teambit.docs/{docs-preview.4429f941.css → docs-preview.2592bc00.css} +9 -9
- package/artifacts/preview/teambit_docs_docs-preview.js +6 -6
- package/dist/docs.graphql.js +2 -3
- package/dist/docs.graphql.js.map +1 -1
- package/dist/{preview-1709781440634.js → preview-1710040632859.js} +2 -2
- package/package.json +17 -17
- package/artifacts/schema.json +0 -6486
package/dist/docs.graphql.js
CHANGED
@@ -5,16 +5,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
});
|
6
6
|
exports.docsSchema = docsSchema;
|
7
7
|
function _graphqlTag() {
|
8
|
-
const data =
|
8
|
+
const data = require("graphql-tag");
|
9
9
|
_graphqlTag = function () {
|
10
10
|
return data;
|
11
11
|
};
|
12
12
|
return data;
|
13
13
|
}
|
14
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
15
14
|
function docsSchema(docs) {
|
16
15
|
return {
|
17
|
-
typeDefs: (0, _graphqlTag().
|
16
|
+
typeDefs: (0, _graphqlTag().gql)`
|
18
17
|
extend type Component {
|
19
18
|
description: String
|
20
19
|
labels: [String]
|
package/dist/docs.graphql.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_graphqlTag","data","
|
1
|
+
{"version":3,"names":["_graphqlTag","data","require","docsSchema","docs","typeDefs","gql","resolvers","Component","description","component","getDescription","labels","doc","getDoc"],"sources":["docs.graphql.ts"],"sourcesContent":["import { gql } from 'graphql-tag';\nimport { Component } from '@teambit/component';\nimport { DocsMain } from './docs.main.runtime';\n\nexport function docsSchema(docs: DocsMain) {\n return {\n typeDefs: gql`\n extend type Component {\n description: String\n labels: [String]\n }\n `,\n resolvers: {\n Component: {\n description: (component: Component) => {\n return docs.getDescription(component);\n },\n\n labels: (component: Component) => {\n const doc = docs.getDoc(component);\n return doc?.labels || [];\n },\n },\n },\n };\n}\n"],"mappings":";;;;;;AAAA,SAAAA,YAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,WAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAIO,SAASE,UAAUA,CAACC,IAAc,EAAE;EACzC,OAAO;IACLC,QAAQ,EAAE,IAAAC,iBAAG,CAAC;AAClB;AACA;AACA;AACA;AACA,KAAK;IACDC,SAAS,EAAE;MACTC,SAAS,EAAE;QACTC,WAAW,EAAGC,SAAoB,IAAK;UACrC,OAAON,IAAI,CAACO,cAAc,CAACD,SAAS,CAAC;QACvC,CAAC;QAEDE,MAAM,EAAGF,SAAoB,IAAK;UAChC,MAAMG,GAAG,GAAGT,IAAI,CAACU,MAAM,CAACJ,SAAS,CAAC;UAClC,OAAOG,GAAG,EAAED,MAAM,IAAI,EAAE;QAC1B;MACF;IACF;EACF,CAAC;AACH"}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.docs_docs@1.0.
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.docs_docs@1.0.
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.docs_docs@1.0.188/dist/docs.composition.js';
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.docs_docs@1.0.188/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.
|
3
|
+
"version": "1.0.188",
|
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.
|
9
|
+
"version": "1.0.188"
|
10
10
|
},
|
11
11
|
"dependencies": {
|
12
12
|
"graphql-tag": "2.12.1",
|
@@ -19,21 +19,21 @@
|
|
19
19
|
"@teambit/base-react.themes.theme-switcher": "1.0.2",
|
20
20
|
"@teambit/component.ui.component-meta": "0.0.358",
|
21
21
|
"@teambit/base-ui.loaders.skeleton": "1.0.1",
|
22
|
-
"@teambit/compiler": "1.0.
|
23
|
-
"@teambit/component": "1.0.
|
24
|
-
"@teambit/pkg": "1.0.
|
25
|
-
"@teambit/workspace": "1.0.
|
26
|
-
"@teambit/cli": "0.0.
|
27
|
-
"@teambit/dev-files": "1.0.
|
28
|
-
"@teambit/envs": "1.0.
|
29
|
-
"@teambit/graphql": "1.0.
|
30
|
-
"@teambit/logger": "0.0.
|
31
|
-
"@teambit/preview": "1.0.
|
32
|
-
"@teambit/scope": "1.0.
|
33
|
-
"@teambit/api-reference": "1.0.
|
34
|
-
"@teambit/component-compare": "1.0.
|
35
|
-
"@teambit/ui": "1.0.
|
36
|
-
"@teambit/pubsub": "1.0.
|
22
|
+
"@teambit/compiler": "1.0.188",
|
23
|
+
"@teambit/component": "1.0.188",
|
24
|
+
"@teambit/pkg": "1.0.188",
|
25
|
+
"@teambit/workspace": "1.0.188",
|
26
|
+
"@teambit/cli": "0.0.855",
|
27
|
+
"@teambit/dev-files": "1.0.188",
|
28
|
+
"@teambit/envs": "1.0.188",
|
29
|
+
"@teambit/graphql": "1.0.188",
|
30
|
+
"@teambit/logger": "0.0.948",
|
31
|
+
"@teambit/preview": "1.0.188",
|
32
|
+
"@teambit/scope": "1.0.188",
|
33
|
+
"@teambit/api-reference": "1.0.188",
|
34
|
+
"@teambit/component-compare": "1.0.188",
|
35
|
+
"@teambit/ui": "1.0.188",
|
36
|
+
"@teambit/pubsub": "1.0.188",
|
37
37
|
"@teambit/compositions.panels.composition-gallery": "0.0.211",
|
38
38
|
"@teambit/preview.ui.component-preview": "1.0.5"
|
39
39
|
},
|