210 questions with no answers
0
votes
0
answers
63
views
Webpack not honouring the main field in package.json
I have a monorepo that uses Lerna to connect the packages. One of the packages in this repo is a utility package (compiled using tsc), whilst the other package in the monorepo is the main web ...
0
votes
0
answers
51
views
lerna publish --canary detect incorrect version
I maintain a mono repositories with lerna.
About branches, master to emit the product version, and beta to keep the prerelease version.
I usually checkout new feature branch, do some commits and merge ...
0
votes
0
answers
44
views
GitHub workflow breaks when Lerna publishes with auto
I’m using the following workflow:
name: Release
on: [push, workflow_dispatch]
jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions:
contents: read
issues: read
...
0
votes
0
answers
22
views
Can we have versions in shared-ui in Nx/Lerna/Turborepo
I hasve shared-ui, and apps directory where I have multiple large scale angular apps. The issue is that all the apps are managed by separate teams and if I make breaking changes in shared-ui it will ...
0
votes
0
answers
114
views
How do I recover lerna after a successful publish but is not detecting new tags
Long story short: Lerna is not detecting the latest git tags after a successful publish. Can I recover from this without re-publishing all the packages which included several major version bumps via ...
0
votes
0
answers
78
views
Lerna React Native CLI ERROR: autolinkLibrariesFromCommand
I have a Lerna project There are 2 react native projects inside the packages part.
GameCenter and Bingo
I want to use Bingo in Gamecenter
GameCenter metro.config
const { getDefaultConfig, mergeConfig }...
0
votes
0
answers
27
views
Resolving SHA-1 Error and 'unable to load script' in Lerna React Native Project
I have started a lerna project using npx lerna init
package.json
{
"name": "root",
"private": true,
"scripts": {
"start:gamecenter": "...
0
votes
0
answers
73
views
Independent Versioning, Publishing and Reverting of an MFE in a monorepo setup
I'm new to Monorepo and have been evaluating npm workspaces, nx, and lerna for my specific use case or lateral thinking.
I have a shell with header, footer, product, and cart as MFEs, each with their ...
7
votes
0
answers
2k
views
Use Storybook with auto-generated argTypes for components in external TypeScript library
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.
...
1
vote
0
answers
319
views
How to create a library of reusable modules in NestJS for internal use as npm dependencies?
I would like to create a library of reusable modules for my company in NestJS that can be imported as npm dependencies into various projects. The goal is to avoid rewriting common modules like ...
0
votes
0
answers
426
views
Lerna is inconsistent when watching detection of changes
I am trying to make a monorepo with lerna, but when i try to watch the workspace with lerna watch it show inconsistent results
My project and workflow
The following image shows my workflow with :
top ...
1
vote
0
answers
112
views
Storybook setup along with lerna, vite and pnpm in existing application
Is it possible to configure application services and storybook services using Lerna and pnpm? So that I shouldn't start two different servers with different ports. I am using PNPM along with vite and ...
1
vote
0
answers
305
views
Lerna returns 0 found packages
After upgrading lerna from 7 to 8.1.7, I can no longer build my project which resides in a mono-repo.
It seems to not find the dependencies of the various packages.
$ npx lerna list returns found 0 ...
1
vote
0
answers
100
views
Lerna published packages contain TypeScript source files instead of built JavaScript file
I'm facing an issue with Lerna and GitHub Actions where the published packages contain TypeScript source files (*.ts) from the src directory instead of the compiled JavaScript files from the dist ...
1
vote
0
answers
131
views
Uncaught TypeError: Cannot read properties of null (reading 'useContext') while using monorepo setup using lerna
I am using Lerna to setup a monorepo, when I import the package into another application I am getting below errors.
react.development.js:210 Warning: Invalid hook call. Hooks can only be called inside ...