miolo 3.0.0-beta.182 → 3.0.0-beta.183

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "miolo",
3
- "version": "3.0.0-beta.182",
3
+ "version": "3.0.0-beta.183",
4
4
  "description": "all-in-one koa-based server",
5
5
  "author": "Donato Lorenzo <donato@afialapis.com>",
6
6
  "contributors": [
@@ -13,13 +13,18 @@ export async function init_vite_dev_server_middleware(app, viteConfig) {
13
13
  // const tailwindConfigPath = resolve(process.cwd(), 'tailwind.config.js')
14
14
  // const tailwindConfig = await import(tailwindConfigPath)
15
15
 
16
+ const serverConfig = viteConfig?.server || {}
17
+ delete viteConfig?.server
18
+
16
19
  vite = await createServer({
17
20
  server: {
18
21
  middlewareMode: true,
19
22
  port: process.env?.MIOLO_PORT || 8001,
20
23
  hmr: {
21
24
  port: process.env?.MIOLO_DEV_PORT || (process.env?.MIOLO_PORT || 8001) - 1000
22
- }
25
+ },
26
+
27
+ ...serverConfig
23
28
  },
24
29
  appType: "custom",
25
30
  plugins: [
@@ -44,9 +44,9 @@
44
44
  "intre": "^3.0.0-beta.4",
45
45
  "joi": "^18.1.2",
46
46
  "lucide-react": "^1.14.0",
47
- "miolo-cli": "^3.0.0-beta.182",
47
+ "miolo-cli": "^3.0.0-beta.183",
48
48
  "miolo-model": "file:../miolo-model",
49
- "miolo-react": "^3.0.0-beta.182",
49
+ "miolo-react": "^3.0.0-beta.183",
50
50
  "next-themes": "^0.4.6",
51
51
  "radix-ui": "^1.4.3",
52
52
  "react": "^19.2.5",
@@ -61,7 +61,7 @@
61
61
  },
62
62
  "devDependencies": {
63
63
  "@biomejs/biome": "2.4.14",
64
- "miolo": "^3.0.0-beta.182",
64
+ "miolo": "^3.0.0-beta.183",
65
65
  "sass-embedded": "^1.99.0"
66
66
  },
67
67
  "overrides": {