Repository navigation
feat(plugins): add plugin dev create and starter templates - #1746
Open
developerkunal wants to merge 3 commits into
Open
developerkunal wants to merge 3 commits into
developerkunal wants to merge 3 commits into
Conversation
developerkunal
force-pushed
the
DXCDT-2619/templates-dev-create
branch
from
November 2, 2026 11:12
954e0de to
861bdd5
Compare
developerkunal
force-pushed
the
DXCDT-2619/templates-dev-create
branch
from
November 2, 2026 14:31
861bdd5 to
3fac436
Compare
- Add plugin dev create, which scaffolds a Go or TypeScript plugin project - Embed the starter templates with tests, CI and a local release command - Generate plugin.json from the typed manifest and validate it before writing
developerkunal
force-pushed
the
DXCDT-2619/templates-dev-create
branch
from
November 2, 2026 19:43
3fac436 to
7917533
Compare
This branch has not been deployed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
🔧 Changes
This adds
auth0 plugin dev create, which writes a starter plugin project in Go (--lang go) or TypeScript (--lang ts). The plugin ID, version, description, first command, scopes, author, license and target directory come from flags or prompts. The starter projects are embedded in the CLI, so creating a project needs no network request.go-auth0, and the TypeScript starter uses theauth0Node package. Both call the Management API through the local plugin proxy, using the domain, token and CA certificate that the CLI passes to the plugin.make releaseorbun run release, and merging the release pull request publishes it.scaffoldpackage builds, vets and tests each starter with its own toolchain.📚 References
🔬 Testing
Unit tests cover the scaffold, the flags and the file writes. A build test creates each starter and builds it with its own toolchain. The build test skips a case when the toolchain or the package registry cannot be reached.
📝 Checklist