mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-03-05 15:05:23 +01:00
- There is no yarn publish command, it's called yarn npm publish. - prepublishOnly script is called only on npm publish command that we don't want to use at all. - prepublish script start checking if you run it from CI.
6 lines
229 B
JavaScript
6 lines
229 B
JavaScript
console.log(
|
|
`Publish only from CI!
|
|
DO NOT USE npm publish, use yarn npm publish instead! npm publish does not handle workspace ranges - see https://yarnpkg.com/features/workspaces#publishing-workspaces`,
|
|
);
|
|
process.exit(1);
|