Skip to content

Commit d4c9b23

Browse files
committed
chore(deps): bump version
1 parent 98c85fd commit d4c9b23

File tree

8 files changed

+954
-499
lines changed

8 files changed

+954
-499
lines changed

apps/server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@
4646
},
4747
"devDependencies": {
4848
"@hono/node-server": "^1.13.8",
49-
"hono": "^4.7.4"
49+
"hono": "^4.7.5"
5050
}
5151
}

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@
3838
"@commitlint/config-conventional": "^19.8.0",
3939
"@commitlint/prompt-cli": "^19.8.0",
4040
"@commitlint/types": "^19.8.0",
41-
"@icebreakers/eslint-config": "^1.0.3",
41+
"@icebreakers/eslint-config": "^1.0.4",
4242
"@icebreakers/monorepo": "workspace:*",
4343
"@icebreakers/stylelint-config": "^1.0.0",
4444
"@types/fs-extra": "^11.0.4",
4545
"@types/node": "^22.13.10",
46-
"@vitest/coverage-v8": "~3.0.8",
46+
"@vitest/coverage-v8": "~3.0.9",
4747
"ci-info": "^4.2.0",
4848
"cross-env": "^7.0.3",
4949
"defu": "^6.1.4",
@@ -63,7 +63,7 @@
6363
"turbo": "^2.4.4",
6464
"typescript": "^5.8.2",
6565
"unbuild": "^3.5.0",
66-
"vitest": "~3.0.8",
66+
"vitest": "~3.0.9",
6767
"yaml": "^2.7.0"
6868
},
6969
"publishConfig": {

packages/bar/build.config.ts

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
import path from 'node:path'
2+
import { defineBuildConfig } from 'unbuild'
3+
4+
export default defineBuildConfig({
5+
// entries: ['./src/index', './src/cli'],
6+
rollup: {
7+
// 内联,相当于 nodeResolve
8+
inlineDependencies: true,
9+
// cjs
10+
emitCJS: true,
11+
// 添加 cjs 注入
12+
cjsBridge: true,
13+
dts: {
14+
// https://github.com/unjs/unbuild/issues/135
15+
respectExternal: false,
16+
},
17+
},
18+
alias: {
19+
// 别名
20+
'@': path.resolve(__dirname, './src'),
21+
},
22+
// dts
23+
declaration: true,
24+
})

packages/bar/package.json

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "@icebreakers/bar",
33
"type": "module",
4-
"version": "0.1.2",
5-
"description": "tsup(esbuild) build package template",
4+
"version": "0.1.3",
5+
"description": "tsup build package template",
66
"author": "ice breaker <1324318532@qq.com>",
77
"license": "MIT",
88
"repository": {
@@ -16,30 +16,27 @@
1616
"keywords": [],
1717
"sideEffects": false,
1818
"exports": {
19-
".": "./src/index.ts"
19+
".": {
20+
"types": "./dist/index.d.ts",
21+
"import": "./dist/index.mjs",
22+
"require": "./dist/index.cjs"
23+
}
2024
},
25+
"main": "./dist/index.cjs",
26+
"module": "./dist/index.mjs",
27+
"types": "./dist/index.d.ts",
2128
"files": [
2229
"dist"
2330
],
2431
"scripts": {
25-
"dev": "tsup --watch --sourcemap",
32+
"dev": "unbuild --stub",
33+
"build:watch": "tsup --watch --sourcemap",
2634
"build": "tsup",
2735
"test": "vitest run",
2836
"test:dev": "vitest",
2937
"release": "pnpm publish",
3038
"lint": "eslint .",
3139
"lint:fix": "eslint . --fix"
3240
},
33-
"publishConfig": {
34-
"exports": {
35-
".": {
36-
"types": "./dist/index.d.ts",
37-
"import": "./dist/index.js",
38-
"require": "./dist/index.cjs"
39-
}
40-
},
41-
"main": "./dist/index.cjs",
42-
"module": "./dist/index.js",
43-
"types": "./dist/index.d.ts"
44-
}
41+
"publishConfig": {}
4542
}

packages/bar/tsup.config.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ export default defineConfig({
88
dts: true,
99
// https://github.com/egoist/tsup/pull/1056
1010
// https://github.com/egoist/tsup/issues?q=cjsInterop
11-
// cjsInterop: true,
12-
// splitting: true,
11+
cjsInterop: true,
12+
splitting: true,
13+
outExtension({ format }) {
14+
return {
15+
js: `.${format === 'esm' ? 'mjs' : 'cjs'}`,
16+
}
17+
},
1318
})

packages/foo/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "@icebreakers/foo",
33
"type": "module",
4-
"version": "0.1.2",
5-
"description": "esbuild(rollup) build package template",
4+
"version": "0.1.3",
5+
"description": "esbuild build package template",
66
"author": "ice breaker <1324318532@qq.com>",
77
"license": "ISC",
88
"repository": {

packages/monorepo/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,14 @@
5353
"bin": "bin/copy.js"
5454
},
5555
"dependencies": {
56-
"@inquirer/checkbox": "^4.1.3",
57-
"@inquirer/confirm": "^5.1.7",
56+
"@inquirer/checkbox": "^4.1.4",
57+
"@inquirer/confirm": "^5.1.8",
5858
"@pnpm/logger": "^1000.0.0",
5959
"@pnpm/types": "^1000.2.1",
60-
"@pnpm/workspace.find-packages": "^1000.0.16",
60+
"@pnpm/workspace.find-packages": "^1000.0.17",
6161
"commander": "^13.1.0",
6262
"comment-json": "^4.2.5",
63-
"consola": "^3.4.0",
63+
"consola": "^3.4.2",
6464
"execa": "^9.5.2",
6565
"fs-extra": "^11.3.0",
6666
"git-url-parse": "^16.0.1",

0 commit comments

Comments
 (0)