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
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jetbrains/create-youtrack-app - npm Package Compare versions

Comparing version 0.0.1-alpha.15 to 0.0.1-alpha.16

_templates/extension-property/add/index.js

6

help.js

@@ -18,7 +18,7 @@ const chalk = require('chalk');

* ${chalk.magenta('npx @jetbrains/create-youtrack-app --help')} to see list of possible commands
* ${chalk.magenta('npx @jetbrains/create-youtrack-app init settings')} to add a settings declaration (${chalk.underline('https://www.jetbrains.com/help/youtrack/devportal-apps/app-settings.html')})
* ${chalk.magenta('npx @jetbrains/create-youtrack-app property add')} to add one more property into Settings, created by command above
* ${chalk.magenta('npx @jetbrains/create-youtrack-app settings init')} to create a settings declaration (${chalk.underline('https://www.jetbrains.com/help/youtrack/devportal-apps/app-settings.html')})
* ${chalk.magenta('npx @jetbrains/create-youtrack-app settings add')} to add one more property into Settings, created by command above
* ${chalk.magenta('npx @jetbrains/create-youtrack-app widget add')} to add one more widget (${chalk.underline('https://www.jetbrains.com/help/youtrack/devportal-apps/apps-reference-extension-points.html')})
* ${chalk.magenta('npx @jetbrains/create-youtrack-app entity create')} to declare extension property (${chalk.underline('https://www.jetbrains.com/help/youtrack/devportal-apps/apps-extension-properties.html')})
* ${chalk.magenta('npx @jetbrains/create-youtrack-app extension-property add')} to add extension property (${chalk.underline('https://www.jetbrains.com/help/youtrack/devportal-apps/apps-extension-properties.html')})
* ${chalk.magenta('npx @jetbrains/create-youtrack-app http-handler add')} to add an HTTP handler (${chalk.underline('https://www.jetbrains.com/help/youtrack/devportal-apps/apps-reference-http-handlers.html')})
`);

@@ -38,3 +38,3 @@ #!/usr/bin/env node

}
const hasHygenParams = ["init", "entity", "widget", "property", "http-handler"].some(
const hasHygenParams = ["init", "extension-property", "widget", "settings", "http-handler"].some(
(key) => new Set(argv).has(key)

@@ -75,6 +75,6 @@ );

initial: true,
message: `Would you like your App to have Settings (you can do it later by running ${chalk.magenta('npx @jetbrains/create-youtrack-app init settings')})`,
message: `Would you like your App to have Settings (you can do it later by running ${chalk.magenta('npx @jetbrains/create-youtrack-app settings init')})`,
}).run()
) {
await runHygen(["init", "settings", ...argv]);
await runHygen(["settings", "init", ...argv]);
}

@@ -81,0 +81,0 @@

{
"name": "@jetbrains/create-youtrack-app",
"version": "0.0.1-alpha.15",
"version": "0.0.1-alpha.16",
"description": "A scaffolder for YouTrack App generating",

@@ -20,6 +20,6 @@ "main": "index.js",

"http-handler": "node index.js http-handler add --cwd ./tmp",
"settings": "node index.js init settings --cwd ./tmp",
"settings": "node index.js settings init --cwd ./tmp",
"manifest": "node index.js init manifest --cwd ./tmp",
"extension-property": "node index.js entity create --cwd ./tmp",
"settings-property": "node index.js property add --cwd ./tmp",
"extension-property": "node index.js extension-property add --cwd ./tmp",
"settings-property": "node index.js settings add --cwd ./tmp",
"lint": "biome lint .",

@@ -26,0 +26,0 @@ "generate:test": "bash scripts/generate-test-app.sh",

@@ -20,6 +20,6 @@ # Create YouTrack App

* `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](https://www.jetbrains.com/help/youtrack/devportal-apps/app-settings.html)
* `npx @jetbrains/create-youtrack-app property add` to add one more property into Settings, created by command above
* `npx @jetbrains/create-youtrack-app settings init` to add a [settings declaration](https://www.jetbrains.com/help/youtrack/devportal-apps/app-settings.html)
* `npx @jetbrains/create-youtrack-app settings add` to add one more property into Settings, created by command above
* `npx @jetbrains/create-youtrack-app widget add` to add one more [widget](https://www.jetbrains.com/help/youtrack/devportal-apps/apps-reference-extension-points.html)
* `npx @jetbrains/create-youtrack-app entity create` to declare [extension property](https://www.jetbrains.com/help/youtrack/devportal-apps/apps-extension-properties.html)
* `npx @jetbrains/create-youtrack-app extension-property add` to declare [extension property](https://www.jetbrains.com/help/youtrack/devportal-apps/apps-extension-properties.html)
* `npx @jetbrains/create-youtrack-app http-handler add` to add an [HTTP handler](https://www.jetbrains.com/help/youtrack/devportal-apps/apps-reference-http-handlers.html)

@@ -40,3 +40,3 @@

- [x] permissions in `widget.add`
- [ ] possibly rewrite `property add` to JSON-based approach
- [ ] possibly rewrite `settings add` to JSON-based approach
- [ ] full list of the extension properties entities

@@ -43,0 +43,0 @@ - [x] creation of http handlers

Sorry, the diff of this file is not supported yet

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