@tinacms/scripts 0.51.2 → 1.0.0
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/bin/tina-build +1 -3
- package/dist/index.js +8 -0
- package/package.json +1 -2
package/bin/tina-build
CHANGED
package/dist/index.js
CHANGED
|
@@ -403,6 +403,14 @@ var buildIt = async (entryPoint, packageJSON) => {
|
|
|
403
403
|
outfile: _path2.default.join(process.cwd(), "dist", "index.js"),
|
|
404
404
|
external: external2
|
|
405
405
|
});
|
|
406
|
+
const appMDXPath = _path2.default.join(process.cwd(), "..", "app", "appFiles", "src", "fields", "rich-text", "monaco", "mdx.js");
|
|
407
|
+
await _esbuild.build.call(void 0, {
|
|
408
|
+
entryPoints: [_path2.default.join(process.cwd(), entry)],
|
|
409
|
+
bundle: true,
|
|
410
|
+
format: "esm",
|
|
411
|
+
outfile: appMDXPath,
|
|
412
|
+
external: external2
|
|
413
|
+
});
|
|
406
414
|
} else {
|
|
407
415
|
await _esbuild.build.call(void 0, {
|
|
408
416
|
entryPoints: [_path2.default.join(process.cwd(), entry)],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tinacms/scripts",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -25,7 +25,6 @@
|
|
|
25
25
|
"commander": "^7.2.0",
|
|
26
26
|
"esbuild": "^0.12.9",
|
|
27
27
|
"esbuild-jest": "^0.5.0",
|
|
28
|
-
"esm": "3.2.25",
|
|
29
28
|
"execa": "^5.1.1",
|
|
30
29
|
"express": "^4.17.1",
|
|
31
30
|
"fs-extra": "^9.0.1",
|