@teambit/mdx 0.0.1138 → 0.0.1139
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/artifacts/env-template/public/{257.06fb9950b04847862691.js → 80.e5dee5d60a451c54781d.js} +2 -2
- package/artifacts/env-template/public/{924.79bcd70a89db9c8c4911.js → 924.8b2b05391afe3ff75933.js} +7 -4
- package/artifacts/env-template/public/assets-manifest.json +12 -12
- package/artifacts/env-template/public/{compositions.38b28ad86b93ee5f098c.js → compositions.079896e507f2a58a5f75.js} +1 -1
- package/artifacts/env-template/public/compositions.html +1 -1
- package/artifacts/env-template/public/{overview.87ffbed390c06dff2023.js → overview.fc600321762544d08da9.js} +1 -1
- package/artifacts/env-template/public/overview.html +1 -1
- package/artifacts/env-template/public/{peers.8bf6fcf0ed2bc593aa71.js → peers.0e2aa346a16cf6886d03.js} +1 -1
- package/artifacts/env-template/public/{preview-root.b8b8e349082a5468b291.js → preview-root.413e344d330aca5ed5d1.js} +1 -1
- package/babel/babel.config.ts +1 -1
- package/dist/babel/babel.config.js +1 -1
- package/dist/babel/babel.config.js.map +1 -1
- package/dist/mdx.compiler.js +9 -17
- package/dist/mdx.compiler.js.map +1 -1
- package/dist/mdx.composition.js +1 -1
- package/dist/mdx.composition.js.map +1 -1
- package/dist/mdx.doc-reader.js +0 -1
- package/dist/mdx.doc-reader.js.map +1 -1
- package/dist/mdx.main.runtime.js +8 -14
- package/dist/mdx.main.runtime.js.map +1 -1
- package/dist/mdx.ui.runtime.js +7 -13
- package/dist/mdx.ui.runtime.js.map +1 -1
- package/dist/{preview-1694575035715.js → preview-1694624356552.js} +2 -2
- package/dist/templates/mdx-component/files/component.js +0 -2
- package/dist/templates/mdx-component/files/component.js.map +1 -1
- package/package.json +17 -19
- /package/{compositions-1694575035715.js → compositions-1694624356552.js} +0 -0
- /package/{overview-1694575035715.js → overview-1694624356552.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.mdx_mdx@0.0.
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.mdx_mdx@0.0.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.mdx_mdx@0.0.1139/dist/mdx.composition.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.mdx_mdx@0.0.1139/dist/mdx.docs.mdx';
|
|
3
3
|
|
|
4
4
|
export const compositions = [compositions_0];
|
|
5
5
|
export const overview = [overview_0];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["regex","componentFile","context","name","namePascalCase","Name","relativePath","content","replace","exports"],"sources":["component.ts"],"sourcesContent":["import { ComponentContext } from '@teambit/generator';\n\nconst regex = /([A-Z])([A-Z])([a-z])|([a-z])([A-Z])/g;\n\nexport const componentFile = (context: ComponentContext) => {\n const { name, namePascalCase: Name } = context;\n return {\n relativePath: `${name}.mdx`,\n content: `# ${Name.replace(regex, '$1$4 $2$3$5')}\n\nThis is markdown.\n\n<p>This is HTML</p>\n\n# Import a React Component or use HTML\n\n<button>Button 👋 </button>\n`,\n };\n};\n"],"mappings":"
|
|
1
|
+
{"version":3,"names":["regex","componentFile","context","name","namePascalCase","Name","relativePath","content","replace","exports"],"sources":["component.ts"],"sourcesContent":["import { ComponentContext } from '@teambit/generator';\n\nconst regex = /([A-Z])([A-Z])([a-z])|([a-z])([A-Z])/g;\n\nexport const componentFile = (context: ComponentContext) => {\n const { name, namePascalCase: Name } = context;\n return {\n relativePath: `${name}.mdx`,\n content: `# ${Name.replace(regex, '$1$4 $2$3$5')}\n\nThis is markdown.\n\n<p>This is HTML</p>\n\n# Import a React Component or use HTML\n\n<button>Button 👋 </button>\n`,\n };\n};\n"],"mappings":";;;;;;AAEA,MAAMA,KAAK,GAAG,uCAAuC;AAE9C,MAAMC,aAAa,GAAIC,OAAyB,IAAK;EAC1D,MAAM;IAAEC,IAAI;IAAEC,cAAc,EAAEC;EAAK,CAAC,GAAGH,OAAO;EAC9C,OAAO;IACLI,YAAY,EAAG,GAAEH,IAAK,MAAK;IAC3BI,OAAO,EAAG,KAAIF,IAAI,CAACG,OAAO,CAACR,KAAK,EAAE,aAAa,CAAE;AACrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE,CAAC;AACH,CAAC;AAACS,OAAA,CAAAR,aAAA,GAAAA,aAAA"}
|
package/package.json
CHANGED
|
@@ -1,39 +1,37 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/mdx",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.1139",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/mdx/mdx",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.mdx",
|
|
8
8
|
"name": "mdx",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.1139"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@babel/core": "7.19.6",
|
|
13
13
|
"fs-extra": "10.0.0",
|
|
14
14
|
"minimatch": "3.0.5",
|
|
15
15
|
"@babel/helper-plugin-test-runner": "7.16.7",
|
|
16
|
-
"core-js": "^3.0.0",
|
|
17
|
-
"@babel/runtime": "7.20.0",
|
|
18
16
|
"@teambit/harmony": "0.4.6",
|
|
19
17
|
"@teambit/design.ui.empty-box": "0.0.363",
|
|
20
|
-
"@teambit/builder": "0.0.
|
|
18
|
+
"@teambit/builder": "0.0.1159",
|
|
21
19
|
"@teambit/compilation.modules.babel-compiler": "0.0.133",
|
|
22
|
-
"@teambit/compiler": "0.0.
|
|
20
|
+
"@teambit/compiler": "0.0.1159",
|
|
23
21
|
"@teambit/mdx.modules.mdx-compiler": "0.0.500",
|
|
24
|
-
"@teambit/dependency-resolver": "0.0.
|
|
25
|
-
"@teambit/docs": "0.0.
|
|
26
|
-
"@teambit/envs": "0.0.
|
|
27
|
-
"@teambit/babel": "0.0.
|
|
28
|
-
"@teambit/cli": "0.0.
|
|
29
|
-
"@teambit/generator": "0.0.
|
|
30
|
-
"@teambit/multi-compiler": "0.0.
|
|
31
|
-
"@teambit/react": "0.0.
|
|
22
|
+
"@teambit/dependency-resolver": "0.0.1159",
|
|
23
|
+
"@teambit/docs": "0.0.1159",
|
|
24
|
+
"@teambit/envs": "0.0.1159",
|
|
25
|
+
"@teambit/babel": "0.0.1159",
|
|
26
|
+
"@teambit/cli": "0.0.773",
|
|
27
|
+
"@teambit/generator": "0.0.1159",
|
|
28
|
+
"@teambit/multi-compiler": "0.0.1159",
|
|
29
|
+
"@teambit/react": "0.0.1159",
|
|
32
30
|
"@teambit/typescript.modules.ts-config-mutator": "0.0.76",
|
|
33
|
-
"@teambit/typescript": "0.0.
|
|
34
|
-
"@teambit/compositions": "0.0.
|
|
35
|
-
"@teambit/tester": "0.0.
|
|
36
|
-
"@teambit/ui": "0.0.
|
|
31
|
+
"@teambit/typescript": "0.0.1159",
|
|
32
|
+
"@teambit/compositions": "0.0.1159",
|
|
33
|
+
"@teambit/tester": "0.0.1159",
|
|
34
|
+
"@teambit/ui": "0.0.1159"
|
|
37
35
|
},
|
|
38
36
|
"devDependencies": {
|
|
39
37
|
"@types/fs-extra": "9.0.7",
|
|
@@ -45,7 +43,7 @@
|
|
|
45
43
|
"@types/react-dom": "^17.0.5",
|
|
46
44
|
"@types/jest": "^26.0.0",
|
|
47
45
|
"@types/testing-library__jest-dom": "5.9.5",
|
|
48
|
-
"@teambit/mdx.aspect-docs.mdx": "0.0.
|
|
46
|
+
"@teambit/mdx.aspect-docs.mdx": "0.0.158"
|
|
49
47
|
},
|
|
50
48
|
"peerDependencies": {
|
|
51
49
|
"react": "^16.8.0 || ^17.0.0",
|
|
File without changes
|
|
File without changes
|