@devcontainer/generator
Advanced tools
Comparing version 0.6.1 to 0.7.0
@@ -13,2 +13,3 @@ declare type Base = "stretch" | "buster" | "disco" | "eoan"; | ||
private _xfce; | ||
private _docker; | ||
private _noVNC; | ||
@@ -23,2 +24,3 @@ private _zsh; | ||
setZsh(): void; | ||
setDocker(): void; | ||
setDotnet(version?: "2" | "3"): void; | ||
@@ -25,0 +27,0 @@ setCypress(): void; |
@@ -14,3 +14,3 @@ "use strict"; | ||
this._templates = {}; | ||
this._templateInputs = ['base', 'git', 'node', 'cypress', 'dotnet', 'dotnet3', 'xfce', 'noVNC', 'zsh']; | ||
this._templateInputs = ['base', 'git', 'node', 'cypress', 'dotnet', 'docker', 'dotnet3', 'xfce', 'noVNC', 'zsh']; | ||
this._nodeVesion = null; | ||
@@ -21,2 +21,3 @@ this._gitVersion = ''; | ||
this._xfce = false; | ||
this._docker = false; | ||
this._noVNC = false; | ||
@@ -47,2 +48,5 @@ this._zsh = false; | ||
} | ||
setDocker() { | ||
this._docker = true; | ||
} | ||
setDotnet(version = "2") { | ||
@@ -67,2 +71,5 @@ this._dotnet = version; | ||
} | ||
if (this._docker) { | ||
this._dockerfile += templates['docker']; | ||
} | ||
if (this._dotnet) { | ||
@@ -69,0 +76,0 @@ if (this._dotnet === "2") |
{ | ||
"name": "@devcontainer/generator", | ||
"version": "0.6.1", | ||
"version": "0.7.0", | ||
"description": "generates custorm devcontainer Dockerfiles", | ||
@@ -23,3 +23,3 @@ "files": [ | ||
"license": "MIT", | ||
"gitHead": "c2124ab4f8c974eb0eabbfdfa0e377e32ac1ec3e" | ||
"gitHead": "132e962dff2c04086b59c63cf0166a70fa316424" | ||
} |
Sorry, the diff of this file is not supported yet
24684
19
159