uql-codemod 0.25.0 → 0.26.0
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 +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
Migrates [uql-orm](https://uql-orm.dev) entities from the legacy TypeScript decorators to the TC39 standard spec. One command, on your own source, with a dry run first:
|
|
11
11
|
|
|
12
12
|
```sh
|
|
13
|
-
npx uql-codemod --
|
|
14
|
-
npx uql-codemod
|
|
13
|
+
npx uql-codemod --dry-run
|
|
14
|
+
npx uql-codemod
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
| Flag | |
|
|
18
18
|
|---|---|
|
|
19
|
-
| `--project=<path>` | `tsconfig.json` to read
|
|
19
|
+
| `--project=<path>` | `tsconfig.json` to read, defaulting to `./tsconfig.json`. It is a real program and not a parser, because the codemod writes down the types `design:type` used to report at runtime, so a config that covers your entities is what makes the run work. |
|
|
20
20
|
| `--dry-run` | Report what would change and touch nothing. |
|
|
21
21
|
| `--include=<a,b>` | Only files whose path contains one of these fragments. |
|
|
22
22
|
|