This repository has been archived by the owner on Nov 17, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Package): Use prepare instead of postinstall
This avoid the following error when installing Thema in another package: ```bash > @stencila/[email protected] postinstall /home/nokome/stencila/source/encoda/node_modules/@stencila/thema > npm run update > @stencila/[email protected] update /home/nokome/stencila/source/encoda/node_modules/@stencila/thema > npm run update:selectors && npm run update:examples && npm run update:themes && npm run update:extensions > @stencila/[email protected] update:selectors /home/nokome/stencila/source/encoda/node_modules/@stencila/thema > ts-node --files src/scripts/selectors.ts Error: Cannot find module '/home/nokome/stencila/source/encoda/node_modules/@stencila/thema/src/scripts/selectors.ts' ``` See https://docs.npmjs.com/misc/scripts
- Loading branch information