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:
Marvin Hagemeister
2025-08-06 15:52:45 +02:00
committed by GitHub
parent 27e407a1e3
commit 815b1940e3
184 changed files with 94 additions and 82 deletions
+1 -20
View File
@@ -1,30 +1,11 @@
{
"nodeModulesDir": "auto",
"workspace": [
"./build-id",
"./examples",
"./init",
"./plugin-tailwindcss",
"./plugin-tailwindcss-v3",
"./plugin-vite",
"./update",
"./packages/*",
"./www"
],
"name": "@fresh/core",
"version": "2.0.0-alpha.56",
"license": "MIT",
"exports": {
".": "./src/mod.ts",
"./runtime": "./src/runtime/shared.ts",
"./runtime-client": "./src/runtime/client/mod.tsx",
"./dev": "./src/dev/mod.ts",
"./compat": "./src/compat.ts",
"./internal": "./src/internals.ts",
"./internal-dev": "./src/internals_dev.ts"
},
"tasks": {
"test": "deno test -A --parallel",
"fixture": "deno run -A --watch=static/,routes/ tests/fixture/dev.ts",
"www": "deno task --cwd=www start",
"build-www": "deno task --cwd=www build",
"screenshot": "deno run -A www/utils/screenshot.ts",