Skip to content

Commit 2306935

Browse files
committed
chore: wip
chore: wip chore: wip
1 parent c268e94 commit 2306935

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@
113113
"storage/framework/core/bun-create/*",
114114
"storage/framework/docs",
115115
"storage/framework/libs/*",
116-
"storage/framework/server",
117116
"storage/framework/views/*"
118117
]
119118
}

storage/framework/scripts/publish

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ for dir in $dirs; do
2121
# Change to the directory
2222
cd $dir
2323

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+
2428
npm publish --access public --no-git-checks || echo "Failed to publish $dir"
2529

2630
# Check if the build command was successful

storage/framework/server/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
FROM oven/bun:latest AS builder
33
WORKDIR /tmp
44

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 .
97

8+
RUN bun add aws4fetch
9+
RUN bun add @stacksjs/cloud
1010
RUN bun install
1111
RUN bun build --compile runtime.ts --outfile bootstrap
1212
RUN bun build --target=bun index.ts --outfile index

storage/framework/server/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
"@aws-sdk/lib-dynamodb": "^3.503.1",
88
"@smithy/smithy-client": "^2.3.1",
99
"@stacksjs/cloud": "^0.58.28",
10-
"@stacksjs/config": "^0.58.28",
1110
"aws4fetch": "^1.0.17"
1211
}
1312
}

0 commit comments

Comments
 (0)