Skip to content

Commit 11362f0

Browse files
authored
Upgrade hohoro, add dev scripts for libraries (#32)
## Changes: - Upgrade `hohoro` to v0.2.0 - Add `dev.mjs` scripts to each package - Add `dev` script to each package
1 parent 56a1464 commit 11362f0

File tree

6 files changed

+18
-4
lines changed

6 files changed

+18
-4
lines changed

bun.lockb

-76.4 KB
Binary file not shown.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"@turbo/gen": "1.13.3",
77
"knip": "^5.25.2",
88
"one-version": "0.2.0",
9-
"turbo": "2.0.6",
9+
"turbo": "2.0.11",
1010
"@biomejs/biome": "1.8.3"
1111
},
1212
"scripts": {
@@ -22,5 +22,5 @@
2222
"one-version:check": "one-version check",
2323
"knip": "knip"
2424
},
25-
"packageManager": "bun@1.1.17"
25+
"packageManager": "bun@1.1.21"
2626
}

packages/pkg-a/dev.mjs

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import { runBuild } from "hohoro";
2+
3+
await runBuild({
4+
rootDirectory: process.cwd(),
5+
logger: console,
6+
});

packages/pkg-a/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,12 @@
2222
"devDependencies": {
2323
"@swc/cli": "0.3.10",
2424
"@swc/core": "1.4.2",
25-
"hohoro": "0.1.2",
25+
"hohoro": "0.2.0",
2626
"@types/bun": "latest",
2727
"typescript": "5.4.5"
2828
},
2929
"scripts": {
30+
"dev": "node --watch-path=./src dev.mjs",
3031
"build": "hohoro",
3132
"type-check": "tsc -p ./tsconfig.json",
3233
"lint": "biome lint ./src/",

packages/template-library/dev.mjs

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import { runBuild } from "hohoro";
2+
3+
await runBuild({
4+
rootDirectory: process.cwd(),
5+
logger: console,
6+
});

packages/template-library/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,12 @@
2222
"devDependencies": {
2323
"@swc/cli": "0.3.10",
2424
"@swc/core": "1.4.2",
25-
"hohoro": "0.1.2",
25+
"hohoro": "0.2.0",
2626
"@types/bun": "latest",
2727
"typescript": "5.4.5"
2828
},
2929
"scripts": {
30+
"dev": "node --watch-path=./src dev.mjs",
3031
"build": "hohoro",
3132
"type-check": "tsc -p ./tsconfig.json",
3233
"lint": "biome lint ./src/",

0 commit comments

Comments
 (0)