code-foundry 0.27.3 → 0.27.4
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.
- package/CHANGELOG.md +7 -0
- package/package.json +1 -1
- package/src/runtime.mjs +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.27.4](https://github.com/0xPlayerOne/code-foundry/compare/v0.27.3...v0.27.4) (2026-07-28)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **runtime:** resolve Python tools from virtualenv ([788b1ae](https://github.com/0xPlayerOne/code-foundry/commit/788b1ae438451ee57ce55a8669d2710cb8755fcf))
|
|
9
|
+
|
|
3
10
|
## [0.27.3](https://github.com/0xPlayerOne/code-foundry/compare/v0.27.2...v0.27.3) (2026-07-28)
|
|
4
11
|
|
|
5
12
|
|
package/package.json
CHANGED
package/src/runtime.mjs
CHANGED
|
@@ -82,6 +82,10 @@ function runScript(names) {
|
|
|
82
82
|
|
|
83
83
|
/** @param {string} tool @param {string[]} [args] */
|
|
84
84
|
function runTool(tool, args = []) {
|
|
85
|
+
if (['ruff', 'pytest', 'pylint'].includes(tool)) {
|
|
86
|
+
const venvTool = resolve(root, `.venv/bin/${tool}`)
|
|
87
|
+
if (existsSync(venvTool)) return run(venvTool, args)
|
|
88
|
+
}
|
|
85
89
|
const [manager] = packageCommand([])
|
|
86
90
|
if (manager === 'bun') return run('bunx', ['--no-install', tool, ...args])
|
|
87
91
|
if (manager === 'pnpm') return run('pnpm', ['exec', tool, ...args])
|