Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@eclipse-che/che-devworkspace-generator

Package Overview
Dependencies
Maintainers
4
Versions
165
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eclipse-che/che-devworkspace-generator - npm Package Compare versions

Comparing version 7.74.1-next-8021ddc to 7.75.0-next-1605f7d

6

lib/generate.js

@@ -145,2 +145,8 @@ "use strict";

};
// if the devfile has a starter project, we use it for the devWorkspace
if (devfileCopy.starterProjects && devfileCopy.starterProjects.length > 0) {
devWorkspace.spec.template.attributes = {
'controller.devfile.io/use-starter-project': devfileCopy.starterProjects[0].name
};
}
devWorkspaceTemplates = [editorDevWorkspaceTemplate];

@@ -147,0 +153,0 @@ context = {

2

package.json
{
"name": "@eclipse-che/che-devworkspace-generator",
"version": "7.74.1-next-8021ddc",
"version": "7.75.0-next-1605f7d",
"private": false,

@@ -5,0 +5,0 @@ "description": "Generates DevWorkspaces by transforming existing devfiles",

@@ -96,3 +96,3 @@ /**********************************************************************

const devfileMetadata = this.createDevWorkspaceMetadata(devfile, true);
const devfileCopy = Object.assign({}, devfile);
const devfileCopy: V221Devfile = Object.assign({}, devfile);
delete devfileCopy.schemaVersion;

@@ -118,2 +118,9 @@ delete devfileCopy.metadata;

// if the devfile has a starter project, we use it for the devWorkspace
if (devfileCopy.starterProjects && devfileCopy.starterProjects.length > 0) {
devWorkspace.spec.template.attributes = {
'controller.devfile.io/use-starter-project': devfileCopy.starterProjects[0].name,
};
}
// for now the list of devWorkspace templates is only the editor template

@@ -120,0 +127,0 @@ const devWorkspaceTemplates = [editorDevWorkspaceTemplate];

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc