create-m5kdev 0.18.0 → 0.19.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-m5kdev",
3
- "version": "0.18.0",
3
+ "version": "0.19.1",
4
4
  "license": "GPL-3.0-only",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,33 +1,33 @@
1
- import { defineBackendModules } from "@m5kdev/backend/app";
2
- import { AuthModule } from "@m5kdev/backend/modules/auth/auth.module";
3
- import { EmailModule } from "@m5kdev/backend/modules/email/email.module";
4
- import { NotificationModule } from "@m5kdev/backend/modules/notification/notification.module";
5
- import { WorkflowModule } from "@m5kdev/backend/modules/workflow/workflow.module";
6
- import { templates } from "{{PACKAGE_SCOPE}}/email";
7
- import { PostsModule } from "./modules/posts/posts.module";
8
-
9
- export const emailBackendModule = new EmailModule(templates as never);
10
-
11
- export const authBackendModule = new AuthModule();
12
-
13
- export const workflowBackendModule = new WorkflowModule({
14
- queues: {
15
- fast: { concurrency: 5 },
16
- },
17
- defaultQueue: "fast",
18
- defaults: {
19
- timeout: 60_000,
20
- jobOptions: { removeOnComplete: { age: 3600 } },
21
- },
22
- });
23
-
24
- export const notificationBackendModule = new NotificationModule();
25
- export const postsBackendModule = new PostsModule();
26
-
27
- export const backendModules = defineBackendModules([
28
- emailBackendModule,
29
- authBackendModule,
30
- workflowBackendModule,
31
- notificationBackendModule,
32
- postsBackendModule,
33
- ] as const);
1
+ import { defineBackendModules } from "@m5kdev/backend/app";
2
+ import { AuthModule } from "@m5kdev/backend/modules/auth/auth.module";
3
+ import { EmailModule } from "@m5kdev/backend/modules/email/email.module";
4
+ import { NotificationModule } from "@m5kdev/backend/modules/notification/notification.module";
5
+ import { WorkflowModule } from "@m5kdev/backend/modules/workflow/workflow.module";
6
+ import { templates } from "{{PACKAGE_SCOPE}}/email";
7
+ import { PostsModule } from "./modules/posts/posts.module";
8
+
9
+ export const emailBackendModule = new EmailModule(templates as never);
10
+
11
+ export const authBackendModule = new AuthModule();
12
+
13
+ export const workflowBackendModule = new WorkflowModule({
14
+ queues: {
15
+ fast: { concurrency: 5 },
16
+ },
17
+ defaultQueue: "fast",
18
+ defaults: {
19
+ timeout: 60_000,
20
+ jobOptions: { removeOnComplete: { age: 3600 } },
21
+ },
22
+ });
23
+
24
+ export const notificationBackendModule = new NotificationModule();
25
+ export const postsBackendModule = new PostsModule();
26
+
27
+ export const backendModules = defineBackendModules([
28
+ emailBackendModule,
29
+ authBackendModule,
30
+ workflowBackendModule,
31
+ notificationBackendModule,
32
+ postsBackendModule,
33
+ ] as const);
@@ -1,19 +1,19 @@
1
- import { defineBackendModule, defineBackendModules } from "@m5kdev/backend/app";
2
- import {
3
- authBackendModule,
4
- notificationBackendModule,
5
- postsBackendModule,
6
- workflowBackendModule,
7
- } from "./modules";
8
-
9
- export const emailSchemaModule = defineBackendModule({
10
- id: "email",
11
- });
12
-
13
- export const backendSchemaModules = defineBackendModules([
14
- emailSchemaModule,
15
- authBackendModule,
16
- workflowBackendModule,
17
- notificationBackendModule,
18
- postsBackendModule,
19
- ] as const);
1
+ import { defineBackendModule, defineBackendModules } from "@m5kdev/backend/app";
2
+ import {
3
+ authBackendModule,
4
+ notificationBackendModule,
5
+ postsBackendModule,
6
+ workflowBackendModule,
7
+ } from "./modules";
8
+
9
+ export const emailSchemaModule = defineBackendModule({
10
+ id: "email",
11
+ });
12
+
13
+ export const backendSchemaModules = defineBackendModules([
14
+ emailSchemaModule,
15
+ authBackendModule,
16
+ workflowBackendModule,
17
+ notificationBackendModule,
18
+ postsBackendModule,
19
+ ] as const);