Skip to content

Commit dc17a82

Browse files
committed
chore: update deps
1 parent 9e76b6b commit dc17a82

27 files changed

+4926
-5489
lines changed

.prettierrc.cjs

Lines changed: 0 additions & 1 deletion
This file was deleted.

package.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,30 @@
22
"name": "@clerc/monorepo",
33
"private": true,
44
"version": "0.44.0",
5-
"packageManager": "pnpm@8.15.9",
5+
"packageManager": "pnpm@10.14.0",
66
"scripts": {
7-
"build": "rimraf packages/*/dist && pnpm -r run build",
8-
"lint": "eslint . && prettier . --check",
9-
"lint:fix": "eslint . --fix && prettier . --write",
7+
"build": "pnpm -r run build",
8+
"lint": "eslint . || prettier . --check",
9+
"lint:fix": "eslint . --fix || prettier . --write",
1010
"prepublishOnly": "nr build",
1111
"release": "bumpp package.json packages/*/package.json --commit --push --tag && nr build && pnpm publish -r --filter ./packages/*",
1212
"test": "vitest",
13-
"typecheck": "tsc --noEmit",
13+
"typecheck": "tsgo --noEmit",
1414
"watch": "pnpm -r --parallel run watch"
1515
},
1616
"devDependencies": {
17-
"@antfu/ni": "^0.21.8",
18-
"@so1ve/eslint-config": "^2.0.0",
19-
"@so1ve/prettier-config": "^2.0.0",
20-
"@types/node": "^18.17.18",
21-
"bumpp": "^9.2.0",
17+
"@antfu/ni": "^25.0.0",
18+
"@so1ve/eslint-config": "^3.8.1",
19+
"@so1ve/prettier-config": "^3.8.1",
20+
"@types/node": "^24.2.1",
21+
"@typescript/native-preview": "7.0.0-dev.20250812.1",
22+
"bumpp": "^10.2.3",
2223
"clerc": "workspace:*",
23-
"eslint": "^8.57.0",
24-
"pkgroll": "^1.11.0",
25-
"prettier": "^3.2.5",
26-
"rimraf": "^3.0.2",
27-
"typescript": "^5.2.2",
28-
"vite": "^4.4.9",
29-
"vitest": "^0.34.4"
24+
"eslint": "^9.33.0",
25+
"prettier": "^3.6.2",
26+
"tsdown": "^0.14.1",
27+
"typescript": "^5.9.2",
28+
"vite": "^7.1.2",
29+
"vitest": "^3.2.4"
3030
}
3131
}

packages/clerc/package.json

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,10 @@
2424
"license": "MIT",
2525
"sideEffects": false,
2626
"exports": {
27-
".": {
28-
"types": "./dist/index.d.ts",
29-
"import": "./dist/index.js"
30-
}
27+
".": "./dist/index.js"
3128
},
32-
"main": "dist/index.js",
33-
"module": "dist/index.js",
29+
"main": "./dist/index.js",
30+
"module": "./dist/index.js",
3431
"types": "dist/index.d.ts",
3532
"typesVersions": {
3633
"*": {
@@ -47,8 +44,8 @@
4744
"access": "public"
4845
},
4946
"scripts": {
50-
"build": "pkgroll",
51-
"watch": "pkgroll --watch"
47+
"build": "tsdown",
48+
"watch": "tsdown --watch"
5249
},
5350
"dependencies": {
5451
"@clerc/core": "workspace:*",

packages/clerc/tsdown.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default } from "../../tsdown.config.ts";

packages/core/package.json

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,10 @@
2424
"license": "MIT",
2525
"sideEffects": false,
2626
"exports": {
27-
".": {
28-
"types": "./dist/index.d.ts",
29-
"import": "./dist/index.js"
30-
}
27+
".": "./dist/index.js"
3128
},
32-
"main": "dist/index.js",
33-
"module": "dist/index.js",
29+
"main": "./dist/index.js",
30+
"module": "./dist/index.js",
3431
"types": "dist/index.d.ts",
3532
"typesVersions": {
3633
"*": {
@@ -47,15 +44,15 @@
4744
"access": "public"
4845
},
4946
"scripts": {
50-
"build": "pkgroll",
51-
"watch": "pkgroll --watch"
47+
"build": "tsdown",
48+
"watch": "tsdown --watch"
5249
},
5350
"dependencies": {
5451
"@clerc/utils": "workspace:*",
55-
"defu": "^6.1.2",
52+
"defu": "^6.1.4",
5653
"is-platform": "^1.0.0",
5754
"lite-emit": "^2.3.0",
58-
"type-fest": "^4.3.1",
55+
"type-fest": "^4.41.0",
5956
"type-flag": "^3.0.0"
6057
}
6158
}

packages/core/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ export type { RootType } from "./cli";
22
export { Clerc, Root } from "./cli";
33
export * from "./errors";
44
export * from "./helpers";
5-
export * from "./types";
5+
export type * from "./types";
66
export * from "./utils";

packages/core/src/types/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,6 @@ export interface InterceptorObject<C extends Commands = Commands> {
118118
fn: InterceptorFn<C>;
119119
}
120120

121-
export * from "./i18n";
121+
export type * from "./i18n";
122122
export type { Plugin } from "./plugin";
123123
export type { MakeEventMap } from "./utils";

packages/core/tsdown.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default } from "../../tsdown.config.ts";

packages/plugin-completions/package.json

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,10 @@
2525
"license": "MIT",
2626
"sideEffects": false,
2727
"exports": {
28-
".": {
29-
"types": "./dist/index.d.ts",
30-
"import": "./dist/index.js"
31-
}
28+
".": "./dist/index.js"
3229
},
33-
"main": "dist/index.js",
34-
"module": "dist/index.js",
30+
"main": "./dist/index.js",
31+
"module": "./dist/index.js",
3532
"types": "dist/index.d.ts",
3633
"typesVersions": {
3734
"*": {
@@ -48,8 +45,8 @@
4845
"access": "public"
4946
},
5047
"scripts": {
51-
"build": "pkgroll",
52-
"watch": "pkgroll --watch"
48+
"build": "tsdown",
49+
"watch": "tsdown --watch"
5350
},
5451
"dependencies": {
5552
"@clerc/utils": "workspace:*"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default } from "../../tsdown.config.ts";

0 commit comments

Comments
 (0)