Skip to content

Commit dbbc606

Browse files
authored
Merge pull request #293 from StatTag/develop
0.19
2 parents 4eee95c + 3403611 commit dbbc606

7 files changed

Lines changed: 33 additions & 7 deletions

File tree

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# StatWrap Changelog
22

3+
## 0.0.19 - November 26, 2025
4+
5+
### Change Summary
6+
7+
- Improve search by excluding user folders from R, RStudio, Python, Jupyter, etc. from indexing.
8+
9+
**Full Changelog**: https://github.com/StatTag/StatWrap/compare/0.0.18...0.0.19
10+
311
## 0.0.18 - November 20, 2025
412

513
### Change Summary

app/constants/search-config.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@ module.exports = {
22
// File indexing settings
33
indexing: {
44
maxFileSize: 0.1 * 1024 * 1024,
5+
excludedDirectories: ['node_modules', '.git', '.statwrap',
6+
// Python
7+
'__pycache__', '.venv', 'venv', '.pytest_cache', '.pybuilder', '.ipynb_checkpoints',, '__pypackages__',
8+
// R and RStudio
9+
'.Rproj.user'
10+
],
11+
12+
excludedFiles: [
13+
// R and RStudio
14+
'.Rhistory', '.Rapp.history',
15+
// Mac
16+
'.DS_Store'
17+
]
518
},
619

720
// Search settings

app/containers/AboutPage/AboutPage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default class AboutPage extends Component {
55
render() {
66
return (
77
<div className={styles.container} data-tid="container">
8-
<h1>StatWrap v0.18</h1>
8+
<h1>StatWrap v0.19</h1>
99
<div className={styles.copyright}>
1010
(c) 2021-2025 Northwestern University Feinberg School of Medicine
1111
</div>

app/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "statwrap",
33
"productName": "StatWrap",
4-
"version": "0.0.18",
4+
"version": "0.0.19",
55
"description": "Reproducible research made easy",
66
"main": "./main.prod.js",
77
"author": {

app/services/SearchService.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import Messages from '../constants/messages';
77
import Constants from '../constants/constants';
88

99
const SEARCH_CONFIG_VERSION = '1.0';
10-
const EXCLUDED_DIRS = ['node_modules', '.git', '.statwrap', '__pycache__', '.venv', 'venv'];
1110

1211
class SearchService {
1312
constructor() {
@@ -822,12 +821,18 @@ class SearchService {
822821
const stats = fs.statSync(fullPath);
823822

824823
if (stats.isDirectory()) {
825-
if (!EXCLUDED_DIRS.includes(item)) {
824+
// Don't process ignored directories
825+
if (!SearchConfig?.indexing?.excludedDirectories.includes(item)) {
826826
await scanDirectory(fullPath);
827827
}
828828
} else if (stats.isFile()) {
829829
totalFiles++;
830830

831+
// Skip any ignored files
832+
if (SearchConfig?.indexing?.excludedFiles.includes(item)) {
833+
continue;
834+
}
835+
831836
if (stats.size > fileSizeLimit) {
832837
skippedLargeFiles++;
833838
continue;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "statwrap",
33
"productName": "StatWrap",
4-
"version": "0.0.18",
4+
"version": "0.0.19",
55
"description": "Reproducible research made easy",
66
"scripts": {
77
"build": "concurrently \"yarn build-main\" \"yarn build-renderer\" \"yarn build-worker\" \"yarn build-preload\"",

0 commit comments

Comments
 (0)