Skip to content

Commit c1ebc22

Browse files
committed
Release vintasend-sendgrid@0.11.0
1 parent ca06bd7 commit c1ebc22

9 files changed

Lines changed: 968 additions & 940 deletions

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npm run lint && npm run format

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ See [`vintasend-aws-s3-attachments`](../vintasend-aws-s3-attachments) for a comp
220220
- **Deduplication**: Implement `findFileByChecksum()` to prevent storing duplicate files
221221
- **Presigned URLs**: Generate temporary URLs for secure file access without exposing credentials
222222
- **Streaming**: Support streaming for large files to avoid memory issues
223-
- **Type Safety**: All methods use strict TypeScript types from `vintasend/dist/types/attachment`
223+
- **Type Safety**: All methods use strict TypeScript types from `vintasend`
224224

225225
## Other Components
226226

biome.json

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,26 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.4.5/schema.json",
33
"vcs": {
44
"enabled": false,
55
"clientKind": "git",
66
"useIgnoreFile": false
77
},
88
"files": {
99
"ignoreUnknown": false,
10-
"ignore": []
10+
"includes": ["src/**/*.{ts,tsx}", "!dist", "!node_modules"]
1111
},
1212
"formatter": {
1313
"enabled": true,
1414
"indentStyle": "space",
1515
"indentWidth": 2,
1616
"lineWidth": 100
1717
},
18-
"organizeImports": {
19-
"enabled": true
18+
"assist": {
19+
"actions": {
20+
"source": {
21+
"organizeImports": "on"
22+
}
23+
}
2024
},
2125
"linter": {
2226
"enabled": true,
@@ -30,5 +34,22 @@
3034
"semicolons": "always",
3135
"trailingCommas": "all"
3236
}
33-
}
37+
},
38+
"overrides": [
39+
{
40+
"includes": [
41+
"**/*.test.ts",
42+
"**/*.test.tsx",
43+
"**/__tests__/**/*.ts",
44+
"**/__tests__/**/*.tsx"
45+
],
46+
"linter": {
47+
"rules": {
48+
"suspicious": {
49+
"noExplicitAny": "off"
50+
}
51+
}
52+
}
53+
}
54+
]
3455
}

package.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
{
22
"name": "vintasend-sendgrid",
3-
"version": "0.10.0",
3+
"version": "0.11.0",
44
"description": "",
55
"main": "dist/index.js",
66
"scripts": {
77
"build": "tsc",
88
"prepublishOnly": "npm run build",
9+
"prepare": "husky",
10+
"lint": "biome check .",
11+
"format": "biome check --write .",
912
"test": "vitest run",
1013
"test:watch": "vitest",
1114
"test:coverage": "vitest run --coverage"
@@ -16,11 +19,13 @@
1619
"author": "Hugo Bessa",
1720
"license": "MIT",
1821
"peerDependencies": {
19-
"vintasend": "^0.10.0",
22+
"vintasend": "^0.11.0",
2023
"@sendgrid/mail": "^8.1.6"
2124
},
2225
"devDependencies": {
26+
"@biomejs/biome": "^2.4.5",
2327
"@vitest/coverage-v8": "4.0.18",
28+
"husky": "^9.1.7",
2429
"typescript": "^5.9.3",
2530
"vitest": "4.0.18",
2631
"vintasend": "file:../../.."

0 commit comments

Comments
 (0)