Skip to content

Commit

Permalink
fix: imports
Browse files Browse the repository at this point in the history
  • Loading branch information
ThibaultRuby committed Aug 11, 2021
1 parent d071893 commit 95c5595
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 29 deletions.
4 changes: 2 additions & 2 deletions core/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@fluid-ses/core",
"name": "fluid-ses-core",
"version": "0.0.1",
"description": "Fluid SES core",
"repository": "https://github.com/neoxia/fluid-ses",
Expand All @@ -19,7 +19,7 @@
},
"dependencies": {
"@aws-sdk/client-ses": "^3.14.0",
"@fluid-ses/templating": "0.0.1",
"fluid-ses-templating": "0.0.1",
"nodemailer": "^6.6.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion core/src/fluid-ses.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {SES} from '@aws-sdk/client-ses';
import {createTransport, SentMessageInfo, Transporter} from 'nodemailer';
import {CustomAttachment, IFluidSESConstructorOptions, IFluidSESMailOptions} from './types';
import {CustomTemplatingOptions, ITemplateEngine, TemplateEngine} from '@fluid-ses/templating';
import {CustomTemplatingOptions, ITemplateEngine, TemplateEngine} from 'fluid-ses-templating';
import {MailerError, MissingOptionsError, TemplateEngineError} from './core-errors';
import Mail, {Address} from 'nodemailer/lib/mailer';

Expand Down
2 changes: 1 addition & 1 deletion core/src/types.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Mail, {Address, Attachment} from 'nodemailer/lib/mailer';
import {CustomTemplatingOptions, ITemplateEngine} from '@fluid-ses/templating';
import {CustomTemplatingOptions, ITemplateEngine} from 'fluid-ses-templating';

export interface IFluidSESConstructorOptions {
defaultSourceMail?: string;
Expand Down
2 changes: 1 addition & 1 deletion core/test/send-mail.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {FluidSes} from '../src';
import {SinonStub, stub} from 'sinon';
import Mail, {Attachment} from 'nodemailer/lib/mailer';
import {CustomTemplatingOptions, TemplateEngine} from '@fluid-ses/templating';
import {CustomTemplatingOptions, TemplateEngine} from 'fluid-ses-templating';

describe('Fluid ses core tests', () => {
const region = 'eu-west-1';
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
"license": "MIT",
"scripts": {
"test:all": "yarn workspaces foreach --topological-dev run test",
"test:templating": "yarn workspace @fluid-ses/templating run test",
"test:core": "yarn workspace @fluid-ses/core run test",
"test:templating": "yarn workspace fluid-ses-templating run test",
"test:core": "yarn workspace fluid-ses-core run test",
"build:all": "yarn workspaces foreach --topological-dev run build",
"build:templating": "yarn workspace @fluid-ses/templating run build",
"build:core": "yarn workspace @fluid-ses/core run build",
"build:templating": "yarn workspace fluid-ses-templating run build",
"build:core": "yarn workspace fluid-ses-core run build",
"lint": "yarn run eslint '{core,templating}/{src,test}/*.ts'",
"lint-fix": "yarn run eslint --fix '{core,templating}/{src,test}/*.ts'"
},
Expand Down
2 changes: 1 addition & 1 deletion templating/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@fluid-ses/templating",
"name": "fluid-ses-templating",
"version": "0.0.1",
"description": "Templating engine and utils used by Fluid SES",
"repository": "https://github.com/neoxia/fluid-ses",
Expand Down
38 changes: 19 additions & 19 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1110,25 +1110,6 @@ __metadata:
languageName: node
linkType: hard

"@fluid-ses/core@workspace:core":
version: 0.0.0-use.local
resolution: "@fluid-ses/core@workspace:core"
dependencies:
"@aws-sdk/client-ses": ^3.14.0
"@fluid-ses/templating": "workspace:*"
"@types/nodemailer": ^6.4.1
"@types/sinon": ^10.0.2
nodemailer: ^6.6.0
sinon: ^10.0.1
languageName: unknown
linkType: soft

"@fluid-ses/templating@workspace:*, @fluid-ses/templating@workspace:templating":
version: 0.0.0-use.local
resolution: "@fluid-ses/templating@workspace:templating"
languageName: unknown
linkType: soft

"@istanbuljs/load-nyc-config@npm:^1.0.0":
version: 1.1.0
resolution: "@istanbuljs/load-nyc-config@npm:1.1.0"
Expand Down Expand Up @@ -3358,6 +3339,25 @@ __metadata:
languageName: node
linkType: hard

"fluid-ses-core@workspace:core":
version: 0.0.0-use.local
resolution: "fluid-ses-core@workspace:core"
dependencies:
"@aws-sdk/client-ses": ^3.14.0
"@types/nodemailer": ^6.4.1
"@types/sinon": ^10.0.2
fluid-ses-templating: 0.0.1
nodemailer: ^6.6.0
sinon: ^10.0.1
languageName: unknown
linkType: soft

"fluid-ses-templating@0.0.1, fluid-ses-templating@workspace:templating":
version: 0.0.0-use.local
resolution: "fluid-ses-templating@workspace:templating"
languageName: unknown
linkType: soft

"fluid-ses@workspace:.":
version: 0.0.0-use.local
resolution: "fluid-ses@workspace:."
Expand Down

0 comments on commit 95c5595

Please sign in to comment.