Skip to content

Commit 83df07c

Browse files
committed
fix: use new package locations
1 parent 6fa7e7c commit 83df07c

12 files changed

+135
-196
lines changed

cdk/TestApp.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as CDK from 'aws-cdk-lib'
2-
import { AppProps } from 'aws-cdk-lib'
3-
import { PackedLambda } from './packLambda.js'
2+
import type { AppProps } from 'aws-cdk-lib'
3+
import type { PackedLambda } from './packLambda.js'
44
import { WebhookReceiverStack } from './WebhookReceiverStack.js'
55

66
export class TestApp extends CDK.App {

cdk/WebhookReceiverStack.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import type { App } from 'aws-cdk-lib'
12
import {
2-
App,
33
CfnOutput,
44
Duration,
55
aws_iam as IAM,
@@ -9,7 +9,7 @@ import {
99
aws_sqs as SQS,
1010
Stack,
1111
} from 'aws-cdk-lib'
12-
import { PackedLambda } from './packLambda.js'
12+
import type { PackedLambda } from './packLambda.js'
1313

1414
/**
1515
* This is the CloudFormation stack which contains the webhook receiver resources.

features/console-reporter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { consoleReporter } from '@nordicsemiconductor/bdd-markdown'
1+
import { consoleReporter } from '@bifravst/bdd-markdown'
22

33
const chunks: string[] = []
44

features/markdown-reporter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { markdownReporter } from '@nordicsemiconductor/bdd-markdown'
1+
import { markdownReporter } from '@bifravst/bdd-markdown'
22

33
process.stdin.on('data', async (data) => {
44
console.log(await markdownReporter(JSON.parse(data.toString())))

features/run-features.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { CloudFormationClient } from '@aws-sdk/client-cloudformation'
2-
import { runFolder } from '@nordicsemiconductor/bdd-markdown'
3-
import { stackOutput } from '@nordicsemiconductor/cloudformation-helpers'
2+
import { runFolder } from '@bifravst/bdd-markdown'
3+
import { stackOutput } from '@bifravst/cloudformation-helpers'
44
import * as path from 'path'
55
import { stackBaseName } from '../cdk/stackBaseName.js'
66
import { steps as restSteps } from './steps/rest-steps.js'

features/steps/rest-steps.ts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
import {
2-
codeBlockOrThrow,
3-
StepRunner,
4-
regExpMatchedStep,
5-
} from '@nordicsemiconductor/bdd-markdown'
1+
import type { StepRunner } from '@bifravst/bdd-markdown'
2+
import { codeBlockOrThrow, regExpMatchedStep } from '@bifravst/bdd-markdown'
63
import assert from 'assert/strict'
7-
import fetch, { Response } from 'node-fetch'
8-
import { World } from '../run-features.js'
4+
import type { Response } from 'node-fetch'
5+
import fetch from 'node-fetch'
6+
import type { World } from '../run-features.js'
97
import { Type } from '@sinclair/typebox'
108

119
export const steps = (): StepRunner<World>[] => {

features/steps/webhook-receiver.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1+
import type { QueueAttributeName } from '@aws-sdk/client-sqs'
12
import {
23
DeleteMessageCommand,
3-
QueueAttributeName,
44
ReceiveMessageCommand,
55
SQSClient,
66
} from '@aws-sdk/client-sqs'
7-
import { Logger } from '@nordicsemiconductor/bdd-markdown'
7+
import type { Logger } from '@bifravst/bdd-markdown'
88

99
type WebhookRequest = {
1010
headers: { [key: string]: string }

features/steps/webhook-steps.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1-
import {
2-
codeBlockOrThrow,
3-
regExpMatchedStep,
4-
StepRunner,
5-
} from '@nordicsemiconductor/bdd-markdown'
1+
import type { StepRunner } from '@bifravst/bdd-markdown'
2+
import { codeBlockOrThrow, regExpMatchedStep } from '@bifravst/bdd-markdown'
63
import assert from 'assert/strict'
7-
import { World } from '../run-features.js'
4+
import type { World } from '../run-features.js'
85
import { WebhookReceiver } from './webhook-receiver.js'
96
import { Type } from '@sinclair/typebox'
107

features/traceToMermaid.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
import {
2-
GetTraceGraphCommand,
3-
GetTraceGraphCommandOutput,
4-
XRayClient,
5-
} from '@aws-sdk/client-xray'
6-
import { LogLevel, SuiteResult } from '@nordicsemiconductor/bdd-markdown'
1+
import type { GetTraceGraphCommandOutput } from '@aws-sdk/client-xray'
2+
import { GetTraceGraphCommand, XRayClient } from '@aws-sdk/client-xray'
3+
import type { SuiteResult } from '@bifravst/bdd-markdown'
4+
import { LogLevel } from '@bifravst/bdd-markdown'
75
import os from 'os'
86

97
const traceToMermaid = (trace: GetTraceGraphCommandOutput): string => {

lambda/webhookReceiver.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1-
import {
2-
MessageAttributeValue,
3-
SendMessageCommand,
4-
SQSClient,
5-
} from '@aws-sdk/client-sqs'
6-
import {
1+
import type { MessageAttributeValue } from '@aws-sdk/client-sqs'
2+
import { SendMessageCommand, SQSClient } from '@aws-sdk/client-sqs'
3+
import type {
74
APIGatewayEventRequestContextV2,
85
APIGatewayProxyEventV2WithRequestContext,
96
APIGatewayProxyResultV2,

0 commit comments

Comments
 (0)