fix: package error

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
MiaoWoo 2019-06-21 17:31:41 +08:00
parent 747105d603
commit ceef21cbb3
2 changed files with 2 additions and 4 deletions

View File

@ -7,9 +7,7 @@
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"build": "npx lerna run build", "build": "npx lerna run build",
"lp": "npx lerna publish", "lp": "npx lerna publish"
"publish-please": "publish-please",
"prepublishOnly": "publish-please guard"
}, },
"workspaces": [ "workspaces": [
"packages/*" "packages/*"

View File

@ -4,7 +4,7 @@ import {
import { inject, postConstruct } from 'inversify'; import { inject, postConstruct } from 'inversify';
import { Vaild, NotBlank, NotNull } from '@cc-server/binding' import { Vaild, NotBlank, NotNull } from '@cc-server/binding'
import { DBClient } from '@cc-server/db' import { DBClient } from '@cc-server/db'
import 'cc-server-db-mongo' import '@cc-server/db-mongo'
//process.env.FAAS_MONGO_URL = 'mongodb://192.168.0.2:27017'; //process.env.FAAS_MONGO_URL = 'mongodb://192.168.0.2:27017';
//process.env.FAAS_MONGO_DB = "faas"; //process.env.FAAS_MONGO_DB = "faas";