@nano-app/backend 0.7.0 → 0.7.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.
- package/build/index.d.ts +2 -1
- package/package.json +8 -8
package/build/index.d.ts
CHANGED
|
@@ -146,4 +146,5 @@ declare function createRoute(route: RouteEntry): RouteEntry;
|
|
|
146
146
|
type Creator<Options> = (options?: Options) => PluginConfig;
|
|
147
147
|
declare function createPlugin<Options>(creator: Creator<Options>): Creator<Options>;
|
|
148
148
|
|
|
149
|
-
export {
|
|
149
|
+
export { NanoApp, createNanoApp, createPlugin, createRoute };
|
|
150
|
+
export type { ApiPromise, ApiResponse, DatabaseConfig, Handler, Handlers, MainPluginConfig, NanoAppConfig, NanoObject, PackagesConfig, PluginConfig, PluginStage, QueryParams, RouteEntry };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nano-app/backend",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"description": "Express server with file-convention routes, plugins and an optional PostgreSQL layer",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "build/index.js",
|
|
@@ -45,18 +45,18 @@
|
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"compression": "^1.8.1",
|
|
47
47
|
"cors": "^2.8.6",
|
|
48
|
-
"dotenv": "^
|
|
48
|
+
"dotenv": "^18.0.8",
|
|
49
49
|
"express": "^5.2.1",
|
|
50
|
-
"express-rate-limit": "^8.
|
|
50
|
+
"express-rate-limit": "^8.7.1",
|
|
51
51
|
"glob": "^13.0.6",
|
|
52
52
|
"helmet": "^8.2.0",
|
|
53
53
|
"jiti": "^2.7.0",
|
|
54
|
-
"morgan": "^1.
|
|
54
|
+
"morgan": "^1.12.1"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
57
|
"@prisma/adapter-pg": "^7.8.0",
|
|
58
58
|
"@prisma/client": "^7.8.0",
|
|
59
|
-
"pg": "^8.
|
|
59
|
+
"pg": "^8.23.1"
|
|
60
60
|
},
|
|
61
61
|
"peerDependenciesMeta": {
|
|
62
62
|
"@prisma/adapter-pg": {
|
|
@@ -78,10 +78,10 @@
|
|
|
78
78
|
"@types/morgan": "^1.9.10",
|
|
79
79
|
"@types/node": "^22.19.0",
|
|
80
80
|
"@types/pg": "^8.20.0",
|
|
81
|
-
"pg": "^8.
|
|
81
|
+
"pg": "^8.23.1",
|
|
82
82
|
"prisma": "^7.8.0",
|
|
83
|
-
"tsup": "^
|
|
84
|
-
"tsx": "^4.
|
|
83
|
+
"tsup": "^9.0.0",
|
|
84
|
+
"tsx": "^4.23.15",
|
|
85
85
|
"typescript": "^5.9.3"
|
|
86
86
|
},
|
|
87
87
|
"bin": {
|