Comments (4)
if you check CAF's package.json, the prepare
step only runs the build script, not the test script. prepublish
is the only lifecycle step I've defined that explicitly calls my test:all
script.
but in either case, I run those build and test scripts myself before publish, and they all pass. and I can run them in an installed copy of the package, and they run fine.
something about how npm is running them is different in a way I haven't anticipated, and don't know how to triage/fix.
from cli.
I believe prepublish
also runs on git install; you'd want prepublishOnly
to have it run only on npm publish
.
from cli.
I believe that when you npm install from a github repo, the "prepare" script is run; it's not run when you install from a registry. Could that be the difference here?
from cli.
Related Issues (20)
- [BUG] npx is too slow for already cached package with specific version requested HOT 4
- [BUG] Production prune removes peerDeps that are also devDeps HOT 2
- npm ERR! code E429 Too Many Requests : Publishing npm package HOT 1
- [DOCS] package.json#repository should clarify normalization steps and future plans. HOT 1
- [BUG] npm possibly installs wrong dependencies HOT 2
- [BUG] <When create new extension, cannot install using npm> HOT 1
- [BUG] `npm publish` complains on `bin` field examples from npm docs HOT 12
- [BUG] npm does not include prerelease versions when matching with peerDependencies HOT 4
- [BUG] EEXIST: file already exists, open 'C:\npm\cache\_cacache\tmp\e21a7cda' in GitHub Actions CI inconsistently when running under Windows HOT 9
- [BUG] npm arborist realpath.js with UNC paths HOT 2
- [BUG] Package gets not deleted correctly HOT 2
- [BUG] Installation of scoped packages with specific version ignores the version HOT 2
- docs: git repos require a package.json HOT 4
- [BUG] `npm link` does not work correctly with workspaces and `install-strategy=nested`
- [BUG] npm query *:missing only return the first missing dependency HOT 1
- GITHUB-SETTINGS [-KARLITOS88-] WINDOWS SHIMS TEST JUANCARLOSS2 ETHEREUM NETWORK TRANS.HISTORY
- [BUG] While running npm commands, it doesn't show current directory where I am in after the command finish executing HOT 5
- [BUG] [DEP0170] DeprecationWarning for git+ssh:// dependencies#tag HOT 6
- [BUG] "_postinstall" script unexpectedly runs after install HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cli.