0.0.4 • Published 8 months ago

@jetbrains/create-youtrack-app v0.0.4

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
8 months ago

YouTrack App Generator

Build Status NPM Version

official JetBrains project

Apps in YouTrack let you add new features, tools, and integrations that aren't available out of the box. They can help you customize YouTrack to fit your organization's specific needs, improving your project management, reporting, automation, or integrating with other tools in your software ecosystem. To learn more about app development for the YouTrack platform, please refer to our Developer Portal.

Quick Start

  1. Prepare an empty directory for your app
  2. Run the command npm create @jetbrains/youtrack-app
  3. Follow the prompts provided by the generator

Adding Features to a Generated App

After you have generated an app, you may want to add more features. Add new features quickly with one of these commands:

ActionCommand
Add a settings declarationnpx @jetbrains/create-youtrack-app settings init
Add one or more properties to the setting scheme created using the command listed abovenpx @jetbrains/create-youtrack-app settings add
Add another widgetnpx @jetbrains/create-youtrack-app widget add
Declare an extension propertynpx @jetbrains/create-youtrack-app extension-property add
Add an HTTP handlernpx @jetbrains/create-youtrack-app http-handler add
View a list of available commandsnpx @jetbrains/create-youtrack-app --help

Сontributing

To test locally, run one of the package.json scripts like npm run widget. This generator uses Hygen under the hood.

Run npm test to check basic generation workflow.

Caveats

While Hygen is a powerful tool for generating files, it isn't ideal for working with JSON files. This means JSON manipulation can be a challenge. To address this issue, we have added a injectJsCallback.js file. This file contains a helper function that can be used to create custom JS actions instead of simply rendering files. An example that demonstrates the use of this function can be found in the _templates/settings/init/index.js file.

0.0.4

8 months ago

0.0.1-alpha.12

10 months ago

0.0.1-alpha.11

10 months ago

0.0.1-alpha.14

10 months ago

0.0.1-alpha.13

10 months ago

0.0.1-alpha.16

10 months ago

0.0.1-alpha.15

10 months ago

0.0.1-alpha.18

9 months ago

0.0.1-alpha.17

10 months ago

0.0.1-alpha.10

10 months ago

0.0.1-alpha.9

10 months ago

0.0.2-alpha.0

9 months ago

0.0.3

9 months ago

0.0.2

9 months ago

0.0.1-alpha.7

10 months ago

0.0.1-alpha.6

10 months ago

0.0.1-alpha.5

10 months ago

0.0.1-alpha.4

10 months ago

0.0.1-alpha.3

10 months ago

0.0.1-alpha.2

10 months ago

1.0.1-alpha.1

10 months ago

1.0.1-alpha.0

10 months ago