Skip to content

Commit

Permalink
feat: enable error diags, refactor viewer components
Browse files Browse the repository at this point in the history
commit a6b45cc
Author: Jingchao Di <[email protected]>
Date:   Sun May 12 20:12:21 2024 +0800

    feat: enable error diags

commit d210b94
Author: Jingchao Di <[email protected]>
Date:   Sun May 12 19:38:08 2024 +0800

    feat: scroll.

commit a7fa634
Author: Jingchao Di <[email protected]>
Date:   Sun May 12 19:34:34 2024 +0800

    refactor: .

commit d7e3465
Author: Jingchao Di <[email protected]>
Date:   Sun May 12 12:39:31 2024 +0800

    refactor: editor

commit 2bbfbd6
Author: Jingchao Di <[email protected]>
Date:   Sun May 12 11:59:20 2024 +0800

    feat: husky

commit ed8800d
Author: Jingchao Di <[email protected]>
Date:   Sun May 12 11:51:21 2024 +0800

    ci: enable husky

commit 572ecda
Author: Jingchao Di <[email protected]>
Date:   Sun May 12 11:50:36 2024 +0800

    doc: .
  • Loading branch information
alswl committed May 12, 2024
1 parent 9c65828 commit 0ec48aa
Show file tree
Hide file tree
Showing 13 changed files with 6,402 additions and 2,249 deletions.
File renamed without changes.
File renamed without changes.
9 changes: 2 additions & 7 deletions .lintstagedrc
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
{
"*.{md,json}": [
"prettier --cache --write"
],
"*.{js,jsx}": [
"max lint --fix --eslint-only",
"prettier --cache --write"
],
"*.{md,json}": ["prettier --cache --write"],
"*.{js,jsx}": ["max lint --fix --eslint-only", "prettier --cache --write"],
"*.{css,less}": [
"max lint --fix --stylelint-only",
"prettier --cache --write"
Expand Down
5 changes: 2 additions & 3 deletions .umirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default defineConfig({
initialState: {},
request: {},
layout: {
title: 'dbml-editor',
title: 'dbml-editor - free online DBML editor',
locale: false,
},
routes: [
Expand All @@ -30,12 +30,11 @@ export default defineConfig({
path: 'https://twitter.com/alswl',
external: true,
},

],
npmClient: 'pnpm',
esbuildMinifyIIFE: true,
analytics: {
ga_v2: 'G-SFYS0VCR5W', // Google Analytics 的 key (GA 4)
baidu: '4d80269d802b65e5b0356366f7fbb125',
}
},
});
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# dbml-editor

Online editor for [DBML](https://dbml.dbdiagram.io/home/) files.

![build-status](https://github.com/alswl/dbml-editor/actions/workflows/ci.yaml/badge.svg)

Online editor for [DBML](https://dbml.dbdiagram.io/home/) files.

## Online Editor

[dbml-editor](https://dbml-editor.alswl.com/)
Expand All @@ -18,6 +18,7 @@ Online editor for [DBML](https://dbml.dbdiagram.io/home/) files.
- [dbdiagram.io](https://dbdiagram.io/home/)
- [dbml.org](https://dbml.org/)
- [dber](https://dber.tech/)
- [TruDan/dbdiagram-oss](https://github.com/TruDan/dbdiagram-oss)

## Roadmap

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
"@types/lodash-es": "^4.17.12",
"@types/react": "^18.0.33",
"@types/react-dom": "^18.0.11",
"@umijs/plugins": "^4.1.10",
"husky": "^9",
"lint-staged": "^13.2.0",
"@umijs/plugins": "^4.1.10",
"prettier": "^2.8.8",
"prettier-plugin-organize-imports": "^3.2.2",
"prettier-plugin-packagejson": "^2.4.3",
Expand Down
Loading

0 comments on commit 0ec48aa

Please sign in to comment.