@tinacms/cli 0.0.0-b4c6a60-20241010070518 → 0.0.0-bcdf830-20241023064032
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 +8 -5
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -31,7 +31,7 @@ module.exports = __toCommonJS(src_exports);
|
|
|
31
31
|
var import_clipanion8 = require("clipanion");
|
|
32
32
|
|
|
33
33
|
// package.json
|
|
34
|
-
var version = "1.6.
|
|
34
|
+
var version = "1.6.10";
|
|
35
35
|
|
|
36
36
|
// src/next/commands/dev-command/index.ts
|
|
37
37
|
var import_clipanion2 = require("clipanion");
|
|
@@ -977,14 +977,17 @@ var createConfig = async ({
|
|
|
977
977
|
} else {
|
|
978
978
|
await import_fs_extra2.default.outputFile(staticMediaPath, `[]`);
|
|
979
979
|
}
|
|
980
|
+
const isBrowser = typeof window !== "undefined";
|
|
980
981
|
const alias = {
|
|
981
982
|
TINA_IMPORT: configManager.prebuildFilePath,
|
|
982
983
|
SCHEMA_IMPORT: configManager.generatedGraphQLJSONPath,
|
|
983
984
|
STATIC_MEDIA_IMPORT: staticMediaPath,
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
985
|
+
...isBrowser && {
|
|
986
|
+
crypto: import_node_path2.default.join(configManager.spaRootPath, "src", "dummy-client.ts"),
|
|
987
|
+
fs: import_node_path2.default.join(configManager.spaRootPath, "src", "dummy-client.ts"),
|
|
988
|
+
os: import_node_path2.default.join(configManager.spaRootPath, "src", "dummy-client.ts"),
|
|
989
|
+
path: import_node_path2.default.join(configManager.spaRootPath, "src", "dummy-client.ts")
|
|
990
|
+
}
|
|
988
991
|
};
|
|
989
992
|
if (configManager.shouldSkipSDK()) {
|
|
990
993
|
alias["CLIENT_IMPORT"] = import_node_path2.default.join(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tinacms/cli",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-bcdf830-20241023064032",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"typings": "dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@types/prompts": "^2.4.9",
|
|
39
39
|
"@types/yup": "^0.29.14",
|
|
40
40
|
"jest": "^29.7.0",
|
|
41
|
-
"@tinacms/scripts": "
|
|
41
|
+
"@tinacms/scripts": "1.3.0"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@graphql-codegen/core": "^2.6.8",
|
|
@@ -85,12 +85,12 @@
|
|
|
85
85
|
"vite": "^4.5.5",
|
|
86
86
|
"yup": "^0.32.11",
|
|
87
87
|
"zod": "^3.23.8",
|
|
88
|
-
"@tinacms/app": "0.0.0-
|
|
89
|
-
"@tinacms/graphql": "
|
|
88
|
+
"@tinacms/app": "0.0.0-bcdf830-20241023064032",
|
|
89
|
+
"@tinacms/graphql": "1.5.6",
|
|
90
|
+
"@tinacms/schema-tools": "1.6.6",
|
|
90
91
|
"@tinacms/metrics": "1.0.7",
|
|
91
|
-
"@tinacms/
|
|
92
|
-
"
|
|
93
|
-
"tinacms": "0.0.0-b4c6a60-20241010070518"
|
|
92
|
+
"@tinacms/search": "1.0.33",
|
|
93
|
+
"tinacms": "0.0.0-bcdf830-20241023064032"
|
|
94
94
|
},
|
|
95
95
|
"publishConfig": {
|
|
96
96
|
"registry": "https://registry.npmjs.org"
|