@unoverse-platform/studio 0.1.106 → 0.1.108

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/local/plugin.ts +8 -4
  2. package/package.json +1 -2
package/local/plugin.ts CHANGED
@@ -229,11 +229,15 @@ export function localStudioHost(): Plugin {
229
229
  * is what kept Studio from being publishable at all.
230
230
  */
231
231
  const vendored = resolve(dirname(fileURLToPath(import.meta.url)), "../vendor/base/src");
232
+ // AN INSTALLED STUDIO USES ONLY ITS OWN COPY. Node can still find a base on npm, an
233
+ // old one the marketplace package depends on (0.3.67, deprecated), and preferring it
234
+ // crashed 0.1.106 on a file that copy predates (orgDocuments.ts, 2026-10-03). Only
235
+ // the monorepo, where Studio is not under node_modules, resolves the live package.
236
+ const installed = fileURLToPath(import.meta.url).includes("/node_modules/");
232
237
  try {
233
- baseSrc = resolve(
234
- createRequire(import.meta.url).resolve("@unoverse-platform/base/package.json"),
235
- "../src",
236
- );
238
+ baseSrc = installed
239
+ ? vendored
240
+ : resolve(createRequire(import.meta.url).resolve("@unoverse-platform/base/package.json"), "../src");
237
241
  } catch {
238
242
  baseSrc = vendored;
239
243
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unoverse-platform/studio",
3
- "version": "0.1.106",
3
+ "version": "0.1.108",
4
4
  "type": "module",
5
5
  "description": "Unoverse Studio: the local authoring app. Reads your own rx/ folder, no backend.",
6
6
  "scripts": {
@@ -32,7 +32,6 @@
32
32
  "@smithy/protocol-http": "^5.5.14",
33
33
  "@smithy/signature-v4": "^5.6.10",
34
34
  "@tailwindcss/vite": "^4.0.0",
35
- "@unoverse-platform/marketplace": "*",
36
35
  "@vitejs/plugin-react": "^4.3.4",
37
36
  "acorn": "^8.17.0",
38
37
  "fast-memoize": "^2.5.2",