-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Dial fully for `lando update` * Manual commands for yarn deprecation.
- Loading branch information
1 parent
2caecc0
commit 5fd44b4
Showing
15 changed files
with
9,278 additions
and
4,455 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,4 +39,4 @@ coverage/ | |
_site | ||
docs/.vuepress/.cache | ||
docs/.vuepress/.temp | ||
docs/.vuepress/dist | ||
docs/.vuepress/distyarn.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,31 +38,37 @@ This plugin is included with Lando by default. That means if you have Lando vers | |
However if you would like to manually install the plugin, update it to the bleeding edge or install a particular version then use the below. Note that this installation method requires Lando `3.5.0+`. | ||
|
||
:::: code-group | ||
::: code-group-item LANDO 3.21+ | ||
```bash:no-line-numbers | ||
lando plugin-add @lando/varnish | ||
``` | ||
::: | ||
::: code-group-item HYPERDRIVE | ||
```bash:no-line-numbers | ||
# @TODO | ||
# @NOTE: This doesn't actaully work yet | ||
hyperdrive install @lando/varnish | ||
``` | ||
::: | ||
::: code-group-item DOCKER | ||
```bash:no-line-numbers | ||
# Ensure you have a global plugins directory | ||
mkdir -p ~/.lando/plugins | ||
# Install plugin | ||
# NOTE: Modify the "yarn add @lando/varnish" line to install a particular version eg | ||
# yarn add @lando/[email protected] | ||
# NOTE: Modify the "npm install @lando/varnish" line to install a particular version eg | ||
# npm install @lando/[email protected] | ||
docker run --rm -it -v ${HOME}/.lando/plugins:/plugins -w /tmp node:14-alpine sh -c \ | ||
"yarn init -y \ | ||
&& yarn add @lando/varnish --production --flat --no-default-rc --no-lockfile --link-duplicates \ | ||
&& yarn install --production --cwd /tmp/node_modules/@lando/varnish \ | ||
"npm init -y \ | ||
&& npm install @lando/varnish --production --flat --no-default-rc --no-lockfile --link-duplicates \ | ||
&& npm install --production --cwd /tmp/node_modules/@lando/varnish \ | ||
&& mkdir -p /plugins/@lando \ | ||
&& mv --force /tmp/node_modules/@lando/varnish /plugins/@lando/varnish" | ||
# Rebuild the plugin cache | ||
lando --clear | ||
``` | ||
::: | ||
::: code-group-item HYPERDRIVE | ||
```bash:no-line-numbers | ||
# @TODO | ||
# @NOTE: This doesn't actaully work yet | ||
hyperdrive install @lando/varnish | ||
``` | ||
:::: | ||
|
||
You should be able to verify the plugin is installed by running `lando config --path plugins` and checking for `@lando/varnish`. This command will also show you _where_ the plugin is being loaded from. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.