@byline/cli 3.10.0 → 3.11.0

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.
@@ -111,11 +111,22 @@ const config = defineConfig({
111
111
  // which references Vite-virtual modules (e.g.
112
112
  // `tanstack-start-injected-head-scripts:v`) that the dep optimizer
113
113
  // cannot resolve.
114
+ //
115
+ // `use-sync-external-store/shim{,/with-selector}` are pinned explicitly
116
+ // too. Their named exports sit behind a `process.env.NODE_ENV`
117
+ // re-export; if Vite emits one as a standalone optimized chunk via the
118
+ // discovery path its interop only synthesises a default export, and a
119
+ // named `import { useSyncExternalStoreWithSelector }` (from
120
+ // @base-ui/utils' store) then throws "does not provide an export named …"
121
+ // and the route never hydrates. Listing them as entries makes Vite walk
122
+ // the re-export and emit a proper named-export facade.
114
123
  include: [
115
124
  '@byline/ui/react',
116
125
  '@byline/ai',
117
126
  '@byline/ai/plugins/text',
118
127
  '@byline/ai/plugins/lexical',
128
+ 'use-sync-external-store/shim',
129
+ 'use-sync-external-store/shim/with-selector',
119
130
  ],
120
131
  rolldownOptions: {
121
132
  plugins: [
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@byline/cli",
3
3
  "private": false,
4
4
  "license": "MPL-2.0",
5
- "version": "3.10.0",
5
+ "version": "3.11.0",
6
6
  "engines": {
7
7
  "node": ">=20.9.0"
8
8
  },