Allow local project to depend on local lerna packages

You should be able to accomplish this with npm link. Although I have not tried this using a local dependency that is not published on npm. Directory tree foo/ packages/ core/ package.json errors/ package.json bar/ package.json foo/packages/core/package.json { … dependencies: { “@foo/errors”: “*” } } bar/package.json { … dependencies: { “@foo/core”: “../foo/packages/core” } } Run … Read more

Is Lerna needed anymore with NPM workspaces?

NPM has supported workspaces since version 7, for two major releases now. With workspaces, npm i / npm ci takes care of nested packages and symlinking. npm run and npm exec can be run across individual or all workspaces: npm run test –workspace=a –workspace=”name-from-package-dot-json” npm run test –workspaces –if-present With that said, lerna comes with … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)