New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

trex-cli

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

trex-cli - npm Package Compare versions

Comparing version
1.2.0
to
1.3.0
+5
-3
lib/create.js

@@ -6,3 +6,3 @@ const ora = require('ora')

const { projectList, vueProjectList, reactProjectList, sveletProjectList } = require('./option')
const { projectList, vueProjectList, reactProjectList, sveletProjectList,vanillaProjectList } = require('./option')

@@ -22,5 +22,7 @@ module.exports = function (proName) {

return sveletProjectList
}else if (prev === 'vanilla') {
return vanillaProjectList
}
}
const questions = [

@@ -71,3 +73,3 @@ {

download(`github:gzg1023/${response.projectInfo}#main`, fileUrl, function (err) {
download(`github:bullet-fe/${response.projectInfo}#main`, fileUrl, function (err) {
if (err) {

@@ -74,0 +76,0 @@ console.error('错误', err)

@@ -19,2 +19,7 @@ // 需要下载的前端框架技术选择

disabled: true
},
{
title: 'vanilla',
description: '原生html模版系列',
value: 'vanilla'
}

@@ -73,2 +78,11 @@ ]

module.exports = { projectList, vueProjectList, reactProjectList, sveletProjectList }
// 原生选项
const vanillaProjectList = [
{
title: "html-activity-template",
description: "基于svelet和vite的移动端模版项目",
value: "html-activity-template",
},
]
module.exports = { projectList, vueProjectList, reactProjectList, sveletProjectList,vanillaProjectList }
{
"name": "trex-cli",
"version": "1.2.0",
"version": "1.3.0",
"description": "Front-end tool scaffolding like Tyrannosaurus rex",

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

@@ -42,7 +42,7 @@ # trex-cli

## 可选模版
- webpack5和vue3+ts的模版:https://github.com/gzg1023/vue3-ts-template
- webpack4+vue2+express的服务端渲染模版:https://github.com/gzg1023/vue2-ssr-template
- webpack5和vue3+ts的模版:https://github.com/bullet-fe/vue3-ts-template
- webpack4+vue2+express的服务端渲染模版:https://github.com/bullet-fe/vue2-ssr-template
- parcel + express纯静态html模版:https://github.com/bullet-fe/html-activity-template
## LICENSE
[MIT](https://en.wikipedia.org/wiki/MIT_License)