dbdiagram 0.6.0 → 0.6.2
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/README.md +0 -34
- package/package.json +14 -1
package/README.md
CHANGED
|
@@ -197,37 +197,3 @@ dbdiagram tokens delete <token_id> --force # delete without confirma
|
|
|
197
197
|
```
|
|
198
198
|
|
|
199
199
|
Set the generated token as `DBDIAGRAM_TOKEN=<value>` in your environment to authenticate without browser login.
|
|
200
|
-
|
|
201
|
-
---
|
|
202
|
-
|
|
203
|
-
## Development
|
|
204
|
-
|
|
205
|
-
```sh
|
|
206
|
-
yarn install
|
|
207
|
-
yarn dev # run with tsx (no build needed)
|
|
208
|
-
```
|
|
209
|
-
|
|
210
|
-
```sh
|
|
211
|
-
yarn build # compile to dist/
|
|
212
|
-
yarn start # run compiled output
|
|
213
|
-
```
|
|
214
|
-
|
|
215
|
-
### Telemetry in development
|
|
216
|
-
|
|
217
|
-
Copy `.env.example` to `.env`. Its defaults point telemetry at a local collector
|
|
218
|
-
(`TRACKING_COLLECTOR_URL=http://localhost:9090`) and tag events with a non-production app id (`TRACKING_APP_ID=dbdiagram-cli-test`), so development never writes to production analytics.
|
|
219
|
-
|
|
220
|
-
To disable tracking entirely, point the collector at a local address with nothing listening:
|
|
221
|
-
|
|
222
|
-
```sh
|
|
223
|
-
TRACKING_COLLECTOR_URL=http://localhost:9090 yarn dev push ...
|
|
224
|
-
```
|
|
225
|
-
|
|
226
|
-
Sends fail silently (the CLI never retries and never surfaces telemetry errors), so no events leave your machine. To instead inspect what would be sent, run [Snowplow Micro](https://docs.snowplow.io/docs/data-product-studio/data-quality/snowplow-micro/) on that port and read `curl localhost:9090/micro/good` (passed validation) and `/micro/bad` (failed).
|
|
227
|
-
|
|
228
|
-
## Test
|
|
229
|
-
|
|
230
|
-
```sh
|
|
231
|
-
yarn test # run tests for changed files with coverage
|
|
232
|
-
yarn test:all # run all tests
|
|
233
|
-
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dbdiagram",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2",
|
|
4
|
+
"description": "Command-line tool for dbdiagram.io. Sync local DBML schema files with your database diagrams and publish documentation to dbdocs.io, from your terminal or CI.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"dbdiagram",
|
|
7
|
+
"dbdiagram.io",
|
|
8
|
+
"dbml",
|
|
9
|
+
"dbdocs",
|
|
10
|
+
"erd",
|
|
11
|
+
"cli"
|
|
12
|
+
],
|
|
13
|
+
"homepage": "https://docs.dbdiagram.io/cli/",
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://community.dbdiagram.io/"
|
|
16
|
+
},
|
|
4
17
|
"main": "dist/index.js",
|
|
5
18
|
"bin": {
|
|
6
19
|
"dbdiagram": "dist/index.js"
|