@eclipse-che/che-devworkspace-generator
Advanced tools
Comparing version 7.88.0-next-0d522c1 to 7.88.0-next-a2e5c63
@@ -28,3 +28,4 @@ /********************************************************************** | ||
V221 = "2.2.1", | ||
V222 = "2.2.2" | ||
V222 = "2.2.2", | ||
V230 = "2.3.0" | ||
} |
@@ -14,3 +14,4 @@ "use strict"; | ||
DevfileSchemaVersion["V222"] = "2.2.2"; | ||
DevfileSchemaVersion["V230"] = "2.3.0"; | ||
})(DevfileSchemaVersion = exports.DevfileSchemaVersion || (exports.DevfileSchemaVersion = {})); | ||
//# sourceMappingURL=devfile-context.js.map |
@@ -44,2 +44,3 @@ "use strict"; | ||
var devfileSchemaV222 = __importStar(require("./2.2.2/devfile.json")); | ||
var devfileSchemaV230 = __importStar(require("./2.3.0/devfile.json")); | ||
var Validator = __importStar(require("jsonschema")); | ||
@@ -62,2 +63,4 @@ var devfile_context_1 = require("../api/devfile-context"); | ||
return devfileSchemaV222; | ||
case devfile_context_1.DevfileSchemaVersion.V230: | ||
return devfileSchemaV230; | ||
default: | ||
@@ -64,0 +67,0 @@ throw new Error("Dev Workspace generator tool doesn't support devfile version: " + version); |
{ | ||
"name": "@eclipse-che/che-devworkspace-generator", | ||
"version": "7.88.0-next-0d522c1", | ||
"version": "7.88.0-next-a2e5c63", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "description": "Generates DevWorkspaces by transforming existing devfiles", |
@@ -39,2 +39,3 @@ /********************************************************************** | ||
V222 = '2.2.2', | ||
V230 = '2.3.0', | ||
} |
@@ -17,2 +17,3 @@ /********************************************************************** | ||
import * as devfileSchemaV222 from './2.2.2/devfile.json'; | ||
import * as devfileSchemaV230 from './2.3.0/devfile.json'; | ||
import * as Validator from 'jsonschema'; | ||
@@ -35,2 +36,4 @@ import { DevfileSchemaVersion } from '../api/devfile-context'; | ||
return devfileSchemaV222; | ||
case DevfileSchemaVersion.V230: | ||
return devfileSchemaV230; | ||
default: | ||
@@ -37,0 +40,0 @@ throw new Error(`Dev Workspace generator tool doesn't support devfile version: ${version}`); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 2 instances in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 2 instances in 1 package
2050382
126
35243