@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.
- package/nuxt.config.ts +6 -10
- 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
|
-
//
|
|
94
|
-
// brand-font .woff2
|
|
95
|
-
//
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
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.
|
|
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": {
|