UNPKG

@naxodev/gonx

Version:

Modern Nx plugin to use Go in a Nx workspace

40 lines (39 loc) 1.05 kB
{ "$schema": "https://json-schema.org/schema", "$id": "@naxodev/gonx:go-blueprint", "title": "Uses Go Blueprint to generate multiple templates", "type": "object", "properties": { "directory": { "description": "The directory of the new application.", "type": "string", "$default": { "$source": "argv", "index": 0 }, "x-prompt": "Which directory do you want to create the application in?" }, "name": { "description": "The name of the application.", "type": "string", "pattern": "^[a-zA-Z][^:]*$", "x-priority": "important" }, "tags": { "description": "Add tags to the project (used for linting)", "type": "string", "x-priority": "important" }, "skipFormat": { "description": "Skip formatting files", "type": "boolean", "default": false }, "addGoDotWork": { "description": "Add this project to go.work file", "type": "boolean", "default": false } }, "required": ["directory"] }