@dfosco/storyboard 0.5.0-beta.49 → 0.5.0-beta.51

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dfosco/storyboard",
3
- "version": "0.5.0-beta.49",
3
+ "version": "0.5.0-beta.51",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "Storyboard prototyping framework — core engine, React integration, and canvas",
@@ -174,6 +174,10 @@ async function main() {
174
174
  } catch (err) {
175
175
  s.stop('Failed')
176
176
  p.log.error(err.message || String(err))
177
+ const stderr = err?.details?.stderr
178
+ if (stderr && typeof stderr === 'string' && stderr.trim()) {
179
+ p.log.message(stderr.trim())
180
+ }
177
181
  if (err.code === 'CONFLICT') p.log.info('Tip: another repo is already bound to this slot. Use a unique devDomain in storyboard.config.json.')
178
182
  if (err.code === 'FORBIDDEN_DEFAULT_DOMAIN') p.log.info('Tip: edit storyboard.config.json and replace "storyboard" with a unique devDomain.')
179
183
  process.exit(1)
@@ -306,7 +306,7 @@ function batchGitMetadata(root, filePaths) {
306
306
  */
307
307
  function buildIndex(root, opts = {}) {
308
308
  const { includeTilde = false } = opts
309
- const ignore = ['node_modules/**', 'dist/**', '.git/**', '.worktrees/**', 'public/**']
309
+ const ignore = ['node_modules/**', 'dist/**', '.git/**', '.worktrees/**', 'worktrees/**', 'public/**']
310
310
  const files = globSync(GLOB_PATTERN, { cwd: root, ignore, absolute: false })
311
311
  const canvasFiles = globSync(CANVAS_GLOB_PATTERN, { cwd: root, ignore, absolute: false })
312
312
  const canvasMetaFiles = globSync(CANVAS_META_GLOB_PATTERN, { cwd: root, ignore, absolute: false })
@@ -1042,6 +1042,10 @@ export default function storyboardDataPlugin() {
1042
1042
  'remark', 'remark-gfm', 'remark-html',
1043
1043
  'use-sync-external-store/shim', 'use-sync-external-store/shim/with-selector',
1044
1044
  'feather-icons', '@primer/octicons', 'ansi-to-html',
1045
+ // @primer/react ≥38 ships pre-compiled with React Compiler and
1046
+ // imports `c` from react-compiler-runtime (CJS). Pre-bundle both
1047
+ // so Vite generates the proper named-export interop.
1048
+ '@primer/react', 'react-compiler-runtime',
1045
1049
  ],
1046
1050
  exclude: ['@dfosco/storyboard'],
1047
1051
  },