@tinacms/cli 0.0.0-aaceea1-20241023062538 → 0.0.0-ac2003f-20241101002635

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 +6 -12
  2. package/package.json +9 -9
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.10";
34
+ var version = "1.6.11";
35
35
 
36
36
  // src/next/commands/dev-command/index.ts
37
37
  var import_clipanion2 = require("clipanion");
@@ -977,20 +977,15 @@ var createConfig = async ({
977
977
  } else {
978
978
  await import_fs_extra2.default.outputFile(staticMediaPath, `[]`);
979
979
  }
980
- const isBrowser = typeof window !== "undefined";
981
- console.log("configManager IS BROWSER? - ", isBrowser);
982
980
  const alias = {
983
981
  TINA_IMPORT: configManager.prebuildFilePath,
984
982
  SCHEMA_IMPORT: configManager.generatedGraphQLJSONPath,
985
983
  STATIC_MEDIA_IMPORT: staticMediaPath,
986
- ...isBrowser && {
987
- crypto: import_node_path2.default.join(configManager.spaRootPath, "src", "dummy-client.ts"),
988
- fs: import_node_path2.default.join(configManager.spaRootPath, "src", "dummy-client.ts"),
989
- os: import_node_path2.default.join(configManager.spaRootPath, "src", "dummy-client.ts"),
990
- path: import_node_path2.default.join(configManager.spaRootPath, "src", "dummy-client.ts")
991
- }
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")
992
988
  };
993
- console.log("alias - ", JSON.stringify(alias));
994
989
  if (configManager.shouldSkipSDK()) {
995
990
  alias["CLIENT_IMPORT"] = import_node_path2.default.join(
996
991
  configManager.spaRootPath,
@@ -1024,8 +1019,7 @@ var createConfig = async ({
1024
1019
  logLevel: "error",
1025
1020
  optimizeDeps: {
1026
1021
  force: true,
1027
- include: ["react/jsx-runtime", "react/jsx-dev-runtime"],
1028
- exclude: ["fs", "os", "path", "crypto"]
1022
+ include: ["react/jsx-runtime", "react/jsx-dev-runtime"]
1029
1023
  },
1030
1024
  server: {
1031
1025
  host: (_h = (_g = (_f = configManager.config) == null ? void 0 : _f.build) == null ? void 0 : _g.host) != null ? _h : false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinacms/cli",
3
- "version": "0.0.0-aaceea1-20241023062538",
3
+ "version": "0.0.0-ac2003f-20241101002635",
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-aaceea1-20241023062538",
89
- "@tinacms/graphql": "1.5.6",
88
+ "@tinacms/app": "0.0.0-ac2003f-20241101002635",
90
89
  "@tinacms/metrics": "1.0.7",
91
- "@tinacms/search": "1.0.33",
92
- "@tinacms/schema-tools": "1.6.6",
93
- "tinacms": "0.0.0-aaceea1-20241023062538"
90
+ "@tinacms/graphql": "0.0.0-ac2003f-20241101002635",
91
+ "@tinacms/schema-tools": "0.0.0-ac2003f-20241101002635",
92
+ "@tinacms/search": "0.0.0-ac2003f-20241101002635",
93
+ "tinacms": "0.0.0-ac2003f-20241101002635"
94
94
  },
95
95
  "publishConfig": {
96
96
  "registry": "https://registry.npmjs.org"