Closed Yohe-Am closed 3 months ago
[!IMPORTANT]
Review skipped
Auto reviews are disabled on this repository.
Please check the settings in the CodeRabbit UI or the
.coderabbit.yaml
file in this repository. To trigger a single review, invoke the@coderabbitai review
command.You can disable this status message by setting the
reviews.review_status
tofalse
in the CodeRabbit configuration file.
This update introduces numerous changes to dependencies, configurations, and logic throughout the project. Key changes include dependency version adjustments, new dependencies, revisions in environment and task handling, refined control flows, and enhancements to CLI commands. Significant modifications to environment activation processes and task definitions are present, leading to a more flexible and robust system.
File | Change Summary |
---|---|
.ghjk/lock.json |
Dependency version changes: downgraded tar_aa and zstd_aa , added deno_ghrel . |
.github/workflows/tests.yml |
Changed OS configuration from custom-macos to custom-arm for jobs. |
deps/cli.ts |
Removed export of zod_val_err from the deps/cli.ts file. |
deps/common.ts |
Added export of zod_val_err from a different source. |
examples/kitchen/ghjk.ts |
Updated tasks property, modified method calls, inheritance mechanisms, dependencies installation, and task definitions. |
files/deno/worker.ts |
Added import and structured shimDenoNamespace function to set properties on Deno . |
files/mod.ts |
Numerous changes: imports, variable declarations, type definitions, class methods, environment configurations, and task handling. |
ghjk.ts |
Removed some imports and added ports.deno_ghrel function call. |
host/mod.ts |
Introduced new flags, updated CLI function to handle flags and added version resolution. |
host/types.ts |
Removed portsValidator import. |
install/hook.fish |
Adjusted logic related to environment switching, file comparisons, and command substitution syntax. |
install/hook.sh |
precmd() function now unsets GHJK_ENV before calling ghjk_reload when switching directories. |
main.ts |
Introduced reFlagSet and lockedFlagSet flags, adjusted flag handling and default values. |
mod.ts |
Updated configurations, build dependencies handling, task handling, and type definitions. |
modules/envs/inter.ts |
Introduced function getEnvsCtx . |
modules/envs/mod.ts |
Updated environment management, adjustments to environment activation, and enhancements to CLI commands. |
modules/envs/posix.ts |
Updated variable names and refined logic for environment setup and activation, with improved script reliability. |
modules/envs/types.ts |
Adjusted declarations to use moduleValidators.envVarName and updated installSetHashed . |
modules/ports/inter.ts |
Renamed getInstallSetStore to getPortsCtx and updated context object. |
modules/ports/mod.ts |
Updated imports and restructured function calls and variable assignments. |
modules/ports/sync.ts |
Updated type definitions and refactored variable names for correct reference. |
modules/tasks/deno.ts |
Added import of shimDenoNamespace and added _shimHandle variable assignment. |
modules/tasks/exec.ts |
Removed DePromisify , added getEnvsCtx , commented pre-checks, updated error messages, and refined function call parameters. |
modules/tasks/inter.ts |
Introduced function getTasksCtx . |
modules/tasks/mod.ts |
Updated imports and sorted task definition keys for command creation. |
modules/tasks/types.ts |
Adjusted validation schema, made env field optional, renamed envHash to envKey , and removed envs field. |
modules/types.ts |
Refactored constants to include envVarName with validation regex, included in default export. |
ports/act.ts |
Refactored file operations, updated file handling logic to use $.path , and restructured the file copying process. |
ports/cargo-binstall.ts |
Updated logic for handling directories and file names, creating binDir for organization. |
ports/deno_ghrel.ts |
Added a new module for handling GitHub releases in Deno. |
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
@coderabbitai review
Describe your change
ghjk envs ls
deno_ghrel
port$GHJK_RE
env var will force ghjk recreate lockfile$GHJK_LOCKED
env var will force ghjk to avoid re-serialization/use lockfileMotivation and context
MET-347
Migration notes
task
field on the object argument to thefile
function now takes an object instead of an array.allowedBuildDeps
builder function for envs now takes varargs instead of an array..ghjk/lock.json
Checklist
Summary by CodeRabbit
New Features
Refactor
Bug Fixes
Chores
Enhancements