@jetbrains/create-youtrack-app
Advanced tools
Comparing version 0.0.1-alpha.12 to 0.0.1-alpha.13
@@ -17,3 +17,3 @@ const chalk = require('chalk'); | ||
* ${chalk.magenta('npx @jetbrains/create-youtrack-app help show')} to see list of possible commands | ||
* ${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')}) | ||
@@ -20,0 +20,0 @@ * ${chalk.magenta('npx @jetbrains/create-youtrack-app property add')} to add one more property into Settings, created by command above |
22
index.js
#!/usr/bin/env node | ||
const { runner } = require("hygen"); | ||
const chalk = require('chalk'); | ||
const execa = require("execa"); | ||
@@ -49,3 +50,3 @@ const { Confirm } = require("enquirer"); | ||
initial: true, | ||
message: `New YouTrack App will be created in a directory "${cwd}".\n\nContinue?`, | ||
message: `New YouTrack App will be created in a directory ${chalk.bold(cwd)}\n\nContinue?`, | ||
}).run()) | ||
@@ -65,3 +66,3 @@ ) { | ||
Now let's add first widget! | ||
You can add more later by running "npx @jetbrains/create-youtrack-app widget add" | ||
You can add more later by running ${chalk.magenta('npx @jetbrains/create-youtrack-app widget add')} | ||
@@ -75,3 +76,3 @@ ==================================== | ||
initial: true, | ||
message: `Would you like your App to have Settings (you can do it later by running "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 init settings')})`, | ||
}).run() | ||
@@ -83,6 +84,5 @@ ) { | ||
console.log(` | ||
======= Your App is created! ======= | ||
${chalk.bold('======= Your App is created! =======')} | ||
Now we are installing dependencies by running "npm install": | ||
==================================== | ||
We are now installing dependencies by running ${chalk.magenta('npm install')}: | ||
`); | ||
@@ -95,3 +95,3 @@ | ||
console.log(` | ||
Done! | ||
${chalk.bold('Done!')} | ||
@@ -104,7 +104,7 @@ Now you would need to create a Permanent Token to upload the app into YouTrack isntance | ||
1. npm run build | ||
2. npm run upload -- --host http://your-youtrack.url --token perm:cm9... | ||
1. ${chalk.magenta('npm run build')} | ||
2. ${chalk.magenta('npm run upload -- --host http://your-youtrack.url --token perm:cm9...')} | ||
You can add more features to your app by running generator again. See help:`); | ||
await runHygen(["help", "show", ...argv]); | ||
You can add more features to your app by running generator again. | ||
Run ${chalk.magenta('npx @jetbrains/create-youtrack-app --help')} to explore available options.`); | ||
})(); |
{ | ||
"name": "@jetbrains/create-youtrack-app", | ||
"version": "0.0.1-alpha.12", | ||
"version": "0.0.1-alpha.13", | ||
"description": "A scaffolder for YouTrack App generating", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
45996