Skip to content

Commit

Permalink
fix(node): resolved mismatched dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
flamingquaks committed May 14, 2024
1 parent b79f6ca commit e359151
Show file tree
Hide file tree
Showing 5 changed files with 18,003 additions and 13,336 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
"sourceType": "commonjs"
},
"plugins": [
"react"
Expand Down
3 changes: 1 addition & 2 deletions lib/newsletter-generator/index.email-generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import {
import { S3Client } from '@aws-sdk/client-s3'
import middy from '@middy/core'
import { v4 as uuidv4 } from 'uuid'
// Note: Requires local path rather than shared path to bundle deps correctly
import NewsletterEmail from '../shared/email-generator/emails/newsletter'
import { AnthropicBedrock } from '@anthropic-ai/bedrock-sdk'
import { render } from '@react-email/render'
Expand All @@ -31,7 +30,7 @@ import { type ArticleData } from '../shared/prompts/types'
import { MultiSizeFormattedResponse } from '../shared/prompts/prompt-processing'
import { ArticleSummaryType, type Newsletter } from '../shared/api/API'
import { type NewsletterStyle } from '../shared/common/newsletter-style'
import { generateNewsletterJSON } from 'lib/shared/email-generator/newsletter-json-data'
import { generateNewsletterJSON } from '../shared/email-generator/newsletter-json-data'

const SERVICE_NAME = 'email-generator'

Expand Down
2 changes: 1 addition & 1 deletion lib/newsletter-generator/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import { CfnScheduleGroup } from 'aws-cdk-lib/aws-scheduler'
import { Construct } from 'constructs'
import { PinpointApp } from './pinpoint-app'
import { type IUserPool } from 'aws-cdk-lib/aws-cognito'
import { type UIConfig } from 'lib/shared'
import { type UIConfig } from '../shared'
import { NagSuppressions } from 'cdk-nag'

interface NewsletterGeneratorProps {
Expand Down
Loading

0 comments on commit e359151

Please sign in to comment.