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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. 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 --project=tsconfig.json --dry-run
14
- npx uql-codemod --project=tsconfig.json
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. Required in practice: the codemod needs a real program, not a parser, because it writes down the types `design:type` used to report at runtime. Defaults to `./tsconfig.json`. |
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
 
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "uql-codemod",
3
3
  "description": "Migrates uql-orm entities from legacy decorators to the TC39 standard spec",
4
4
  "license": "MIT",
5
- "version": "0.25.0",
5
+ "version": "0.26.0",
6
6
  "type": "module",
7
7
  "engines": {
8
8
  "node": ">=24"