Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@jetbrains/create-youtrack-app

Package Overview
Dependencies
Maintainers
0
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jetbrains/create-youtrack-app

A scaffolder for YouTrack App generating

  • 0.0.1-alpha.12
  • npm
  • Socket score

Version published
Weekly downloads
19
decreased by-74.32%
Maintainers
0
Weekly downloads
 
Created
Source

Create YouTrack App

Build Status NPM Version

official JetBrains project

YouTrack App is an App that can be installed into JetBrains YouTrack to customize it even more. See documentation.

Quick Start

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

Adding more features to generated App

Once App is generated, one may need to add more features. See list of awailable commands:

  • npx @jetbrains/create-youtrack-app help show to see list of possible commands
  • npx @jetbrains/create-youtrack-app init settings to add a settings declaration
  • npx @jetbrains/create-youtrack-app property add to add one more property into Settings, created by command above
  • npx @jetbrains/create-youtrack-app widget add to add one more widget
  • npx @jetbrains/create-youtrack-app entity create to declare extension property
  • npx @jetbrains/create-youtrack-app http-handler add to add an HTTP handler

Development

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

Run npm test to check basic generation workflow.

Caveats

Hygen is quite powerful tool for generation files, but it is not perfect for the working with the JSON files. So, some JSON manipulation can be tricky. To prevent this, there is a injectJsCallback.js file where is a helper function that can be called to create custom JS actions instead of file rendering. Example of usage _templates/settings/index.js file.

TODO:

  • update the code to use this as external tool
  • permissions in widget.add
  • possibly rewrite property add to JSON-based approach
  • full list of the extension properties entities
  • creation of http handlers
  • TypeScript support (at least widgets/handlers/extension-propertioes should be added to app.d.ts file)
  • React + ring-ui support in widget templates
  • wording review
  • testing
  • documentation

FAQs

Package last updated on 04 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc