Building a mono repo package environment using Lerna, Rollup, TypeScript, semantic-release-monorepo and GitHub Packages.
packages/sample-one
+-- dist
| +-- esm
| +-- index.js
| +-- index.js.map
| +-- main.js.map
| +-- cjs
| +-- index.js
+-- +-- index.js.map
We use ttypescript and typescript-transform-paths due to path reference problem in index.d.ts
file when using absolute path in the packages.(eg, sample-one, sample-two)
.npmrc
file must be added to the root of the project.
@soyoung210:registry=https://npm.pkg.github.com/soyoung210
The package name should follow the format: