@tinacms/cli 0.61.5 → 0.61.8
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/index.js +17 -2
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -293,7 +293,7 @@ var commander = __toModule(require("commander"));
|
|
|
293
293
|
|
|
294
294
|
// package.json
|
|
295
295
|
var name = "@tinacms/cli";
|
|
296
|
-
var version = "0.61.
|
|
296
|
+
var version = "0.61.8";
|
|
297
297
|
|
|
298
298
|
// src/cmds/audit/audit.ts
|
|
299
299
|
var import_graphql = __toModule(require("@tinacms/graphql"));
|
|
@@ -1533,14 +1533,29 @@ var transpile = async (inputFile, outputFile, tempDir, verbose, define, packageJ
|
|
|
1533
1533
|
const peerDeps = (packageJSON == null ? void 0 : packageJSON.peerDependencies) || [];
|
|
1534
1534
|
const devDeps = (packageJSON == null ? void 0 : packageJSON.devDependencies) || [];
|
|
1535
1535
|
const external = Object.keys(__spreadValues(__spreadValues(__spreadValues({}, deps), peerDeps), devDeps));
|
|
1536
|
+
const prebuiltInputPath = import_path4.default.join(tempDir, "temp-output.jsx");
|
|
1537
|
+
await (0, import_esbuild.build)({
|
|
1538
|
+
bundle: true,
|
|
1539
|
+
platform: "neutral",
|
|
1540
|
+
target: ["es2020"],
|
|
1541
|
+
entryPoints: [inputFile],
|
|
1542
|
+
treeShaking: true,
|
|
1543
|
+
external: [...external, "./node_modules/*"],
|
|
1544
|
+
loader: loaders,
|
|
1545
|
+
outfile: prebuiltInputPath,
|
|
1546
|
+
define
|
|
1547
|
+
});
|
|
1548
|
+
const tempTsConfigPath = import_path4.default.join(tempDir, "temp-tsconfig.json");
|
|
1549
|
+
await import_fs_extra3.default.outputFileSync(tempTsConfigPath, "{}");
|
|
1536
1550
|
const outputPath = import_path4.default.join(tempDir, outputFile);
|
|
1537
1551
|
await (0, import_esbuild.build)({
|
|
1538
1552
|
bundle: true,
|
|
1539
1553
|
platform: "neutral",
|
|
1540
1554
|
target: ["node10.4"],
|
|
1541
|
-
entryPoints: [
|
|
1555
|
+
entryPoints: [prebuiltInputPath],
|
|
1542
1556
|
treeShaking: true,
|
|
1543
1557
|
external: [...external, "./node_modules/*"],
|
|
1558
|
+
tsconfig: tempTsConfigPath,
|
|
1544
1559
|
loader: loaders,
|
|
1545
1560
|
outfile: outputPath,
|
|
1546
1561
|
define
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tinacms/cli",
|
|
3
|
-
"version": "0.61.
|
|
3
|
+
"version": "0.61.8",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"typings": "dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -52,9 +52,9 @@
|
|
|
52
52
|
"@graphql-codegen/visitor-plugin-common": "^2.4.0",
|
|
53
53
|
"@graphql-tools/graphql-file-loader": "^7.2.0",
|
|
54
54
|
"@graphql-tools/load": "^7.3.2",
|
|
55
|
-
"@tinacms/app": "0.0.
|
|
56
|
-
"@tinacms/datalayer": "0.2.
|
|
57
|
-
"@tinacms/graphql": "0.63.
|
|
55
|
+
"@tinacms/app": "0.0.8",
|
|
56
|
+
"@tinacms/datalayer": "0.2.3",
|
|
57
|
+
"@tinacms/graphql": "0.63.4",
|
|
58
58
|
"@tinacms/metrics": "0.0.3",
|
|
59
59
|
"@tinacms/schema-tools": "0.1.0",
|
|
60
60
|
"add": "^2.0.6",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"commander": "^9.0.0",
|
|
71
71
|
"cors": "^2.8.5",
|
|
72
72
|
"dotenv": "^16.0.1",
|
|
73
|
-
"esbuild": "^0.
|
|
73
|
+
"esbuild": "^0.15.5",
|
|
74
74
|
"esm": "3.2.25",
|
|
75
75
|
"express": "^4.17.1",
|
|
76
76
|
"fast-glob": "^3.2.4",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"lodash": "^4.17.19",
|
|
82
82
|
"lodash.get": "^4.4.2",
|
|
83
83
|
"log4js": "^6.4.0",
|
|
84
|
-
"multer": "
|
|
84
|
+
"multer": "1.4.5-lts.1",
|
|
85
85
|
"normalize-path": "^3.0.0",
|
|
86
86
|
"progress": "^2.0.3",
|
|
87
87
|
"prompts": "^2.4.1",
|