@revenexx/studio-commerce-devkit 0.1.4 → 0.1.5

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/nuxt.config.ts +10 -0
  2. package/package.json +1 -1
package/nuxt.config.ts CHANGED
@@ -90,6 +90,16 @@ export default defineNuxtConfig({
90
90
  plugins: [tailwindcss()],
91
91
  server: {
92
92
  allowedHosts: ['commerce-studio.rvnxx.test', 'localhost'],
93
+ // Allow Vite to serve the studio packages' assets (e.g. @revenexx/studio's
94
+ // brand-font .woff2 referenced by its fonts.css). They live deep in the
95
+ // pnpm store, outside the default fs allow-list → 403 without this.
96
+ fs: {
97
+ allow: [
98
+ pkgDir('@revenexx/studio'),
99
+ pkgDir('@revenexx/studio-shared'),
100
+ pkgDir('@revenexx/studio-commerce'),
101
+ ],
102
+ },
93
103
  },
94
104
  },
95
105
  solarIcons: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@revenexx/studio-commerce-devkit",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "type": "module",
5
5
  "description": "Preview any revenexx app locally in the Commerce Studio: renders the app's cockpit.json with mock data, no platform. Add as a devDependency and run `commerce-studio` from your app repo.",
6
6
  "bin": {