@commonpub/layer 0.3.1 → 0.3.2

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 +5 -0
  2. package/package.json +4 -4
package/nuxt.config.ts CHANGED
@@ -79,5 +79,10 @@ export default defineNuxtConfig({
79
79
  },
80
80
  nitro: {
81
81
  preset: 'node-server',
82
+ // css-tree uses dynamic require() for data/patch.json which Rollup can't resolve.
83
+ // Keep it in node_modules instead of bundling into server chunks.
84
+ externals: {
85
+ external: ['css-tree'],
86
+ },
82
87
  },
83
88
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commonpub/layer",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "type": "module",
5
5
  "main": "./nuxt.config.ts",
6
6
  "files": [
@@ -46,14 +46,14 @@
46
46
  "vue-router": "^4.3.0",
47
47
  "zod": "^4.3.6",
48
48
  "@commonpub/config": "0.7.0",
49
- "@commonpub/editor": "0.5.0",
50
49
  "@commonpub/auth": "0.5.0",
51
50
  "@commonpub/docs": "0.5.0",
51
+ "@commonpub/editor": "0.5.0",
52
52
  "@commonpub/learning": "0.5.0",
53
- "@commonpub/ui": "0.7.1",
54
53
  "@commonpub/protocol": "0.9.4",
55
54
  "@commonpub/schema": "0.8.8",
56
- "@commonpub/server": "2.7.0"
55
+ "@commonpub/server": "2.7.0",
56
+ "@commonpub/ui": "0.7.1"
57
57
  },
58
58
  "scripts": {}
59
59
  }