File tree Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 113
113
" storage/framework/core/bun-create/*" ,
114
114
" storage/framework/docs" ,
115
115
" storage/framework/libs/*" ,
116
- " storage/framework/server" ,
117
116
" storage/framework/views/*"
118
117
]
119
118
}
Original file line number Diff line number Diff line change @@ -21,6 +21,10 @@ for dir in $dirs; do
21
21
# Change to the directory
22
22
cd $dir
23
23
24
+ # Update package.json dependencies with the latest version
25
+ # TODO: needs to delete the tmp.json file after
26
+ jq -r ' .dependencies |= with_entries(if .value == "workspace:*" then .value = "latest" else . end)' package.json > tmp.json && mv tmp.json package.json
27
+
24
28
npm publish --access public --no-git-checks || echo " Failed to publish $dir "
25
29
26
30
# Check if the build command was successful
Original file line number Diff line number Diff line change 2
2
FROM oven/bun:latest AS builder
3
3
WORKDIR /tmp
4
4
5
- COPY ./runtime.ts ./runtime.ts
6
- COPY ./index.ts ./index.ts
7
- COPY ./package.json ./package.json
8
- COPY ./bunfig.toml ./bunfig.toml
5
+ # COPY runtime.ts index.ts package.json .
6
+ COPY runtime.ts index.ts .
9
7
8
+ RUN bun add aws4fetch
9
+ RUN bun add @stacksjs/cloud
10
10
RUN bun install
11
11
RUN bun build --compile runtime.ts --outfile bootstrap
12
12
RUN bun build --target=bun index.ts --outfile index
Original file line number Diff line number Diff line change 7
7
"@aws-sdk/lib-dynamodb" : " ^3.503.1" ,
8
8
"@smithy/smithy-client" : " ^2.3.1" ,
9
9
"@stacksjs/cloud" : " ^0.58.28" ,
10
- "@stacksjs/config" : " ^0.58.28" ,
11
10
"aws4fetch" : " ^1.0.17"
12
11
}
13
12
}
You can’t perform that action at this time.
0 commit comments