Skip to content

Commit

Permalink
replace ui/build, yarn, rollup, node-sass with bleep, pnpm, esbuild, …
Browse files Browse the repository at this point in the history
…dart-sass

- migrate useful rollup.config.mjs contents to 'lichess_org' field in package.jsons
- edit each package's tsconfig so we don't have to build a special directory with modified versions in bleep
- make implicit dependencies explicit (in various modules, too many to list here)
- adjust hard-coded paths, including scss && toastui symlinks, to reflect consequences of pnpm's inline node_modules approach (where each package only has access to explicitly stated dependencies)
- remove rollup.config.mjs, gulpfile.js, yarn lockfile, rollupProject, outdated build script
- remove dead code from bleep
  • Loading branch information
schlawg committed Dec 17, 2022
1 parent f075d97 commit e8b51d6
Show file tree
Hide file tree
Showing 130 changed files with 6,729 additions and 10,188 deletions.
58 changes: 9 additions & 49 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,13 @@
},
"homepage": "https://lichess.org",
"engines": {
"node": ">=14.3 <=19",
"yarn": "^1"
"node": ">=16 <=19",
"pnpm": "^7.18.2"
},
"os": [
"linux",
"darwin"
],
"dependencies": {
"prettier": "2.7.1",
"xml2js": "0.4.23"
Expand All @@ -38,51 +42,7 @@
"check-format": "prettier --check .",
"lint": "eslint . --ext .ts",
"lila-journal": "journalctl --user -fu lila -o cat",
"serverlog": "multitail -cT ansi -l 'npm run lila-journal' -cT ansi -ke '^[0-9\\.]{10} ' -I .metals/metals.log",
"multilog": "multitail -cT ansi -l 'npm run lila-journal' -cT ansi -L 'ui/bleep -w' -cT ansi -ke '^[0-9\\.]{10} ' -I .metals/metals.log"
},
"workspaces": [
"ui",
"ui/analyse",
"ui/ceval",
"ui/challenge",
"ui/chat",
"ui/chess",
"ui/cli",
"ui/common",
"ui/chart",
"ui/coordinateTrainer",
"ui/dasher",
"ui/editor",
"ui/game",
"ui/keyboardMove",
"ui/nvui",
"ui/mod",
"ui/palantir",
"ui/insight",
"ui/learn",
"ui/lobby",
"ui/notify",
"ui/puzzle",
"ui/round",
"ui/serviceWorker",
"ui/simul",
"ui/site",
"ui/swiss",
"ui/tournament",
"ui/tournamentSchedule",
"ui/tournamentCalendar",
"ui/tree",
"ui/msg",
"ui/tutor",
"ui/dgt",
"ui/puz",
"ui/storm",
"ui/racer",
"ui/opening",
"ui/@build/rollupProject",
"ui/@build/bleep",
"ui/@types/lichess",
"ui/@types/cash"
]
"serverlog": "multitail -cT ansi -l 'pnpm lila-journal' -cT ansi -ke '^[0-9\\.]{10} ' -I .metals/metals.log",
"multilog": "multitail -cT ansi -l 'pnpm lila-journal' -cT ansi -L 'ui/bleep -w' -cT ansi -ke '^[0-9\\.]{10} ' -I .metals/metals.log"
}
}
Loading

0 comments on commit e8b51d6

Please sign in to comment.