-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit b4b7ad1
Showing
12 changed files
with
20,689 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
node_modules/directus-codestyle/.editorconfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Publish Release Packages | ||
|
||
on: | ||
release: | ||
types: [created] | ||
|
||
jobs: | ||
build-and-publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
- run: npm ci | ||
- run: npm run build | ||
- name: Upload Artifact | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
files: | | ||
dist/index.js | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
publish-npm: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: 16 | ||
registry-url: https://registry.npmjs.org/ | ||
- run: npm ci | ||
- run: npm run build | ||
- run: npm publish | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.npm_token}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
node_modules | ||
/editorjs | ||
/dist | ||
/*.tgz | ||
/*.zip |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Directus extension - M2M tags | ||
|
||
![](https://raw.githubusercontent.com/dimitrov-adrian/directus-extension-tags-m2m-interface/main/screenshot.gif) | ||
|
||
Use M2M relation with quick item referencing in tagging style. | ||
|
||
> This extension is some kind of fork of my [PR #3654](https://github.com/directus/directus/pull/3654) with some sligh | ||
> modifications. | ||
## Installation | ||
|
||
In your Directus installation root | ||
|
||
```bash | ||
npm install directus-extension-tags-m2m-interface | ||
``` | ||
|
||
Restart directus | ||
|
||
## How to use | ||
|
||
1. Create new M2M relation field to your collection | ||
2. For interface select **Tags** | ||
3. Select **Corresponding Field** | ||
|
||
The interface uses the corresponding field to make the references, if no related item exists, then new one will be | ||
created with just the value set for the field. Please note that if you collection have some other required fields | ||
without default value, then probabbly saving will throw an error message. |
Oops, something went wrong.