Npm 在项目中安装lerna repo
如何在我的npm项目中安装lerna monorepo **请注意,这个问题不是“如何在lerna mono回购协议中安装某些东西”,对此似乎有很多答案 我有一个fork,即lerna repo,我想将其包安装到npm项目中,以便测试它们 我的项目有一个包.json,如下所示:Npm 在项目中安装lerna repo,npm,lerna,Npm,Lerna,如何在我的npm项目中安装lerna monorepo **请注意,这个问题不是“如何在lerna mono回购协议中安装某些东西”,对此似乎有很多答案 我有一个fork,即lerna repo,我想将其包安装到npm项目中,以便测试它们 我的项目有一个包.json,如下所示: ... "scripts": { "serve": "vue-cli-service serve", "build":
...
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"test:unit": "vue-cli-service test:unit",
"lint": "vue-cli-service lint",
"prepare": "npm run build"
},
"dependencies": {
"aws-amplify": "https://github.com/jmarshall9120/amplify-js.git",
"core-js": "^3.6.5",
"vue": "^2.6.11",
"vue-router": "^3.2.0",
"vuetify": "^2.4.0",
"vuex": "^3.4.0"
},
...
当我运行npm I
时,它会安装回购:
"https://github.com/jmarshall9120/amplify-js.git"
作为一个git包,它不能解析npm可以使用的任何东西,破坏了我所有的import
语句
有人知道怎么做吗