6 Commits

Author SHA1 Message Date
dependabot[bot]
9886b6c5a6 Merge b3dcaf752d into 2ad4b897f4 2021-08-12 19:08:58 +00:00
dependabot[bot]
b3dcaf752d Bump path-parse from 1.0.6 to 1.0.7
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-12 19:08:57 +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",
@@ -4961,9 +4959,9 @@
"dev": true "dev": true
}, },
"path-parse": { "path-parse": {
"version": "1.0.6", "version": "1.0.7",
"resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
"integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==", "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==",
"dev": true "dev": true
}, },
"pbkdf2": { "pbkdf2": {

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"