@easyv/cli
Advanced tools
Comparing version 1.10.4-beta.13 to 1.10.4-beta.14
{ | ||
"name": "@easyv/cli", | ||
"version": "1.10.4-beta.13", | ||
"version": "1.10.4-beta.14", | ||
"description": "Easy[V] component tools", | ||
@@ -34,3 +34,4 @@ "engines": { | ||
"devDependencies": { | ||
"@easyv/sync-to-mirror": "^0.0.2" | ||
"@easyv/sync-to-mirror": "^0.0.2", | ||
"@types/node": "^20.10.3" | ||
}, | ||
@@ -37,0 +38,0 @@ "builders": { |
@@ -11,3 +11,3 @@ const chalk = require('chalk'); | ||
} = require('./utils'); | ||
const { appPackage, getPluginRoot, appBuild, appComponents } = require('./paths'); | ||
const { appPackage, getPluginRoot, appBuild } = require('./paths'); | ||
const crypto = require('crypto'); | ||
@@ -17,2 +17,3 @@ const { Command } = require('commander'); | ||
const inquirer = require('inquirer'); | ||
const { getConfigAssets } = require('./utils/getAssets') | ||
@@ -38,6 +39,2 @@ function signConstant(payload, secretKey) { | ||
// main.common.assets.json、main.common.assets.js | ||
const configPath = `${appComponents}/${name}/config`; | ||
console.log(JSON.stringify(configPath), '----configPath'); | ||
// build file | ||
@@ -108,2 +105,5 @@ const build = require(path.join( | ||
const configAssets = getConfigAssets(base.module_name); | ||
console.log(configAssets, 'configAssets') | ||
// zip | ||
@@ -110,0 +110,0 @@ const bundleZip = path.join( |
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
43285
24
1305
2
32