@tinacms/cli 1.5.31 → 1.5.32

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 +22 -18
  2. package/package.json +6 -6
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.5.31";
34
+ var version = "1.5.32";
35
35
 
36
36
  // src/next/commands/dev-command/index.ts
37
37
  var import_clipanion2 = require("clipanion");
@@ -890,7 +890,7 @@ var createConfig = async ({
890
890
  noWatch,
891
891
  rollupOptions
892
892
  }) => {
893
- var _a, _b, _c, _d, _e, _f;
893
+ var _a, _b, _c, _d, _e, _f, _g, _h;
894
894
  const publicEnv = {};
895
895
  Object.keys(process.env).forEach((key) => {
896
896
  if (key.startsWith("TINA_PUBLIC_") || key.startsWith("NEXT_PUBLIC_") || key === "NODE_ENV" || key === "HEAD") {
@@ -954,7 +954,7 @@ var createConfig = async ({
954
954
  "process.env": `new Object(${JSON.stringify(publicEnv)})`,
955
955
  "process.platform": `"${process.platform}"`,
956
956
  __API_URL__: `"${apiURL}"`,
957
- __TOKEN__: `"${configManager.config.token}"`,
957
+ __BASE_PATH__: `"${((_e = (_d = configManager.config) == null ? void 0 : _d.build) == null ? void 0 : _e.basePath) || ""}"`,
958
958
  __TINA_GRAPHQL_VERSION__: `"${configManager.getTinaGraphQLVersion()}"`
959
959
  },
960
960
  logLevel: "error",
@@ -963,7 +963,7 @@ var createConfig = async ({
963
963
  include: ["react/jsx-runtime", "react/jsx-dev-runtime"]
964
964
  },
965
965
  server: {
966
- host: (_f = (_e = (_d = configManager.config) == null ? void 0 : _d.build) == null ? void 0 : _e.host) != null ? _f : false,
966
+ host: (_h = (_g = (_f = configManager.config) == null ? void 0 : _f.build) == null ? void 0 : _g.host) != null ? _h : false,
967
967
  watch: noWatch ? {
968
968
  ignored: ["**/*"]
969
969
  } : {
@@ -2654,22 +2654,26 @@ ${dangerText(e.message)}
2654
2654
  }
2655
2655
  }
2656
2656
  const summaryItems = [];
2657
+ const autogeneratedFiles = [];
2657
2658
  if (!configManager.shouldSkipSDK()) {
2658
- summaryItems.push({
2659
- emoji: "\u{1F916}",
2660
- heading: "Auto-generated files",
2661
- subItems: [
2662
- {
2663
- key: "GraphQL Client",
2664
- value: configManager.printGeneratedClientFilePath()
2665
- },
2666
- {
2667
- key: "Typescript Types",
2668
- value: configManager.printGeneratedTypesFilePath()
2669
- }
2670
- ]
2659
+ autogeneratedFiles.push({
2660
+ key: "GraphQL Client",
2661
+ value: configManager.printGeneratedClientFilePath()
2662
+ });
2663
+ autogeneratedFiles.push({
2664
+ key: "Typescript Types",
2665
+ value: configManager.printGeneratedTypesFilePath()
2671
2666
  });
2672
2667
  }
2668
+ autogeneratedFiles.push({
2669
+ key: "Static HTML file",
2670
+ value: configManager.printRelativePath(configManager.outputHTMLFilePath)
2671
+ });
2672
+ summaryItems.push({
2673
+ emoji: "\u{1F916}",
2674
+ heading: "Auto-generated files",
2675
+ subItems: autogeneratedFiles
2676
+ });
2673
2677
  summary({
2674
2678
  heading: "Tina build complete",
2675
2679
  items: [
@@ -2809,7 +2813,7 @@ Additional info: Branch: ${config3.branch}, Client ID: ${config3.clientId} `;
2809
2813
  bar2.tick({
2810
2814
  prog: "\u274C"
2811
2815
  });
2812
- let errorMessage = `The local GraphQL schema doesn't match the remote GraphQL schema. Please push up your changes to Github to update your remote GraphQL schema.`;
2816
+ let errorMessage = `The local GraphQL schema doesn't match the remote GraphQL schema. Please push up your changes to GitHub to update your remote GraphQL schema.`;
2813
2817
  if (config3 == null ? void 0 : config3.branch) {
2814
2818
  errorMessage += `
2815
2819
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinacms/cli",
3
- "version": "1.5.31",
3
+ "version": "1.5.32",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
6
6
  "files": [
@@ -58,13 +58,13 @@
58
58
  "@tailwindcss/aspect-ratio": "^0.4.0",
59
59
  "@tailwindcss/line-clamp": "^0.3.1",
60
60
  "@tailwindcss/typography": "^0.5.9",
61
- "@tinacms/app": "1.2.29",
62
- "tinacms": "1.5.22",
63
- "@tinacms/datalayer": "1.2.27",
64
- "@tinacms/graphql": "1.4.27",
61
+ "@tinacms/app": "1.2.30",
62
+ "tinacms": "1.5.23",
63
+ "@tinacms/datalayer": "1.2.28",
64
+ "@tinacms/graphql": "1.4.28",
65
65
  "@tinacms/metrics": "1.0.2",
66
66
  "@tinacms/schema-tools": "1.4.13",
67
- "@tinacms/search": "1.0.12",
67
+ "@tinacms/search": "1.0.13",
68
68
  "@vitejs/plugin-react": "3.1.0",
69
69
  "ajv": "^6.12.3",
70
70
  "altair-express-middleware": "4.0.6",