Upgrading to 2.0
Pondoknusa 2.0.0 is a rename of Tyravel — same codebase, new package scope, CLI, config file, and branding. There are no intentional API breaks beyond the identifier changes listed below.
See the v2.0.0 release notes and changelog.
Package and tooling renames
| Before (Tyravel) | After (Pondoknusa) |
|---|---|
@tyravel/core | @pondoknusa/core |
tyravel CLI | pondoknusa CLI |
tyravel.json | pondoknusa.json |
TYRAVEL_* env vars | PONDOKNUSA_* |
thesimonharms/tyravel | pondoknusa/pondoknusa |
npm create tyravel@latest | npm create pondoknusa@latest |
npm does not allow renaming packages. Legacy @tyravel/* installs show a deprecation notice pointing to @pondoknusa/*.
Migration checklist
- Bump dependencies — replace every
@tyravel/*import andpackage.jsonentry with@pondoknusa/*at^2.0.0. - Rename config —
tyravel.json→pondoknusa.json; updatepackage.jsonscripts that invoke the CLI. - Rename env vars — e.g.
TYRAVEL_PORT→PONDOKNUSA_PORT,TYRAVEL_HOST→PONDOKNUSA_HOST. - Global CLI — uninstall
tyravelif installed globally; usepondoknusa(ornpx pondoknusa). - Search the codebase —
rg '@tyravel|tyravel\.json|TYRAVEL_'should return nothing when done. - Run tests —
npm test(or your app’s test suite) after the find-and-replace pass.
Example package.json diff
diff
- "@tyravel/core": "^1.0.3"
+ "@pondoknusa/core": "^2.0.0"What stays the same
.tyrtemplates — file extension and Blade-like syntax are unchanged.- API token prefix — still
tyr_<secret>(historical format; not tied to the project name). - Stable APIs — semver policy from 1.0 still applies; see API stability.
New projects
Scaffold fresh apps with:
bash
npm create pondoknusa@latest my-appStill on 0.x?
If you are upgrading from 0.11–0.16 to 1.0 first, complete Upgrading to 1.0 before applying the 2.0 rename.