File tree Expand file tree Collapse file tree 6 files changed +7
-12
lines changed Expand file tree Collapse file tree 6 files changed +7
-12
lines changed Original file line number Diff line number Diff line change 108
108
},
109
109
"workspaces" : [
110
110
" storage/framework" ,
111
+ " storage/framework/server" ,
111
112
" storage/framework/libs/*" ,
112
113
" storage/framework/views/*" ,
113
114
" storage/framework/core/*" ,
Original file line number Diff line number Diff line change 54
54
" ../../../**/*.ts" ,
55
55
" ../../../*.d.ts" ,
56
56
" ../../../**/*.d.ts" ,
57
- " ../docs/.vitepress/*" ,
58
- " ../stack/**/*" ,
59
- " ../views/desktop/**/*" ,
60
- " ../views/desktop/*" ,
61
- " ./src/**/*.ts" ,
62
- " ../types/*" ,
63
- " ./scripts/*"
57
+ " ../docs/.vitepress/*"
64
58
],
65
59
"exclude" : [
66
60
" ../**/cdk.out" ,
Original file line number Diff line number Diff line change @@ -5,10 +5,10 @@ WORKDIR /tmp
5
5
COPY ./runtime.ts ./runtime.ts
6
6
COPY ./index.ts ./index.ts
7
7
8
- RUN bun install aws4fetch
8
+ RUN bun add aws4fetch @stacksjs/cloud
9
9
RUN bun build --compile runtime.ts --outfile bootstrap
10
- # TODO: we should not externalize @stacksjs/router here?
11
- RUN bun build --target=bun index.ts --outfile index
10
+ # TODO: remove the --external @stacksjs/cloud
11
+ RUN bun build --target=bun index.ts --outfile index --external @stacksjs/cloud
12
12
13
13
# Runtime image, includes Lambda RIC
14
14
FROM public.ecr.aws/lambda/provided:al2
Original file line number Diff line number Diff line change 6
6
"@aws-sdk/client-dynamodb" : " ^3.490.0" ,
7
7
"@aws-sdk/lib-dynamodb" : " ^3.490.0" ,
8
8
"@smithy/smithy-client" : " ^2.2.1" ,
9
- "@stacksjs/config" : " ^0.58.28" ,
10
- "@stacksjs/router" : " ^0.58.28" ,
9
+ "@stacksjs/cloud" : " ^0.58.28" ,
11
10
"aws4fetch" : " ^1.0.17"
12
11
}
13
12
}
Original file line number Diff line number Diff line change 1
1
/* eslint-disable */
2
2
import type { Server , ServerWebSocket } from 'bun'
3
+ // @ts -expect-error: missing types
3
4
import { AwsClient } from 'aws4fetch'
4
5
5
6
interface Lambda {
You can’t perform that action at this time.
0 commit comments