From 7bae51f34d46ebdfecc70eaebeeaf695e8b5e926 Mon Sep 17 00:00:00 2001 From: Boaz Poolman Date: Tue, 28 Dec 2021 22:07:43 +0100 Subject: [PATCH] chore: Add install-local script --- CONTRIBUTING.md | 2 +- package.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 26a6cdf..a9bdd3d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -23,7 +23,7 @@ git clone git@github.com:YOUR_USERNAME/strapi-plugin-config-sync.git config-sync Go to the plugin and install it's dependencies. ```bash -cd YOUR_STRAPI_PROJECT/src/plugins/config-sync/ && yarn install +cd YOUR_STRAPI_PROJECT/src/plugins/config-sync/ && yarn install-local ``` #### 4. Enable the plugin diff --git a/package.json b/package.json index 5aaf790..790c9f9 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,8 @@ "scripts": { "eslint": "eslint --max-warnings=0 './**/*.{js,jsx}'", "eslint:fix": "eslint --fix './**/*.{js,jsx}'", - "test:unit": "jest --verbose" + "test:unit": "jest --verbose", + "install-local": "yarn install && rm -rf node_modules/@strapi/helper-plugin" }, "dependencies": { "chalk": "^4.1.2",