@stacksjs/server 0.58.28 → 0.58.44

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/dist/index.js +6 -2
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@ function config(options) {
9
9
  host: "localhost",
10
10
  port: 3334
11
11
  },
12
- admin: {
12
+ dashboard: {
13
13
  host: "localhost",
14
14
  port: 3335
15
15
  },
@@ -28,9 +28,13 @@ function config(options) {
28
28
  example: {
29
29
  host: "localhost",
30
30
  port: 3339
31
+ },
32
+ "system-tray": {
33
+ host: "localhost",
34
+ port: 3340
31
35
  }
32
36
  };
33
- if (options.type && ["frontend", "api", "library", "desktop", "admin", "docs", "example"].includes(options.type)) {
37
+ if (options.type && ["frontend", "api", "library", "desktop", "docs", "example", "dashboard", "system-tray"].includes(options.type)) {
34
38
  return {
35
39
  host: serversMap[options.type].host,
36
40
  port: serversMap[options.type].port,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/server",
3
3
  "type": "module",
4
- "version": "0.58.28",
4
+ "version": "0.58.44",
5
5
  "description": "Local development and production-ready.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -59,7 +59,7 @@
59
59
  "@stacksjs/path": "workspace:*",
60
60
  "@stacksjs/router": "workspace:*",
61
61
  "@stacksjs/validation": "workspace:*",
62
- "vite": "^5.0.11"
62
+ "vite": "^5.0.12"
63
63
  },
64
64
  "devDependencies": {
65
65
  "@stacksjs/development": "workspace:*"