Minee is a command-line interface (CLI) tool specifically designed to bundle modules for Google Earth Engine. It addresses the challenge of managing multiple script dependencies within Earth Engine by consolidating them into a single, compact JavaScript file. This process significantly reduces import times and file sizes, improving performance when working with complex Earth Engine projects. The current stable version is `0.0.9`, with a release cadence that has seen several minor updates in quick succession, indicating active development and responsiveness to bug fixes. A key differentiator is its specialized focus on the Earth Engine ecosystem, handling its specific module resolution requirements. It offers options for minification, custom output paths, and configuration via a `.minee.json` file, allowing developers to streamline their Earth Engine development workflow. It primarily functions as a CLI tool, without an exposed programmatic API for direct JavaScript integration.
npm install mineeVerified import paths — ran on the pinned version, not inferred.
Demonstrates global installation, the critical authentication step for Earth Engine, and basic CLI usage with options, including an example of configuration file usage.
Follow the authentication steps at https://earthengine.googlesource.com/new-password to ensure `~/.gitcookies` is correctly configured.
For versions >=0.0.6, always use `--entry` to specify the entry path (e.g., `minee --entry=...`). If using an older version, provide the entry path directly after the command without the flag.
Update to `minee` version 0.0.8 or newer to resolve issues with the `--dest` path. Always verify the output file location and name after bundling.
Re-authenticate by visiting https://earthengine.googlesource.com/new-password and following the instructions to set up your `.gitcookies` file correctly.
Ensure `minee` is updated to version 0.0.8 or newer. Explicitly specify the `--dest` option, or ensure your `.minee.json` file has a valid `dest` property.
Update `minee` to version 0.0.7 or newer to fix the module caching issue. Clear any local caches if the problem persists (though `minee` handles its own caching internally for repositories).