@goweekdays/core 0.0.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.
@@ -0,0 +1,13 @@
1
+ <div style="font-family: Helvetica,Arial,sans-serif;min-width:1000px;overflow:auto;line-height:2"></div>
2
+ <div style="margin:50px auto;width:70%;padding:20px 0">
3
+ <div
4
+ style="border-bottom:1px solid #eee; font-size:1.4em;color: #00466a;text-decoration:none;font-weight:600;text-align: center;">
5
+ User Invitation
6
+ </div>
7
+ <p>You have been invited to join our platform. Please use the link below to complete your registration. The link is valid for {{validity}}.</p>
8
+ <div>
9
+ <a href="{{link}}" target="_blank">{{link}}</a>
10
+ </div>
11
+ <p>If you did not expect this email, please ignore it.</p>
12
+ </div>
13
+ </div>
package/package.json ADDED
@@ -0,0 +1,40 @@
1
+ {
2
+ "name": "@goweekdays/core",
3
+ "license": "MIT",
4
+ "version": "0.0.1",
5
+ "main": "dist/index.js",
6
+ "module": "dist/index.mjs",
7
+ "types": "dist/index.d.ts",
8
+ "scripts": {
9
+ "build": "tsup src/index.ts --format cjs,esm --dts && cp -r src/public dist",
10
+ "release": "yarn run build && changeset publish",
11
+ "lint": "tsc"
12
+ },
13
+ "devDependencies": {
14
+ "@changesets/cli": "^2.26.0",
15
+ "@types/bcrypt": "^5.0.2",
16
+ "@types/express": "^5.0.0",
17
+ "@types/jsonwebtoken": "^9.0.6",
18
+ "@types/multer": "^1.4.12",
19
+ "@types/node-cron": "^3.0.11",
20
+ "@types/nodemailer": "^6.4.15",
21
+ "tsup": "^6.5.0",
22
+ "typescript": "^4.9.4"
23
+ },
24
+ "dependencies": {
25
+ "@aws-sdk/client-s3": "^3.666.0",
26
+ "@goweekdays/utils": "^1.0.12",
27
+ "bcrypt": "^5.1.1",
28
+ "dotenv": "^16.4.5",
29
+ "express": "^4.21.2",
30
+ "handlebars": "^4.7.8",
31
+ "joi": "^17.13.3",
32
+ "jsonwebtoken": "^9.0.2",
33
+ "mongodb": "^6.10.0",
34
+ "multer": "^1.4.5-lts.1",
35
+ "node-cron": "^3.0.3",
36
+ "nodemailer": "^6.9.14",
37
+ "redis": "^4.6.15",
38
+ "winston": "^3.13.0"
39
+ }
40
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,16 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ES6",
4
+ "module": "ES6",
5
+ "declaration": true,
6
+ "outDir": "./dist",
7
+ "strict": true,
8
+ "moduleResolution": "node",
9
+ "esModuleInterop": true,
10
+ "skipLibCheck": true,
11
+ "resolveJsonModule": true
12
+ },
13
+ "include": [
14
+ "src"
15
+ ]
16
+ }
package/tsup.config.ts ADDED
@@ -0,0 +1,10 @@
1
+ import { defineConfig } from 'tsup';
2
+
3
+ export default defineConfig({
4
+ entry: ['src/index.ts'],
5
+ format: ['cjs', 'esm'],
6
+ dts: true,
7
+ splitting: false,
8
+ sourcemap: true,
9
+ clean: true,
10
+ });