-
Notifications
You must be signed in to change notification settings - Fork 11
feat(terminal): add shared terminal package #362
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -7,19 +7,20 @@ | |||||||||||||||||||||||||||||||||||||||||||
| "type": "module", | ||||||||||||||||||||||||||||||||||||||||||||
| "packageManager": "bun@1.3.11", | ||||||||||||||||||||||||||||||||||||||||||||
| "scripts": { | ||||||||||||||||||||||||||||||||||||||||||||
| "prebuild": "bun run --cwd ../lib build", | ||||||||||||||||||||||||||||||||||||||||||||
| "prebuild": "bun run --cwd ../terminal build && bun run --cwd ../lib build", | ||||||||||||||||||||||||||||||||||||||||||||
| "build": "tsc -p tsconfig.json", | ||||||||||||||||||||||||||||||||||||||||||||
| "dev": "tsc -p tsconfig.json --watch", | ||||||||||||||||||||||||||||||||||||||||||||
| "prestart": "bun run build", | ||||||||||||||||||||||||||||||||||||||||||||
| "start": "bun dist/src/main.js", | ||||||||||||||||||||||||||||||||||||||||||||
| "pretypecheck": "bun run --cwd ../lib build", | ||||||||||||||||||||||||||||||||||||||||||||
| "pretypecheck": "bun run --cwd ../terminal build && bun run --cwd ../lib build", | ||||||||||||||||||||||||||||||||||||||||||||
| "typecheck": "tsc --noEmit -p tsconfig.json", | ||||||||||||||||||||||||||||||||||||||||||||
| "lint": "eslint .", | ||||||||||||||||||||||||||||||||||||||||||||
| "pretest": "bun run --cwd ../lib build", | ||||||||||||||||||||||||||||||||||||||||||||
| "pretest": "bun run --cwd ../terminal build && bun run --cwd ../lib build", | ||||||||||||||||||||||||||||||||||||||||||||
|
Comment on lines
+10
to
+18
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Добавьте подготовку После перехода на 💡 Предлагаемое изменение "scripts": {
"prebuild": "bun run --cwd ../terminal build && bun run --cwd ../lib build",
"build": "tsc -p tsconfig.json",
+ "predev": "bun run --cwd ../terminal build && bun run --cwd ../lib build",
"dev": "tsc -p tsconfig.json --watch",
"prestart": "bun run build",
"start": "bun dist/src/main.js",
"pretypecheck": "bun run --cwd ../terminal build && bun run --cwd ../lib build",As per coding guidelines, 📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||||||||||||||||||||||||||||||
| "test": "vitest run" | ||||||||||||||||||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||||||||||||||||||
| "dependencies": { | ||||||||||||||||||||||||||||||||||||||||||||
| "@effect-template/lib": "workspace:*", | ||||||||||||||||||||||||||||||||||||||||||||
| "@prover-coder-ai/docker-git-terminal": "workspace:*", | ||||||||||||||||||||||||||||||||||||||||||||
| "@effect/platform": "^0.96.1", | ||||||||||||||||||||||||||||||||||||||||||||
| "@effect/platform-node": "^0.106.0", | ||||||||||||||||||||||||||||||||||||||||||||
| "@effect/schema": "^0.75.5", | ||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧹 Nitpick | 🔵 Trivial | 💤 Low value
Рассмотрите консолидацию последовательных RUN-инструкций.
Hadolint предлагает объединить последовательные
RUN-команды для оптимизации слоёв Docker-образа. Текущая структура (отдельные шаги для session-sync, terminal, lib) улучшает читаемость и отладку, но увеличивает размер образа.♻️ Возможная оптимизация слоёв Docker
🧰 Tools
🪛 Hadolint (2.14.0)
[info] 92-92: Multiple consecutive
RUNinstructions. Consider consolidation.(DL3059)
[info] 93-93: Multiple consecutive
RUNinstructions. Consider consolidation.(DL3059)
🤖 Prompt for AI Agents