简体   繁体   中英

How to deploy npm packages on fortrabbit, just like composer?

I wonder if there is a way to deploy npm packages on fortrabbit, just as smooth as fortrabbit handles composer packages?

I have tried

  • call npm on the ssh cli (though fortrabbit docs says I can't make permanent change to file that way)
  • fortrabbit.yml post event
  • "koala-framework/composer-extra-assets" a composer extension, but it also calls npm, and fails

Now i wonder if there is a supported way to use npm. It seems fortrabbit docs have no mention of npm.

  • hopefully, Søren

fortrabbit is a PHP hosting service, but it doesn't let you use node.js or other languages.

So you can't use npm.

You can use a workflow where you commit your built files locally.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM