mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Upgrade to CodeMirror 6, add SQL autocomplete (#1893)
* Upgrade to CodeMirror 6 * Update contributing docs * Change how resizing works * Define a custom SQLite autocomplete dialect * Add meta-enter to submit * Add fixture schema for testing
This commit is contained in:
parent
6f610e1d94
commit
ae11fa5887
11 changed files with 1017 additions and 76 deletions
|
|
@ -7,5 +7,12 @@
|
|||
"scripts": {
|
||||
"fix": "npm run prettier -- --write",
|
||||
"prettier": "prettier 'datasette/static/*[!.min].js'"
|
||||
},
|
||||
"dependencies": {
|
||||
"@codemirror/lang-sql": "^6.3.3",
|
||||
"@rollup/plugin-node-resolve": "^15.0.1",
|
||||
"@rollup/plugin-terser": "^0.1.0",
|
||||
"codemirror": "^6.0.1",
|
||||
"rollup": "^3.3.0"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue