@teambit/pkg.aspect-docs.pkg 0.0.165 → 0.0.166
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.
package/dist/pkg.mdx.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_react2","_excluded","obj","__esModule","_extends","Object","assign","bind","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","_objectWithoutProperties","excluded","_objectWithoutPropertiesLoose","getOwnPropertySymbols","sourceSymbolKeys","indexOf","propertyIsEnumerable","sourceKeys","keys","layoutProps","MDXLayout","MDXContent","_ref","components","props","mdx","mdxType","parentName","isMDXComponent"],"sourceRoot":"/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.pkg_aspect-docs_pkg@0.0.165","sources":["pkg.mdx.js"],"sourcesContent":["\n// @ts-nocheck\nimport React from 'react'\nimport { mdx } from '@mdx-js/react'\n\n/* @jsxRuntime classic */\n/* @jsx mdx */\n\n\n\n\nconst layoutProps = {\n \n};\nconst MDXLayout = \"wrapper\"\nexport default function MDXContent({\n components,\n ...props\n}) {\n return <MDXLayout {...layoutProps} {...props} components={components} mdxType=\"MDXLayout\">\n <p>{`Bit components can be thought of as a super-set of standard packaged node modules.\nEach component contains a consumable package in addition to its documentation, history and other information that enables it to be independently developed and maintained.`}</p>\n <p>{`The PKG aspect handles the configuration, publishing and packing of component packages.\nIt adds its own build task to the build pipeline, to create component packages and include them in as part of the component artifacts.\nThis automation includes generating the package name and other properties according to the component's details.`}</p>\n <h4>{`Features`}</h4>\n <ul>\n <li parentName=\"ul\"><strong parentName=\"li\">{`Efficient `}<inlineCode parentName=\"strong\">{`package.json`}</inlineCode>{` configuration:`}</strong>{` Use the PKG's workspace config API to add or override `}<inlineCode parentName=\"li\">{`package.json`}</inlineCode>{` properties to a group of components, all at once.\nUse PKG's 'placeholders' to integrate component-specific data into the component's package configurations.`}</li>\n <li parentName=\"ul\"><strong parentName=\"li\">{`An API for programmable `}<inlineCode parentName=\"strong\">{`package.json`}</inlineCode>{` configuration:`}</strong>{` Use PKG's API to provide your extensions with \"packaging capabilities\". Modify the `}<inlineCode parentName=\"li\">{`package.json`}</inlineCode>{` to suit your extension's needs, whether it is an environment or any other type of extension.`}</li>\n <li parentName=\"ul\"><strong parentName=\"li\">{`Automated packing and publishing:`}</strong>{` - PKG is registered to your build pipeline. That means every 'build' will also test 'packing' and every tagging of a new release version will also include 'publishing'. Your components and packages versions are alway in-sync.`}</li>\n <li parentName=\"ul\"><strong parentName=\"li\">{`\"On-demand\" packing and publishing:`}</strong>{` - PKG offers the `}<inlineCode parentName=\"li\">{`pack`}</inlineCode>{` and `}<inlineCode parentName=\"li\">{`preview`}</inlineCode>{` CLI commands for a manual and on-demand usage.`}</li>\n </ul>\n <h3>{`Quickstart & configuration`}</h3>\n <blockquote>\n <p parentName=\"blockquote\">{`This aspect is only configurable using the 'variants' workspace API.`}</p>\n </blockquote>\n <h4>{`Package properties`}</h4>\n <p>{`Use the `}<inlineCode parentName=\"p\">{`packageJson`}</inlineCode>{` property to add or override the default `}<inlineCode parentName=\"p\">{`package.json`}</inlineCode>{` for your component packages.`}</p>\n <blockquote>\n <p parentName=\"blockquote\">{`Warning! Packages with a modified `}<inlineCode parentName=\"p\">{`name`}</inlineCode>{` property will not be published to Bit.dev's registry.`}</p>\n </blockquote>\n <pre><code parentName=\"pre\" {...{\n \"className\": \"language-js\"\n }}>{`{\n \"ui/*\": {\n \"teambit.pkg/pkg\": {\n \"packageJson\": {\n \"name\": \"@{scope}/{name}\",\n \"private\": false,\n \"main\": \"dist/{main}.js\",\n \"custom-prop\": \"value\"\n }\n }\n }\n}\n`}</code></pre>\n <h4>{`Publish`}</h4>\n <blockquote>\n <p parentName=\"blockquote\">{`If `}<inlineCode parentName=\"p\">{`publishConfig`}</inlineCode>{` or `}<inlineCode parentName=\"p\">{`name`}</inlineCode>{` are not set, packages will be published to Bit.dev's registry.`}</p>\n </blockquote>\n <h5>{`npm arguments`}</h5>\n <p>{`You can specify additional arguments to the `}<inlineCode parentName=\"p\">{`npm publish`}</inlineCode>{` command by adding an array of args to `}<inlineCode parentName=\"p\">{`packageManagerPublishArgs`}</inlineCode>{`.`}</p>\n <p>{`For example:`}</p>\n <pre><code parentName=\"pre\" {...{\n \"className\": \"language-js\"\n }}>{`\"ui/*\": {\n \"teambit.pkg/pkg\": {\n \"packageManagerPublishArgs\": [\"--access public\"]\n }\n}\n`}</code></pre>\n <h4>{`npmjs Registry`}</h4>\n <ul>\n <li parentName=\"ul\">{`Use the `}<inlineCode parentName=\"li\">{`name`}</inlineCode>{` property to set the publishing process to your `}<a parentName=\"li\" {...{\n \"href\": \"https://docs.npmjs.com/cli/v6/using-npm/scope\"\n }}>{`npm scope`}</a>{`.`}</li>\n <li parentName=\"ul\">{`Use the `}<inlineCode parentName=\"li\">{`private`}</inlineCode>{` `}<em parentName=\"li\">{`(boolean)`}</em>{` property to set packages to be published with either private or public access.`}</li>\n </ul>\n <pre><code parentName=\"pre\" {...{\n \"className\": \"language-js\"\n }}>{`{\n \"ui/*\": {\n \"teambit.pkg/pkg\": {\n \"packageJson\": {\n \"name\": \"@{scope}/{name}\",\n \"private\": false,\n }\n }\n }\n}\n`}</code></pre>\n <ul>\n <li parentName=\"ul\">{`By default, when specifying `}<inlineCode parentName=\"li\">{`name`}</inlineCode>{` or `}<inlineCode parentName=\"li\">{`publishConfig`}</inlineCode>{`, it'll publish to NPM. In some rare cases, this is not desired, to cancel it, add the config `}<inlineCode parentName=\"li\">{`\"avoidPublishToNPM\": true`}</inlineCode></li>\n </ul>\n <h4>{`Private registry`}</h4>\n <p>{`Use the `}<inlineCode parentName=\"p\">{`scope`}</inlineCode>{` and `}<inlineCode parentName=\"p\">{`registry`}</inlineCode>{` properties to configure the publishing process to your own private registry (and scope).`}</p>\n <pre><code parentName=\"pre\" {...{\n \"className\": \"language-js\"\n }}>{`\"ui/*\": {\n \"teambit.pkg/pkg\": {\n \"packageJson\": {\n \"publishConfig\": {\n \"scope\": \"@custom\",\n \"registry\": \"http://localhost:4873\"\n }\n }\n }\n}\n`}</code></pre>\n <blockquote>\n <p parentName=\"blockquote\">{`Packages with a modified `}<inlineCode parentName=\"p\">{`publishConfig`}</inlineCode>{` property will not be published to Bit.dev's registry.`}</p>\n </blockquote>\n <h4>{`Placeholders`}</h4>\n <p>{`Placeholders are an easy way to inject component-specific information into the 'pkg' configurations.`}</p>\n <ul>\n <li parentName=\"ul\"><inlineCode parentName=\"li\">{`{name}`}</inlineCode>{` - The name of the component.`}</li>\n <li parentName=\"ul\"><inlineCode parentName=\"li\">{`{scope}`}</inlineCode>{` - The name of the component scope.`}</li>\n <li parentName=\"ul\"><inlineCode parentName=\"li\">{`{main}`}</inlineCode>{` - the name of the main file (leaving out the extension) - for example `}<inlineCode parentName=\"li\">{`index.js`}</inlineCode>{` will be `}<inlineCode parentName=\"li\">{`index`}</inlineCode>{`.`}</li>\n </ul>\n <p>{`For example:`}</p>\n <pre><code parentName=\"pre\" {...{\n \"className\": \"language-js\"\n }}>{` \"packageJson\": {\n \"main\": \"dist/{main}.js\"\n }\n`}</code></pre>\n <h4>{`.npmignore`}</h4>\n <p>{`Add records to the .npmignore file before a package is published or pack.\nFor example, if you don't want the source files to be part of the package, you can add them to the .npmignore.`}</p>\n <p>{`The API to add records to this file is exposed in the environment: `}<inlineCode parentName=\"p\">{`getNpmIgnore()`}</inlineCode>{`.`}</p>\n <p>{`For example, the following was added to the Aspect env.`}</p>\n <pre><code parentName=\"pre\" {...{\n \"className\": \"language-js\"\n }}>{`getNpmIgnore() {\n // ignores only .ts files in the root directory, so d.ts files inside dists are unaffected.\n return ['/*.ts']\n}\n`}</code></pre>\n <h3>{`CLI Reference`}</h3>\n <h4>{`Pack`}</h4>\n <p>{`Creates a TAR file (to be published to a node package registry):`}</p>\n <pre><code parentName=\"pre\" {...{\n \"className\": \"language-shell\"\n }}>{`bit pack <component-id>\n`}</code></pre>\n <p>{`Overrides the existing TAR file (in the same location):`}</p>\n <pre><code parentName=\"pre\" {...{\n \"className\": \"language-shell\"\n }}>{`bit pack <component-id> --override\n\nbit pack <component-id> -o\n`}</code></pre>\n <p>{`Returns the output in a JSON format:`}</p>\n <pre><code parentName=\"pre\" {...{\n \"className\": \"language-shell\"\n }}>{`bit pack <component-id> --json\n\nbit pack <component-id> -j\n`}</code></pre>\n <h4>{`Publish`}</h4>\n <p>{`Publishes an exported component:`}</p>\n <pre><code parentName=\"pre\" {...{\n \"className\": \"language-shell\"\n }}>{`bit publish <componentId>\n`}</code></pre>\n <p>{`Publishes a staged component that has not yet been exported:`}</p>\n <pre><code parentName=\"pre\" {...{\n \"className\": \"language-shell\"\n }}>{`bit publish <component-id> --allow-staged\n`}</code></pre>\n <p>{`Checks if the publishing process will be done successfully (without publishing):`}</p>\n <pre><code parentName=\"pre\" {...{\n \"className\": \"language-shell\"\n }}>{`bit publish <component-id> --dry-run\n\nbit publish <component-id> -d\n`}</code></pre>\n <p>{`Returns the output as JSON:`}</p>\n <pre><code parentName=\"pre\" {...{\n \"className\": \"language-shell\"\n }}>{`bit publish <component-id> --json\n\nbit publish <component-id> --j\n`}</code></pre>\n </MDXLayout>;\n}\n;\nMDXContent.isMDXComponent = true;"],"mappings":";;;;;;AAEA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AAAmC,IAAAE,SAAA,mBAFnC;AAAA,SAAAH,uBAAAI,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,gBAAAA,GAAA;AAAA,SAAAE,SAAA,IAAAA,QAAA,GAAAC,MAAA,CAAAC,MAAA,GAAAD,MAAA,CAAAC,MAAA,CAAAC,IAAA,eAAAC,MAAA,aAAAC,CAAA,MAAAA,CAAA,GAAAC,SAAA,CAAAC,MAAA,EAAAF,CAAA,UAAAG,MAAA,GAAAF,SAAA,CAAA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C,CAAC;AAChB;AACA;AACAN,UAAU,CAACO,cAAc,GAAG,IAAI"}
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_react2","_excluded","obj","__esModule","_extends","Object","assign","bind","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","_objectWithoutProperties","excluded","_objectWithoutPropertiesLoose","getOwnPropertySymbols","sourceSymbolKeys","indexOf","propertyIsEnumerable","sourceKeys","keys","layoutProps","MDXLayout","MDXContent","_ref","components","props","mdx","mdxType","parentName","isMDXComponent"],"sourceRoot":"/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.pkg_aspect-docs_pkg@0.0.166","sources":["pkg.mdx.js"],"sourcesContent":["\n// @ts-nocheck\nimport React from 'react'\nimport { mdx } from '@mdx-js/react'\n\n/* @jsxRuntime classic */\n/* @jsx mdx */\n\n\n\n\nconst layoutProps = {\n \n};\nconst MDXLayout = \"wrapper\"\nexport default function MDXContent({\n components,\n ...props\n}) {\n return <MDXLayout {...layoutProps} {...props} components={components} mdxType=\"MDXLayout\">\n <p>{`Bit components can be thought of as a super-set of standard packaged node modules.\nEach component contains a consumable package in addition to its documentation, history and other information that enables it to be independently developed and maintained.`}</p>\n <p>{`The PKG aspect handles the configuration, publishing and packing of component packages.\nIt adds its own build task to the build pipeline, to create component packages and include them in as part of the component artifacts.\nThis automation includes generating the package name and other properties according to the component's details.`}</p>\n <h4>{`Features`}</h4>\n <ul>\n <li parentName=\"ul\"><strong parentName=\"li\">{`Efficient `}<inlineCode parentName=\"strong\">{`package.json`}</inlineCode>{` configuration:`}</strong>{` Use the PKG's workspace config API to add or override `}<inlineCode parentName=\"li\">{`package.json`}</inlineCode>{` properties to a group of components, all at once.\nUse PKG's 'placeholders' to integrate component-specific data into the component's package configurations.`}</li>\n <li parentName=\"ul\"><strong parentName=\"li\">{`An API for programmable `}<inlineCode parentName=\"strong\">{`package.json`}</inlineCode>{` configuration:`}</strong>{` Use PKG's API to provide your extensions with \"packaging capabilities\". Modify the `}<inlineCode parentName=\"li\">{`package.json`}</inlineCode>{` to suit your extension's needs, whether it is an environment or any other type of extension.`}</li>\n <li parentName=\"ul\"><strong parentName=\"li\">{`Automated packing and publishing:`}</strong>{` - PKG is registered to your build pipeline. That means every 'build' will also test 'packing' and every tagging of a new release version will also include 'publishing'. Your components and packages versions are alway in-sync.`}</li>\n <li parentName=\"ul\"><strong parentName=\"li\">{`\"On-demand\" packing and publishing:`}</strong>{` - PKG offers the `}<inlineCode parentName=\"li\">{`pack`}</inlineCode>{` and `}<inlineCode parentName=\"li\">{`preview`}</inlineCode>{` CLI commands for a manual and on-demand usage.`}</li>\n </ul>\n <h3>{`Quickstart & configuration`}</h3>\n <blockquote>\n <p parentName=\"blockquote\">{`This aspect is only configurable using the 'variants' workspace API.`}</p>\n </blockquote>\n <h4>{`Package properties`}</h4>\n <p>{`Use the `}<inlineCode parentName=\"p\">{`packageJson`}</inlineCode>{` property to add or override the default `}<inlineCode parentName=\"p\">{`package.json`}</inlineCode>{` for your component packages.`}</p>\n <blockquote>\n <p parentName=\"blockquote\">{`Warning! Packages with a modified `}<inlineCode parentName=\"p\">{`name`}</inlineCode>{` property will not be published to Bit.dev's registry.`}</p>\n </blockquote>\n <pre><code parentName=\"pre\" {...{\n \"className\": \"language-js\"\n }}>{`{\n \"ui/*\": {\n \"teambit.pkg/pkg\": {\n \"packageJson\": {\n \"name\": \"@{scope}/{name}\",\n \"private\": false,\n \"main\": \"dist/{main}.js\",\n \"custom-prop\": \"value\"\n }\n }\n }\n}\n`}</code></pre>\n <h4>{`Publish`}</h4>\n <blockquote>\n <p parentName=\"blockquote\">{`If `}<inlineCode parentName=\"p\">{`publishConfig`}</inlineCode>{` or `}<inlineCode parentName=\"p\">{`name`}</inlineCode>{` are not set, packages will be published to Bit.dev's registry.`}</p>\n </blockquote>\n <h5>{`npm arguments`}</h5>\n <p>{`You can specify additional arguments to the `}<inlineCode parentName=\"p\">{`npm publish`}</inlineCode>{` command by adding an array of args to `}<inlineCode parentName=\"p\">{`packageManagerPublishArgs`}</inlineCode>{`.`}</p>\n <p>{`For example:`}</p>\n <pre><code parentName=\"pre\" {...{\n \"className\": \"language-js\"\n }}>{`\"ui/*\": {\n \"teambit.pkg/pkg\": {\n \"packageManagerPublishArgs\": [\"--access public\"]\n }\n}\n`}</code></pre>\n <h4>{`npmjs Registry`}</h4>\n <ul>\n <li parentName=\"ul\">{`Use the `}<inlineCode parentName=\"li\">{`name`}</inlineCode>{` property to set the publishing process to your `}<a parentName=\"li\" {...{\n \"href\": \"https://docs.npmjs.com/cli/v6/using-npm/scope\"\n }}>{`npm scope`}</a>{`.`}</li>\n <li parentName=\"ul\">{`Use the `}<inlineCode parentName=\"li\">{`private`}</inlineCode>{` `}<em parentName=\"li\">{`(boolean)`}</em>{` property to set packages to be published with either private or public access.`}</li>\n </ul>\n <pre><code parentName=\"pre\" {...{\n \"className\": \"language-js\"\n }}>{`{\n \"ui/*\": {\n \"teambit.pkg/pkg\": {\n \"packageJson\": {\n \"name\": \"@{scope}/{name}\",\n \"private\": false,\n }\n }\n }\n}\n`}</code></pre>\n <ul>\n <li parentName=\"ul\">{`By default, when specifying `}<inlineCode parentName=\"li\">{`name`}</inlineCode>{` or `}<inlineCode parentName=\"li\">{`publishConfig`}</inlineCode>{`, it'll publish to NPM. In some rare cases, this is not desired, to cancel it, add the config `}<inlineCode parentName=\"li\">{`\"avoidPublishToNPM\": true`}</inlineCode></li>\n </ul>\n <h4>{`Private registry`}</h4>\n <p>{`Use the `}<inlineCode parentName=\"p\">{`scope`}</inlineCode>{` and `}<inlineCode parentName=\"p\">{`registry`}</inlineCode>{` properties to configure the publishing process to your own private registry (and scope).`}</p>\n <pre><code parentName=\"pre\" {...{\n \"className\": \"language-js\"\n }}>{`\"ui/*\": {\n \"teambit.pkg/pkg\": {\n \"packageJson\": {\n \"publishConfig\": {\n \"scope\": \"@custom\",\n \"registry\": \"http://localhost:4873\"\n }\n }\n }\n}\n`}</code></pre>\n <blockquote>\n <p parentName=\"blockquote\">{`Packages with a modified `}<inlineCode parentName=\"p\">{`publishConfig`}</inlineCode>{` property will not be published to Bit.dev's registry.`}</p>\n </blockquote>\n <h4>{`Placeholders`}</h4>\n <p>{`Placeholders are an easy way to inject component-specific information into the 'pkg' configurations.`}</p>\n <ul>\n <li parentName=\"ul\"><inlineCode parentName=\"li\">{`{name}`}</inlineCode>{` - The name of the component.`}</li>\n <li parentName=\"ul\"><inlineCode parentName=\"li\">{`{scope}`}</inlineCode>{` - The name of the component scope.`}</li>\n <li parentName=\"ul\"><inlineCode parentName=\"li\">{`{main}`}</inlineCode>{` - the name of the main file (leaving out the extension) - for example `}<inlineCode parentName=\"li\">{`index.js`}</inlineCode>{` will be `}<inlineCode parentName=\"li\">{`index`}</inlineCode>{`.`}</li>\n </ul>\n <p>{`For example:`}</p>\n <pre><code parentName=\"pre\" {...{\n \"className\": \"language-js\"\n }}>{` \"packageJson\": {\n \"main\": \"dist/{main}.js\"\n }\n`}</code></pre>\n <h4>{`.npmignore`}</h4>\n <p>{`Add records to the .npmignore file before a package is published or pack.\nFor example, if you don't want the source files to be part of the package, you can add them to the .npmignore.`}</p>\n <p>{`The API to add records to this file is exposed in the environment: `}<inlineCode parentName=\"p\">{`getNpmIgnore()`}</inlineCode>{`.`}</p>\n <p>{`For example, the following was added to the Aspect env.`}</p>\n <pre><code parentName=\"pre\" {...{\n \"className\": \"language-js\"\n }}>{`getNpmIgnore() {\n // ignores only .ts files in the root directory, so d.ts files inside dists are unaffected.\n return ['/*.ts']\n}\n`}</code></pre>\n <h3>{`CLI Reference`}</h3>\n <h4>{`Pack`}</h4>\n <p>{`Creates a TAR file (to be published to a node package registry):`}</p>\n <pre><code parentName=\"pre\" {...{\n \"className\": \"language-shell\"\n }}>{`bit pack <component-id>\n`}</code></pre>\n <p>{`Overrides the existing TAR file (in the same location):`}</p>\n <pre><code parentName=\"pre\" {...{\n \"className\": \"language-shell\"\n }}>{`bit pack <component-id> --override\n\nbit pack <component-id> -o\n`}</code></pre>\n <p>{`Returns the output in a JSON format:`}</p>\n <pre><code parentName=\"pre\" {...{\n \"className\": \"language-shell\"\n }}>{`bit pack <component-id> --json\n\nbit pack <component-id> -j\n`}</code></pre>\n <h4>{`Publish`}</h4>\n <p>{`Publishes an exported component:`}</p>\n <pre><code parentName=\"pre\" {...{\n \"className\": \"language-shell\"\n }}>{`bit publish <componentId>\n`}</code></pre>\n <p>{`Publishes a staged component that has not yet been exported:`}</p>\n <pre><code parentName=\"pre\" {...{\n \"className\": \"language-shell\"\n }}>{`bit publish <component-id> --allow-staged\n`}</code></pre>\n <p>{`Checks if the publishing process will be done successfully (without publishing):`}</p>\n <pre><code parentName=\"pre\" {...{\n \"className\": \"language-shell\"\n }}>{`bit publish <component-id> --dry-run\n\nbit publish <component-id> -d\n`}</code></pre>\n <p>{`Returns the output as JSON:`}</p>\n <pre><code parentName=\"pre\" {...{\n \"className\": \"language-shell\"\n }}>{`bit publish <component-id> --json\n\nbit publish <component-id> --j\n`}</code></pre>\n </MDXLayout>;\n}\n;\nMDXContent.isMDXComponent = true;"],"mappings":";;;;;;AAEA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AAAmC,IAAAE,SAAA,mBAFnC;AAAA,SAAAH,uBAAAI,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,gBAAAA,GAAA;AAAA,SAAAE,SAAA,IAAAA,QAAA,GAAAC,MAAA,CAAAC,MAAA,GAAAD,MAAA,CAAAC,MAAA,CAAAC,IAAA,eAAAC,MAAA,aAAAC,CAAA,MAAAA,CAAA,GAAAC,SAAA,CAAAC,MAAA,EAAAF,CAAA,UAAAG,MAAA,GAAAF,SAAA,CAAAD,CAAA,YAAAI,GAAA,IAAAD,MAAA,QAAAP,MAAA,CAAAS,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAJ,MAAA,EAAAC,GAA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circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.pkg_aspect-docs_pkg@0.0.
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.pkg_aspect-docs_pkg@0.0.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.pkg_aspect-docs_pkg@0.0.166/dist/pkg.composition.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.pkg_aspect-docs_pkg@0.0.166/dist/pkg.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/pkg.aspect-docs.pkg",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.166",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/pkg/aspect-docs/pkg",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.pkg",
|
|
8
8
|
"name": "aspect-docs/pkg",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.166"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@mdx-js/react": "1.6.22",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"@types/node": "12.20.4",
|
|
20
20
|
"@types/react-dom": "^17.0.5",
|
|
21
21
|
"@types/jest": "^26.0.0",
|
|
22
|
-
"@babel/runtime": "7.
|
|
22
|
+
"@babel/runtime": "7.20.0",
|
|
23
23
|
"@types/testing-library__jest-dom": "5.9.5",
|
|
24
24
|
"@teambit/documenter.theme.theme-compositions": "4.1.1",
|
|
25
25
|
"@teambit/mdx.ui.mdx-layout": "1.0.6"
|