Commit bdda3b8
authored
Modernize the repo toolchain and remove dead legacy config (#75)
This PR cleans up a large amount of leftover Nx/Jest/Babel-era repo
config and updates the workspace to a current Vite/Vitest/TypeScript
setup.
It removes dead files and unused config, including old Jest root config,
Babel config, Browserslist files, EditorConfig, commitlint/commitizen
config, the unused tools/ directory, stale root index.html, vercel.json,
.nvmrc, and other no-longer-used repo metadata.
It also modernizes the workspace toolchain:
- standardizes on Vitest with test and test:ci
- adds typecheck scripts across packages/apps and requires typecheck in
release CI
- updates TypeScript targets to ES2024
- switches modern app/config TS surfaces to moduleResolution: "bundler"
- updates root/workspace package scripts and CI workflows to the new
commands
- cleans up ESLint usage so ignore behavior lives in config
- On the package side, it updates @trrack/core and @trrack/vis-react
build metadata and Vite configs, removes UMD output, tightens externals,
and aligns package exports/types with the current build output.
It also includes follow-on correctness fixes needed by the stricter
toolchain:
- preserves the synchronous TrrackActionFunction contract
- fixes core/example type issues so repo-wide typecheck passes
- updates vis-react internals away from Mantine/FontAwesome-heavy UI
dependencies toward lighter native UI
- improves vis-react accessibility by properly associating the
annotation label and textarea
- expands vis-react test coverage for node navigation, bookmarks,
annotations, and current-node extras124 files changed
Lines changed: 5151 additions & 4423 deletions
File tree
- .github/workflows
- .husky
- .vscode
- apps
- docs
- components/card
- pages/docs
- dummy-testing-library
- src
- app
- components
- react-trrack-example
- src/app/store
- trrack-lineup-example
- src/app
- trrack-vis-example
- packages
- core
- src
- event
- graph
- components
- provenance
- registry
- utils
- tests
- vis-react
- src
- components
- utils
- tests
- scripts
- test
- tools
- generators
- scripts
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
| 3 | + | |
7 | 4 | | |
8 | 5 | | |
9 | | - | |
| 6 | + | |
10 | 7 | | |
11 | 8 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
39 | 42 | | |
40 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
41 | 47 | | |
42 | | - | |
43 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
36 | 39 | | |
37 | | - | |
| 40 | + | |
38 | 41 | | |
39 | 42 | | |
40 | | - | |
| 43 | + | |
41 | 44 | | |
42 | 45 | | |
43 | 46 | | |
| |||
103 | 106 | | |
104 | 107 | | |
105 | 108 | | |
| 109 | + | |
106 | 110 | | |
107 | 111 | | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
108 | 119 | | |
109 | 120 | | |
110 | 121 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
This file was deleted.
0 commit comments