@tinacms/app 1.2.27 → 1.2.28

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/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @tinacms/app
2
2
 
3
+ ## 1.2.28
4
+
5
+ ### Patch Changes
6
+
7
+ - 841456237: Fix issue where an error would occur if the folder button was clicked in the playground
8
+ - Updated dependencies [5040fc7cb]
9
+ - Updated dependencies [177002715]
10
+ - Updated dependencies [e69a3ef81]
11
+ - Updated dependencies [c925786ef]
12
+ - Updated dependencies [9f01550dd]
13
+ - @tinacms/mdx@1.3.19
14
+ - tinacms@1.5.21
15
+
3
16
  ## 1.2.27
4
17
 
5
18
  ### Patch Changes
package/LICENSE CHANGED
@@ -1,12 +1,4 @@
1
- Copyright (c) 2023-present Forestry.io Holdings Inc.
2
-
3
- Portions of the TinaCMS software are licensed as follows:
4
-
5
- * All software that resides under the "packages/@tinacms/datalayer/" and the "packages/@tinacms/graphql/" directories (the "Tina Data Layer"), is licensed under the license defined in "packages/@tinacms/datalayer/LICENSE".
6
-
7
- * All software outside of the above-mentioned directories is available under the "Apache 2.0" license as set forth below.
8
-
9
- Apache License
1
+ Apache License
10
2
  Version 2.0, January 2004
11
3
  http://www.apache.org/licenses/
12
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinacms/app",
3
- "version": "1.2.27",
3
+ "version": "1.2.28",
4
4
  "main": "src/main.tsx",
5
5
  "license": "Apache-2.0",
6
6
  "devDependencies": {
@@ -14,7 +14,7 @@
14
14
  "@headlessui/react": "1.6.6",
15
15
  "@heroicons/react": "1.0.6",
16
16
  "@monaco-editor/react": "4.4.5",
17
- "@tinacms/mdx": "1.3.18",
17
+ "@tinacms/mdx": "1.3.19",
18
18
  "@xstate/react": "3.0.0",
19
19
  "final-form": "4.20.7",
20
20
  "graphiql": "3.0.0-alpha.1",
@@ -25,7 +25,7 @@
25
25
  "react-dom": "17.0.2",
26
26
  "react-router-dom": "6.3.0",
27
27
  "tailwindcss": "^3.2.7",
28
- "tinacms": "1.5.20",
28
+ "tinacms": "1.5.21",
29
29
  "typescript": "^4.6.4",
30
30
  "zod": "^3.14.3"
31
31
  }
@@ -89,7 +89,8 @@ const Playground = () => {
89
89
  let relativePath = ''
90
90
  if (collection) {
91
91
  relativePath =
92
- collection.documents.edges[0].node._sys.relativePath
92
+ collection?.documents?.edges[0]?.node?._sys.relativePath ||
93
+ ''
93
94
  variables = JSON.stringify({ relativePath }, null, 2)
94
95
  }
95
96
  return (