lerna Questions
3
I have a monorepo that is managed by lerna which relies on the Yarn workspaces feature. It looks like this:
/repo
|-- packages
| |-- pkg-a
| | |-- package.json
| |-- pkg-b
| | |-- package.json...
Winwaloe asked 25/9, 2020 at 8:5
6
Solved
I'm working on converting a large(ish) monorepo into TypeScript for a client, however, I'm pretty new to TS myself and have run into an error that I can't find an obvious fix for.
TS6059: File '[p...
Silvas asked 30/3, 2020 at 11:14
6
Solved
I've encountered problem building typescript packages with rollup inside lerna managed monorepo.
Error:
lerna ERR! rollup --config ../../rollup.config.js stderr:
loaded ../../rollup.config.js wit...
Baba asked 16/11, 2019 at 14:50
2
I'm using husky in my lerna monorepo project which has more than one directory (project)
.husky
front
├── package.json
app
└── package.json
on hook prepush I launch my test on front/ and app/ with...
2
Solved
I try run the script from the root but got the error:
ERR! lerna Unknown argument: d
the command from root package.json:
"start:scripts:api-football:start:collectDayMatches:dev": "lerna run sta...
Zama asked 29/4, 2020 at 6:14
3
I created a minimal example to show the question I have: Github repo.
I have a lerna monorepo with two npm packages in the packages folder, the packages are called:
utils: exports a function:
e...
Synder asked 17/3, 2020 at 19:45
5
Solved
Lerna does not correctly detect packages change during running workflow of Github actions.
If I make none packages related changes, commit and runlerna updatedlocally. it tells me No changed pack...
Parsec asked 12/2, 2020 at 3:25
2
I have heard somewhere that it's possible to create just one ESlint preset for all Lerna subrepositories, but when begin to collect info actively about this did not found clear information.
Why i...
3
Is Lerna needed anymore with NPM 7.0.0 workspaces?
I don't really have experience with this new npm feature.
npm/RFCs writes:
First and foremost there’s the alternative of leaving the problem set
...
1
I have a project with 3 directories client, api, and shared. The shared directory contains typescript types and definitions inside an engine folder that I would like to share with client and api. A...
Hereof asked 13/4, 2021 at 7:12
2
Solved
I am trying to set up a React-Native project with lerna. When I try to run jest I face the following error.
The name `setupDevtools` was looked up in the Haste module map. It cannot be resolved, ...
Clangor asked 10/10, 2017 at 10:3
4
Solved
have added lerna to my project, i have added a package to my server by running this command successfully:
lerna add @types/express --dev
But when I want to add another one:
lerna add graphql clas...
Brendanbrenden asked 19/7, 2020 at 13:12
2
I have the classic Lerna set up. root directory, packages folder, 2 subdirectories
I want to just run yarn install inside one package and just to install the dependencies for this package. for som...
Beerbohm asked 19/3, 2020 at 8:40
3
Solved
At my organization, we are trying to create a monorepo of react components so they can be used on several sites.
We currently have a repo called react-components hosted on bitbucket and we wanted ...
Aforesaid asked 30/7, 2019 at 16:6
0
We built a Design System library in TypeScript with the components, and we created the Storybook stories and all in another project that consume the transpiled component library, as a package.
Curr...
Superfuse asked 14/11, 2022 at 10:50
1
Lets say there is a monorepo with package A and B.
Package A is dependent on B. Package B is also published in npm registry. So when installing dependencies it does not install the package B from ...
Low asked 29/1, 2020 at 14:33
2
I have a Lerna MonoRepo project setup.
Like
root/
lerna.json
packgae.json
package.lock.json
packages/
app1 - Create react app (with firebase sdk dependency)
app2 - Next Js app (with firebase-...
Sabbatical asked 12/8, 2021 at 12:49
3
Solved
I'm trying to build a monorepo using lerna+typescript, I'm using this repo as a start: https://github.com/Izhaki/mono.ts
What i'm trying to achieve is to debug the code inside visual studio code. ...
Heriberto asked 22/5, 2019 at 15:49
1
We have a mono-repository using lerna. On every pull request, we would like to create a pre-release version and publish it.
Demo Project for better understanding => react-lerna-demo
Package stru...
Demesne asked 15/3, 2022 at 9:23
2
Solved
Yarn's link allows you to register a local package for symlinking into another local package. To use link you cd into the package directory and run yarn link. This works fine on individual packages...
Oxendine asked 18/9, 2019 at 18:11
1
Solved
I have repository with /frontend (JS/Vue) and /backend (PHP) and docker-compose.yml for development. But now I need to add another JS frontend that will be sharing some components, libs etc. I do n...
Nb asked 6/3, 2022 at 13:48
4
Solved
I have:
packages
-models
-package.json
-....
-server
-src
-index.ts
-package.json
In my packages/server/package.json, I have:
"scripts": {
"dev": "ts-node src/index.ts"
},
"dependenc...
Huntsman asked 13/6, 2020 at 22:31
3
I'm just joining a new VueJS / Webpack based on a Lerna code architecture :
package.json
lerna.json
packages/
modules/
plugins/
Approximately each page of the application has been set as a separ...
Lyndalynde asked 18/10, 2018 at 14:15
2
I am using yarn for my project. My project has a dependency which happened to be a subpackage of larger monorepo maintained by lerna.
The subpackage was updated but not published yet and I need tha...
Fatalism asked 2/3, 2018 at 7:35
2
Solved
Where can I learn more about what is workspace: prefix in version number?
For example, in Babel:
"dependencies": {
"@babel/helper-plugin-utils": "workspace:^7.13.0",...
Lamori asked 18/3, 2021 at 21:58
1 Next >
© 2022 - 2024 — McMap. All rights reserved.