Skip to content

Latest commit

 

History

History
38 lines (35 loc) · 1.24 KB

README.md

File metadata and controls

38 lines (35 loc) · 1.24 KB

itwin_cospace

This repo uses CoSpace to setup a convenient local dev environment linking multiple (mono)repos together for iTwin development.

getting started

  1. clone this repo
    git clone https://github.com/aruniverse/itwin-cospace.git
  2. clone itwinjs repos you want to link together under the repos subdir:
    1. cd repos
    2. clone the itwinjs-core repo
      git clone https://github.com/iTwin/itwinjs-core.git
    3. clone the iwin viewer repo
      git clone https://github.com/iTwin/viewer.git
    4. clone any additional repos you want to link together
    5. cd ..
    6. update the pnpm-workspace.yaml file as needed
  3. use the local version of the packages throughout your cospace
    pnpm setOverrides
    this just runs cospace override
  4. install
    pnpm install
  5. build
    pnpm build
  6. develop faster and enjoy
    1. make any code changes you want, and then just do another build. lage will cache builds, so it should be very quick to see your changes