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

@vmm/cli

Package Overview
Dependencies
Maintainers
6
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vmm/cli - npm Package Compare versions

Comparing version 2.1.12 to 2.1.13

6

package.json
{
"name": "@vmm/cli",
"version": "2.1.12",
"version": "2.1.13",
"description": "vmm cli interface",

@@ -13,5 +13,3 @@ "author": {

"scripts": {
"pub": "npm_config_registry=\"https://registry.npmjs.org/\" yarn publish --access public",
"start": "DEBUG=@* ts-node -r tsconfig-paths/register ./src/index.ts ",
"build": "webpack --mode production --config ./webpack/webpack.config.js"
"pub": "npm_config_registry=\"https://registry.npmjs.org/\" yarn publish --access public"
},

@@ -18,0 +16,0 @@ "private": false,

const fse = require('fs-extra')
const path = require('path')
const execSync = require('child_process').execSync
const updateHtml = require('./updateHtml')

@@ -9,7 +10,7 @@ function isCurDirEmpty() {

function createService(name) {
async function createService(name) {
}
function createHtml(name) {
async function createHtml(name) {
console.log('create html project:', name)

@@ -27,2 +28,4 @@ // 检查当前目录非空

fse.writeFileSync('./package.json', JSON.stringify(pkg, null, 2))
// 更新版本
await updateHtml({})

@@ -36,9 +39,9 @@ // 获取npm包

module.exports = function (arg) {
module.exports = async function (arg) {
try {
if (arg.html) {
createHtml(arg.html)
await createHtml(arg.html)
} else if (arg.service) {
createService(arg.service)
await createService(arg.service)
} else {

@@ -45,0 +48,0 @@ throw Error('must have type option, using -h to help')

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