@devmoods/express-extras 0.58.0 → 0.59.0
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/dist/vite/defineViteConfig.js +7 -8
- package/package.json +31 -31
|
@@ -20,7 +20,7 @@ export function defineViteConfig({ base = '', reactCompiler = false, ssr = false
|
|
|
20
20
|
Sonda({
|
|
21
21
|
enabled: analyze,
|
|
22
22
|
open: false,
|
|
23
|
-
|
|
23
|
+
deep: true,
|
|
24
24
|
sources: true,
|
|
25
25
|
}),
|
|
26
26
|
],
|
|
@@ -53,6 +53,12 @@ export function defineViteConfig({ base = '', reactCompiler = false, ssr = false
|
|
|
53
53
|
'/api': `http://localhost:${readEnv.number('PORT', 4000)}`,
|
|
54
54
|
'/analytics.js': `http://localhost:${readEnv.number('PORT', 4000)}`,
|
|
55
55
|
},
|
|
56
|
+
allowedHosts: [
|
|
57
|
+
'localhost',
|
|
58
|
+
'127.0.0.1',
|
|
59
|
+
// Support puma-dev by default
|
|
60
|
+
`${process.cwd().split('/').pop()}.local`,
|
|
61
|
+
],
|
|
56
62
|
}
|
|
57
63
|
: {},
|
|
58
64
|
ssr: ssr
|
|
@@ -65,12 +71,5 @@ export function defineViteConfig({ base = '', reactCompiler = false, ssr = false
|
|
|
65
71
|
include: ['src/**/*.{test,spec}.?(c|m)[jt]s?(x)'],
|
|
66
72
|
globals: true,
|
|
67
73
|
},
|
|
68
|
-
css: {
|
|
69
|
-
preprocessorOptions: {
|
|
70
|
-
scss: {
|
|
71
|
-
api: 'modern-compiler',
|
|
72
|
-
},
|
|
73
|
-
},
|
|
74
|
-
},
|
|
75
74
|
});
|
|
76
75
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devmoods/express-extras",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.59.0",
|
|
4
4
|
"description": "Kubernetes-ready utilities for rapid Node.js application development",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -44,55 +44,55 @@
|
|
|
44
44
|
],
|
|
45
45
|
"license": "ISC",
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@devmoods/eslint-config": "^2.
|
|
47
|
+
"@devmoods/eslint-config": "^2.10.0",
|
|
48
48
|
"@types/koa-compose": "^3.2.8",
|
|
49
|
-
"@types/node": "
|
|
49
|
+
"@types/node": "24.3.0",
|
|
50
50
|
"@types/supertest": "^6.0.3",
|
|
51
|
-
"@vitejs/plugin-react": "^
|
|
52
|
-
"@vitest/coverage-v8": "^3.
|
|
51
|
+
"@vitejs/plugin-react": "^5.0.0",
|
|
52
|
+
"@vitest/coverage-v8": "^3.2.4",
|
|
53
53
|
"arktype": "^2.1.20",
|
|
54
54
|
"cookiejar": "^2.1.4",
|
|
55
|
-
"eslint": "^9.
|
|
56
|
-
"faktory-worker": "^4.7.
|
|
57
|
-
"prettier": "3.
|
|
58
|
-
"supertest": "7.1.
|
|
55
|
+
"eslint": "^9.33.0",
|
|
56
|
+
"faktory-worker": "^4.7.1",
|
|
57
|
+
"prettier": "3.6.2",
|
|
58
|
+
"supertest": "7.1.4",
|
|
59
59
|
"ts-node": "10.9.2",
|
|
60
|
-
"tsx": "^4.
|
|
61
|
-
"typescript": "5.
|
|
62
|
-
"vite": "^
|
|
63
|
-
"vitest": "^3.
|
|
64
|
-
"vitest-fail-on-console": "^0.
|
|
60
|
+
"tsx": "^4.20.4",
|
|
61
|
+
"typescript": "5.9.2",
|
|
62
|
+
"vite": "^7.1.2",
|
|
63
|
+
"vitest": "^3.2.4",
|
|
64
|
+
"vitest-fail-on-console": "^0.9.0"
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
67
|
"@devmoods/fetch": "^4.1.0",
|
|
68
|
-
"@sentry/node": "^
|
|
69
|
-
"@sentry/profiling-node": "^
|
|
68
|
+
"@sentry/node": "^10.5.0",
|
|
69
|
+
"@sentry/profiling-node": "^10.5.0",
|
|
70
70
|
"@standard-schema/spec": "^1.0.0",
|
|
71
|
-
"@types/bcrypt": "^
|
|
72
|
-
"@types/cookie-parser": "^1.4.
|
|
73
|
-
"@types/express": "^5.0.
|
|
74
|
-
"@types/jsonwebtoken": "^9.0.
|
|
75
|
-
"@types/nodemailer": "^
|
|
76
|
-
"@types/pg": "^8.15.
|
|
71
|
+
"@types/bcrypt": "^6.0.0",
|
|
72
|
+
"@types/cookie-parser": "^1.4.9",
|
|
73
|
+
"@types/express": "^5.0.3",
|
|
74
|
+
"@types/jsonwebtoken": "^9.0.10",
|
|
75
|
+
"@types/nodemailer": "^7.0.0",
|
|
76
|
+
"@types/pg": "^8.15.5",
|
|
77
77
|
"@types/qs": "^6.14.0",
|
|
78
78
|
"@types/superagent": "^8.1.9",
|
|
79
79
|
"@types/uuid": "^10.0.0",
|
|
80
80
|
"ajv": "^8.17.1",
|
|
81
|
-
"argon2": "^0.
|
|
81
|
+
"argon2": "^0.44.0",
|
|
82
82
|
"bcrypt": "^6.0.0",
|
|
83
|
-
"chalk": "^5.
|
|
83
|
+
"chalk": "^5.5.0",
|
|
84
84
|
"commander": "^14.0.0",
|
|
85
85
|
"compose-middleware": "^5.0.1",
|
|
86
86
|
"cookie-parser": "^1.4.7",
|
|
87
|
-
"dotenv": "^
|
|
87
|
+
"dotenv": "^17.2.1",
|
|
88
88
|
"express": "^4.21.2",
|
|
89
89
|
"helmet": "^8.1.0",
|
|
90
90
|
"jsonwebtoken": "^9.0.2",
|
|
91
|
-
"nodemailer": "^7.0.
|
|
92
|
-
"pg": "^8.16.
|
|
93
|
-
"redis": "^5.
|
|
94
|
-
"sonda": "^0.
|
|
95
|
-
"sql-formatter": "^15.6.
|
|
91
|
+
"nodemailer": "^7.0.5",
|
|
92
|
+
"pg": "^8.16.3",
|
|
93
|
+
"redis": "^5.8.1",
|
|
94
|
+
"sonda": "^0.9.0",
|
|
95
|
+
"sql-formatter": "^15.6.6",
|
|
96
96
|
"uuid": "^11.1.0"
|
|
97
97
|
},
|
|
98
98
|
"prettier": {
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"vite": ">=6.0.5"
|
|
107
107
|
},
|
|
108
108
|
"engines": {
|
|
109
|
-
"node": ">=20 <
|
|
109
|
+
"node": ">=20 <25"
|
|
110
110
|
},
|
|
111
111
|
"scripts": {
|
|
112
112
|
"start": "pushd example; pnpm run start --watch; popd example;",
|