File tree Expand file tree Collapse file tree 3 files changed +13
-46
lines changed Expand file tree Collapse file tree 3 files changed +13
-46
lines changed Original file line number Diff line number Diff line change 11# Development Setup
22
3- Node.js 22+ and depot_tools are required for development
3+ Node.js 22+ and PNPM required for development
44
55``` bash
6- update_depot_tools
7- ensure_bootstrap
8- git clone https://github.com/HeyPuter/browser.js --recursive
9- cd browser.js
6+ git submodule update --init
107pnpm i
11- rustup update
12- rustup install nightly
13- rustup default nightly
14- cargo install --git https://github.com/r58playz/wasm-snip
15- cargo install wasm-bindgen-cli --version 0.2.100
16- pnpm rewriter:build
17- pnpm build
18- cd dreamlandjs
19- pnpm build
20- cd ..
21- cd chii
22- pnpm init:front_end
23- pnpm build
24- cd ..
25- cd playwright
26- npm i
27- npm run build
28- cd web_builder
29- npx rollup -c
30- cd ../..
31- cd chobitsu
32- pnpm build
33- cd ..
34- cd page_inject
35- npx rollup -c
36- cd ..
37- cd frontend
38- pnpm vite build
8+ pnpm build:dreamland
9+ pnpm build (x2)
10+ pnpm dev
3911```
4012
4113# Incremental Build
4214
4315``` bash
44- (cd playwright && npm run watch) &
45- (cd playwright/web_builder && npx rollup -cw) &
46- (pnpm dev) &
47- (cd dreamlandjs && pnpm watch) &
48- (cd chobitsu && pnpm webpack --watch --mode=development) &
49- (cd page_inject && npx rollup -cw) &
50- (cd frontend && pnpm dev) &
16+ pnpm dev
5117```
Original file line number Diff line number Diff line change @@ -132,6 +132,7 @@ const PAD_TOP = 1;
132132const PAD_BOTTOM = 1 ;
133133
134134function blackSpaces ( count : number ) {
135+ count = Math . abs ( count ) ;
135136 return black ( ) ( " " . repeat ( count ) ) ;
136137}
137138
Original file line number Diff line number Diff line change 22 "name" : " browser.js" ,
33 "version" : " 1.0.0" ,
44 "description" : " " ,
5+ "type" : " module" ,
6+ "keywords" : [],
7+ "author" : " " ,
8+ "license" : " AGPL-3.0-only" ,
9+ "packageManager" :
" [email protected] " ,
510 "scripts" : {
11+ "build" : " rspack build" ,
612 "build:dreamland" : " cd external/dreamlandjs && pnpm build" ,
713 "build:chrome" : " cd packages/chrome && pnpm build" ,
814 "dev" : " node --no-warnings=ExperimentalWarning devserver.ts" ,
9- "build" : " rspack build" ,
1015 "watch" : " rspack build --watch" ,
1116 "format" : " prettier --write ."
1217 },
13- "type" : " module" ,
14- "keywords" : [],
15- "author" : " " ,
16- "license" : " AGPL-3.0-only" ,
17- "packageManager" :
" [email protected] " ,
1818 "devDependencies" : {
1919 "@mercuryworkshop/wisp-js" : " ^0.4.0" ,
2020 "@rsdoctor/rspack-plugin" : " ^1.3.6" ,
You can’t perform that action at this time.
0 commit comments