code-foundry 0.27.14 → 0.27.15
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 +0 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.27.15](https://github.com/0xPlayerOne/code-foundry/compare/v0.27.14...v0.27.15) (2026-07-29)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **ci:** remove stale CodeQL change detection ([897d749](https://github.com/0xPlayerOne/code-foundry/commit/897d749d296c02751fda764b9fa069e32208182b))
|
|
9
|
+
|
|
3
10
|
## [0.27.14](https://github.com/0xPlayerOne/code-foundry/compare/v0.27.13...v0.27.14) (2026-07-29)
|
|
4
11
|
|
|
5
12
|
|
package/package.json
CHANGED
package/src/runtime.mjs
CHANGED
|
@@ -275,7 +275,6 @@ function codeql() {
|
|
|
275
275
|
if (hasLanguage('typescript') || hasLanguage('javascript')) available.push('javascript-typescript')
|
|
276
276
|
if (hasLanguage('python')) available.push('python')
|
|
277
277
|
if (hasLanguage('rust')) available.push('rust')
|
|
278
|
-
const changed = capture('git', ['diff', '--name-only', process.env.CODEQL_BASE_SHA || 'HEAD^', process.env.GITHUB_SHA || 'HEAD']).split('\n').filter(Boolean)
|
|
279
278
|
// Upload every configured language on every analysis run so GitHub can
|
|
280
279
|
// compare pull requests against the base branch's code-scanning config.
|
|
281
280
|
const languagesJson = available.map((language) => ({ language, name: language === 'javascript-typescript' ? 'TypeScript' : language[0].toUpperCase() + language.slice(1), 'build-mode': 'none', changed: true }))
|
|
@@ -289,14 +288,6 @@ function codeql() {
|
|
|
289
288
|
}
|
|
290
289
|
}
|
|
291
290
|
|
|
292
|
-
/** @param {string} language @param {string} file */
|
|
293
|
-
function fileMatches(language, file) {
|
|
294
|
-
if (language === 'actions') return file.startsWith('.github/workflows/') || file.endsWith('action.yml')
|
|
295
|
-
if (language === 'javascript-typescript') return /\.(js|jsx|mjs|cjs|ts|tsx|mts|cts)$/.test(file) || /(^|\/)(package\.json|tsconfig[^/]*\.json|(?:bun|pnpm|yarn|package-lock)\.lock)$/.test(file)
|
|
296
|
-
if (language === 'python') return /\.py$|(^|\/)(pyproject\.toml|requirements[^/]*\.txt|setup\.py|Pipfile\.lock|poetry\.lock)$/.test(file)
|
|
297
|
-
return /\.rs$|(^|\/)Cargo\.(toml|lock)$/.test(file)
|
|
298
|
-
}
|
|
299
|
-
|
|
300
291
|
/** @param {string} command */
|
|
301
292
|
function printProfile(command) {
|
|
302
293
|
if (command === 'get') {
|