RFC: Lerna Project
See original GitHub issueHey!
How about projen for bootstrapping and maintaining Lernyarn monorepos?
import { LernaProject, TypeScriptLibraryProject, NodeProject } from '../lib';
const lernaProject = new LernaProject({
name: 'my-monorepo-project',
packages: [
{
name: 'ddb-connector',
location: 'packages/@services',
project: new TypeScriptLibraryProject({ name: 'ddb-connector', description: 'DynamoDB API / Connector' })
},
{
name: 'service-portal',
location: 'packages/@services',
project: new NodeProject({ name: 'service-portal-api', description: 'Service Portal' })
}],
workSpaces: {
packages: [
"packages/@web/*",
"packages/@rn/*",
"packages/@iac/*",
"packages/@services/*",
],
nohoist: [],
}
});
lernaProject.addPackage({
name: 'geo',
location: 'packages/@services',
project: new TypeScriptLibraryProject({ name: 'geocoding-service', description: 'Geocoding Service' })
});
lernaProject.addBootstrappedPackage({
name: 'cloud-infra',
location: 'packages/@iac',
beforeCommand: 'mkdir cloud && cd cloud',
npxCommand: 'npx cdk init --language typescript',
});
lernaProject.addBootstrappedPackage({
name: 'core',
location: 'packages/@web',
npxCommand: 'npx create-react-app web-frontend',
});
lernaProject.synth();
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:15 (14 by maintainers)
Top Results From Across the Web
RFC: Improving `lerna publish` · Issue #1767 - GitHub
this enables a more reliable & retryable lerna publish and removes functionality that's duplicated between lerna version and lerna publish.
Read more >RFC: Monorepo support - Development - ReScript Forum
This post is to specify the possible monorepo structures that ReScript should support. As a first step, let's discuss where the rescript ...
Read more >Developers - RFC: Lerna Project - - Bountysource
RFC : Lerna Project ... Hey! How about projen for bootstrapping and maintaining Lernyarn monorepos? import { LernaProject, TypeScriptLibraryProject, NodeProject } ...
Read more >Managing Monorepo using Lerna and Yarn workspaces
Lerna is "a tool for managing JavaScript projects with multiple packages", as the official website ... https://github.com/npm/rfcs/pull/103.
Read more >@lerna-lite/run - npm
Start using @lerna-lite/run in your project by running `npm i ... this RFC, so perhaps someday this package would become irrelevant :)).
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@adamelmore There is definitely appetite for lerna support! I like the direction in #13 and would be happy to provide feedback if you’d like to pick this up from where you left off.
Closing this issue as it hasn’t seen activity for a while. Please add a comment @mentioning a maintainer to reopen.