@tandem-language-exchange/content-store 1.2.22 → 1.2.24

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.
@@ -0,0 +1,11 @@
1
+ // src/sanity-studio.node.ts
2
+ import { createElement } from "react";
3
+ function StudioPage() {
4
+ return createElement("div", {
5
+ style: { height: "100vh", background: "#101112" }
6
+ });
7
+ }
8
+ export {
9
+ StudioPage
10
+ };
11
+ //# sourceMappingURL=sanity-studio.node.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/sanity-studio.node.ts"],"sourcesContent":["/**\n * Server-side stub for StudioPage.\n * The real component is client-only; this prevents Node.js from trying to\n * resolve browser-only dependencies (react-dropzone, etc.) during SSR.\n * Returns the same loading placeholder as the client component for hydration parity.\n */\nimport { createElement } from 'react';\n\nexport function StudioPage() {\n return createElement('div', {\n style: { height: '100vh', background: '#101112' },\n });\n}\n"],"mappings":";AAMA,SAAS,qBAAqB;AAEvB,SAAS,aAAa;AACzB,SAAO,cAAc,OAAO;AAAA,IACxB,OAAO,EAAE,QAAQ,SAAS,YAAY,UAAU;AAAA,EACpD,CAAC;AACL;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tandem-language-exchange/content-store",
3
- "version": "1.2.22",
3
+ "version": "1.2.24",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -26,6 +26,7 @@
26
26
  },
27
27
  "./sanity/studio": {
28
28
  "types": "./dist/sanity-studio.d.ts",
29
+ "node": "./dist/sanity-studio.node.js",
29
30
  "import": "./dist/sanity-studio.js",
30
31
  "default": "./dist/sanity-studio.js"
31
32
  }
@@ -37,6 +38,7 @@
37
38
  "dist/index-*.d.ts",
38
39
  "dist/sanity.*",
39
40
  "dist/sanity-studio.*",
41
+ "dist/sanity-studio.node.*",
40
42
  "dist/node.*",
41
43
  "dist/node.browser.*",
42
44
  "dist/sdk/",