unable to build from source #633
-
I am new to react based apps and unfamiliar with the tools. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @MetalDude101 (nice nickname) Do I understand you right, you want to build likec4 from sources, this repository? As for LikeC4, you need:
Then, in root: yarn install
yarn build
# or better
yarn typecheck
Development workflowOption 1: there is launch configuration to run/debug extension. Option 2: my main workflow to work on anything else except vscode extension. And sometimes, keep running
Yes, that's right. |
Beta Was this translation helpful? Give feedback.
Hi @MetalDude101 (nice nickname)
Do I understand you right, you want to build likec4 from sources, this repository?
If so, take a look at GitHub workflows.
It always helps me to understand how projects are built, tested, etc.
As for LikeC4, you need:
1.22.21
), that delegates to the version at.yarn/releases
Then, in root:
yarn install yarn build # or better yarn typecheck
typecheck
triggersbuild
, but also gets caches of ts compile results.Development workflow
Option 1: there is launch configuration to run/debug extension.
Hint: I also keep running
yarn dev
in packages/vscode-preview.This rebuilds Preview panel. If I change only the UI part, it's enough to …