New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

garden-cli

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

garden-cli - npm Package Versions

13

0.4.0-alpha.adbcbe0

Diff

jonedvald
published 0.3.0 •

Changelog

Source

v0.3.0 (2018-07-10)

Bug Fixes

  • fixed more issues with cross-repo versioning (2b0d93e1)
  • set identifier max length to match k8s service name limit (ad0a54f3)
  • ensure namespace is removed before returning when deleting env (f381d33f)
  • create-commands: rename function type to google-cloud-function (49c4c93a)
  • create-module-command: type option should be an enum (a8316d16)
  • file-writer: only create file if content to write (562daa8e)
  • release: publish script should exit on error (075537f5)

Code Refactoring

  • build command is now an array, for consistency (0bf020ab)
  • always load container and npm-package plugins (4bf5d181)
  • remove dependency on watchman (fec104a1)
  • k8s: ensure namespaces are created when needed (67946eb4)
  • k8s: change metadata namespace name (6f732995)

Features

  • add create project/module commands (b611b35d)
  • allow numeric log levels (e2a7b6fd)
  • cli: enable custom hints in help message (37c31590)
  • config: add ${local.platform} template key (1c6d4927)
  • container: add env key to specify env vars for containers (9fa0cb8d)
  • generic: add env var support to generic module type (a5096eee)
  • k8s: allow specifying default username in k8s provider config (1e42cfb5)
  • k8s: add repo parameter to helm module type (5d3af140)

Performance Improvements

  • generic plugin now keeps track of last built version (ab3714b3)

BREAKING CHANGE

Any existing garden.yml files with the build.command key set need to be updated to provide an array of strings as a command, as opposed to a simple string.

Existing metadata namespaces will have to be manually cleaned up. We suggest resetting local k8s clusters after upgrading.

The tests[].variables config key has been removed from the garden.yml configuration file schema.

<a name="v0.2.0"></a>

jonedvald
published 0.3.0-alpha.a8d4145 •

jonedvald
published 0.2.0 •

Changelog

Source

v0.2.0 (2018-06-27)

