Skip to content

Commit 6b352bd

Browse files
committed
chore: wip
1 parent 91df2a7 commit 6b352bd

File tree

17 files changed

+49
-67
lines changed

17 files changed

+49
-67
lines changed

.github/labeler.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,9 +192,6 @@ search-engine:
192192
security:
193193
- 'storage/framework/core/security/**'
194194

195-
server:
196-
- 'storage/framework/core/server/**'
197-
198195
signals:
199196
- 'storage/framework/core/signals/**'
200197

biome.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@
6969
"database/migrations/*",
7070
"storage/framework/types/*",
7171
"storage/framework/cache/*",
72-
"storage/framework/server/*",
7372
"storage/framework/core/vite-config/src/*.ts.timestamp*",
7473
"storage/framework/core/orm/src/generated/*",
7574
"storage/framework/core/components/notification/packages/Toast.vue"

storage/framework/cloud/.gitignore

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
bootstrap
2+
*bun-build
3+
Actions
4+
app
5+
config
6+
core
7+
docs
8+
routes
9+
server
10+
storage
11+
env.ts
112
cdk.context.json
213
cdk.out
3-
!.gitignore

storage/framework/cloud/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
11
# Please Note
22

33
Copy the root .env into this directory.
4+
5+
## Server
6+
7+
This directory is used to store files to build the Docker image for the server.
8+
9+
### TODO
10+
11+
- [ ] Don't include node_modules in the Docker image, but bundle it using Bun
12+
- [ ] Include bun.lockb file to build the Docker image && the `--frozen-lockfile` flag
13+
- [ ] Ensure to use workspaces in the `package.json` file
14+
- [ ] No need for ./Actions because ./app/Actions

storage/framework/server/build.ts renamed to storage/framework/cloud/build.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ async function useCustomOrDefaultServerConfig() {
3232
async function buildServer() {
3333
log.info('Preparing server...')
3434

35-
await cleanAndCopy(frameworkPath('core'), frameworkPath('server/core'))
36-
await cleanAndCopy(projectPath('config'), frameworkPath('server/config'))
37-
await cleanAndCopy(projectPath('routes'), frameworkPath('server/routes'))
38-
await cleanAndCopy(projectPath('app'), frameworkPath('server/app'))
39-
await cleanAndCopy(projectPath('docs'), frameworkPath('server/docs'))
40-
await cleanAndCopy(projectPath('storage'), frameworkPath('server/storage'))
35+
await cleanAndCopy(frameworkPath('core'), frameworkPath('cloud/core'))
36+
await cleanAndCopy(projectPath('config'), frameworkPath('cloud/config'))
37+
await cleanAndCopy(projectPath('routes'), frameworkPath('cloud/routes'))
38+
await cleanAndCopy(projectPath('app'), frameworkPath('cloud/app'))
39+
await cleanAndCopy(projectPath('docs'), frameworkPath('cloud/docs'))
40+
await cleanAndCopy(projectPath('storage'), frameworkPath('cloud/storage'))
4141

4242
if (!app.name) {
4343
log.error('Please provide a name for your app in your config file')
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)