feat: add publishing actions and rename #5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
closes #3
This PR would add automatic NPM publishing and GitHub artifact uploads whenever creating a new release (for example through the GitHub web interface).
Here we also update the package.json name-field to a
directus-extension
-prefix, so that this could be automatically installed to directus withnpm install
(directus/directus#12408). Maybe even a rename todirectus-extension-dictionary-interface
instead of this PRsdirectus-extension-dictionary
could be used?Steps needed for this to work:
NPM_TOKEN
(https://docs.github.com/en/codespaces/managing-codespaces-for-your-organization/managing-encrypted-secrets-for-your-repository-and-organization-for-codespaces#adding-secrets-for-a-repository)npm install directus-extension-dictionary
🎉When trying this out (with npm package
directus-extension-dictionary-test
) I noticed that the interface doesn't seem to work like the GIF when setting it up (on [email protected] at least), but as I don't know how to fix that I hope this PR might motivate you or someone to fix it at some point, would be really great for generic i18n strings for my usecases :)