@guren/server 1.0.0 → 1.2.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/{Application-BnsyCKXY.d.ts → Application-DN9Ndl37.d.ts} +3 -0
- package/dist/{ConsoleKernel-BDtBETjm.d.ts → ConsoleKernel-DxmUxdAz.d.ts} +1 -1
- package/dist/{chunk-VXXZIXAP.js → chunk-HLXL2AYJ.js} +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +684 -659
- package/dist/lambda/index.d.ts +2 -2
- package/dist/mcp/index.d.ts +1 -1
- package/dist/notifications/index.d.ts +2 -2
- package/dist/queue/index.d.ts +2 -2
- package/dist/runtime/index.d.ts +2 -2
- package/dist/runtime/index.js +1 -1
- package/dist/vite/index.d.ts +2 -2
- package/dist/vite/index.js +5 -1
- package/package.json +2 -2
package/dist/lambda/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as hono_aws_lambda from 'hono/aws-lambda';
|
|
2
2
|
export { APIGatewayProxyResult, LambdaEvent } from 'hono/aws-lambda';
|
|
3
|
-
import { A as Application } from '../Application-
|
|
3
|
+
import { A as Application } from '../Application-DN9Ndl37.js';
|
|
4
4
|
import { S as Scheduler } from '../Scheduler-BstvSca7.js';
|
|
5
|
-
import { C as ConsoleKernel } from '../ConsoleKernel-
|
|
5
|
+
import { C as ConsoleKernel } from '../ConsoleKernel-DxmUxdAz.js';
|
|
6
6
|
import 'hono';
|
|
7
7
|
import '../api-token-BSSCLlFW.js';
|
|
8
8
|
import '../AuthManager-SfhCNkAU.js';
|
package/dist/mcp/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
2
|
-
import { S as ServiceProvider } from '../Application-
|
|
2
|
+
import { S as ServiceProvider } from '../Application-DN9Ndl37.js';
|
|
3
3
|
import 'hono';
|
|
4
4
|
import '../api-token-BSSCLlFW.js';
|
|
5
5
|
import '../AuthManager-SfhCNkAU.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a0 as NotificationChannel, Z as Notifiable, _ as Notification, t as DatabaseNotification, r as DatabaseChannelOptions, au as SlackMessage, ak as SentNotification } from '../Application-
|
|
2
|
-
export { $ as NotificationAttachment, a1 as NotificationChannelFactory, a2 as NotificationClass, a3 as NotificationMailMessage, N as NotificationManager, a4 as NotificationManagerOptions, as as SlackAttachment, at as SlackBlock, aI as createNotificationManager, aS as getNotificationManager, b1 as setNotificationManager } from '../Application-
|
|
1
|
+
import { a0 as NotificationChannel, Z as Notifiable, _ as Notification, t as DatabaseNotification, r as DatabaseChannelOptions, au as SlackMessage, ak as SentNotification } from '../Application-DN9Ndl37.js';
|
|
2
|
+
export { $ as NotificationAttachment, a1 as NotificationChannelFactory, a2 as NotificationClass, a3 as NotificationMailMessage, N as NotificationManager, a4 as NotificationManagerOptions, as as SlackAttachment, at as SlackBlock, aI as createNotificationManager, aS as getNotificationManager, b1 as setNotificationManager } from '../Application-DN9Ndl37.js';
|
|
3
3
|
import { M as MailManager } from '../MailManager-DpMvYiP9.js';
|
|
4
4
|
import 'hono';
|
|
5
5
|
import '../api-token-BSSCLlFW.js';
|
package/dist/queue/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a7 as QueueDriver, a9 as QueuedJob, F as FailedJob, ay as WorkerOptions } from '../Application-
|
|
2
|
-
export { U as Job, V as JobClass, W as JobFailureHandler, X as JobHandler, Y as JobOptions, a6 as QueueConfig, a8 as QueueDriverFactory, Q as QueueManager, aC as clearJobRegistry, aJ as createQueueManager, aR as getJob, aT as getQueueDriver, aU as getRegisteredJobs, aY as registerJob, b2 as setQueueDriver } from '../Application-
|
|
1
|
+
import { a7 as QueueDriver, a9 as QueuedJob, F as FailedJob, ay as WorkerOptions } from '../Application-DN9Ndl37.js';
|
|
2
|
+
export { U as Job, V as JobClass, W as JobFailureHandler, X as JobHandler, Y as JobOptions, a6 as QueueConfig, a8 as QueueDriverFactory, Q as QueueManager, aC as clearJobRegistry, aJ as createQueueManager, aR as getJob, aT as getQueueDriver, aU as getRegisteredJobs, aY as registerJob, b2 as setQueueDriver } from '../Application-DN9Ndl37.js';
|
|
3
3
|
import { Redis } from 'ioredis';
|
|
4
4
|
import 'hono';
|
|
5
5
|
import '../api-token-BSSCLlFW.js';
|
package/dist/runtime/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as Application } from '../Application-
|
|
2
|
-
export { D as DevBannerOptions, G as GUREN_ASCII_ART, a as StartViteDevServerOptions, b as StartedViteDevServer, l as logDevServerBanner, s as startViteDevServer } from '../Application-
|
|
1
|
+
import { A as Application } from '../Application-DN9Ndl37.js';
|
|
2
|
+
export { D as DevBannerOptions, G as GUREN_ASCII_ART, a as StartViteDevServerOptions, b as StartedViteDevServer, l as logDevServerBanner, s as startViteDevServer } from '../Application-DN9Ndl37.js';
|
|
3
3
|
import 'hono';
|
|
4
4
|
import '../api-token-BSSCLlFW.js';
|
|
5
5
|
import '../AuthManager-SfhCNkAU.js';
|
package/dist/runtime/index.js
CHANGED
package/dist/vite/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
interface GurenVitePluginOptions {
|
|
2
|
-
/** Alias for
|
|
2
|
+
/** Alias prefix for application imports such as `@/.guren/routes.gen` (defaults to `@`). */
|
|
3
3
|
appAlias?: string;
|
|
4
|
-
/**
|
|
4
|
+
/** Directory the alias resolves to, relative to the project root (defaults to `.`, the project root). */
|
|
5
5
|
appDir?: string;
|
|
6
6
|
/** Alias for the frontend resources directory (defaults to `@resources`). */
|
|
7
7
|
resourcesAlias?: string;
|
package/dist/vite/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import path from "path";
|
|
3
3
|
var defaultOptions = {
|
|
4
4
|
appAlias: "@",
|
|
5
|
-
appDir: "
|
|
5
|
+
appDir: ".",
|
|
6
6
|
resourcesAlias: "@resources",
|
|
7
7
|
resourcesDir: "resources/js",
|
|
8
8
|
entry: "resources/js/app.tsx",
|
|
@@ -65,6 +65,10 @@ function ensureBuild(config, options, root, env) {
|
|
|
65
65
|
config.build.emptyOutDir = true;
|
|
66
66
|
}
|
|
67
67
|
if (isSsrBuild) {
|
|
68
|
+
config.ssr ??= {};
|
|
69
|
+
if (config.ssr.noExternal === void 0) {
|
|
70
|
+
config.ssr.noExternal = true;
|
|
71
|
+
}
|
|
68
72
|
if (config.build.outDir === void 0) {
|
|
69
73
|
config.build.outDir = options.ssrOutDir;
|
|
70
74
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@guren/server",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
"test": "bun test"
|
|
110
110
|
},
|
|
111
111
|
"dependencies": {
|
|
112
|
-
"@guren/orm": "^1.0.
|
|
112
|
+
"@guren/orm": "^1.0.1",
|
|
113
113
|
"@modelcontextprotocol/sdk": "^1.27.1",
|
|
114
114
|
"chalk": "^5.3.0",
|
|
115
115
|
"consola": "^3.4.2",
|