Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compress-gzip - updating rimraf and tsd #1127

Merged
merged 15 commits into from
Sep 7, 2024
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"test:services:stop": "docker compose -f ./docker-compose.yaml down -v",
"test:services-arm64:start": "docker compose -f ./docker-compose-arm64.yaml up -d",
"test:services-arm64:stop": "docker compose -f ./docker-compose-arm64.yaml down -v",
"website:build": "yarn workspace @keyv/website run build",
"website:build": "yarn workspace @keyv/website run website:build",
"website:serve": "yarn workspace @keyv/website run website:serve",
"clean": "rm -rf node_modules && rm -rf yarn.lock && yarn workspaces run clean"
},
"devDependencies": {
Expand Down
9 changes: 5 additions & 4 deletions packages/compress-brotli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
}
},
"scripts": {
"build": "rm -rf dist && tsup src/index.ts --format cjs,esm --dts --clean",
"build": "rimraf ./dist && tsup src/index.ts --format cjs,esm --dts --clean",
"prepare": "yarn build",
"test": "xo --fix && vitest run --coverage",
"test:ci": "xo && vitest --run --sequence.setupFiles=list",
"clean": "rm -rf node_modules && rm -rf ./coverage && rm -rf ./test/testdb.sqlite && rm -rf ./dist && rm -rf ./.nyc_output"
"clean": "rimraf ./node_modules ./coverage ./test/testdb.sqlite ./dist"
},
"xo": {
"rules": {
Expand Down Expand Up @@ -53,13 +53,14 @@
},
"homepage": "https://github.com/jaredwray/keyv",
"dependencies": {
"@keyv/serialize": "*",
"compress-brotli": "^1.3.12",
"keyv": "^5.0.1",
"@keyv/serialize": "*"
"keyv": "^5.0.1"
},
"devDependencies": {
"@keyv/test-suite": "*",
"c8": "^10.1.2",
"rimraf": "^6.0.1",
"xo": "^0.59.3"
},
"tsd": {
Expand Down
11 changes: 6 additions & 5 deletions packages/compress-gzip/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
}
},
"scripts": {
"build": "rm -rf dist && tsup src/index.ts --format cjs,esm --dts --clean",
"build": "rimraf dist && tsup src/index.ts --format cjs,esm --dts --clean",
"prepare": "yarn build",
"test": "xo --fix && vitest run --coverage",
"test:ci": "xo && vitest --run --sequence.setupFiles=list",
"clean": "rm -rf node_modules && rm -rf .nyc_output && rm -rf ./dist && rm -rf coverage.lcov && rm -rf ./test/testdb.sqlite"
"clean": "rimraf node_modules ./dist ./coverage ./test/testdb.sqlite"
},
"xo": {
"rules": {
Expand Down Expand Up @@ -51,13 +51,14 @@
},
"homepage": "https://github.com/jaredwray/keyv",
"dependencies": {
"@keyv/serialize": "*",
"@types/pako": "^2.0.3",
"pako": "^2.1.0",
"@keyv/serialize": "*"
"pako": "^2.1.0"
},
"devDependencies": {
"@keyv/test-suite": "*",
"tsd": "^0.31.1",
"rimraf": "^6.0.1",
"tsd": "^0.31.2",
"xo": "^0.59.3"
},
"tsd": {
Expand Down
5 changes: 3 additions & 2 deletions packages/etcd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
}
},
"scripts": {
"build": "rm -rf dist && tsup src/index.ts --format cjs,esm --dts --clean",
"build": "rimraf ./dist && tsup src/index.ts --format cjs,esm --dts --clean",
"prepare": "yarn build",
"test": "xo --fix && vitest run --coverage",
"test:ci": "xo && vitest --run --sequence.setupFiles=list",
"clean": "rm -rf node_modules && rm -rf ./coverage"
"clean": "rimraf ./node_modules ./coverage ./dist"
},
"xo": {
"rules": {
Expand Down Expand Up @@ -75,6 +75,7 @@
"c8": "^10.1.2",
"keyv": "^5.0.0",
"requirable": "^1.0.5",
"rimraf": "^6.0.1",
"ts-node": "^10.9.2",
"tsd": "^0.31.1",
"typescript": "^5.5.4",
Expand Down
5 changes: 3 additions & 2 deletions packages/keyv/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
}
},
"scripts": {
"build": "rm -rf dist && tsup src/index.ts --format cjs,esm --dts --clean",
"build": "rimraf ./dist && tsup src/index.ts --format cjs,esm --dts --clean",
"prepare": "yarn build",
"test": "xo --fix && vitest run --coverage",
"test:ci": "xo && vitest --run --sequence.setupFiles=list",
"clean": "rm -rf node_modules && rm -rf ./coverage && rm -rf ./test/testdb.sqlite && rm -rf ./dist"
"clean": "rimraf ./node_modules ./coverage ./test/testdb.sqlite ./dist"
},
"xo": {
"rules": {
Expand Down Expand Up @@ -80,6 +80,7 @@
},
"devDependencies": {
"@keyv/test-suite": "*",
"rimraf": "^6.0.1",
"timekeeper": "^2.3.1",
"tsd": "^0.31.2",
"xo": "^0.59.3"
Expand Down
5 changes: 3 additions & 2 deletions packages/memcache/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
}
},
"scripts": {
"build": "rm -rf dist && tsup src/index.ts --format cjs,esm --dts --clean",
"build": "rimraf ./dist && tsup src/index.ts --format cjs,esm --dts --clean",
"prepare": "yarn build",
"test": "xo --fix && vitest run --coverage",
"test:ci": "xo && vitest --run --sequence.setupFiles=list",
"clean": "rm -rf node_modules && rm -rf ./coverage"
"clean": "rimraf ./node_modules ./coverage ./dist"
},
"xo": {
"rules": {
Expand Down Expand Up @@ -67,6 +67,7 @@
"@keyv/test-suite": "*",
"@types/memjs": "^1.3.3",
"keyv": "^5.0.1",
"rimraf": "^6.0.1",
"ts-node": "^10.9.2",
"tsd": "^0.31.2",
"typescript": "^5.5.4",
Expand Down
5 changes: 3 additions & 2 deletions packages/mongo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
}
},
"scripts": {
"build": "rm -rf dist && tsup src/index.ts --format cjs,esm --dts --clean",
"build": "rimraf ./dist && tsup src/index.ts --format cjs,esm --dts --clean",
"prepare": "yarn build",
"test": "xo --fix && vitest run --coverage",
"test:ci": "xo && vitest --run --sequence.setupFiles=list",
"clean": "rm -rf node_modules && rm -rf ./coverage"
"clean": "rimraf ./node_modules ./coverage ./dist"
},
"xo": {
"rules": {
Expand Down Expand Up @@ -68,6 +68,7 @@
"devDependencies": {
"@keyv/test-suite": "*",
"keyv": "^5.0.0",
"rimraf": "^6.0.1",
"tsd": "^0.31.1",
"xo": "^0.59.3"
},
Expand Down
5 changes: 3 additions & 2 deletions packages/mysql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
}
},
"scripts": {
"build": "rm -rf dist && tsup src/index.ts --format cjs,esm --dts --clean",
"build": "rimraf ./dist && tsup src/index.ts --format cjs,esm --dts --clean",
"prepare": "yarn build",
"test": "xo --fix && vitest run --coverage",
"test:ci": "xo && vitest --run --sequence.setupFiles=list",
"clean": "rm -rf node_modules && rm -rf ./coverage"
"clean": "rimraf ./node_modules ./coverage ./dist"
},
"xo": {
"rules": {
Expand Down Expand Up @@ -68,6 +68,7 @@
"devDependencies": {
"@keyv/test-suite": "*",
"keyv": "^5.0.0",
"rimraf": "^6.0.1",
"ts-node": "^10.9.2",
"tsd": "^0.31.1",
"xo": "^0.59.3"
Expand Down
5 changes: 3 additions & 2 deletions packages/offline/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
}
},
"scripts": {
"build": "rm -rf dist && tsup src/index.ts --format cjs,esm --dts --clean",
"build": "rimraf ./dist && tsup src/index.ts --format cjs,esm --dts --clean",
"prepare": "yarn build",
"test": "xo --fix && vitest run --coverage",
"test:ci": "xo && vitest --run --sequence.setupFiles=list",
"clean": "rm -rf node_modules && rm -rf ./coverage && rm -rf ./test/testdb.sqlite"
"clean": "rimraf ./node_modules ./coverage ./test/testdb.sqlite ./dist"
},
"xo": {
"rules": {
Expand Down Expand Up @@ -61,6 +61,7 @@
"@keyv/redis": "*",
"@keyv/test-suite": "*",
"keyv": "^5.0.1",
"rimraf": "^6.0.1",
"ts-node": "^10.9.2",
"tsd": "^0.31.2",
"xo": "^0.59.3"
Expand Down
5 changes: 3 additions & 2 deletions packages/postgres/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
}
},
"scripts": {
"build": "rm -rf dist && tsup src/index.ts --format cjs,esm --dts --clean",
"build": "rimraf ./dist && tsup src/index.ts --format cjs,esm --dts --clean",
"prepare": "yarn build",
"test": "xo --fix && vitest run --coverage",
"test:ci": "xo && vitest --run --sequence.setupFiles=list",
"clean": "rm -rf node_modules && rm -rf ./coverage"
"clean": "rimraf ./node_modules ./coverage ./dist"
},
"xo": {
"rules": {
Expand Down Expand Up @@ -65,6 +65,7 @@
"@keyv/test-suite": "*",
"@types/pg": "^8.11.6",
"keyv": "^5.0.0",
"rimraf": "^6.0.1",
"tsd": "^0.31.1",
"xo": "^0.59.3"
},
Expand Down
5 changes: 3 additions & 2 deletions packages/redis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
}
},
"scripts": {
"build": "rm -rf dist && tsup src/index.ts --format cjs,esm --dts --clean",
"build": "rimraf ./dist && tsup src/index.ts --format cjs,esm --dts --clean",
"prepare": "yarn build",
"test": "xo --fix && vitest run --coverage",
"test:ci": "xo && vitest --run --sequence.setupFiles=list",
"clean": "rm -rf node_modules && rm -rf ./coverage"
"clean": "rimraf ./node_modules ./coverage ./dist"
},
"xo": {
"rules": {
Expand Down Expand Up @@ -63,6 +63,7 @@
"devDependencies": {
"@keyv/test-suite": "*",
"keyv": "^5.0.1",
"rimraf": "^6.0.1",
"timekeeper": "^2.3.1",
"tsd": "^0.31.2",
"xo": "^0.59.3"
Expand Down
17 changes: 9 additions & 8 deletions packages/serialize/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@
"description": "Serialization for keyv",
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.js"
}
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.js"
}
},
"scripts": {
"build": "rm -rf dist && tsup src/index.ts --format cjs,esm --dts --clean",
"build": "rimraf ./dist && tsup src/index.ts --format cjs,esm --dts --clean",
"prepare": "yarn build",
"test": "xo --fix && vitest run --coverage",
"test:ci": "xo && vitest --run --sequence.setupFiles=list",
"clean": "rm -rf node_modules && rm -rf ./coverage"
"clean": "rimraf ./node_modules ./coverage ./dist"
},
"xo": {
"rules": {
Expand Down Expand Up @@ -62,6 +62,7 @@
"devDependencies": {
"@keyv/test-suite": "*",
"keyv": "^5.0.0",
"rimraf": "^6.0.1",
"ts-node": "^10.9.2",
"tsd": "^0.31.1",
"typescript": "^5.5.4",
Expand Down
5 changes: 3 additions & 2 deletions packages/sqlite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
}
},
"scripts": {
"build": "rm -rf dist && tsup src/index.ts --format cjs,esm --dts --clean",
"build": "rimraf ./dist && tsup src/index.ts --format cjs,esm --dts --clean",
"prepare": "yarn build",
"test": "xo --fix && vitest run --coverage",
"test:ci": "xo && vitest --run --sequence.setupFiles=list",
"clean": "rm -rf node_modules && rm -rf ./coverage && rm -rf ./test/testdb.sqlite"
"clean": "rimraf ./node_modules ./coverage ./test/testdb.sqlite ./dist"
},
"xo": {
"rules": {
Expand Down Expand Up @@ -65,6 +65,7 @@
"devDependencies": {
"@keyv/test-suite": "*",
"keyv": "^5.0.0",
"rimraf": "^6.0.1",
"tsd": "^0.31.1",
"xo": "^0.59.3"
},
Expand Down
7 changes: 4 additions & 3 deletions packages/test-suite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
},
"type": "module",
"scripts": {
"build": "rm -rf dist && tsup src/index.ts --format cjs,esm --dts --clean",
"build": "rimraf ./dist && tsup src/index.ts --format cjs,esm --dts --clean",
"prepare": "yarn build",
"test": "xo --fix && vitest run --coverage",
"test:ci": "xo && vitest --run --sequence.setupFiles=list",
"clean": "rm -rf node_modules && rm -rf ./coverage && rm -rf dist && rm -rf ./test/testdb.sqlite"
"clean": "rimraf ./node_modules ./coverage ./dist ./test/testdb.sqlite"
},
"xo": {
"rules": {
Expand Down Expand Up @@ -67,7 +67,8 @@
"devDependencies": {
"@keyv/compress-brotli": "*",
"@types/json-bigint": "^1.0.4",
"keyv": "^5.0.1"
"keyv": "^5.0.1",
"rimraf": "^6.0.1"
},
"ava": {
"extensions": [
Expand Down
5 changes: 3 additions & 2 deletions packages/tiered/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
}
},
"scripts": {
"build": "rm -rf dist && tsup src/index.ts --format cjs,esm --dts --clean",
"build": "rimraf ./dist && tsup src/index.ts --format cjs,esm --dts --clean",
"prepare": "yarn build",
"test": "xo --fix && vitest run --coverage",
"test:ci": "xo && vitest --run --sequence.setupFiles=list",
"clean": "rm -rf node_modules && rm -rf ./coverage && rm -rf ./test/testdb.sqlite"
"clean": "rimraf ./node_modules ./coverage ./test/testdb.sqlite ./dist"
},
"xo": {
"rules": {
Expand Down Expand Up @@ -59,6 +59,7 @@
"c8": "^10.1.2",
"eslint": "^9.9.0",
"keyv": "^5.0.0",
"rimraf": "^6.0.1",
"tsd": "^0.31.1",
"typescript": "^5.5.4",
"xo": "^0.59.3"
Expand Down
9 changes: 4 additions & 5 deletions packages/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,17 @@
"scripts": {
"test:ci": "echo 'no tests needed'",
"test": "echo 'no tests needed'",
"generate-docs": "ts-node ./src/docs.ts",
"build": "yarn clean && yarn generate-docs && docula build",
"generate-docs": "rimraf ./dist && ts-node ./src/docs.ts",
"build": "yarn generate-docs && docula build",
"build-serve": "yarn clean && yarn generate-docs && docula serve",
"clean": "rimraf ./dist ./docs/compression ./docs/test-suite ./docs/storage-adapters",
"serve": "docula serve"
"website:serve": "docula serve"
},
"devDependencies": {
"@types/fs-extra": "^11.0.4",
"docula": "^0.9.0",
"rimraf": "^6.0.1",
"ts-node": "^10.9.2"
},
"dependencies": {
"fs-extra": "^11.2.0"
}
}
Loading
Loading