Skip to content

Linking Wollok TS

Fernando Dodino edited this page Oct 29, 2023 · 9 revisions

Clone wollok-ts

You must clone Wollok TS project in a desired folder. Follow README instructions.

Working in wollok-ts project

Replace that repository as wollok-ts dependency:

npm install <PATH-TO-WOLLOK-TS-LOCAL-REPOSITORY>

You should see the change reflected in package.json:

"dependencies": {
  "wollok-ts": "file:../wollok-ts" // it depends on the folder you installed wollok-ts
},

Remember that after any change in Wollok TS project, you must re-build that project locally by running:

npm run build

And re-add it as a dependency:

npm i

Be careful about relative imports in wollok-ts.