For the purposes of the prepack script, what is considered a "raw source"? #6256
Replies: 1 comment
-
Never mind, this seems to have been some sort of caching bug that resolved itself when I deleted |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
From Yarn's documentation, I got the impression that the
prepack
script will only be run when installing from "raw sources". It lists Git as an example of a raw source, but not many others; what is considered to be a raw source?I'm trying to use
prepack
so that a build is invoked before publishing to our private artifactory registry, which works fine; the problem is that when I install that package from the private registry, Yarn seems to be invoking theprepack
script as it reports that it "couldn't be built successfully" - presumably because it's trying to use a dev dependency package that doesn't exist at install-time (the build error log is completely empty so there's nothing to go off of there). However, I would expect that this script does not need to be called at all, as the build files have been pushed to the registry with theprepack
step before the publish. Am I misusing theprepack
script, or is this unexpected behavior?Beta Was this translation helpful? Give feedback.
All reactions