From ba8970715a9c8270c9cec04763efae947d57ed7b Mon Sep 17 00:00:00 2001 From: Jeremiah Zucker Date: Mon, 29 Jun 2026 07:27:33 -0700 Subject: [PATCH 1/2] Fix profiler-plugin-react entry point The package.json "main" pointed at src/index.tsx, but the source file is src/index.ts (no JSX), so the tsup build failed with "Cannot find src/index.tsx". Point main at the real .ts file, matching basic-plugin-react. --- devtools/plugins/profiler/react/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devtools/plugins/profiler/react/package.json b/devtools/plugins/profiler/react/package.json index a99233e..983edcd 100644 --- a/devtools/plugins/profiler/react/package.json +++ b/devtools/plugins/profiler/react/package.json @@ -1,7 +1,7 @@ { "name": "@player-devtools/profiler-plugin-react", "version": "0.0.0-PLACEHOLDER", - "main": "src/index.tsx", + "main": "src/index.ts", "dependencies": { "@player-devtools/profiler-plugin": "workspace:*", "@player-devtools/plugin-react": "workspace:*", From 793043340820e707d814e94956d7d35d27bac8b5 Mon Sep 17 00:00:00 2001 From: Jeremiah Zucker Date: Mon, 29 Jun 2026 08:39:24 -0700 Subject: [PATCH 2/2] Ship profiler iOS sources in the SPM release zip MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package.swift declares the PlayerUIDevtoolsProfilerPlugin and PlayerUIDevtoolsBaseProfilerDevtoolsPlugin products, but assemble_ios_release never listed the profiler sources/resources, so the published devtools-ios tag (e.g. 0.14.0-next.0) declared the products while shipping no source for them — making them unbuildable for consumers. Add the missing entries (ios Sources, swiftui Sources, and the core native bundle as Resources) to spm_publish_zip, mirroring the BasicPlugin block. Verified the assembled zip now contains the profiler swift sources and the ProfilerDevtoolsPlugin.native.js resource bundle. --- BUILD | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/BUILD b/BUILD index aab48d8..89ae869 100644 --- a/BUILD +++ b/BUILD @@ -152,6 +152,13 @@ assemble_ios_release( # BasicPlugin "//devtools/plugins/basic/swiftui:PlayerUIDevtoolsBasicPlugin_Sources": "devtools/plugins/basic/swiftui/", + + # BaseProfilerDevtoolsPlugin + "//devtools/plugins/profiler/ios:PlayerUIDevtoolsBaseProfilerDevtoolsPlugin_Sources": "devtools/plugins/profiler/ios/", + "//devtools/plugins/profiler/core:core_native_bundle": "devtools/plugins/profiler/ios/Resources/", + + # ProfilerPlugin + "//devtools/plugins/profiler/swiftui:PlayerUIDevtoolsProfilerPlugin_Sources": "devtools/plugins/profiler/swiftui/", }, )