6 Commits

Author SHA1 Message Date
dependabot[bot]
29d438955a Merge bafc76204d into 2ad4b897f4 2021-03-19 09:40:11 +00:00
dependabot[bot]
bafc76204d Bump elliptic from 6.5.3 to 6.5.4
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.3...v6.5.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-19 09:40:09 +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 21 additions and 25 deletions

View File

@@ -4,14 +4,16 @@ Trigger remote urls in the Directus admin view.
![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
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 🚀
1. Download the [latest release](https://github.com/cupcakearmy/directus-remote-trigger/releases)
2. Unzip
1. Download the [latest release](https://github.com/cupcakearmy/directus-remote-trigger/releases/latest)
2. Unzip `unzip remote-trigger.zip`
3. Add it to the docker config
```yaml

28
package-lock.json generated
View File

@@ -1,8 +1,6 @@
{
"name": "advanced-webhooks",
"version": "1.0.0",
"lockfileVersion": 1,
"requires": true,
"lockfileVersion": 1,
"dependencies": {
"@babel/code-frame": {
"version": "7.10.4",
@@ -2819,24 +2817,24 @@
"dev": true
},
"elliptic": {
"version": "6.5.3",
"resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.3.tgz",
"integrity": "sha512-IMqzv5wNQf+E6aHeIqATs0tOLeOTwj1QKbRcS3jBbYkl5oLAserA8yJTT7/VyHUYG91PRmPyeQDObKLPpeS4dw==",
"version": "6.5.4",
"resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz",
"integrity": "sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==",
"dev": true,
"requires": {
"bn.js": "^4.4.0",
"brorand": "^1.0.1",
"bn.js": "^4.11.9",
"brorand": "^1.1.0",
"hash.js": "^1.0.0",
"hmac-drbg": "^1.0.0",
"inherits": "^2.0.1",
"minimalistic-assert": "^1.0.0",
"minimalistic-crypto-utils": "^1.0.0"
"hmac-drbg": "^1.0.1",
"inherits": "^2.0.4",
"minimalistic-assert": "^1.0.1",
"minimalistic-crypto-utils": "^1.0.1"
},
"dependencies": {
"bn.js": {
"version": "4.11.9",
"resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.9.tgz",
"integrity": "sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw==",
"version": "4.12.0",
"resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz",
"integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==",
"dev": true
}
}

View File

@@ -1,16 +1,12 @@
{
"name": "advanced-webhooks",
"version": "1.0.0",
"description": "",
"main": "",
"private": true,
"scripts": {
"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"
},
"keywords": [],
"author": "",
"license": "GPL-3.0",
"author": "Niccolo Borgioli",
"license": "MIT",
"dependencies": {
"vue": "^2.6.11",
"vue-hot-reload-api": "^2.3.4"