File tree Expand file tree Collapse file tree 6 files changed +1
-352
lines changed Expand file tree Collapse file tree 6 files changed +1
-352
lines changed Original file line number Diff line number Diff line change @@ -14,11 +14,7 @@ UHRP_CADDY_PATH=~/tmp/.uhrp
1414```
1515
1616``` bash
17- # not auto install caddy when postinstall
1817npm i unplugin-https-reverse-proxy --save-dev
19-
20- # auto install
21- UHRP_AUTO_INSTALL_CADDY=true npm i unplugin-https-reverse-proxy --save-dev
2218```
2319
2420``` ts
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ export default antfu({
77 ignores : [
88 'docs/**/*' ,
99 'examples/**/*' ,
10- 'scripts/postinstall.cjs' ,
1110 ] ,
1211 } ,
1312] )
Original file line number Diff line number Diff line change 7575 },
7676 "files" : [
7777 " dist" ,
78- " scripts/postinstall.cjs" ,
7978 " src"
8079 ],
8180 "scripts" : {
82- "postinstall" : " node scripts/postinstall.cjs" ,
8381 "build" : " tsup" ,
8482 "dev" : " tsup --watch src" ,
8583 "build:fix" : " tsx scripts/postbuild.ts" ,
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -12,16 +12,5 @@ export default [
1212 dts : true ,
1313 onSuccess : 'npm run build:fix' ,
1414 external : [ 'proper-lockfile' ] ,
15- } ,
16- {
17- entryPoints : [
18- 'scripts/postinstall.ts' ,
19- ] ,
20- target : 'node16' ,
21- platform : 'node' ,
22- outDir : 'scripts' ,
23- format : [ 'cjs' ] ,
24- onSuccess : 'npm run build:fix' ,
25- external : [ 'proper-lockfile' ] ,
26- } ,
15+ }
2716] satisfies Options [ ]
You can’t perform that action at this time.
0 commit comments