@revenexx/studio-commerce-devkit 0.1.6 → 0.1.7

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 +6 -10
  2. package/package.json +1 -1
package/nuxt.config.ts CHANGED
@@ -90,16 +90,12 @@ 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
+ // Dev-only tool: serve any file. The studio packages' assets (e.g.
94
+ // @revenexx/studio's brand-font .woff2) live deep in the pnpm store; an
95
+ // explicit fs.allow list is too brittle there (symlink vs realpath, and
96
+ // pnpm peer-hash variants) → recurring "outside of Vite serving allow
97
+ // list" 403s. Disabling the allow-list check sidesteps the whole class.
98
+ fs: { strict: false },
103
99
  },
104
100
  },
105
101
  solarIcons: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@revenexx/studio-commerce-devkit",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
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": {