Add yarn install state

This commit is contained in:
2020-11-30 02:07:47 -06:00
parent ba8119903e
commit 1511ec76fb
3 changed files with 52 additions and 0 deletions

View File

@@ -152,6 +152,13 @@ const example_routine = {
source: 'https://static.garrettmills.dev/assets/flitter/flitter_f.png',
path: '/tmp/flitter_f.png',
},
{
// State: the packages for the given path are installed via Yarn
type: 'node.yarn.installed',
host: 'localhost',
path: '/home/user/path/to/project',
force: true, // default: false
},
],
}