lerna Questions

0

My file structure is as follows: - packages - app1 - node_modules - shared - public - svg1 - src/pages - app2 - node_modules - shared - public - svg1 - src/pages - shared - src/compon...
Winder asked 28/1, 2021 at 1:45

1

I want to use a monorepo for our frontend app. We want to divide some react UI components into a package folder under "/packages/ui-components" and leave the app in an "/apps/app&quo...
Selway asked 27/1, 2021 at 12:37

4

I am attempting to make two AWS Lambda functions (written in typescript). Both of these functions share the same code for interacting with an API. In order to not have to copy the same code to two ...
Conversationalist asked 10/12, 2018 at 19:14

1

In my package.json, I currently have "workspaces": { "nohoist": ** } I would like to specify JUST TWO packages to hoist, and nohoist on everything else. Is there a simple way to do this without...
Pemmican asked 10/6, 2020 at 18:21

2

I am involved in a project with two separate repositories that we will soon be combining into a monorepo. Lerna's import command will be very helpful in this regard, so we will keep the projects' h...
Nariko asked 19/4, 2018 at 21:10

0

I want to test my typescript library. It has two parts: core and client. client instance core to use its functions. import { Core } from "@lib/core"; class Client { constructor() { new ...

2

I have standard Lerna repository like this: my-repo - package.json - packages - api - package.json - web-app - package.json If I need same dependency in both packages (for example lodash), ...
Negligible asked 12/12, 2018 at 8:56

3

Further outlining is in the context of NodeJS and Monorepo (based on Lerna). I have AWS stack with several AWS Lambda inside deployed by means of AWS CloudFormation. Some of the lambdas are simple ...
Signally asked 18/8, 2020 at 6:1

2

It doesn't seem that Lerna 3.20.2 is able to bump prerelease versions (e.g. 1.0.0-alpha.0) according to the Conventional Commits specification. I made a Minimal Reproducible Example if you want to...
Miquelon asked 10/4, 2020 at 16:30

0

I have a monorepo with Lerna and typescript with a basic structure - root package.json - packages package-A package.json src package-B package.json src The root package.json tsconfig conf...
Troyes asked 11/11, 2020 at 13:20

2

Solved

I have a lerna monorepo containing lots of packages. I'm trying to achieve the following: Ensure that VSCode provides the correct import suggestions (based on package names, not on relative path...
Appliance asked 10/9, 2019 at 12:11

0

I'm moving my projects to a monorepo with Lerna and yarn workspace. I managed to setup the basic stuffs but I'm stuck with this issue and can't find similar problem on the web. As you can see on th...
Octamerous asked 5/11, 2020 at 0:30

2

I'm working on an open source project which is currently using lerna to help manage a single repository with multiple packages. So far, so good, except that every now and then something breaks beca...
Incorporation asked 29/9, 2017 at 15:51

1

Solved

We have a monorepo with a shared package called "@myorganization/common", that is used by both the app and Google cloud functions. Google cloud functions requires that the package is publ...

1

I'm doing some tests with Lerna to create a mono-repo with a bunch of packages that I'd like to share with some applications. I've followed Lerna's documentation to setup a project and this is the ...
Few asked 15/10, 2020 at 8:42

0

I have a monorepo containing many packages. It is using yarn(v1) workspaces. One of the packages contains a set of development dependencies (packages/example-dev/@example/dev) that are consumed as ...
Buddy asked 12/10, 2020 at 15:20

0

I have settled a monorepo with Lerna and Yarn Workspaces with this structure: project | - packages | - ReactNativeApp | - NextJsApp | - FirebaseCloudFunctions | - Common | - src > source T...
Ustkamenogorsk asked 31/8, 2020 at 9:49

1

Solved

Below is the description of the issue:- Expected behaviour is to have a package-lock.json file generated for every package in packages folder. Current Behaviour My current project structure look ...
Losse asked 16/1, 2020 at 11:8

3

Solved

I'm setting up a lerna monorepo with jest, I'm using jest's projects like so: projects: ['<rootDir>/packages/*']. Running tests work as expected, however, I'm not sure how can I run a specif...
Futures asked 21/9, 2018 at 14:21

2

Solved

I have a common (or not so coomon) scenario for yarn workspaces and didn't find the right guide for me online. yarn workspaces look like that: - monorepo - packages - client - admin - theme ...
Notarial asked 9/4, 2020 at 10:54

1

Solved

I currently started working with cypress. In a test I want to import code from another module but it's saying ParseError: 'import' and 'export' may appear only with 'sourceType: module'. I've adde...
Desmarais asked 12/6, 2020 at 13:32

1

I am having some problems with my mono-repository and Docker project setup. I want to use Lerna for my mono-repository setup, and Docker for project building. Before I integrated Lerna things wer...
Tova asked 11/2, 2020 at 16:20

1

I have a fairly standard lerna monorepo that will look like this: packages/ main/ - This is the main deployable application, it depends on both dep and react-dep dep/ - Just some pure functions...
Iives asked 28/5, 2020 at 1:43

0

When running lerna version or lerna publish it bumps versions of all the packages in yarn workspace and do update relevant devDependencies but keeps unchanged versions in peerDependencies so packag...

1

How to deal with env files in monorepo with lerna? I was wondering if I should have one env file in the root of the repository for every app? or should each app have it's own env file? I can't fi...
Thorn asked 18/1, 2019 at 10:24

© 2022 - 2024 — McMap. All rights reserved.