mirror of
https://github.com/ilyakooo0/reflex-dom.git
synced 2024-09-19 02:37:09 +03:00
de9ac2d421
* origin/develop: (25 commits) Reindent Fix overriding mkDerivation Revert "reflex-dom-core: Allow superfluous nix arguments" reflex-dom-core: Allow superfluous nix arguments hydration: Use staticWhich to find chromium Update ChangeLog.md Update ChangeLog.md Loosen constraints version bounds. Simplify the Nix Make version number in nix and cabal match Bump reflex-platform for tests Move data-ssr from static builder to HydratableT Replace Android cabal flag with OS selector which works since nixpkgs 19.03 Test more in release.nix Remove unused files for hydra Revert "Remove a leftover "data-ssr" attribute" Update changelog Skip hydration for elements with data-ssr attribute Fixes for ghc 8.6 Update CONTRIBUTING.md ...
236 lines
6.6 KiB
Plaintext
236 lines
6.6 KiB
Plaintext
Name: reflex-dom-core
|
|
Version: 0.5.2.0
|
|
Synopsis: Functional Reactive Web Apps with Reflex
|
|
Description: Reflex-DOM is a Functional Reactive web framework based on the Reflex FRP engine
|
|
License: BSD3
|
|
License-file: LICENSE
|
|
Author: Ryan Trinkle
|
|
Maintainer: ryan.trinkle@gmail.com
|
|
Stability: Experimental
|
|
Category: FRP, Web, GUI, HTML, Javascript, Reactive, Reactivity, User Interfaces, User-interface
|
|
Build-type: Simple
|
|
Cabal-version: >=1.9.2
|
|
-- Deal with https://github.com/haskell/cabal/issues/2544 / https://github.com/haskell/cabal/issues/367
|
|
extra-source-files: src-ghc/Foreign/JavaScript/Internal/Utils.hs
|
|
src-ghcjs/Foreign/JavaScript/Internal/Utils.hs
|
|
src/Reflex/Dom/Xhr/Foreign.hs
|
|
src/Reflex/Dom/WebSocket/Foreign.hs
|
|
src/Reflex/Dom/Xhr/ResponseType.hs
|
|
src/Reflex/Dom/Xhr/Exception.hs
|
|
ChangeLog.md
|
|
|
|
flag use-template-haskell
|
|
description: Use template haskell to generate lenses
|
|
default: True
|
|
manual: True
|
|
|
|
flag use-reflex-optimizer
|
|
description: Use the GHC plugin Reflex.Optimizer on some of the modules in the package. This is still experimental.
|
|
default: False
|
|
manual: True
|
|
|
|
flag expose-all-unfoldings
|
|
description: Build the library with -fexpose-all-unfoldings which can help client code specialize better
|
|
default: False
|
|
manual: True
|
|
|
|
flag profile-reflex
|
|
description: Add a layer of profiling to all Reflex events in the system
|
|
default: False
|
|
manual: True
|
|
|
|
flag split-these
|
|
description: Use split these/semialign packages
|
|
manual: False
|
|
default: True
|
|
|
|
library
|
|
hs-source-dirs: src
|
|
build-depends:
|
|
aeson >= 0.8 && < 1.5,
|
|
base >= 4.7 && < 4.13,
|
|
bifunctors >= 4.2 && < 6,
|
|
bimap >= 0.3 && < 0.4,
|
|
blaze-builder,
|
|
bytestring == 0.10.*,
|
|
containers >= 0.6 && < 0.7,
|
|
constraints >= 0.9 && < 0.12,
|
|
contravariant >= 1.4 && < 1.6,
|
|
data-default >= 0.5 && < 0.8,
|
|
dependent-map >= 0.3 && < 0.4,
|
|
dependent-sum >= 0.6 && < 0.7,
|
|
dependent-sum-template >= 0.1 && < 0.2,
|
|
directory >= 1.2 && < 1.4,
|
|
exception-transformers == 0.4.*,
|
|
ghcjs-dom >= 0.9.1.0 && < 0.10,
|
|
jsaddle >=0.9.0.0 && <0.10,
|
|
-- keycode-0.2 has a bug on firefox
|
|
keycode >= 0.2.1 && < 0.3,
|
|
lens >= 4.7 && < 5,
|
|
monad-control >= 1.0.1 && < 1.1,
|
|
mtl >= 2.1 && < 2.3,
|
|
primitive >= 0.5 && < 0.7,
|
|
random,
|
|
ref-tf == 0.4.*,
|
|
reflex >= 0.6.2,
|
|
semigroups >= 0.16 && < 0.19,
|
|
stm >= 2.4 && < 2.6,
|
|
text == 1.2.*,
|
|
transformers >= 0.3 && < 0.6,
|
|
network-uri >= 2.6.1 && < 2.7,
|
|
zenc == 0.1.*
|
|
|
|
if impl(ghcjs)
|
|
hs-source-dirs: src-ghcjs
|
|
build-depends:
|
|
ghcjs-base,
|
|
hashable == 1.2.*
|
|
else
|
|
hs-source-dirs: src-ghc
|
|
if !os(windows)
|
|
build-depends: unix == 2.7.*
|
|
|
|
if flag(split-these)
|
|
build-depends:
|
|
semialign >= 1 && < 1.1,
|
|
these >= 1 && < 1.1
|
|
else
|
|
build-depends:
|
|
these >= 0.4 && < 0.9
|
|
|
|
exposed-modules:
|
|
Foreign.JavaScript.TH
|
|
Foreign.JavaScript.Orphans
|
|
Foreign.JavaScript.Utils
|
|
Reflex.Dom.Builder.Class
|
|
Reflex.Dom.Builder.Class.Events
|
|
Reflex.Dom.Builder.Immediate
|
|
Reflex.Dom.Builder.InputDisabled
|
|
Reflex.Dom.Builder.Hydratable
|
|
Reflex.Dom.Builder.Static
|
|
Reflex.Dom.Class
|
|
Reflex.Dom.Core
|
|
Reflex.Dom.Location
|
|
Reflex.Dom.Main
|
|
Reflex.Dom.Modals.Class
|
|
Reflex.Dom.Old
|
|
Reflex.Dom.Prerender
|
|
Reflex.Dom.Time
|
|
Reflex.Dom.WebSocket
|
|
Reflex.Dom.WebSocket.Query
|
|
Reflex.Dom.Widget
|
|
Reflex.Dom.Widget.Basic
|
|
Reflex.Dom.Widget.Input
|
|
Reflex.Dom.Widget.Lazy
|
|
Reflex.Dom.Widget.Resize
|
|
Reflex.Dom.Xhr
|
|
Reflex.Dom.Xhr.FormData
|
|
other-modules:
|
|
Foreign.JavaScript.Internal.Utils
|
|
Reflex.Dom.WebSocket.Foreign
|
|
Reflex.Dom.Xhr.Foreign
|
|
Reflex.Dom.Xhr.ResponseType
|
|
Reflex.Dom.Xhr.Exception
|
|
|
|
ghc-options: -Wall -fwarn-tabs -funbox-strict-fields -O2 -ferror-spans -fspecialise-aggressively
|
|
ghc-prof-options: -fprof-auto
|
|
|
|
if flag(expose-all-unfoldings)
|
|
ghc-options: -fexpose-all-unfoldings
|
|
|
|
if flag(use-reflex-optimizer)
|
|
ghc-options: -fplugin=Reflex.Optimizer
|
|
|
|
if flag(profile-reflex)
|
|
cpp-options: -DPROFILE_REFLEX
|
|
|
|
if flag(use-template-haskell)
|
|
build-depends:
|
|
dependent-sum >= 0.6,
|
|
dependent-sum-template >= 0.1 && < 0.2,
|
|
template-haskell
|
|
other-extensions: TemplateHaskell
|
|
cpp-options: -DUSE_TEMPLATE_HASKELL
|
|
other-modules:
|
|
Reflex.Dom.Builder.Class.TH
|
|
else
|
|
build-depends:
|
|
dependent-sum == 0.6.*
|
|
|
|
test-suite hlint
|
|
build-depends: base, hlint
|
|
hs-source-dirs: test
|
|
main-is: hlint.hs
|
|
type: exitcode-stdio-1.0
|
|
|
|
test-suite hydration
|
|
build-depends: base
|
|
, aeson
|
|
, bytestring
|
|
, chrome-test-utils
|
|
, constraints
|
|
, constraints-extras
|
|
, containers
|
|
, dependent-map
|
|
, dependent-sum
|
|
, dependent-sum-template
|
|
, directory
|
|
, exceptions
|
|
, filepath
|
|
, ghcjs-dom
|
|
, hspec
|
|
, hspec-core
|
|
, hspec-webdriver
|
|
, http-types
|
|
, HUnit
|
|
, jsaddle
|
|
, jsaddle-warp
|
|
, lens
|
|
, lifted-base
|
|
, network
|
|
, random
|
|
, ref-tf
|
|
, reflex
|
|
, reflex-dom-core
|
|
, process
|
|
, silently
|
|
, temporary
|
|
, text
|
|
, wai
|
|
, wai-websockets
|
|
, warp
|
|
, webdriver
|
|
, websockets
|
|
, which
|
|
hs-source-dirs: test
|
|
ghc-options: -rtsopts -with-rtsopts=-T -Wall -fwarn-tabs -funbox-strict-fields -O2 -ferror-spans
|
|
ghc-prof-options: -fprof-auto -optP-DPROFILING
|
|
main-is: hydration.hs
|
|
type: exitcode-stdio-1.0
|
|
if !os(linux) || !arch(x86_64) || flag(profile-reflex)
|
|
buildable: False
|
|
|
|
-- broken test on base 4.11 & ghc 8.4.3
|
|
-- needs to be updated for changes in GHC.Stats
|
|
test-suite gc
|
|
build-depends: base
|
|
, chrome-test-utils
|
|
, jsaddle
|
|
, jsaddle-warp
|
|
, process
|
|
, reflex
|
|
, reflex-dom-core
|
|
, text
|
|
hs-source-dirs: test
|
|
ghc-options: -rtsopts -with-rtsopts=-T -Wall -fwarn-tabs -funbox-strict-fields -O2 -ferror-spans
|
|
ghc-prof-options: -fprof-auto -optP-DPROFILING
|
|
main-is: gc.hs
|
|
type: exitcode-stdio-1.0
|
|
if !os(linux) || !arch(x86_64)
|
|
buildable: False
|
|
|
|
source-repository head
|
|
type: git
|
|
location: https://github.com/reflex-frp/reflex-dom
|
|
subdir: reflex-dom-core
|