Giter Site home page Giter Site logo

devbookhq-react's Introduction

Devbook UI

Monorepo for all Devbook's webapps and packages.

Development

This whole repo is a pnpm workspace that has multiple packages in the apps/ and packages/ subdirectories.

Initial installation

In the top directory run pnpm install to install deps in all packages.

Installing dependencies

Run pnpm install <deps> in any subdirectory to install the dependencies there.

Run pnpm install <deps> --filter <package-name-or-regex> to install dependencies in specified packages.

https://turbo.build/repo/docs/core-concepts/monorepos/filtering

Developing

Run pnpm dev to start watching and compiling all changes in this monorepo.

Commands overview

  • pnpm install - Install dependencies for all packages and app
  • pnpm build - Build all packages and apps
  • pnpm dev - Develop all packages and apps
  • pnpm lint - Lint all packages
  • pnpm changeset - Generate a changeset (it will guide you)
  • pnpm version-packages - Create changelog from the changeset and increment packages' versions accordingly
  • pnpm clean - Clean up all node_modules and dist folders (runs each package's clean script)

Deployment

Run pnpm changeset to mark packages you want to release then run pnpm version-packages and commit the resulting changes. Marked packages will be published when you push to master.

If the deployment fails don't run the previous commands again, just fix the error and push to master.

Improvement

Check how to handle internal packages https://github.com/formbricks/formbricks/blob/main/packages/react/package.json

devbookhq-react's People

Contributors

valentatomas avatar mlejva avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.