feat: initialize pnpm workspace and add app structure

- Created pnpm workspace configuration in `pnpm-workspace.yaml`.
- Implemented basic app setup in `src/app.ts` using `@kevisual/router`.
- Generated documentation files in `src/generated/docs.ts` for showcase CMS templates.
- Added inline script to read and compile markdown files into TypeScript constants in `src/inline.ts`.
- Set up main application entry point in `src/main.ts` to integrate routing and plugins.
- Established routing structure in `src/routes/index.ts` and `src/routes/md.ts` for handling markdown-related tasks.
- Implemented a route for initializing web todo tasks with dynamic content generation based on selected template type.
This commit is contained in:
2026-01-20 22:54:40 +08:00
commit 7a99b69887
19 changed files with 6306 additions and 0 deletions

29
package.json Normal file
View File

@@ -0,0 +1,29 @@
{
"name": "@kevisual/frontend-starter-skill",
"version": "0.0.1",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "abearxiong <xiongxiao@xiongxiao.me> (https://www.xiongxiao.me)",
"license": "MIT",
"packageManager": "pnpm@10.28.1",
"type": "module",
"devDependencies": {
"@kevisual/context": "^0.0.4",
"@kevisual/js-filter": "^0.0.5",
"@kevisual/router": "^0.0.58",
"@kevisual/types": "^0.0.11",
"@opencode-ai/plugin": "1.1.26",
"@types/bun": "^1.3.6",
"@types/node": "^25.0.9"
},
"publishConfig": {
"access": "public"
},
"exports": {
".": "./dist/app.js"
}
}