Commit 6830f69
committed
chore: modernize to TypeScript 7, native ESM and node:test
- native ES modules: type=module, exports map, explicit .js import
extensions, engines node >=22.12.0
- TypeScript 7 (tsgo) with es2024 target, nodenext resolution,
verbatimModuleSyntax and explicit types: [node]
- @imqueue/rpc dependency dropped: the only use was rpc's signature()
helper (removed from rpc 3.x public exports), now replicated locally
in src/signature.ts (deterministic sorted-key sha256/64-bit key);
the sole runtime dependency is now graphql
- tests migrated from mocha/chai/nyc to node:test + node:assert with
built-in coverage; suite expanded from a single shape check to cover
the memoized Dependency factory and the hash()/gqlType() helpers
- lint/format switched from tslint to oxlint + oxfmt; dev dependencies
reduced to @types/node, oxlint, oxfmt, typescript
- npm package excludes sources and dev tooling
- version left at published 2.0.3 (npm version major -> 3.0.0 on release)1 parent 602b90a commit 6830f69
18 files changed
Lines changed: 1849 additions & 4407 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
7 | 16 | | |
8 | | - | |
| 17 | + | |
| 18 | + | |
9 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
10 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
11 | 44 | | |
| 45 | + | |
12 | 46 | | |
13 | | - | |
14 | | - | |
| 47 | + | |
15 | 48 | | |
16 | 49 | | |
17 | 50 | | |
| |||
20 | 53 | | |
21 | 54 | | |
22 | 55 | | |
| 56 | + | |
23 | 57 | | |
24 | 58 | | |
25 | | - | |
| 59 | + | |
26 | 60 | | |
27 | 61 | | |
28 | 62 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | 2 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
| 3 | + | |
| 4 | + | |
13 | 5 | | |
14 | | - | |
15 | 6 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | 7 | | |
30 | | - | |
31 | 8 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | 9 | | |
40 | | - | |
41 | | - | |
| 10 | + | |
42 | 11 | | |
43 | 12 | | |
44 | | - | |
45 | | - | |
| 13 | + | |
46 | 14 | | |
47 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
0 commit comments