Skip to content

Commit

Permalink
Merge pull request #117 from dqbd/dqbd/js-tiktoken-missing-files
Browse files Browse the repository at this point in the history
fix(js): add missing rank files back to js-tiktoken
  • Loading branch information
dqbd authored Aug 15, 2024
2 parents 60ff9bb + 74e7870 commit 25f0656
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/wise-falcons-sing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"js-tiktoken": patch
---

Add missing rank files for js-tiktoken
5 changes: 4 additions & 1 deletion js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,17 @@
"description": "JavaScript port of tiktoken",
"license": "MIT",
"scripts": {
"build": "rm -rf dist && tsup",
"build": "rm -rf dist && tsup && cp -R src/ranks dist/ranks",
"test": "vitest run"
},
"type": "module",
"main": "./dist/index.cjs",
"types": "./dist/index.d.ts",
"files": [
"dist/**/*",
"!dist/ranks/*.tiktoken",
"!dist/ranks/*.json",
"!dist/ranks/ranks.ts",
"index.js",
"index.d.ts",
"lite.js",
Expand Down

0 comments on commit 25f0656

Please sign in to comment.