New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@talentui/cli

Package Overview
Dependencies
Maintainers
4
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@talentui/cli - npm Package Compare versions

Comparing version

to
1.4.1

6

lib/constants.js

@@ -9,2 +9,3 @@ const chalk = require('chalk');

const TALENTJS_COMPONENT = '组件项目'//袁园姐的模版
const TALENTJS_THUNDER_COMPONENT='thunder component'

@@ -17,2 +18,3 @@ //type的主要用于拼接生成临时下载路径

const TYPE_TALENTJS_COMPONENT = 'talent-js-componet'
const TYPE_THUNDER_COMPONENT = 'page-as-component-template'
module.exports = {

@@ -28,3 +30,5 @@ TALENTUI_PB_COMPONENTS,

TALENTJS_COMPONENT,
TYPE_TALENTJS_COMPONENT
TYPE_TALENTJS_COMPONENT,
TALENTJS_THUNDER_COMPONENT,
TYPE_THUNDER_COMPONENT
}

@@ -181,4 +181,6 @@ const chalk = require("chalk");

let bugs_url = global["talentui_info"]['bugs url'];
let componentCode = global['talentui_info']['componentCode']
contentJson.name = name;
contentJson.version = version;
contentJson.componentCode = componentCode;
contentJson.author = {

@@ -185,0 +187,0 @@ name:author_name,

@@ -6,3 +6,4 @@ const {

TYPE_DLL_BUILDER,
TYPE_TALENTJS_COMPONENT
TYPE_TALENTJS_COMPONENT,
TYPE_THUNDER_COMPONENT
} = require("./constants");

@@ -35,2 +36,5 @@

}
if(type === TYPE_THUNDER_COMPONENT){
return 'talentui/page-as-component-template'
}
};

@@ -27,2 +27,3 @@ const path = require("path");

setDefault(opts, "appId", "");
setDefault(opts, "componentCode", "");
}

@@ -29,0 +30,0 @@ if(global['talentui_info']['talentjs_component']){

2

package.json
{
"name": "@talentui/cli",
"version": "1.4.0",
"version": "1.4.1",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

Sorry, the diff of this file is not supported yet