@devcontainer/generator
Advanced tools
Comparing version 1.8.1 to 1.9.1
@@ -18,2 +18,3 @@ declare type Base = "stretch" | "buster" | "disco" | "eoan"; | ||
private _docker; | ||
private _android; | ||
private _xpra; | ||
@@ -29,2 +30,3 @@ private _noVNC; | ||
setChrome(): void; | ||
setAndroid(): void; | ||
setAmplify(): void; | ||
@@ -31,0 +33,0 @@ setRemoteDesktop(type?: 'xpra' | 'noVNC'): void; |
@@ -16,3 +16,3 @@ "use strict"; | ||
this._readmeTemplates = {}; | ||
this._templateInputs = ['base', 'upgrade', 'git', 'amplify', 'chromium', 'gitUbuntu', 'node', 'cypress', 'dotnet', 'docker', 'dotnet3', 'xfce', 'noVNC', 'xpra', 'zsh', 'suffix']; | ||
this._templateInputs = ['base', 'upgrade', 'android', 'git', 'amplify', 'chromium', 'gitUbuntu', 'node', 'cypress', 'dotnet', 'docker', 'dotnet3', 'xfce', 'noVNC', 'xpra', 'zsh', 'suffix']; | ||
this._nodeVesion = null; | ||
@@ -26,2 +26,3 @@ this._gitVersion = ''; | ||
this._docker = false; | ||
this._android = false; | ||
this._xpra = false; | ||
@@ -56,2 +57,5 @@ this._noVNC = false; | ||
} | ||
setAndroid() { | ||
this._android = true; | ||
} | ||
setAmplify() { | ||
@@ -165,2 +169,6 @@ this._amplify = true; | ||
} | ||
if (this._android) { | ||
this._dockerfile += dockerTemplates['android']; | ||
this._readme += readmeTemplates['android']; | ||
} | ||
if (this._zsh) { | ||
@@ -167,0 +175,0 @@ this._dockerfile += dockerTemplates['zsh']; |
{ | ||
"name": "@devcontainer/generator", | ||
"version": "1.8.1", | ||
"version": "1.9.1", | ||
"description": "generates custorm devcontainer Dockerfiles", | ||
@@ -23,3 +23,3 @@ "files": [ | ||
"license": "MIT", | ||
"gitHead": "838b2209be7697a219ac4a445478632b5c9b0255" | ||
"gitHead": "3528f1c51c066d923e18e4efec3686e59819edbb" | ||
} |
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
34836
43
267