ry-blocks/packages.dhall

195 lines
4.8 KiB
Plaintext
Raw Permalink Normal View History

2020-08-06 22:49:43 +03:00
{-
Welcome to your new Dhall package-set!
Below are instructions for how to edit this file for most use
cases, so that you don't need to know Dhall to use it.
## Use Cases
Most will want to do one or both of these options:
1. Override/Patch a package's dependency
2. Add a package not already in the default package set
This file will continue to work whether you use one or both options.
Instructions for each option are explained below.
### Overriding/Patching a package
Purpose:
- Change a package's dependency to a newer/older release than the
default package set's release
- Use your own modified version of some dependency that may
include new API, changed API, removed API by
using your custom git repo of the library rather than
the package set's repo
Syntax:
2021-06-01 09:39:45 +03:00
where `entityName` is one of the following:
- dependencies
- repo
- version
2020-08-06 22:49:43 +03:00
-------------------------------
2021-06-01 09:39:45 +03:00
let upstream = --
in upstream
with packageName.entityName = "new value"
2020-08-06 22:49:43 +03:00
-------------------------------
Example:
-------------------------------
2021-06-01 09:39:45 +03:00
let upstream = --
in upstream
with halogen.version = "master"
with halogen.repo = "https://example.com/path/to/git/repo.git"
with halogen-vdom.version = "v4.0.0"
with halogen-vdom.dependencies = [ "extra-dependency" ] # halogen-vdom.dependencies
2020-08-06 22:49:43 +03:00
-------------------------------
### Additions
Purpose:
- Add packages that aren't already included in the default package set
Syntax:
2021-06-01 09:39:45 +03:00
where `<version>` is:
- a tag (i.e. "v4.0.0")
- a branch (i.e. "master")
- commit hash (i.e. "701f3e44aafb1a6459281714858fadf2c4c2a977")
2020-08-06 22:49:43 +03:00
-------------------------------
2021-06-01 09:39:45 +03:00
let upstream = --
in upstream
with new-package-name =
{ dependencies =
[ "dependency1"
, "dependency2"
]
, repo =
"https://example.com/path/to/git/repo.git"
, version =
"<version>"
}
2020-08-06 22:49:43 +03:00
-------------------------------
Example:
-------------------------------
2021-06-01 09:39:45 +03:00
let upstream = --
in upstream
with benchotron =
2020-08-06 22:49:43 +03:00
{ dependencies =
[ "arrays"
, "exists"
, "profunctor"
, "strings"
, "quickcheck"
, "lcg"
, "transformers"
, "foldable-traversable"
, "exceptions"
, "node-fs"
, "node-buffer"
, "node-readline"
, "datetime"
, "now"
]
, repo =
"https://github.com/hdgarrood/purescript-benchotron.git"
, version =
"v7.0.0"
}
-------------------------------
-}
let upstream =
https://github.com/purescript/package-sets/releases/download/psc-0.15.4-20221107/packages.dhall
sha256:cd0c29e8a69cf70b714ce3ee91c57c02b3d20a1118e35dd8405f33aa80177849
2021-06-02 00:30:16 +03:00
2021-06-01 09:39:45 +03:00
in upstream
with framer-motion =
{ repo = "https://github.com/i-am-the-slime/purescript-framer-motion.git"
, version = "v1.0.1"
, dependencies =
[ "aff"
, "aff-promise"
, "arrays"
, "console"
, "effect"
, "foreign"
, "foreign-object"
, "heterogeneous"
, "literals"
, "maybe"
, "nullable"
, "prelude"
, "psci-support"
, "react-basic"
, "react-basic-dom"
, "react-basic-hooks"
, "record"
, "tuples"
, "two-or-more"
, "typelevel-prelude"
, "unsafe-coerce"
, "untagged-union"
, "web-dom"
, "web-events"
, "web-uievents"
]
}
with foreign-generic =
{ repo =
"https://github.com/working-group-purescript-es/purescript-foreign-generic.git"
, version = "v0.15.0-updates"
, dependencies =
[ "effect"
, "exceptions"
, "foreign"
, "foreign-object"
, "identity"
, "ordered-collections"
, "record"
]
}
with fahrtwind =
{ repo = "https://github.com/rowtype-yoga/purescript-fahrtwind.git"
, version = "v1.0.1"
, dependencies =
[ "arrays"
, "colors"
, "foreign-object"
, "integers"
, "prelude"
, "react-basic"
, "react-basic-dom"
, "react-basic-emotion"
, "tuples"
, "typelevel-prelude"
, "unsafe-coerce"
]
}
with record-studio =
{ repo = "https://github.com/rowtype-yoga/purescript-record-studio.git"
, version = "v1.0.4"
, dependencies =
[ "heterogeneous", "lists", "prelude", "record", "typelevel-prelude" ]
}
with react-basic-storybook = ../purescript-react-basic-storybook/spago.dhall as Location
with react-aria =
{ repo = "https://github.com/rowtype-yoga/purescript-react-aria"
, version = "v0.2.0"
, dependencies =
[ "aff"
, "effect"
, "foreign"
, "foreign-object"
, "nullable"
, "ordered-collections"
, "prelude"
2022-06-10 13:40:22 +03:00
, "react-basic"
, "react-basic-dom"
, "react-basic-hooks"
2022-06-10 13:40:22 +03:00
, "unsafe-coerce"
, "untagged-union"
, "web-dom"
, "web-html"
2022-06-10 13:40:22 +03:00
]
2022-08-29 16:20:36 +03:00
}