2
0
mirror of https://github.com/iconify/iconify.git synced 2024-12-14 06:28:24 +00:00
iconify/monorepo/link.js

15 lines
320 B
JavaScript
Raw Normal View History

/**
* 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);
});