Skip to content

Commit 3f25d58

Browse files
authored
Merge pull request #110 from ryoppippi/feature/ci-bun
feat(examples/bun): Add std-env to manage cache in CI environment
2 parents b2ce192 + eed0056 commit 3f25d58

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

bun.lockb

32 Bytes
Binary file not shown.

examples/bun-build/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"devDependencies": {
1212
"@types/bun": "latest",
1313
"npm-run-all2": "^6.2.0",
14+
"std-env": "^3.7.0",
1415
"typia": "^6.1.0"
1516
},
1617
"peerDependencies": {

examples/bun-build/preload.ts

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
import { plugin } from 'bun';
2-
import UnpluginTypia from '@ryoppippi/unplugin-typia/bun'
2+
import UnpluginTypia from '@ryoppippi/unplugin-typia/bun';
3+
import { isCI } from "std-env";
34

4-
plugin(UnpluginTypia({cache: true, log: 'verbose'}))
5+
plugin(UnpluginTypia({
6+
cache: isCI,
7+
log: 'verbose'
8+
}))

0 commit comments

Comments
 (0)