주시
1
0
포크
이미 dart-packages을(를) 포크했습니다
0
의 미러 https://github.com/tinyrack-net/dart-packages.git 동기화됨 2026-11-28 15:04:31 +09:00
Reusable Dart libraries maintained by Tinyrack
  • Dart 97.5%
  • C 1.1%
  • Lua 0.9%
  • JavaScript 0.4%
  • Shell 0.1%
파일 찾기
저장소 파일(최신 커밋부터)
파일 이름 최신 커밋 메시지 최근 커밋 날짜
2026-09-15 09:12:47 +00:00
.github Update all dependencies and prepare 0.3.0 releases (#44) 2026-09-09 13:35:24 +00:00
packages feat(cliweave): register completion aliases (#47) 2026-09-15 09:12:47 +00:00
test feat: add reusable workspace policy checks (#31) 2026-08-12 03:48:18 +00:00
tool Upgrade to Flutter 3.47 and Dart 3.13 (#35) 2026-08-13 02:32:07 +00:00
.gitattributes feat: complete dartage age v1 support (#5) 2026-07-28 01:26:32 +09:00
.gitignore test: enforce package coverage and shell e2e (#4) 2026-07-27 22:05:38 +09:00
AGENTS.md feat: add reusable workspace policy checks (#31) 2026-08-12 03:48:18 +00:00
analysis_options.yaml feat: establish cliweave and dartage monorepo 2026-07-27 18:08:45 +09:00
LICENSE feat: establish cliweave and dartage monorepo 2026-07-27 18:08:45 +09:00
pubspec.yaml Update all dependencies and prepare 0.3.0 releases (#44) 2026-09-09 13:35:24 +00:00
README.md feat(ptyworld): import cross-platform PTY package from Tinyrack Coder (#22) 2026-08-07 01:32:29 +00:00

Tinyrack Dart packages

Reusable Dart libraries maintained by Tinyrack.

Package Description
cliweave Typed command routing, help, completion, and terminal output for Dart CLIs.
dartage Pure-Dart age v1 encryption with native, passphrase, post-quantum, tag, and streaming support.
ptyworld Cross-platform pseudo-terminal processes built on openpty and ConPTY.
shipworld Release, signing, and desktop-packaging tooling for Dart CLI and Flutter desktop apps.

cliweave, dartage, and shipworld have independent versions and changelogs, and are published to pub.dev by the verified tinyrack.net publisher. Validate shipworld as a standalone package with dart run packages/shipworld/tool/validate_standalone.dart.

ptyworld is unpublished (publish_to: none) while its public contract is evaluated; consumers pin it by commit SHA. It is the only package here that builds native code, through a hook/build.dart C native asset, so it needs no prebuilt binary or manual build step.

Development

Install the workspace dependencies from the repository root:

dart pub get

Then validate the package you changed:

cd packages/cliweave
dart format .
dart analyze --fatal-infos
dart test

Run the repository-owned coverage gate from the workspace root:

dart run tool/verify_coverage.dart

Note that this form runs shipworld, which is only accurate on Windows; on Linux, name the packages you want (for example dart run tool/verify_coverage.dart cliweave dartage ptyworld).

This generates coverage/<package>/lcov.info and requires each package, independently, to cover at least 95% of its executable lib/ lines. The gate uses the Dart test runner directly and does not require a globally installed coverage tool.

dartage has an offline suite and a Node-backed interoperability suite:

cd packages/dartage
dart test -x interop
cd test/interop
pnpm install --frozen-lockfile
cd ../..
dart test -t interop

cliweave also executes its generated completion scripts in the shells they target. Install bash, zsh, and fish on Unix and PowerShell on Windows, then run:

cd packages/cliweave
CLIWEAVE_E2E_SHELLS=bash,zsh,fish dart test -t e2e

On Windows PowerShell:

$env:CLIWEAVE_E2E_SHELLS = 'powershell'
dart test -t e2e