The gulp-purescript package (v2.0.1) is a Gulp plugin that wraps the PureScript compiler (purs) to automate compilation, bundling, and documentation generation tasks. It requires the PureScript binaries to be installed separately (e.g., via the 'purescript' npm package). The plugin's API mirrors PureScript commands: compile, bundle, and docs. Breaking changes in v2.0.0 renamed psc to compile, pscBundle to bundle, and pscDocs to docs, aligning with PureScript 0.11. The package is maintained by the PureScript community under purescript-contrib. It is a legacy tool suited for projects using older Gulp workflows; alternatives include direct use of purs or Spago.
npm install gulp-purescriptNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates compile, bundle, and docs tasks with common options.
Update your gulp tasks to use the new names: compile, bundle, docs
Review and update options passed to each function, consult PureScript 0.11 compiler docs
Install the 'purescript' npm package or binaries via purescript.org
Return a stream or use async/await in your gulp task
Use gulp --purs-rts-flags +RTS -N -RTS for runtime options
Run npm install --save-dev gulp-purescript
Use purescript.compile() instead of purescript.psc()
Install purescript npm package globally or locally: npm install purescript
Ensure your gulp task returns the stream: return purescript.compile(...)