Bug Fixes

  • malformed output from ctx.getStatus() (#134) (d2227210)
  • pin npm version in CircleCI (206d9467)
  • error in Module.getVersion() (6491678e)
  • broken npm run dev after package.json changes (8bd62173)
  • module versions are now handled properly across multiple repos (c647cf9b)
  • test result versions now correctly account for test dependencies (8b8a6bde)
  • add missing lodash dependency (!) (2abb90c0)
  • don't run dist script on every npm install (c73f5e13)
  • ci: only do clean install from package-lock (3c44191e)
  • cli: delete environment command wasn't linked to parent (e0789f14)
  • cli: set error code when calling CLI with bad command (bb24acd0)
  • cli: enforce single character option aliases (a49e7991)
  • cli: add missing shebang line in garden binary (632925d1)
  • container: build issue where Dockerfile is copied or generated (c0186d95)
  • core: potential race-condition when parsing modules (944e150d)
  • ctx: better error.log output from processModules() (b0eb86e7)
  • integ: fix init env command in integ test script (f644ec2e)
  • k8s: better error message when kubectl fails (41f14828)
  • k8s: incorrect use of execa (cecbaa36)
  • k8s: patch bugs in kubernetes client (e45f72a2)
  • logger: remove unnecessary call to stopLoop (db845610)
  • vsc: handle weird stat behavior by wrapping it (df11647e)

Code Refactoring

  • consistently use verb before noun in CLI (e88e55e6)
  • switch to official kubernetes client library (8ccd9a1a)
  • rename project.global to project.environmentDefaults (#131) (3ebe1dca)

Features

  • generate homebrew formula on publish (72c4b4d7)
  • build: Handle config changes in auto-reload. (9d9295f5)
  • k8s: add helm module type (122e6dda)

Performance Improvements

  • implemented caching of module version (e451f7a6)
  • got rid of all synchronous subprocess and filesystem calls (9b624248)

BREAKING CHANGE

The following CLI commands have now been renamed, and any scripts using them need to be updated accordingly: config delete -> delete config config get -> get config config set -> set config environment configure -> init environment environment destroy -> delete environment status -> get status

Existing garden.yml files will need to be updated if they use the project.global key.

<a name="v0.1.2"></a>

jonedvald
published 0.2.0-alpha.d182a92 •

jonedvald
published 0.2.0-0 •

jonedvald
published 0.1.2 •

Changelog

Source

v0.1.2 (2018-06-02)

Bug Fixes

  • add missing prepublish step (a1dbde98)
  • incorrect bin link in package.json (237ce857)
  • utils: gulp dev dependencies and update util/index (9e65f02d)

<a name="v0.1.0"></a>

jonedvald
published 0.1.1-0 •

jonedvald
published 0.1.1 •

jonedvald
published 0.1.0 •

Changelog

Source

v0.1.0 (2018-05-31)

Bug Fixes

  • allow empty output from test runs (67a2d956)
  • syntax error in .release-it.json (010a138c)
  • allow commands to specify logger type (893f9e24)
  • add missing license header (f6e11d91)
  • #107 & #108 - incl. deps in auto-reload. (d1aaf5e4)
  • ensure module build paths have trailing slash (for rsync) (1c555d12)
  • fix default log level on header and finish methods (1eb143d5)
  • #85 closing gulp watch didn't close tsc process (4b3a7c45)
  • partial CircleCI status on PRs (7d0a3ef0)
  • regression after splitting up GardenContext (bbb6db5b)
  • issue where module scanning would hang with empty projects (ec47c72b)
  • bug in CLI when handling errors (f7ae4dd0)
  • better and more consistent error handling in CLI commands (36ba7b7c)
  • service outputs were not propagated to runtime context (0151593f)
  • bad timestamp values could crash log command (4383d75e)
  • propagate force flag to deployService action (6ccc9d06)
  • wrong function name in local-gcf-container (7a7d5af8)
  • error handling in hello-container (f778fe9f)
  • issue with gulp watch and static files (dc9cd9f4)
  • use built-in ingress controller and dashboard for minikube (879bce21)
  • deploy command would deploy all services from each processed module (673630c9)
  • Cancel dependants on task error. (68316083)
  • temporarily disabling minikube tests in CI (issues with CircleCI) (5e1b4bca)
  • better error output when gulp add-version-files fails (0fc4ee4f)
  • Cache results to skip superfluous tasks. (0632e367)
  • fix destroy env command after kubernetes-client upgrade (200fd018)
  • print json/yaml output after cli returns parse results (eeadf160)
  • disable ts-node cache in tests to avoid inconsistencies (21f2d44e)
  • version is now correctly set for plugin modules (#84) (d9c37572)
  • remove .vscode directories in multi-container example (ccd426db)
  • add missing copyright-header dependency on CircleCI (ceca5c42)
  • add missing dependencies for copyright-header on OSX (d4d639f5)
  • k8s plugin now respects configured context (a395b792)
  • testModule handlers now receive runtime context (6ea60b01)
  • better output rendering for JSON responses in call command (1aecfe07)
  • better handling of streams not from logger (42fa17ed)
  • linting errors in tests (185eb696)
  • better kubectl errors (76fabd64)
  • minor logging fixes (bde56fa4)
  • Correction to FS watcher subscription logic. (59699144)
  • test name was not included in test result keys (3dac1860)
  • Added OperationQueue to TaskGraph. (ae797859)
  • linting errors (e839e8eb)
  • re-implemented local GCF plugin to fix issues (3f2ee336)
  • add better error logging for kubectl and rsync (212304ac)
  • issue where build dependencies couldn't be copied (d3a44cdb)
  • changed how paths are handled when copying build dependencies (d6506daf)
  • allow unkown keys in baseModuleSchema (78303dee)
  • added missing "Done!" message at end of build command (a05f2c5e)
  • build staging no longer copies symlinks (0fc60bd0)
  • issues with kubernetes-client after upgrade (f4096a24)
  • better logger types (56596fbe)
  • package.json & .snyk to reduce vulnerabilities (0766b56b)
  • cli: duplicate command checks now accounts for subcommands (b9e22f5f)
  • cli: map all Errors to GardenErrors and log accordingly (02b05b39)
  • hello-world: npm package is now included in function build (27956534)
  • hello-world-example: add missing Dockerfile directives (4acc4cc7)
  • logger: more performant update function (4d8c89e6)
  • logger: fix basic-terminal-writer superflous newline (bfc0fcf4)

Code Refactoring

  • move invalid flags check to command setup function (ee89b74e)
  • split up writers into separate modules (e528b35f)
  • add processServices alongside processModules helper (48710228)
  • major hardening of internal plugin APIs (242d0aad)
  • changed YAML spec to use lists instead of maps in most places (f1d2548f)
  • remove unusued watchModules command (920eacc1)
  • merge autoreload command into dev command (3c78c364)
  • remove skipAutoReload option (f96fc5f1)
  • replaced build and test scripts with gulpfile (05e3c73d)
  • changed build dependency copy specs config format (608f9633)
  • k8s garden-system now deployed via sub-Garden (4a79c45a)
  • move some logic from commands to plugin context (b7173bea)
  • major overhaul to plugin architecture (3b97e088)
  • split GardenContext into Garden and PluginContext (04b5417d)
  • rename GardenContext to Garden (64bce4fb)
  • split Kubernetes plugin into more modules (e6d84e16)

Features

  • created local-kubernetes plugin and added config options (1fcf88d8)
  • add truncatePrevious option to file-writer (a64fbb0c)
  • add force flag to env config command (d5ba05b3)
  • template variables can now access provider name and config (51e2f33b)
  • support and documentation for Minikube (b2c632c3)
  • Detect circular dependencies. (4a352767)
  • add scan command to output info about modules in project (075e6c2b)
  • add support for .gardenignore file (7ba24b73)
  • add global --output flag for CLI (7f256531)
  • add run commands for ad-hoc runs of modules, services and tests (3aca6aca)
  • pass parent to nested log entries (41cddf06)
  • add filter and find methods to logger (814733b6)
  • add login and logout commands (00548e2a)
  • add loglevel as cli option and remove silent/verbose options (985c1606)
  • add watch flag to test and build commands (dd0a4fe7)
  • add --watch flag to deploy command (7b11d58a)
  • auto-rebuilding modules & FS watching (8191aa82)
  • added buildContext param to buildModule handlers (141abe9a)
  • plugins can now add modules to a project (26f38c78)
  • user no longer needs to run env config command (8cb65120)
  • cli: validate option flags (8c249bdd)

Performance Improvements

  • made tests run quite a bit faster (1aa69fdc)

BREAKING CHANGE

This includes some changes to the project schema and how it is resolved, as well as how the main Garden class is instantiated. The Garden class is now called with an environment name, which is then fixed for the session. The env configuration is resolved by merging the specific environment configuration with a global configuration specified on the new global key in the project config. The schema for the providers key also different - its keys should now match plugin names, and contain configuration for those plugins.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc