dirsql 0.4.104 → 0.4.105

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.
@@ -109,6 +109,8 @@ A test runs every row against dirsql as a path-table and, with the leading
109
109
  | `./*/` | `docs/api.md`, `docs/guide.md`, `linkdir/r.md`, `real/r.md` | directory-name |
110
110
  | `./d*` | none | files-only |
111
111
  | `./*.log` | none | gitignore |
112
+ | `./ignored.log` | `ignored.log` | |
113
+ | `./{ignored,x}.log` | `ignored.log` | |
112
114
  | `./**/*.js` | `node_modules/pkg/index.js` | |
113
115
  | `./node_modules/*/index.js` | `node_modules/pkg/index.js` | |
114
116
  | `./docs/**/*.md` | `docs/api.md`, `docs/guide.md`, `docs/nested/deep.md` | |
@@ -121,7 +123,7 @@ A test runs every row against dirsql as a path-table and, with the leading
121
123
 
122
124
  | Tag | Rule | Why |
123
125
  | --- | --- | --- |
124
- | `gitignore` | Inside a git repo, `.gitignore` files hide matching files and directories. `--no-ignore` turns it off. | A query over a repo should not drown in build output. |
126
+ | `gitignore` | Inside a git repo, `.gitignore` files hide files and directories a wildcard matches, never one the pattern spells out. `--no-ignore` turns it off. | A query over a repo should not drown in build output. |
125
127
  | `directory-name` | A pattern's last component that names a directory lists the files directly inside it, like `ls docs`. A trailing `/` is `*` appended. | A table is rows of files, and `ls` is the shell habit. |
126
128
  | `files-only` | A pattern that matches a directory but no file returns nothing. | Every row is a file. |
127
129
  | `absolute` | `/`, `~/` and `../` patterns report absolute `path` values, with `..` folded out textually. | The scanned root is derived from the pattern, so there is no relative base. |
@@ -262,6 +262,9 @@ directory, deeper files override shallower ones, `!pattern` re-includes, and
262
262
  an ignored directory is pruned rather than walked. In a typical repo this
263
263
  excludes build output, virtualenvs, and caches with zero ceremony.
264
264
 
265
+ A `.gitignore` never hides a path the pattern spells out: `'./debug.log'` lists
266
+ that file even when `*.log` is ignored, while `'./*.log'` does not.
267
+
265
268
  A `.gitignore` is in force only when a directory holding `.git` encloses it.
266
269
  Outside a repo none applies, at the scan's start, above it or below it: a
267
270
  `~/.claude` whose `.gitignore` is `*` still lists its files when `~/.claude`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dirsql",
3
- "version": "0.4.104",
3
+ "version": "0.4.105",
4
4
  "description": "Ephemeral SQL index over a local directory",
5
5
  "license": "MIT",
6
6
  "repository": "https://github.com/thekevinscott/dirsql",
@@ -221,10 +221,10 @@
221
221
  ]
222
222
  },
223
223
  "optionalDependencies": {
224
- "@dirsql/lib-linux-x64-gnu": "0.4.104",
225
- "@dirsql/lib-linux-arm64-gnu": "0.4.104",
226
- "@dirsql/lib-darwin-x64": "0.4.104",
227
- "@dirsql/lib-darwin-arm64": "0.4.104",
228
- "@dirsql/lib-win32-x64-msvc": "0.4.104"
224
+ "@dirsql/lib-linux-x64-gnu": "0.4.105",
225
+ "@dirsql/lib-linux-arm64-gnu": "0.4.105",
226
+ "@dirsql/lib-darwin-x64": "0.4.105",
227
+ "@dirsql/lib-darwin-arm64": "0.4.105",
228
+ "@dirsql/lib-win32-x64-msvc": "0.4.105"
229
229
  }
230
230
  }