diff --git a/.github/workflows/main-kaoto.yaml b/.github/workflows/main-kaoto.yaml index 01716f25..e2882412 100644 --- a/.github/workflows/main-kaoto.yaml +++ b/.github/workflows/main-kaoto.yaml @@ -41,6 +41,9 @@ jobs: run: | yarn yarn workspace @kaoto/kaoto run build:lib + - name: yarn link private kaoto package + working-directory: vscode-kaoto + run: yarn link ../kaoto/packages/xml-schema-ts --private - name: yarn link kaoto working-directory: vscode-kaoto run: yarn link ../kaoto/packages/ui diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4810ba31..5b93ebfa 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -103,9 +103,12 @@ If you'd like to test latest Kaoto and not rely on a released version, follow th * In `kaoto` local clone folder: * `yarn` * `yarn workspace @kaoto/camel-catalog run build` + * `yarn workspace @kaoto/xml-schema-ts run build` * `yarn workspace @kaoto/kaoto run build:lib` * Open VS Code on `vscode-kaoto` local clone folder * `yarn` +* `yarn link` _\/packages/xml-schema-ts --private + * i.e. `yarn link ~/repositories/kaoto/packages/xml-schema-ts --private` * `yarn link` _\/packages/kaoto-_ * i.e. `yarn link ~/repositories/kaoto/packages/ui` * `yarn build:dev` @@ -118,6 +121,8 @@ If you'd like to test latest Kaoto and not rely on a released version, follow th To return to the default Kaoto version, just write on `vscode-kaoto` local clone folder: * `yarn unlink` _\/packages/ui_ * i.e. `yarn unlink ~/repositories/kaoto/packages/ui` +* `yarn unlink` _\/packages/xml-schema-ts_ + * i.e. `yarn unlink ~/repositories/kaoto/packages/xml-schema-ts` More information about [linking](https://yarnpkg.com/cli/link) and [unlinking](https://yarnpkg.com/cli/unlink) local packages with [yarn](https://yarnpkg.com/)