6 Commits

Author SHA1 Message Date
dependabot[bot]
324dc57c9b Merge 3063caacd5 into 2ad4b897f4 2021-05-11 20:54:50 +00:00
dependabot[bot]
3063caacd5 Bump lodash from 4.17.19 to 4.17.21
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11 20:54:49 +00:00
2ad4b897f4 Update README.md 2021-03-19 10:38:24 +01:00
9dd5c0e28d Update and rename readme.md to README.md 2021-03-19 10:37:41 +01:00
0734933a50 Update readme.md 2020-07-25 00:07:47 +02:00
fdb97fe877 clean package 2020-07-25 00:06:42 +02:00
3 changed files with 12 additions and 16 deletions

View File

@@ -4,14 +4,16 @@ Trigger remote urls in the Directus admin view.
![Screenshot](https://i.imgur.com/Cnl3PBn.png) ![Screenshot](https://i.imgur.com/Cnl3PBn.png)
> ## ⚠️ As of Directus 9 this is mostly solved natively and you should use the built in webhooks
## Motivation ## Motivation
I needed a way to trigger my Vercel build as the native hooks support in the settings page would require a hook for each crud operation on each collection. I needed a way to trigger my Vercel build as the native hooks support in the settings page would require a hook for each crud operation on each collection.
## Getting Started 🚀 ## Getting Started 🚀
1. Download the [latest release](https://github.com/cupcakearmy/directus-remote-trigger/releases) 1. Download the [latest release](https://github.com/cupcakearmy/directus-remote-trigger/releases/latest)
2. Unzip 2. Unzip `unzip remote-trigger.zip`
3. Add it to the docker config 3. Add it to the docker config
```yaml ```yaml

10
package-lock.json generated
View File

@@ -1,8 +1,6 @@
{ {
"name": "advanced-webhooks",
"version": "1.0.0",
"lockfileVersion": 1,
"requires": true, "requires": true,
"lockfileVersion": 1,
"dependencies": { "dependencies": {
"@babel/code-frame": { "@babel/code-frame": {
"version": "7.10.4", "version": "7.10.4",
@@ -4233,9 +4231,9 @@
} }
}, },
"lodash": { "lodash": {
"version": "4.17.19", "version": "4.17.21",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.19.tgz", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
"integrity": "sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ==", "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==",
"dev": true "dev": true
}, },
"lodash.clone": { "lodash.clone": {

View File

@@ -1,16 +1,12 @@
{ {
"name": "advanced-webhooks", "private": true,
"version": "1.0.0",
"description": "",
"main": "",
"scripts": { "scripts": {
"build": "rm -rf ./dist/* && directus-extensions build", "build": "rm -rf ./dist/* && directus-extensions build",
"pack": "cp -r ./dist/ ./remote-trigger && zip -r remote-trigger.zip remote-trigger/ && rm -rf ./remote-trigger", "pack": "npm run build && cp -r ./dist/ ./remote-trigger && zip -r remote-trigger.zip remote-trigger/ && rm -rf ./remote-trigger",
"dev": "directus-extensions watch" "dev": "directus-extensions watch"
}, },
"keywords": [], "author": "Niccolo Borgioli",
"author": "", "license": "MIT",
"license": "GPL-3.0",
"dependencies": { "dependencies": {
"vue": "^2.6.11", "vue": "^2.6.11",
"vue-hot-reload-api": "^2.3.4" "vue-hot-reload-api": "^2.3.4"