Make library for use with NPM 7 and @npmcli/arborist


Keywords
any, cli, component, contentful, gatsbyjs, netlify, react, typescript, wheelroom, boilerplate, jamstack, monorepo
License
MIT
Install
npm install @wheelroom/make@6.26.0

Documentation

Wheelroom

Wheelroom connects your code base within 5 minutes to many services like Contentful and Netlify. The Wheelroom boilerplate includes content models, page sections, wheelroom themes, example content and much more.

Why Wheelroom?

Wheelroom is an open source project and created for developers that want to work with the latest technology and services. Wheelroom seamlessly connects many services and renders a data driven client side interface. Check for more information the plugins or start building your own project with the Wheelroom boilerplate.

About this repo

This is a monorepo with javascript/typescript projects that share types and libraries.

Apps

  • None yet

Starters

Packages

Contributors

Feel free to contribute to the open source Wheelroom project. Do you have question or a feature request, please read our contributing guidelines.

Root packages

The root repo contains only packages needed for development. These are packages used by the IDE, linters, transpilers, test suits, etc. Packages used by the packages in this repo live in the package.json that is shipped with the actual package itself.

E.g. React and Emotion should be dependencies of the actual package. This way every package in the mono repo can choose which version of React to use. Notable use case is Storybook which refuses to work with React 17.

  • babel
  • dotenv
  • eslint (import, prettier, react, react-hooks)
  • jest
  • npm script helpers (npm-run-all, rimraf)
  • prettier
  • typescript and type packages
  • webpack (cli, dev-server, html-webpack-plugin)

Known issues

Vscode React import

React 17 introduced a new JSX transform which does not require react to be imported in every file. Support for this was added in TypeScript 4.1. However vscode is still suggesting/requiring the react import before other JSX import fixes are suggested.

Typescript 4.3 should solve this.

See: https://github.com/microsoft/TypeScript/issues/41762