Skip to content

Instantly share code, notes, and snippets.

@rix0rrr
Last active November 12, 2018 10:59
Show Gist options
  • Save rix0rrr/a05bd6b30e5364401cddce7bd6efe129 to your computer and use it in GitHub Desktop.
Save rix0rrr/a05bd6b30e5364401cddce7bd6efe129 to your computer and use it in GitHub Desktop.
Lerna bug repro
/* lerna.json */
{
"packages": [
"packages/*"
],
"rejectCycles": "true",
"version": "0.1.0"
}
/* package.json */
{
"devDependencies": {
"lerna": "^3.4.3"
},
"name": "lerna-bug"
}
/* packages/consumer/package.json */
{
"name": "consumer",
"private": true,
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"left-pad": "^1.3.0",
"mytoolspackage": "^1.0.0"
},
"bundledDependencies": [
"mytoolspackage"
],
"author": "",
"license": "ISC"
}
/* packages/mytoolspackage/package.json */
{
"name": "mytoolspackage",
"private": true,
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment