diff options
Diffstat (limited to 'docs/updating.md')
-rw-r--r-- | docs/updating.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/updating.md b/docs/updating.md index a01c694..ac2e126 100644 --- a/docs/updating.md +++ b/docs/updating.md | |||
@@ -27,7 +27,7 @@ After changing the files in that folder, you can reload the service inside Ferdi | |||
27 | 27 | ||
28 | - Fork https://github.com/getferdi/recipes and clone it to your computer | 28 | - Fork https://github.com/getferdi/recipes and clone it to your computer |
29 | - Open a terminal in the `scripts/` folder of that repository | 29 | - Open a terminal in the `scripts/` folder of that repository |
30 | - Run `yarn install` to install all dependencies | 30 | - Run `npm install` to install all dependencies |
31 | 31 | ||
32 | This will setup the repository so that you can work on updating it. | 32 | This will setup the repository so that you can work on updating it. |
33 | 33 | ||
@@ -35,9 +35,9 @@ This will setup the repository so that you can work on updating it. | |||
35 | 35 | ||
36 | Again, please **do not** edit any of the files located inside the `uncompressed` folder! Before editing, you'll need to "load" the recipe you want to edit using | 36 | Again, please **do not** edit any of the files located inside the `uncompressed` folder! Before editing, you'll need to "load" the recipe you want to edit using |
37 | ```JavaScript | 37 | ```JavaScript |
38 | yarn load <recipe id> | 38 | npm run load <recipe id> |
39 | ``` | 39 | ``` |
40 | (e.g. `yarn load gmail`) | 40 | (e.g. `npm run load gmail`) |
41 | 41 | ||
42 | Your recipe is now loaded into `scripts/recipe_src`. You can now make changes to the files **in that folder*. | 42 | Your recipe is now loaded into `scripts/recipe_src`. You can now make changes to the files **in that folder*. |
43 | 43 | ||
@@ -47,6 +47,6 @@ In order for Ferdi to update its recipe, you'll need to bump its version number. | |||
47 | 47 | ||
48 | ## 5. Re-packaging the recipe | 48 | ## 5. Re-packaging the recipe |
49 | 49 | ||
50 | You can now run `yarn package` to repackage your updated files. Your changes will be automatically copied into the recipe source at `uncompressed` and compressed into `archives/<recipe id>.tar.gz` - no need to update anything manually! | 50 | You can now run `npm run package` to repackage your updated files. Your changes will be automatically copied into the recipe source at `uncompressed` and compressed into `archives/<recipe id>.tar.gz` - no need to update anything manually! |
51 | 51 | ||
52 | ## 6. Commit your changes and create a PR to <https://github.com/getferdi/recipes> | 52 | ## 6. Commit your changes and create a PR to <https://github.com/getferdi/recipes> |