Skip to content

Commit

Permalink
feat: enable editor
Browse files Browse the repository at this point in the history
  • Loading branch information
alswl committed May 1, 2024
1 parent 63569f2 commit fef957c
Show file tree
Hide file tree
Showing 8 changed files with 7,466 additions and 1,586 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ jobs:
- name: install pnpm
run: npm i pnpm@latest -g
- run: pnpm install
- run: pnpm build
- run: pnpm build
7 changes: 2 additions & 5 deletions .umirc.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
import { defineConfig } from "umi";
import { defineConfig } from 'umi';

export default defineConfig({
routes: [
{ path: "/", component: "index" },
{ path: "/docs", component: "docs" },
],
routes: [{ path: '/', component: 'index' }],
npmClient: 'pnpm',
});
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# dbml-editor
# dbml-editor
13 changes: 9 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,26 @@
"private": true,
"author": "Jingchao Di <[email protected]>",
"scripts": {
"dev": "umi dev",
"build": "umi build",
"dev": "umi dev",
"postinstall": "umi setup",
"setup": "umi setup",
"start": "npm run dev"
},
"dependencies": {
"antd": "^5.16.5",
"axios": "^1.6.8",
"monaco-editor": "^0.48.0",
"react-monaco-editor": "^0.55.0",
"umi": "^4.1.10"
},
"devDependencies": {
"@types/react": "^18.0.33",
"@types/react-dom": "^18.0.11",
"typescript": "^5.0.3",
"@umijs/plugins": "^4.1.10",
"prettier": "^2.8.8",
"prettier-plugin-organize-imports": "^3.2.2",
"prettier-plugin-packagejson": "^2.4.3"
"prettier-plugin-packagejson": "^2.4.3",
"typescript": "^5.0.3"
}
}
}
Loading

0 comments on commit fef957c

Please sign in to comment.