Commit 7feb489
committed
refactor(builders): use shared NODE_VERSION from bootstrap package
Update smol and SEA builders to import NODE_VERSION from bootstrap package:
Changes:
- node-smol-builder: Import NODE_VERSION from @socketsecurity/bootstrap
- node-sea-builder: Import NODE_VERSION with env var fallback
- Both builders now use workspace dependency on bootstrap package
- Removed hardcoded version constants from build scripts
Benefits:
- Single source of truth for Node.js version across all packages
- No more manual version synchronization needed
- Version changes only need to happen in one place
- Leverages pnpm workspace protocol for clean dependency management
The NODE_VERSION constant is now centrally managed in:
packages/bootstrap/.config/node-version.mjs1 parent d7e6e81 commit 7feb489
File tree
5 files changed
+17
-3
lines changed- packages
- node-sea-builder
- scripts
- node-smol-builder
- scripts
5 files changed
+17
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | | - | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| 16 | + | |
14 | 17 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| |||
170 | 171 | | |
171 | 172 | | |
172 | 173 | | |
173 | | - | |
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments