edf2csv 0.5.29 → 0.5.30
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 +20 -0
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,26 @@
|
|
|
3
3
|
Notable changes to edf2csv. Versions follow [semantic versioning](https://semver.org); while the
|
|
4
4
|
major version is 0, a minor bump may contain breaking changes.
|
|
5
5
|
|
|
6
|
+
## 0.5.30
|
|
7
|
+
|
|
8
|
+
### Fixed: `npm pack` on a clean checkout produced a package with no code in it
|
|
9
|
+
|
|
10
|
+
Four files, no `dist/`, no bin, nothing importable — and `npm pack` reported success. Anyone
|
|
11
|
+
packing the repository, or installing it from a git URL, got a package that installs cleanly
|
|
12
|
+
and does nothing.
|
|
13
|
+
|
|
14
|
+
`prepublishOnly` builds, and runs only for `npm publish`. `npm pack` goes round it, as does a
|
|
15
|
+
git-URL install. Published versions were therefore always fine, which is exactly why this
|
|
16
|
+
could sit there unnoticed: the one path that was covered is the one everybody sees.
|
|
17
|
+
|
|
18
|
+
A `prepack` script builds now, which is the hook both `npm pack` and `npm publish` run. The
|
|
19
|
+
tarball goes from 4 files to 76; installed into a fresh directory it answers `npx edf2csv
|
|
20
|
+
--version`, exports its 28 names, and converts a recording.
|
|
21
|
+
|
|
22
|
+
A test holds the shape rather than the tarball, since packing inside the suite would mean
|
|
23
|
+
running a build inside a build: `files` says what ships, `bin`/`exports`/`types` say what has
|
|
24
|
+
to be in it, and `prepack` is what makes the second true when the first is read.
|
|
25
|
+
|
|
6
26
|
## 0.5.29
|
|
7
27
|
|
|
8
28
|
### Fixed: an annotation channel with no room in it hid the timekeeping in the channel after it
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "edf2csv",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.30",
|
|
4
4
|
"description": "Convert EDF, EDF+ and BDF biosignal recordings (European Data Format) to CSV from the command line. Local, streaming, and never resamples or alters units.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"edf",
|
|
@@ -57,6 +57,7 @@
|
|
|
57
57
|
"scripts": {
|
|
58
58
|
"build": "tsc -p tsconfig.json",
|
|
59
59
|
"clean": "node -e \"fs.rmSync('dist',{recursive:true,force:true})\"",
|
|
60
|
+
"prepack": "npm run build",
|
|
60
61
|
"fixtures": "node test/fixtures/generate.mjs",
|
|
61
62
|
"test": "npm run build && npm run fixtures && node --test test/*.test.js",
|
|
62
63
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|