diff options
| author | 2026-01-19 14:33:07 +0800 | |
|---|---|---|
| committer | 2026-01-19 14:33:07 +0800 | |
| commit | 49545e67ce1ab4ec86248ac6edb07ec89c282eec (patch) | |
| tree | 50f5fc3ae156cc853660a1aa1556c0bced9054b4 /ui/package.json | |
| parent | 887e415314014c3da7db3048fa0e724f3078c5cb (diff) | |
| parent | 91d4590dff7ed3dbce5929926c718ac93aad056a (diff) | |
| download | DropOut-49545e67ce1ab4ec86248ac6edb07ec89c282eec.tar.gz DropOut-49545e67ce1ab4ec86248ac6edb07ec89c282eec.zip | |
chore(ui): refactor workspace to monorepo (#70)
## Summary by Sourcery
Refactor the UI project structure into a pnpm monorepo packages layout
and align tooling and automation with the new paths.
Enhancements:
- Reorganize the UI app from the root ui directory into packages/ui
within a pnpm workspace.
- Update pnpm workspace configuration to include all packages under
packages/*.
- Adjust paths in changeset configuration so the @dropout/ui package
resolves from packages/ui.
Build:
- Update pre-commit configuration paths and arguments to reflect the new
UI location and normalize hook argument formatting.
- Update Dependabot configuration so npm updates target /packages/ui
instead of /ui.
CI:
- Update GitHub Actions workflows to watch packages/** instead of ui/**
and to run frontend tasks from packages/ui.
- Update pnpm cache dependency paths in workflows to use the root
pnpm-lock.yaml.
- Simplify frontend install steps in test workflows to run from the
repository root.
Chores:
- Add a new index.html under packages/ui and remove the old
ui/index.html to match the new project layout.
Diffstat (limited to 'ui/package.json')
| -rw-r--r-- | ui/package.json | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/ui/package.json b/ui/package.json deleted file mode 100644 index 943fddc..0000000 --- a/ui/package.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "name": "@dropout/ui", - "version": "0.2.0-alpha.1", - "private": true, - "type": "module", - "scripts": { - "dev": "vite", - "build": "vite build", - "preview": "vite preview", - "check": "svelte-check --tsconfig ./tsconfig.app.json && tsc -p tsconfig.node.json", - "lint": "oxlint .", - "lint:fix": "oxlint . --fix", - "format": "oxfmt . --write" - }, - "dependencies": { - "@tauri-apps/api": "^2.9.1", - "@tauri-apps/plugin-dialog": "^2.6.0", - "@tauri-apps/plugin-fs": "^2.4.5", - "@tauri-apps/plugin-shell": "^2.3.4", - "lucide-svelte": "^0.562.0", - "marked": "^17.0.1", - "node-emoji": "^2.2.0", - "prismjs": "^1.30.0" - }, - "devDependencies": { - "@sveltejs/vite-plugin-svelte": "^6.2.1", - "@tailwindcss/vite": "^4.1.18", - "@tsconfig/svelte": "^5.0.6", - "@types/node": "^24.10.1", - "@types/prismjs": "^1.26.5", - "autoprefixer": "^10.4.23", - "oxfmt": "^0.24.0", - "oxlint": "^1.39.0", - "postcss": "^8.5.6", - "svelte": "^5.46.4", - "svelte-check": "^4.3.4", - "tailwindcss": "^4.1.18", - "typescript": "~5.9.3", - "vite": "npm:rolldown-vite@7.2.5" - } -} |