@devmoods/express-extras 0.49.0 → 0.49.1

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.
@@ -42,10 +42,16 @@ export function defineViteConfig({ base = '', reactCompiler = false, ssr = false
42
42
  strictPort: true,
43
43
  origin: readEnv('VITE_ORIGIN', `http://localhost:${port}`),
44
44
  }
45
+ : {
46
+ proxy: {
47
+ '/api': `http://localhost:${readEnv.number('PORT', 4000)}`,
48
+ },
49
+ },
50
+ ssr: ssr
51
+ ? {
52
+ noExternal: ['react-helmet-async'],
53
+ }
45
54
  : undefined,
46
- ssr: {
47
- noExternal: ['react-helmet-async'],
48
- },
49
55
  test: {
50
56
  setupFiles: ['./src/setupTests'],
51
57
  include: ['src/**/*.{test,spec}.?(c|m)[jt]s?(x)'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devmoods/express-extras",
3
- "version": "0.49.0",
3
+ "version": "0.49.1",
4
4
  "description": "Kubernetes-ready utilities for rapid Node.js application development",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -14,7 +14,7 @@
14
14
  },
15
15
  "./vite": {
16
16
  "import": {
17
- "types": "./dist/vite/types.js",
17
+ "types": "./dist/vite/vite.d.ts",
18
18
  "default": "./dist/vite.js"
19
19
  }
20
20
  },
@@ -51,10 +51,9 @@
51
51
  "@vitejs/plugin-react": "^4.3.4",
52
52
  "@vitest/coverage-v8": "^2.1.8",
53
53
  "cookiejar": "^2.1.4",
54
- "eslint": "^9.17.0",
54
+ "eslint": "^9.18.0",
55
55
  "faktory-worker": "^4.6.0",
56
56
  "prettier": "3.4.2",
57
- "sonda": "^0.7.1",
58
57
  "supertest": "7.0.0",
59
58
  "ts-node": "10.9.2",
60
59
  "tsx": "^4.19.2",
@@ -89,8 +88,9 @@
89
88
  "nodemailer": "^6.9.16",
90
89
  "pg": "^8.13.1",
91
90
  "redis": "^4.7.0",
91
+ "sonda": "^0.7.1",
92
92
  "sql-formatter": "^15.4.9",
93
- "uuid": "^11.0.4"
93
+ "uuid": "^11.0.5"
94
94
  },
95
95
  "prettier": {
96
96
  "singleQuote": true