Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: adonisjs/mail
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v8.2.0
Choose a base ref
...
head repository: adonisjs/mail
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v8.2.1
Choose a head ref
  • 3 commits
  • 3 files changed
  • 2 contributors

Commits on Aug 12, 2023

  1. Copy the full SHA
    8eaa20c View commit details
  2. Copy the full SHA
    cad8a3e View commit details
  3. Copy the full SHA
    68addd6 View commit details
Showing with 4 additions and 5 deletions.
  1. +3 −2 instructions.ts
  2. +1 −1 package.json
  3. +0 −2 test/message.spec.ts
5 changes: 3 additions & 2 deletions instructions.ts
Original file line number Diff line number Diff line change
@@ -126,7 +126,8 @@ export default async function instructions(
/**
* Create the mail contracts file
*/
const contractsPath = app.makePath('contracts/mail.ts')
const contractsDir = app.directoriesMap.get('contracts') || 'contracts'
const contractsPath = app.makePath(`${contractsDir}/mail.ts`)
const mailContract = new sink.files.MustacheFile(
projectRoot,
contractsPath,
@@ -141,7 +142,7 @@ export default async function instructions(
sparkpost: mailDrivers.includes('sparkpost'),
})
.commit()
sink.logger.action('create').succeeded('contracts/mail.ts')
sink.logger.action('create').succeeded(`${contractsDir}/mail.ts`)

/**
* Setup .env file
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@adonisjs/mail",
"version": "8.2.0",
"version": "8.2.1",
"description": "Mail provider for adonis framework and has support for all common mailing services to send emails",
"main": "build/providers/MailProvider.js",
"exports": {
2 changes: 0 additions & 2 deletions test/message.spec.ts
Original file line number Diff line number Diff line change
@@ -299,9 +299,7 @@ test.group('Message', () => {
(calendar) => {
calendar.createEvent({
summary: 'Discuss tech',
// @ts-expect-error See https://github.com/sebbo2002/ical-generator/issues/485
start: DateTime.local().plus({ minutes: 30 }),
// @ts-expect-error See https://github.com/sebbo2002/ical-generator/issues/485
end: DateTime.local().plus({ minutes: 60 }),
url: 'http://adonisjs.com/meeting/1',
})