@stevederico/skateboard-ui 1.2.2 → 1.2.4

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/CHANGELOG.md CHANGED
@@ -1,4 +1,15 @@
1
1
  # CHANGELOG
2
+ 1.2.4
3
+
4
+ Fix react-router cookie import
5
+ Add force optimization
6
+ Add react-router-dom include
7
+
8
+ 1.2.3
9
+
10
+ Fix cookie ESM import
11
+ Add cookie to optimizeDeps
12
+
2
13
  1.2.2
3
14
 
4
15
  Fix CSRF cookie-only handling
package/ViteConfig.js CHANGED
@@ -235,16 +235,19 @@ export async function getSkateboardViteConfig(customConfig = {}) {
235
235
  'react-dom',
236
236
  'react-dom/client',
237
237
  '@radix-ui/react-slot',
238
+ 'react-router-dom',
239
+ 'react-router',
240
+ 'cookie',
241
+ 'set-cookie-parser',
238
242
  ...(customConfig.optimizeDeps?.include || [])
239
243
  ],
244
+ force: true,
240
245
  exclude: [
241
246
  '@swc/core',
242
247
  '@swc/core-darwin-arm64',
243
248
  '@swc/wasm',
244
249
  'lightningcss',
245
250
  'fsevents',
246
- 'cookie',
247
- 'set-cookie-parser',
248
251
  ...(customConfig.optimizeDeps?.exclude || [])
249
252
  ],
250
253
  esbuildOptions: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stevederico/skateboard-ui",
3
3
  "private": false,
4
- "version": "1.2.2",
4
+ "version": "1.2.4",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  "./AppSidebar": {