Skip to content

Commit 0512404

Browse files
committed
readme
1 parent 19f0029 commit 0512404

3 files changed

Lines changed: 7 additions & 8 deletions

File tree

CHANGELOG.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
## [6.0.1](https://github.com/GMOD/twobit-js/compare/v6.0.0...v6.0.1) (2025-05-13)
22

3-
4-
53
# [6.0.0](https://github.com/GMOD/twobit-js/compare/v4.0.1...v6.0.0) (2025-04-30)
64

75
# [5.0.0](https://github.com/GMOD/twobit-js/compare/v4.0.1...v5.0.0) (2025-04-30)

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ const seqNames = await t.getSequenceNames()
5858
##### Parameters
5959

6060
- `args` **[object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
61-
6261
- `args.filehandle` **Filehandle?** node fs.promises-like filehandle for the .2bit file.
6362
Only needs to support `filehandle.read(buffer, offset, length, position)`
6463
- `args.path` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?** filesystem path for the .2bit file to open

package.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,20 @@
3131
],
3232
"scripts": {
3333
"test": "vitest",
34+
"benchonly": "vitest bench",
35+
"bench": "./scripts/build-both-branches.sh \"$BRANCH1\" \"$BRANCH2\" && vitest bench",
3436
"format": "prettier --write .",
3537
"coverage": "yarn test --coverage",
3638
"lint": "eslint --report-unused-disable-directives --max-warnings 0",
3739
"docs": "documentation readme src/twoBitFile.ts --section=TwoBitFile",
3840
"postdocs": "yarn format && git commit -am 'readme'",
3941
"clean": "rimraf dist esm",
40-
"prebuild": "yarn docs && yarn clean",
42+
"prebuild": "yarn clean",
4143
"build:esm": "tsc --outDir esm",
4244
"build:es5": "tsc --module commonjs --outDir dist",
4345
"build": "yarn build:esm && yarn build:es5",
4446
"postbuild:es5": "echo '{\"type\": \"commonjs\"}' > dist/package.json",
45-
"preversion": "npm run build",
47+
"preversion": "yarn docs && yarn build",
4648
"version": "standard-changelog && git add CHANGELOG.md",
4749
"postversion": "git push --follow-tags"
4850
},
@@ -54,17 +56,17 @@
5456
"generic-filehandle2": "^2.0.1"
5557
},
5658
"devDependencies": {
57-
"@vitest/coverage-v8": "^3.0.1",
59+
"@vitest/coverage-v8": "^4.0.15",
5860
"documentation": "^14.0.1",
5961
"eslint": "^9.7.0",
6062
"eslint-plugin-import": "^2.31.0",
61-
"eslint-plugin-unicorn": "^61.0.2",
63+
"eslint-plugin-unicorn": "^62.0.0",
6264
"prettier": "^3.4.2",
6365
"rimraf": "^6.0.1",
6466
"standard-changelog": "^7.0.1",
6567
"typescript": "^5.5.3",
6668
"typescript-eslint": "^8.13.0",
67-
"vitest": "^3.0.1"
69+
"vitest": "^4.0.15"
6870
},
6971
"publishConfig": {
7072
"access": "public"

0 commit comments

Comments
 (0)