Commit 88317d8
committed
chore(release)!: 2.0.0 — fix bin, modernize tooling, update CI
BREAKING CHANGE: `bin.ohlc` now points at `dist/cli.js` (was
`src/cli.ts`). The previous binary was non-functional post-install
because npm has no way to execute raw TypeScript; this fix changes
the resolved path. Combined with the library and CLI breaking
changes in the same release, this warrants a major bump.
- `bin.ohlc` → `dist/cli.js`; `src/cli.ts` retains its shebang so the
emitted JS is directly executable.
- Drop unused `chalk` runtime dep; drop `coveralls` devDep.
- Move `ts-node` to devDependencies (no longer needed at runtime now
that the bin points at compiled JS).
- `prebuild` now cleans `dist/` (was incorrectly cleaning `build/`).
- `prepublishOnly` simplified: a single test+build pass without the
coveralls step that always failed without a token.
- Drop obsolete `.npmignore` — superseded by `package.json#files`.
- Add `types: dist/index.d.ts` to advertise type declarations.
- CI workflow now triggers on `main` (was `master`) and runs Node
20.x and 22.x (was EOL 10.x and 12.x). Switched to pnpm with
frozen lockfile, bumped action versions.
- Added CHANGELOG.md with the full 2.0.0 breaking-change list.1 parent 540f98e commit 88317d8
4 files changed
Lines changed: 55 additions & 395 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | 1 | | |
5 | 2 | | |
6 | 3 | | |
7 | 4 | | |
8 | | - | |
| 5 | + | |
9 | 6 | | |
10 | | - | |
| 7 | + | |
11 | 8 | | |
12 | 9 | | |
13 | 10 | | |
14 | | - | |
15 | 11 | | |
16 | | - | |
17 | 12 | | |
18 | 13 | | |
19 | | - | |
20 | | - | |
| 14 | + | |
21 | 15 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 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 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | | - | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | | - | |
17 | | - | |
18 | | - | |
| 17 | + | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | 49 | | |
51 | 50 | | |
52 | 51 | | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | | - | |
| 57 | + | |
59 | 58 | | |
60 | 59 | | |
0 commit comments