@crowi/plugin-mail-resend 0.1.0-alpha.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/LICENSE +21 -0
- package/dist/index.d.mts +15 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +87 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +62 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +42 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2013 Sotaro KARASAWA <sotaro.k@gmail.com>
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Resend } from 'resend';
|
|
2
|
+
import { MailSender, CrowiPlugin } from '@crowi/plugin-api';
|
|
3
|
+
|
|
4
|
+
interface ResendDriverState {
|
|
5
|
+
client: Resend | null;
|
|
6
|
+
}
|
|
7
|
+
declare const plugin: CrowiPlugin;
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Build the mail sender. Reads `state.client` once per send so a
|
|
11
|
+
* concurrent reconfigure swaps the key only for subsequent sends.
|
|
12
|
+
*/
|
|
13
|
+
declare function createResendSender(driverState: ResendDriverState): MailSender;
|
|
14
|
+
|
|
15
|
+
export { type ResendDriverState, createResendSender, plugin as default };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Resend } from 'resend';
|
|
2
|
+
import { MailSender, CrowiPlugin } from '@crowi/plugin-api';
|
|
3
|
+
|
|
4
|
+
interface ResendDriverState {
|
|
5
|
+
client: Resend | null;
|
|
6
|
+
}
|
|
7
|
+
declare const plugin: CrowiPlugin;
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Build the mail sender. Reads `state.client` once per send so a
|
|
11
|
+
* concurrent reconfigure swaps the key only for subsequent sends.
|
|
12
|
+
*/
|
|
13
|
+
declare function createResendSender(driverState: ResendDriverState): MailSender;
|
|
14
|
+
|
|
15
|
+
export { type ResendDriverState, createResendSender, plugin as default };
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/index.ts
|
|
21
|
+
var index_exports = {};
|
|
22
|
+
__export(index_exports, {
|
|
23
|
+
createResendSender: () => createResendSender,
|
|
24
|
+
default: () => index_default
|
|
25
|
+
});
|
|
26
|
+
module.exports = __toCommonJS(index_exports);
|
|
27
|
+
var import_resend = require("resend");
|
|
28
|
+
var import_v3 = require("zod/v3");
|
|
29
|
+
var ResendConfigSchema = import_v3.z.object({
|
|
30
|
+
/** Resend API key (https://resend.com/api-keys). Empty disables the sender. */
|
|
31
|
+
apiKey: import_v3.z.string().trim().describe("@sensitive Resend API key").default("")
|
|
32
|
+
}).strict();
|
|
33
|
+
var state = {
|
|
34
|
+
client: null
|
|
35
|
+
};
|
|
36
|
+
var plugin = {
|
|
37
|
+
name: "@crowi/plugin-mail-resend",
|
|
38
|
+
version: "0.1.0-dev",
|
|
39
|
+
configSchema: ResendConfigSchema,
|
|
40
|
+
adminPlacement: {
|
|
41
|
+
label: "Resend",
|
|
42
|
+
icon: "mail"
|
|
43
|
+
// section omitted: derived from registerMailSender → 'mail'
|
|
44
|
+
},
|
|
45
|
+
registerMailSender: (registry, ctx) => {
|
|
46
|
+
applyConfigToState(ctx, state);
|
|
47
|
+
registry.register("resend", createResendSender(state));
|
|
48
|
+
ctx.log.debug("registered resend mail sender");
|
|
49
|
+
},
|
|
50
|
+
reconfigure: (ctx) => {
|
|
51
|
+
applyConfigToState(ctx, state);
|
|
52
|
+
ctx.log.debug("reconfigured resend mail sender");
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
var index_default = plugin;
|
|
56
|
+
function applyConfigToState(ctx, target) {
|
|
57
|
+
const config = ctx.config();
|
|
58
|
+
target.client = config.apiKey ? new import_resend.Resend(config.apiKey) : null;
|
|
59
|
+
}
|
|
60
|
+
function createResendSender(driverState) {
|
|
61
|
+
return {
|
|
62
|
+
async send(message) {
|
|
63
|
+
const client = driverState.client;
|
|
64
|
+
if (!client) {
|
|
65
|
+
throw new Error("@crowi/plugin-mail-resend: apiKey is not configured.");
|
|
66
|
+
}
|
|
67
|
+
const { error } = await client.emails.send({
|
|
68
|
+
from: message.from,
|
|
69
|
+
to: message.to,
|
|
70
|
+
subject: message.subject,
|
|
71
|
+
text: message.text,
|
|
72
|
+
html: message.html,
|
|
73
|
+
replyTo: message.replyTo,
|
|
74
|
+
cc: message.cc,
|
|
75
|
+
bcc: message.bcc
|
|
76
|
+
});
|
|
77
|
+
if (error) {
|
|
78
|
+
throw new Error(`@crowi/plugin-mail-resend: ${error.name}: ${error.message}`);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
84
|
+
0 && (module.exports = {
|
|
85
|
+
createResendSender
|
|
86
|
+
});
|
|
87
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["import { Resend } from 'resend';\nimport { z } from 'zod/v3';\nimport type { CrowiPlugin, EmailMessage, MailSender, PluginContext } from '@crowi/plugin-api';\n\nconst ResendConfigSchema = z\n .object({\n /** Resend API key (https://resend.com/api-keys). Empty disables the sender. */\n apiKey: z.string().trim().describe('@sensitive Resend API key').default(''),\n })\n .strict();\n\ntype ResendConfig = z.infer<typeof ResendConfigSchema>;\n\nexport interface ResendDriverState {\n client: Resend | null;\n}\n\nconst state: ResendDriverState = {\n client: null,\n};\n\nconst plugin: CrowiPlugin = {\n name: '@crowi/plugin-mail-resend',\n version: '0.1.0-dev',\n configSchema: ResendConfigSchema,\n adminPlacement: {\n label: 'Resend',\n icon: 'mail',\n // section omitted: derived from registerMailSender → 'mail'\n },\n\n registerMailSender: (registry, ctx) => {\n applyConfigToState(ctx, state);\n registry.register('resend', createResendSender(state));\n ctx.log.debug('registered resend mail sender');\n },\n\n reconfigure: (ctx) => {\n applyConfigToState(ctx, state);\n ctx.log.debug('reconfigured resend mail sender');\n },\n};\n\nexport default plugin;\n\nfunction applyConfigToState(ctx: PluginContext, target: ResendDriverState): void {\n const config = ctx.config<ResendConfig>();\n target.client = config.apiKey ? new Resend(config.apiKey) : null;\n}\n\n/**\n * Build the mail sender. Reads `state.client` once per send so a\n * concurrent reconfigure swaps the key only for subsequent sends.\n */\nexport function createResendSender(driverState: ResendDriverState): MailSender {\n return {\n async send(message: EmailMessage) {\n const client = driverState.client;\n if (!client) {\n throw new Error('@crowi/plugin-mail-resend: apiKey is not configured.');\n }\n const { error } = await client.emails.send({\n from: message.from,\n to: message.to,\n subject: message.subject,\n text: message.text,\n html: message.html,\n replyTo: message.replyTo,\n cc: message.cc,\n bcc: message.bcc,\n });\n if (error) {\n throw new Error(`@crowi/plugin-mail-resend: ${error.name}: ${error.message}`);\n }\n },\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAAuB;AACvB,gBAAkB;AAGlB,IAAM,qBAAqB,YACxB,OAAO;AAAA;AAAA,EAEN,QAAQ,YAAE,OAAO,EAAE,KAAK,EAAE,SAAS,2BAA2B,EAAE,QAAQ,EAAE;AAC5E,CAAC,EACA,OAAO;AAQV,IAAM,QAA2B;AAAA,EAC/B,QAAQ;AACV;AAEA,IAAM,SAAsB;AAAA,EAC1B,MAAM;AAAA,EACN,SAAS;AAAA,EACT,cAAc;AAAA,EACd,gBAAgB;AAAA,IACd,OAAO;AAAA,IACP,MAAM;AAAA;AAAA,EAER;AAAA,EAEA,oBAAoB,CAAC,UAAU,QAAQ;AACrC,uBAAmB,KAAK,KAAK;AAC7B,aAAS,SAAS,UAAU,mBAAmB,KAAK,CAAC;AACrD,QAAI,IAAI,MAAM,+BAA+B;AAAA,EAC/C;AAAA,EAEA,aAAa,CAAC,QAAQ;AACpB,uBAAmB,KAAK,KAAK;AAC7B,QAAI,IAAI,MAAM,iCAAiC;AAAA,EACjD;AACF;AAEA,IAAO,gBAAQ;AAEf,SAAS,mBAAmB,KAAoB,QAAiC;AAC/E,QAAM,SAAS,IAAI,OAAqB;AACxC,SAAO,SAAS,OAAO,SAAS,IAAI,qBAAO,OAAO,MAAM,IAAI;AAC9D;AAMO,SAAS,mBAAmB,aAA4C;AAC7E,SAAO;AAAA,IACL,MAAM,KAAK,SAAuB;AAChC,YAAM,SAAS,YAAY;AAC3B,UAAI,CAAC,QAAQ;AACX,cAAM,IAAI,MAAM,sDAAsD;AAAA,MACxE;AACA,YAAM,EAAE,MAAM,IAAI,MAAM,OAAO,OAAO,KAAK;AAAA,QACzC,MAAM,QAAQ;AAAA,QACd,IAAI,QAAQ;AAAA,QACZ,SAAS,QAAQ;AAAA,QACjB,MAAM,QAAQ;AAAA,QACd,MAAM,QAAQ;AAAA,QACd,SAAS,QAAQ;AAAA,QACjB,IAAI,QAAQ;AAAA,QACZ,KAAK,QAAQ;AAAA,MACf,CAAC;AACD,UAAI,OAAO;AACT,cAAM,IAAI,MAAM,8BAA8B,MAAM,IAAI,KAAK,MAAM,OAAO,EAAE;AAAA,MAC9E;AAAA,IACF;AAAA,EACF;AACF;","names":[]}
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
// src/index.ts
|
|
2
|
+
import { Resend } from "resend";
|
|
3
|
+
import { z } from "zod/v3";
|
|
4
|
+
var ResendConfigSchema = z.object({
|
|
5
|
+
/** Resend API key (https://resend.com/api-keys). Empty disables the sender. */
|
|
6
|
+
apiKey: z.string().trim().describe("@sensitive Resend API key").default("")
|
|
7
|
+
}).strict();
|
|
8
|
+
var state = {
|
|
9
|
+
client: null
|
|
10
|
+
};
|
|
11
|
+
var plugin = {
|
|
12
|
+
name: "@crowi/plugin-mail-resend",
|
|
13
|
+
version: "0.1.0-dev",
|
|
14
|
+
configSchema: ResendConfigSchema,
|
|
15
|
+
adminPlacement: {
|
|
16
|
+
label: "Resend",
|
|
17
|
+
icon: "mail"
|
|
18
|
+
// section omitted: derived from registerMailSender → 'mail'
|
|
19
|
+
},
|
|
20
|
+
registerMailSender: (registry, ctx) => {
|
|
21
|
+
applyConfigToState(ctx, state);
|
|
22
|
+
registry.register("resend", createResendSender(state));
|
|
23
|
+
ctx.log.debug("registered resend mail sender");
|
|
24
|
+
},
|
|
25
|
+
reconfigure: (ctx) => {
|
|
26
|
+
applyConfigToState(ctx, state);
|
|
27
|
+
ctx.log.debug("reconfigured resend mail sender");
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
var index_default = plugin;
|
|
31
|
+
function applyConfigToState(ctx, target) {
|
|
32
|
+
const config = ctx.config();
|
|
33
|
+
target.client = config.apiKey ? new Resend(config.apiKey) : null;
|
|
34
|
+
}
|
|
35
|
+
function createResendSender(driverState) {
|
|
36
|
+
return {
|
|
37
|
+
async send(message) {
|
|
38
|
+
const client = driverState.client;
|
|
39
|
+
if (!client) {
|
|
40
|
+
throw new Error("@crowi/plugin-mail-resend: apiKey is not configured.");
|
|
41
|
+
}
|
|
42
|
+
const { error } = await client.emails.send({
|
|
43
|
+
from: message.from,
|
|
44
|
+
to: message.to,
|
|
45
|
+
subject: message.subject,
|
|
46
|
+
text: message.text,
|
|
47
|
+
html: message.html,
|
|
48
|
+
replyTo: message.replyTo,
|
|
49
|
+
cc: message.cc,
|
|
50
|
+
bcc: message.bcc
|
|
51
|
+
});
|
|
52
|
+
if (error) {
|
|
53
|
+
throw new Error(`@crowi/plugin-mail-resend: ${error.name}: ${error.message}`);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
export {
|
|
59
|
+
createResendSender,
|
|
60
|
+
index_default as default
|
|
61
|
+
};
|
|
62
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["import { Resend } from 'resend';\nimport { z } from 'zod/v3';\nimport type { CrowiPlugin, EmailMessage, MailSender, PluginContext } from '@crowi/plugin-api';\n\nconst ResendConfigSchema = z\n .object({\n /** Resend API key (https://resend.com/api-keys). Empty disables the sender. */\n apiKey: z.string().trim().describe('@sensitive Resend API key').default(''),\n })\n .strict();\n\ntype ResendConfig = z.infer<typeof ResendConfigSchema>;\n\nexport interface ResendDriverState {\n client: Resend | null;\n}\n\nconst state: ResendDriverState = {\n client: null,\n};\n\nconst plugin: CrowiPlugin = {\n name: '@crowi/plugin-mail-resend',\n version: '0.1.0-dev',\n configSchema: ResendConfigSchema,\n adminPlacement: {\n label: 'Resend',\n icon: 'mail',\n // section omitted: derived from registerMailSender → 'mail'\n },\n\n registerMailSender: (registry, ctx) => {\n applyConfigToState(ctx, state);\n registry.register('resend', createResendSender(state));\n ctx.log.debug('registered resend mail sender');\n },\n\n reconfigure: (ctx) => {\n applyConfigToState(ctx, state);\n ctx.log.debug('reconfigured resend mail sender');\n },\n};\n\nexport default plugin;\n\nfunction applyConfigToState(ctx: PluginContext, target: ResendDriverState): void {\n const config = ctx.config<ResendConfig>();\n target.client = config.apiKey ? new Resend(config.apiKey) : null;\n}\n\n/**\n * Build the mail sender. Reads `state.client` once per send so a\n * concurrent reconfigure swaps the key only for subsequent sends.\n */\nexport function createResendSender(driverState: ResendDriverState): MailSender {\n return {\n async send(message: EmailMessage) {\n const client = driverState.client;\n if (!client) {\n throw new Error('@crowi/plugin-mail-resend: apiKey is not configured.');\n }\n const { error } = await client.emails.send({\n from: message.from,\n to: message.to,\n subject: message.subject,\n text: message.text,\n html: message.html,\n replyTo: message.replyTo,\n cc: message.cc,\n bcc: message.bcc,\n });\n if (error) {\n throw new Error(`@crowi/plugin-mail-resend: ${error.name}: ${error.message}`);\n }\n },\n };\n}\n"],"mappings":";AAAA,SAAS,cAAc;AACvB,SAAS,SAAS;AAGlB,IAAM,qBAAqB,EACxB,OAAO;AAAA;AAAA,EAEN,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,2BAA2B,EAAE,QAAQ,EAAE;AAC5E,CAAC,EACA,OAAO;AAQV,IAAM,QAA2B;AAAA,EAC/B,QAAQ;AACV;AAEA,IAAM,SAAsB;AAAA,EAC1B,MAAM;AAAA,EACN,SAAS;AAAA,EACT,cAAc;AAAA,EACd,gBAAgB;AAAA,IACd,OAAO;AAAA,IACP,MAAM;AAAA;AAAA,EAER;AAAA,EAEA,oBAAoB,CAAC,UAAU,QAAQ;AACrC,uBAAmB,KAAK,KAAK;AAC7B,aAAS,SAAS,UAAU,mBAAmB,KAAK,CAAC;AACrD,QAAI,IAAI,MAAM,+BAA+B;AAAA,EAC/C;AAAA,EAEA,aAAa,CAAC,QAAQ;AACpB,uBAAmB,KAAK,KAAK;AAC7B,QAAI,IAAI,MAAM,iCAAiC;AAAA,EACjD;AACF;AAEA,IAAO,gBAAQ;AAEf,SAAS,mBAAmB,KAAoB,QAAiC;AAC/E,QAAM,SAAS,IAAI,OAAqB;AACxC,SAAO,SAAS,OAAO,SAAS,IAAI,OAAO,OAAO,MAAM,IAAI;AAC9D;AAMO,SAAS,mBAAmB,aAA4C;AAC7E,SAAO;AAAA,IACL,MAAM,KAAK,SAAuB;AAChC,YAAM,SAAS,YAAY;AAC3B,UAAI,CAAC,QAAQ;AACX,cAAM,IAAI,MAAM,sDAAsD;AAAA,MACxE;AACA,YAAM,EAAE,MAAM,IAAI,MAAM,OAAO,OAAO,KAAK;AAAA,QACzC,MAAM,QAAQ;AAAA,QACd,IAAI,QAAQ;AAAA,QACZ,SAAS,QAAQ;AAAA,QACjB,MAAM,QAAQ;AAAA,QACd,MAAM,QAAQ;AAAA,QACd,SAAS,QAAQ;AAAA,QACjB,IAAI,QAAQ;AAAA,QACZ,KAAK,QAAQ;AAAA,MACf,CAAC;AACD,UAAI,OAAO;AACT,cAAM,IAAI,MAAM,8BAA8B,MAAM,IAAI,KAAK,MAAM,OAAO,EAAE;AAAA,MAC9E;AAAA,IACF;AAAA,EACF;AACF;","names":[]}
|
package/package.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@crowi/plugin-mail-resend",
|
|
3
|
+
"version": "0.1.0-alpha.0",
|
|
4
|
+
"description": "Resend mail sender for Crowi 2.0. Delivers core-assembled email via the Resend HTTP API.",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.mjs",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.mjs",
|
|
12
|
+
"require": "./dist/index.js"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist",
|
|
17
|
+
"README.md"
|
|
18
|
+
],
|
|
19
|
+
"publishConfig": {
|
|
20
|
+
"access": "public"
|
|
21
|
+
},
|
|
22
|
+
"peerDependencies": {
|
|
23
|
+
"zod": "^4.4.3"
|
|
24
|
+
},
|
|
25
|
+
"dependencies": {
|
|
26
|
+
"resend": "^6.12.4",
|
|
27
|
+
"@crowi/plugin-api": "^0.1.0-alpha.0"
|
|
28
|
+
},
|
|
29
|
+
"devDependencies": {
|
|
30
|
+
"@types/node": "^24",
|
|
31
|
+
"tsup": "^8.3.5",
|
|
32
|
+
"typescript": "^5.8.3",
|
|
33
|
+
"zod": "^4.4.3",
|
|
34
|
+
"@crowi/tsconfig": "0.1.0-alpha.0",
|
|
35
|
+
"@crowi/plugin-api": "0.1.0-alpha.0"
|
|
36
|
+
},
|
|
37
|
+
"scripts": {
|
|
38
|
+
"build": "tsup",
|
|
39
|
+
"dev": "tsup --watch --no-clean",
|
|
40
|
+
"type-check": "tsc --noEmit"
|
|
41
|
+
}
|
|
42
|
+
}
|