From 0802a82b94083cabde54cd853b1ab5eda75d6c79 Mon Sep 17 00:00:00 2001 From: Chris Date: Tue, 6 Feb 2024 14:58:52 -0800 Subject: [PATCH] chore: wip --- storage/framework/core/cloud/.gitignore | 1 - storage/framework/core/cloud/build-server.ts | 8 -------- storage/framework/core/cloud/src/index.ts | 1 - storage/framework/core/eslint-config/src/globs.ts | 1 - 4 files changed, 11 deletions(-) delete mode 100644 storage/framework/core/cloud/build-server.ts diff --git a/storage/framework/core/cloud/.gitignore b/storage/framework/core/cloud/.gitignore index 5f9606ebf9..e136cb6cd2 100644 --- a/storage/framework/core/cloud/.gitignore +++ b/storage/framework/core/cloud/.gitignore @@ -1,2 +1 @@ cdk.context.json -src/runtime/server.js diff --git a/storage/framework/core/cloud/build-server.ts b/storage/framework/core/cloud/build-server.ts deleted file mode 100644 index 0de12535c0..0000000000 --- a/storage/framework/core/cloud/build-server.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { log, runCommand } from '@stacksjs/cli' - -const result = await runCommand('bun build ./src/runtime/server.ts --outdir src/runtime --format esm --target bun', { - cwd: import.meta.dir, -}) - -if (result.isErr()) - log.error(result.error) diff --git a/storage/framework/core/cloud/src/index.ts b/storage/framework/core/cloud/src/index.ts index 849dbafdf7..9231209abd 100644 --- a/storage/framework/core/cloud/src/index.ts +++ b/storage/framework/core/cloud/src/index.ts @@ -1,3 +1,2 @@ export * from './helpers' export * from './cloud' -export { default as server } from './runtime/server' diff --git a/storage/framework/core/eslint-config/src/globs.ts b/storage/framework/core/eslint-config/src/globs.ts index 2e6ed495fb..6347cafc4f 100644 --- a/storage/framework/core/eslint-config/src/globs.ts +++ b/storage/framework/core/eslint-config/src/globs.ts @@ -85,7 +85,6 @@ export const GLOB_EXCLUDE = [ // stacks relating '**/cdk.out/**', - '**/runtime/server.js', '**/framework/cache/**', '**/env/src/index.js', // '**/strings/README.md',