Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .changeset/strong-ways-tan.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@vlandoss/localproxy": patch
"@vlandoss/clibuddy": patch
"@vlandoss/loggy": patch
---

Stop using tsup
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ jobs:
publish: bunx changeset publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
LEFTHOOK: 0

preview:
runs-on: ubuntu-latest
Expand Down
9 changes: 0 additions & 9 deletions .husky/pre-commit

This file was deleted.

1 change: 0 additions & 1 deletion .husky/pre-push

This file was deleted.

24 changes: 24 additions & 0 deletions lefthook.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
pre-commit:
parallel: true
jobs:
- name: check
run: pnpm rr check --fix-staged
stage_fixed: true

- name: tsc
run: pnpm rr pkgs --files {staged_files} --decorator turbo | xargs pnpm test:types
glob:
- "*.{ts,tsx}"
- "tsconfig.json"

pre-push:
jobs:
- name: test
run: |
branch="$(git branch --show-current)"

if [ "$branch" = "main" ]; then
pnpm test --filter='...[HEAD^]'
else
pnpm test --affected
fi
14 changes: 5 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,17 @@
"scripts": {
"build": "turbo build",
"test": "turbo test",
"test:coverage": "turbo test:coverage",
"prepare": "husky"
"test:coverage": "turbo test:coverage"
},
"devDependencies": {
"@changesets/changelog-github": "^0.5.1",
"@changesets/cli": "^2.29.5",
"@changesets/changelog-github": "^0.5.2",
"@changesets/cli": "^2.29.8",
"@total-typescript/tsconfig": "^1.0.4",
"@types/bun": "latest",
"@vlandoss/biome-config": "workspace:*",
"@vlandoss/localproxy": "workspace:*",
"@vlandoss/run-run": "workspace:*",
"@vlandoss/starter": "workspace:*",
"husky": "^9.1.7",
"tsup": "^8.5.0",
"turbo": "^2.5.5"
"lefthook": "^2.1.1",
"turbo": "^2.8.12"
},
"packageManager": "pnpm@10.6.4"
}
15 changes: 3 additions & 12 deletions packages/clibuddy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,30 +14,21 @@
"author": "rcrd <rcrd@variable.land>",
"type": "module",
"exports": {
".": {
"bun": "./src/index.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"default": "./dist/index.js"
},
".": "./src/index.ts",
"./test-helpers": {
"bun": "./test-helpers/index.ts"
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist",
"src"
],
"scripts": {
"build": "tsup",
"prepublishOnly": "pnpm build"
},
"dependencies": {
"@pnpm/workspace.find-packages": "^1000.0.23",
"@pnpm/workspace.read-manifest": "^1000.1.4",
"@pnpm/workspace.find-packages": "^1000.0.62",
"@pnpm/workspace.read-manifest": "^1000.2.10",
"chalk": "5.4.1",
"read-package-up": "11.0.0",
"supports-color": "10.0.0",
Expand Down
10 changes: 0 additions & 10 deletions packages/clibuddy/tsup.config.ts

This file was deleted.

2 changes: 1 addition & 1 deletion packages/localproxy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"test": "bun test"
},
"dependencies": {
"@inquirer/prompts": "^7.8.4",
"@inquirer/prompts": "^7.10.1",
"@vlandoss/clibuddy": "workspace:*",
"@vlandoss/loggy": "workspace:*",
"commander": "13.1.0"
Expand Down
13 changes: 2 additions & 11 deletions packages/loggy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,13 @@
"author": "rcrd <rcrd@variable.land>",
"type": "module",
"exports": {
".": {
"bun": "./src/index.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"default": "./dist/index.js"
}
".": "./src/index.ts"
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist",
"src"
],
"scripts": {
"build": "tsup",
"prepublishOnly": "pnpm build"
},
"publishConfig": {
Expand All @@ -40,7 +31,7 @@
},
"dependencies": {
"consola": "^3.4.2",
"debug": "^4.4.1"
"debug": "^4.4.3"
},
"devDependencies": {
"@types/debug": "^4.1.12"
Expand Down
10 changes: 0 additions & 10 deletions packages/loggy/tsup.config.ts

This file was deleted.

Loading