[Gradle, JS] Add NodeJs template plugin
^KT-40527 fixed
This commit is contained in:
+1
@@ -30,6 +30,7 @@ object Plugins {
|
|||||||
ConsoleJvmApplicationTemplatePlugin(context),
|
ConsoleJvmApplicationTemplatePlugin(context),
|
||||||
KtorTemplatesPlugin(context),
|
KtorTemplatesPlugin(context),
|
||||||
JsTemplatesPlugin(context),
|
JsTemplatesPlugin(context),
|
||||||
|
SimpleNodeJsTemplatesPlugin(context),
|
||||||
NativeConsoleApplicationTemplatePlugin(context)
|
NativeConsoleApplicationTemplatePlugin(context)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
+14
@@ -0,0 +1,14 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
||||||
|
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package org.jetbrains.kotlin.tools.projectWizard.plugins.templates
|
||||||
|
|
||||||
|
import org.jetbrains.kotlin.tools.projectWizard.core.Context
|
||||||
|
import org.jetbrains.kotlin.tools.projectWizard.templates.SimpleJsClientTemplate
|
||||||
|
import org.jetbrains.kotlin.tools.projectWizard.templates.SimpleNodeJsTemplate
|
||||||
|
|
||||||
|
class SimpleNodeJsTemplatesPlugin(context: Context) : TemplatePlugin(context) {
|
||||||
|
val addTemplate by addTemplateTask(SimpleNodeJsTemplate())
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user