From 62ae623ce6fb963240763553c6fd82f97e70ddbd Mon Sep 17 00:00:00 2001 From: bluelovers Date: Mon, 24 Aug 2020 07:23:29 +0800 Subject: [PATCH] docs: update README.md and plugin.xml --- README.md | 13 ++++++++++++- package.json | 5 ++++- resources/META-INF/plugin.xml | 9 +++++---- 3 files changed, 21 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 7c2694b..e566368 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,18 @@ # install 1. via jetbrains [https://plugins.jetbrains.com/plugin/10841-run-configuration-for-typescript](https://plugins.jetbrains.com/plugin/10841-run-configuration-for-typescript) -2. github [idea-run-typescript.jar](releases/idea-run-typescript.jar) / [idea-run-typescript.jar](releases/idea-run-typescript.zip) +2. github [idea-run-typescript.jar](releases/idea-run-typescript.jar) / [idea-run-typescript.zip](releases/idea-run-typescript.zip) + +# feature + +- run .tsx? by ts-node like bin tool (e.g. ts-node , [esm-ts-node](https://www.npmjs.com/package/esm-ts-node)) +- allow use env var `NODEJS_CONSOLE_USE_TERMINAL` for control Registry `nodejs.console.use.terminal` in Run Configuration bu this plugin +- support debug mode +- support set tsconfig +- support set argv for node, ts-node, current file +- support scratch file + +[CHANGELOG.md](./CHANGELOG.md) # screenshot diff --git a/package.json b/package.json index c0b659e..6e47252 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,9 @@ "author": "bluelovers", "main": "index.js", "scripts": { + "pretest": "echo pretest", + "test": "echo test", + "posttest": "echo posttest", "prebuild": "yarn run plugin:sync:config", "build": "gradlew buildPlugin --warning-mode all", "postbuild": "ts-node ./scripts/copy-build-plugin.ts", @@ -50,4 +53,4 @@ "idea-version": "193.4932.9", "kotlin": "1.4.0" } -} \ No newline at end of file +} diff --git a/resources/META-INF/plugin.xml b/resources/META-INF/plugin.xml index 3eb7a0f..5ef08a0 100644 --- a/resources/META-INF/plugin.xml +++ b/resources/META-INF/plugin.xml @@ -18,7 +18,7 @@

install

  1. via jetbrains https://plugins.jetbrains.com/plugin/10841-run-configuration-for-typescript
  2. -
  3. github idea-run-typescript.jar
  4. +
  5. github idea-run-typescript.jar / idea-run-typescript.zip

screenshot

@@ -76,9 +76,10 @@ Windows 10 10.0 ]]> +
  • via jetbrains CHANGELOG
  • Build Plugin in IntelliJ IDEA 2019.3.5#IU-193.7288.26
  • -
  • support select `esm-ts-node`, `ts-node`
  • -
  • better check ts-node
  • +
  • support debug mode
  • +
  • allow use env var `NODEJS_CONSOLE_USE_TERMINAL` for control Registry `nodejs.console.use.terminal` in Run Configuration bu this plugin
  • ]]>
    - \ No newline at end of file +