purescript-0.15.7: PureScript Programming Language Compiler
Safe HaskellSafe-Inferred
LanguageHaskell2010

Language.PureScript.Publish.Registry.Compat

Description

A compatibility module that allows a restricted set of purs.json manifest | files to be used for publishing. The manifest must described a package | available on GitHub, and it must be convertable to a Bower manifest. | | Fully supporting the registry manifest format will require `purs publish` | and by extension Pursuit to relax the requirement that packages are hosted | on GitHub, because the registry does not have this requirement.

Synopsis

Documentation

toBowerPackage :: PursJson -> Either BowerError PackageMeta Source #

Convert a valid purs.json manifest into a bower.json manifest

data PursJson Source #

A partial representation of the purs.json manifest format, including only | the fields required for publishing. | | https://github.com/purescript/registry/blob/master/v1/Manifest.dhall

This type is intended for compatibility with the Bower publishing pipeline, and does not accurately reflect all possible purs.json manifests. However, supporting purs.json manifests properly introduces breaking changes to the compiler and to Pursuit.

Constructors

PursJson 

Fields

data PursJsonError Source #

Instances

Instances details
Generic PursJsonError Source # 
Instance details

Defined in Language.PureScript.Publish.Registry.Compat

Associated Types

type Rep PursJsonError :: Type -> Type #

Show PursJsonError Source # 
Instance details

Defined in Language.PureScript.Publish.Registry.Compat

NFData PursJsonError Source # 
Instance details

Defined in Language.PureScript.Publish.Registry.Compat

Methods

rnf :: PursJsonError -> () #

Eq PursJsonError Source # 
Instance details

Defined in Language.PureScript.Publish.Registry.Compat

Ord PursJsonError Source # 
Instance details

Defined in Language.PureScript.Publish.Registry.Compat

type Rep PursJsonError Source # 
Instance details

Defined in Language.PureScript.Publish.Registry.Compat

type Rep PursJsonError = D1 ('MetaData "PursJsonError" "Language.PureScript.Publish.Registry.Compat" "purescript-0.15.7-3xSYkQR1O27GufieOHVqoE" 'False) (C1 ('MetaCons "MalformedLocationField" 'PrefixI 'False) (U1 :: Type -> Type))