mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Add create command to extension-sdk CLI (#6590)
* Add create command to extension-sdk CLI * Extract extension package.json key name to shared * Check package.json before building extensions * Add source field to package.json * Pin extension-sdk verson in scaffolded package * Change options color to magenta
This commit is contained in:
committed by
GitHub
parent
e7a737bba8
commit
ff393eab3b
@@ -7,3 +7,5 @@ export const API_EXTENSION_TYPES: ApiExtensionType[] = ['endpoint', 'hook'];
|
||||
export const EXTENSION_TYPES: ExtensionType[] = [...APP_EXTENSION_TYPES, ...API_EXTENSION_TYPES];
|
||||
|
||||
export const EXTENSION_NAME_REGEX = /^(?:(?:@[^/]+\/)?directus-extension-|@directus\/extension-).+$/;
|
||||
|
||||
export const EXTENSION_PKG_KEY = 'directus:extension';
|
||||
|
||||
Reference in New Issue
Block a user