chore: restructure repository into packages/ folder (#3197)
We're having a growing number of packages in this repository. This PR moves them into a `packages/` directory like it's commonly done in other projects.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"workspace": [],
|
||||
"lock": false,
|
||||
"links": ["../../.."],
|
||||
"compilerOptions": {
|
||||
"jsx": "precompile",
|
||||
"jsxImportSource": "preact"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
import { Builder } from "../../../src/dev/mod.ts";
|
||||
|
||||
const builder = new Builder();
|
||||
|
||||
await builder.listen(() => import("./main.tsx"), {
|
||||
port: 4001,
|
||||
});
|
||||
@@ -0,0 +1,6 @@
|
||||
import { App } from "../../../src/app.ts";
|
||||
|
||||
export const app = new App().get(
|
||||
"/",
|
||||
() => new Response("hello"),
|
||||
);
|
||||
Reference in New Issue
Block a user