2
0
mirror of https://github.com/iconify/iconify.git synced 2024-12-13 14:13:06 +00:00
iconify/monorepo/link.js
2022-01-27 21:16:43 +02:00

15 lines
320 B
JavaScript

/**
* This script creates symbolic links for all packages inside monorepo.
*
* `lerna link --force-local` does not link dependencies of dependencies, but this fix does.
*/
const { build } = require('./build');
build()
.then((functions) => {
functions.fixLinks();
})
.catch((err) => {
process.exit(err);
});