Comparing version 2.1.33 to 2.1.35
{ | ||
"name": "@vmm/cli", | ||
"version": "2.1.33", | ||
"version": "2.1.35", | ||
"description": "vmm cli interface", | ||
@@ -5,0 +5,0 @@ "author": { |
@@ -24,3 +24,3 @@ const fs = require('fs-extra') | ||
const buildName = snakeCase(pkg.name) | ||
execSync(`rm -r ./dist`, { | ||
execSync(`rm -r ./dist; echo OK`, { | ||
env: { | ||
@@ -30,7 +30,8 @@ "NODE_ENV": "production", | ||
}, | ||
stdio: 'inherit' | ||
}) | ||
// execSync(`./node_modules/.bin/vue-cli-service build --name ${buildName} --formats umd-min --dest ./dist --target lib --report ./src/main.ts`, { | ||
execSync(`${path.join(__dirname,'../node_modules/.bin/webpack-cli')} --mode production --config ${path.join(__dirname,'../webpack-config/webpack.service.prod.js')}`, { | ||
// execSync(`${path.join(__dirname,'../node_modules/.bin/webpack-cli')} --mode production --config ${path.join(__dirname,'../webpack-config/webpack.service.prod.js')}`, { | ||
execSync(`webpack-cli --mode production --config ${path.join(__dirname,'../webpack-config/webpack.service.prod.js')}`, { | ||
env: { | ||
@@ -45,3 +46,3 @@ "NODE_ENV": "production", | ||
// 生成定义文件 | ||
execSync(`./node_modules/.bin/tsc -d --emitDeclarationOnly --declarationDir ./dist/types ./src/api/index.ts`, { | ||
execSync(`./node_modules/.bin/tsc -d --resolveJsonModule --emitDeclarationOnly --declarationDir ./dist/types ./src/exports/index.ts`, { | ||
env: { | ||
@@ -48,0 +49,0 @@ "NODE_ENV": "production", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
57811
50
1161