This file is a history of the changes made to @idearium/cli.
- Now using MongoDB 7.
- Re-release of v4.4.0-beta.3.
c d image prune
command.- Incorporated v5.0.1.
- Fixed issue with
set-value
usage.
- Now using import to use the execa ESM module.
- Version bumped all dev dependencies.
- Removed gulp and gulp-replace.
c ts
commands.c ds
commands.
c mk ip
now retrieves the IP of your Minikube machine on tailnet as configured withc ds handle set
, orc ds mk set
.
- Added more CPU and memory when starting Minikube.
- Updated
c mk start
to use the Docker driver.
- Supporting a new
c.js
format for database information.host
andport
can be replaced withaddress
in the formatmongodb+srv://domain
.
- Added
-s
flag toc kc build
to enable building Docker locations sequentially. - Added
-c
flag toc kc build
to enable building Docker locations concurrently - Added a deprecation message for
c kc build
without either-s
or-c
.
- Pinning
c mk start
to Kubernetes v1.20.7 (due to compatibility issues with Helm ingress and later version of Kubernetes).
--build-arg
flag to build related commands.
- Fixed skaffold builds.
- A
-l
flag toc hosts
to only return the last entry if multiple exist. c mongo
commands now use the-l
flag withc hosts
.
c sdp
commands.c mk ssh
command.
- Removed deprecated
$IMAGES
env variable with$IMAGE
.
- Fixed shelljs in node14+.
- Split up the mongo port again.
- Fixed downloading a single collection.
- Run prettier across all files.
- Fixed
c mk start
for newer kubernetes environments.
c mk docker-env
now uses the zsh shell.
- Added a new version bump commands.
- Added a new build workflow.
- Improved command.
- Bug fixes.
- The path property (from
c.js) used by
c d build ` has been deprecated. c d build <location>
now preferscontext
andfile
properties, rather thanpath
.
- Updated
c skaffold dev
to a bash command (works better with CTRL + C).
- Bug fixes.
- Removed some unnecessary console output.
- New commands.
- Added the
c kc manifests
command. - Added the
c skaffold dev
command.
- Improved commands.
- New commands.
c kc build
now accepts a-t
option to provide a tag.- Added the
c skaffold build
command.
- Bug fixes.
- Improved command.
- The
c mongo download
,c mongo import
andc mongo sync
now actually work when the database name is different between servers.
- Added support for a
-p
on allc mk
commands to support Minikube profiles.
- Improved commands.
- Breaking changes.
c mongo download
,c mongo import
andc mongo sync
now support a more flexible definition inc.js
files.
- Improved commands.
c mongo download
,c mongo import
andc mongo sync
now support acollection
argument to act only on a specific collection.
- Locked down the mongo version.
- Improved command.
- Add
<location>
toc kc stop
allowing you to stop a specific Kubernetes location. Defaults toall
so it's a backwards compatible improvement.
- New workflow.
- Improved commands.
- Added a new workflow,
start
. Used to start the project. c workflow list
now shows all workflows and indicates those that aren't available.c workflow list
now shows any errors a workflow is producing.
- New and renamed workflows.
- Added a new workflow,
restart
. Used when switching between multiple PR branches on the same project.
- Renamed
cli-init
tocli
. - Renamed
project-init
toinit
.
- Halved the minikube memory requirements to 4096MB.
- New commands.
- Added
c kc ngrok
to support exposing Kubernetes services to the world using Ngrok.
- New commands.
- New concept.
- Added
c mk delete
,c mk hosts
,c mk ip
,c mk start
,c mk stop
andc mk restart
to control Minikube. - Added
c hosts add
,c hosts get
andc hosts remove
to help with easy hosts management. - Added
c project env ls
,c project env get
andc project env set
,c project init
,c project name
,c project organisation
,c project prefix
to help with project environment management. - Added a
c d build
command. - Added
c kc apply
,c kc build
,c kc clean
,c kc cmd
,c kc context
,c kc context get
,c kc context set
,c kc deploy
,c kc logs
,c kc pod
,c kc secret
,c kc start
,c kc stop
andc kc test
commands to help with kubectrl. - Added
c gc cmd
andc gc create
commands to help with gcloud. - Added
c fs symlink
commands to help with the file system. - Added the concept of a workflow, allowing project specific needs for predefined workflows. Current workflows are
project-init
andcli-init
. - Added
c workflow list
andc workflow [cmd]
commands to help with project operation.
- New command.
- New concept.
- Added a
c npm proxy <location> [cmd...]
command to proxy NPM commands to certain configured NPM locations within your project. Also supportsall
inplace of<location>
to proxy against multiple locations in sequence. - Added a
c yarn proxy <location> [cmd...]
command which works exactly likec npm proxy
but uses Yarn instead. - Added the concept of a configuration, allowing project specific configuration for certain aspects of the Idearium cli.
- Minor improvements.
- New commands.
- Updated all commands to output an error and show the command help, if you try and run a command that doesn't exist.
c dc rebuild <service>
will now always recreate containers.- Added the
--remove-orphans
to allc dc down
command, as standard. - Added
c npm auth
to retrieve an NPM auth token from~/.npmrc
.
- New commands.
- Updated commands.
- Added
c dc rebuild [service]
to rundocker-compose build [service] && docker-compose up -d [service]
. - Added an optional
<service>
argument and if used,docker-compose logs
will be limited to that service.
- Bug fix.
- Fixes
c dc env file
errors when a.env
file doesn't exist.
- Bug fix.
- Updated the logic for
c dc env file
so that it produces more consistent results.
- Improvements.
c dc env file
now requires you provide, in addition to./devops/templates/.env.tmpl
a./devops/templates/.env.defaults
file, for a list of default values to provide to the template. Example files below.
.env.tmpl
COMPOSE_PROJECT_NAME={{COMPOSE_PROJECT_NAME}}
COMPOSE_FILE={{COMPOSE_FILE}}
.env.defaults
COMPOSE_PROJECT_NAME=cp
COMPOSE_FILE=docker-compose.yml
- New commands.
- Added
c d ps
to rundocker ps
. - Added
c d images
to rundocker images
. - Added
c d clean images
to remove unused Docker images. - Added
c d clean containers
to remove unused Docker containers.
- Minor improvements.
- Updated
c dc env file
to work more like the original fromc.sh
. If you passreset
it will reset theCOMPOSE_FILE
entry to bedocker-compose.yml
. If you passshow
and thedocker-compose.show.yml
file exists, it will set theCOMPOSE_FILE
entry to bedocker-compose.yml:docker-compose.show.yml
.
- Bug fix release.
- Fixed an issue with
package.json
.
- First published version of the cli.