Compare commits

...

1 commit

Author SHA1 Message Date
eefbfb642d
chore: mark typescript package as tree shakeable 2025-12-13 07:43:29 -08:00
2 changed files with 23 additions and 7 deletions

2
.gitignore vendored
View file

@ -4,7 +4,7 @@ typescript/dist/
typescript/*.tsbuildinfo
typescript/.nyc_output/
typescript/coverage/
typescript/package.json
typescript/package-lock.json
# Rust
target/

View file

@ -1,12 +1,27 @@
{
"name": "@peoplesgrocers/lseq",
"version": "0.99.1",
"version": "0.99.2",
"description": "L-SEQ algorithm implementation for fractional indexing and list CRDTs",
"main": "dist/index.js",
"sideEffects": false,
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"homepage": "https://peoplesgrocers.com/code/oss/lseq",
"scripts": {
"build": "tsc",
"build": "tsup src/index.ts --format cjs,esm --dts",
"test": "uvu -r tsx src \\.test\\.ts$",
"prepublishOnly": "npm run build"
},
@ -23,9 +38,10 @@
],
"license": "AGPL-3.0",
"devDependencies": {
"tsup": "^8.5.1",
"tsx": "^4.7.0",
"typescript": "^5.0.0",
"uvu": "^0.5.6",
"tsx": "^4.7.0"
"uvu": "^0.5.6"
},
"files": [
"dist/**/*",
@ -40,4 +56,4 @@
"publishConfig": {
"access": "public"
}
}
}