@tinacms/cli 0.0.0-f97a9b1-20241023074747 → 0.0.0-fbcd928-20241024223724

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -7
  2. package/package.json +9 -9
package/dist/index.js CHANGED
@@ -977,17 +977,14 @@ var createConfig = async ({
977
977
  } else {
978
978
  await import_fs_extra2.default.outputFile(staticMediaPath, `[]`);
979
979
  }
980
- const isBrowser = typeof window !== "undefined";
981
980
  const alias = {
982
981
  TINA_IMPORT: configManager.prebuildFilePath,
983
982
  SCHEMA_IMPORT: configManager.generatedGraphQLJSONPath,
984
983
  STATIC_MEDIA_IMPORT: staticMediaPath,
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
- }
984
+ crypto: import_node_path2.default.join(configManager.spaRootPath, "src", "dummy-client.ts"),
985
+ fs: import_node_path2.default.join(configManager.spaRootPath, "src", "dummy-client.ts"),
986
+ os: import_node_path2.default.join(configManager.spaRootPath, "src", "dummy-client.ts"),
987
+ path: import_node_path2.default.join(configManager.spaRootPath, "src", "dummy-client.ts")
991
988
  };
992
989
  if (configManager.shouldSkipSDK()) {
993
990
  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-f97a9b1-20241023074747",
3
+ "version": "0.0.0-fbcd928-20241024223724",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
6
6
  "files": [
@@ -28,7 +28,7 @@
28
28
  "@types/express": "^4.17.21",
29
29
  "@types/express-graphql": "^0.9.0",
30
30
  "@types/figlet": "1.2.0",
31
- "@types/fs-extra": "^9.0.13",
31
+ "@types/fs-extra": "^11.0.4",
32
32
  "@types/jest": "26.0.4",
33
33
  "@types/js-yaml": "^4.0.9",
34
34
  "@types/listr": "0.14.2",
@@ -36,7 +36,7 @@
36
36
  "@types/multer": "^1.4.12",
37
37
  "@types/progress": "^2.0.7",
38
38
  "@types/prompts": "^2.4.9",
39
- "@types/yup": "^0.29.14",
39
+ "@types/yup": "^0.32.0",
40
40
  "jest": "^29.7.0",
41
41
  "@tinacms/scripts": "1.3.0"
42
42
  },
@@ -83,14 +83,14 @@
83
83
  "typanion": "3.13.0",
84
84
  "typescript": "^5.6.2",
85
85
  "vite": "^4.5.5",
86
- "yup": "^0.32.11",
86
+ "yup": "^1.4.0",
87
87
  "zod": "^3.23.8",
88
- "@tinacms/app": "0.0.0-f97a9b1-20241023074747",
89
- "@tinacms/graphql": "1.5.6",
90
- "@tinacms/schema-tools": "1.6.6",
88
+ "@tinacms/app": "0.0.0-fbcd928-20241024223724",
89
+ "@tinacms/graphql": "0.0.0-fbcd928-20241024223724",
91
90
  "@tinacms/metrics": "1.0.7",
92
- "@tinacms/search": "1.0.33",
93
- "tinacms": "0.0.0-f97a9b1-20241023074747"
91
+ "@tinacms/schema-tools": "0.0.0-fbcd928-20241024223724",
92
+ "@tinacms/search": "0.0.0-fbcd928-20241024223724",
93
+ "tinacms": "0.0.0-fbcd928-20241024223724"
94
94
  },
95
95
  "publishConfig": {
96
96
  "registry": "https://registry.npmjs.org"