Skip to content

Conversation

@kohlmannj
Copy link

@kohlmannj kohlmannj commented Jul 15, 2018

Based on #3. I wanted to riff on @rosskevin and @RyanCavanaugh's work by configuring this monorepo to not only use Yarn workspaces, but also use Babel 7 for TypeScript transpilation. This setup closely resembles an internal monorepo I've been working with.

Notable Changes

  • Update README with usage and setup details
  • Add multiple @babel/* devDependencies to the root package.json
  • Add @babel/cli and concurrently devDependencies to each package
  • Upgrade typescript devDependency refspecs to ^3.0.0-rc
  • tsconfig.settings.json: add "emitDeclarationOnly": true
  • Add scripts to root package.json:
    • bootstrap (run this instead of yarn install && lerna bootstrap)
    • build (uses concurrently)
    • build:js
    • build:dts
    • clean (uses concurrently)
    • clean:lerna
    • clean:lib
    • dev (uses concurrently)
  • Add scripts to each package:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants