dbtour-addon-explorer 0.9.4 → 0.9.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +26 -0
- package/package.json +17 -6
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Victor Saly
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<img src="https://raw.githubusercontent.com/victorsaly/dbtour/main/brand/logo.svg" alt="dbtour" width="220">
|
|
2
|
+
|
|
3
|
+
**The [dbtour](https://www.npmjs.com/package/dbtour) page: your schema as one HTML file that opens without a
|
|
4
|
+
server.**
|
|
5
|
+
|
|
6
|
+
`dbtour render` writes `index.html` with the model inlined. Open it from disk or deploy the folder as it
|
|
7
|
+
is. It holds the structure, never the rows.
|
|
8
|
+
|
|
9
|
+
- `/` searches tables, columns and groups.
|
|
10
|
+
- Every table is an entry: columns with types, keys, defaults and descriptions, relations in and out as
|
|
11
|
+
links, indexes and constraints, and a map of its neighbours.
|
|
12
|
+
- **Open the map** draws the tables and their relations large; **+** adds a table's neighbours.
|
|
13
|
+
- A SQL editor completes and checks names against the model, and copies a query for an agent. Opened
|
|
14
|
+
through `dbtour serve`, it runs the query with a read-only login.
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
npm install --save-dev dbtour dbtour-addon-explorer
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
```yaml
|
|
21
|
+
# dbtour.yaml
|
|
22
|
+
addons:
|
|
23
|
+
- explorer
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Setup and sources are in the [full README](https://github.com/victorsaly/dbtour#readme). MIT licence; the two inlined fonts are under the OFL.
|
package/package.json
CHANGED
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dbtour-addon-explorer",
|
|
3
|
-
"version": "0.9.
|
|
4
|
-
"description": "The dbtour page:
|
|
3
|
+
"version": "0.9.5",
|
|
4
|
+
"description": "The dbtour page: your schema as one HTML file that opens without a server, with search, an entry per table, relation maps and a SQL editor that checks names against the model.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
|
-
"author":
|
|
7
|
+
"author": {
|
|
8
|
+
"name": "Victor Saly",
|
|
9
|
+
"url": "https://github.com/victorsaly"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://github.com/victorsaly/dbtour#readme",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/victorsaly/dbtour/issues"
|
|
14
|
+
},
|
|
8
15
|
"repository": {
|
|
9
16
|
"type": "git",
|
|
10
17
|
"url": "git+https://github.com/victorsaly/dbtour.git",
|
|
@@ -31,11 +38,15 @@
|
|
|
31
38
|
"keywords": [
|
|
32
39
|
"dbtour",
|
|
33
40
|
"database",
|
|
41
|
+
"schema",
|
|
34
42
|
"documentation",
|
|
35
43
|
"erd",
|
|
36
|
-
"
|
|
37
|
-
"
|
|
44
|
+
"data-dictionary",
|
|
45
|
+
"sql-editor"
|
|
38
46
|
],
|
|
47
|
+
"peerDependencies": {
|
|
48
|
+
"dbtour": "0.9.5"
|
|
49
|
+
},
|
|
39
50
|
"devDependencies": {
|
|
40
51
|
"@codemirror/autocomplete": "^6.20.4",
|
|
41
52
|
"@codemirror/commands": "^6.11.1",
|
|
@@ -48,7 +59,7 @@
|
|
|
48
59
|
"@types/react": "^19.3.0",
|
|
49
60
|
"@types/react-dom": "^19.3.0",
|
|
50
61
|
"@xyflow/react": "^12.12.0",
|
|
51
|
-
"dbtour": "0.9.
|
|
62
|
+
"dbtour": "0.9.5",
|
|
52
63
|
"elkjs": "^0.12.1",
|
|
53
64
|
"esbuild": "^0.28.2",
|
|
54
65
|
"react": "^19.3.1",
|