Comments (2)
我在搭建私有npm库的时候直接按照verdaccio官网上的说明将npm的registry指向了本地
npm config set registry http://localhost:4873
所以发布的时候直接就是发布到本地私有库上面了。
至于构建时的发布顺序,我觉得应该是依照各个项目之间的依赖顺序发布,顺序为core,component,utils,store,resource,common,module.*,router
但是实际上我在本地开发的过程中,因为觉得反复发布很麻烦,所以就直接将各个库link到了本地的目录里面。因此构建的时候并没有执行发布和拉取7个公共库的动作,只是对公共库在本地进行了构建,app.frontend.web就可以使用到最新的代码了。
在app.frontend.web项目中,我准备了plink这个script用于对所有项目执行link操作,可以参考构建命令
from web-experiment.
刚刚又去看了一下verdaccio的文档,不知道您指的是不是package配置这里指所写的配置。这一点我在做的时候没有考虑到。
现已提交了verdaccio的配置文件。发布配置的说明在这里。本地发布成功后的截图在这里
from web-experiment.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from web-experiment.