diff --git a/.gitignore b/.gitignore index 65f0706..073c92b 100644 --- a/.gitignore +++ b/.gitignore @@ -5,7 +5,8 @@ node_modules yarn.lock .psc-ide-port +.parcel-cache .psci_modules .spago output -docs \ No newline at end of file +docs diff --git a/examples/index.html b/examples/index.html index 160a262..49f4831 100644 --- a/examples/index.html +++ b/examples/index.html @@ -13,7 +13,7 @@ - + diff --git a/examples/package.json b/examples/package.json index b845cb6..2babfa9 100644 --- a/examples/package.json +++ b/examples/package.json @@ -13,6 +13,7 @@ "highlight.js": "^9.18.1", "markdown-it-anchor": "^5.2.5", "markdown-it-table-of-contents": "^0.4.4", + "parcel": "^2.2.1", "tailwindcss": "^1.2.0" } } diff --git a/examples/packages.dhall b/examples/packages.dhall deleted file mode 100644 index bdff5ed..0000000 --- a/examples/packages.dhall +++ /dev/null @@ -1,15 +0,0 @@ -let upstream = - https://github.com/purescript/package-sets/releases/download/psc-0.13.6-20200127/packages.dhall sha256:06a623f48c49ea1c7675fdf47f81ddb02ae274558e29f511efae1df99ea92fb8 - -let overrides = {=} - -let additions = - { halogen-custom-element = - { dependencies = [ "prelude", "halogen", "effect", "aff" ] - , repo = - "https://github.com/nonbili/purescript-halogen-custom-element.git" - , version = "e4f5a39a865df775a3f047e8f6df4aee53431d6d" - } - } - -in upstream // overrides // additions diff --git a/examples/spago.dhall b/examples/spago.dhall index 2cd611e..4736eb3 100644 --- a/examples/spago.dhall +++ b/examples/spago.dhall @@ -1,5 +1,18 @@ { name = "purescript-halogen-nselect" -, dependencies = [ "console", "effect", "halogen", "halogen-custom-element" ] -, packages = ./packages.dhall -, sources = [ "../src/**/*.purs", "src/**/*.purs" ] +, dependencies = + [ "aff" + , "arrays" + , "control" + , "effect" + , "foldable-traversable" + , "halogen" + , "halogen-custom-element" + , "halogen-nselect" + , "prelude" + , "strings" + , "web-events" + , "web-uievents" + ] +, packages = ../packages.dhall +, sources = [ "src/**/*.purs" ] } diff --git a/packages.dhall b/packages.dhall index f9bab8a..db637b3 100644 --- a/packages.dhall +++ b/packages.dhall @@ -10,3 +10,4 @@ in upstream [ "aff", "effect", "halogen", "prelude", "psci-support", "web-html" ] "https://github.com/input-output-hk/purescript-halogen-custom-element.git" "05dd1f21a00f0e21824a39b57737e41ec4ee6c19" + with halogen-nselect = ./spago.dhall as Location diff --git a/spago.dhall b/spago.dhall index eab0206..59b6e95 100644 --- a/spago.dhall +++ b/spago.dhall @@ -13,16 +13,12 @@ to generate this file without the comments in this block. { name = "halogen-nselect" , dependencies = [ "aff" - , "arrays" - , "control" , "effect" , "foldable-traversable" , "halogen" - , "halogen-custom-element" , "maybe" , "prelude" , "psci-support" - , "strings" , "unsafe-coerce" , "web-dom" , "web-events" @@ -30,5 +26,5 @@ to generate this file without the comments in this block. , "web-uievents" ] , packages = ./packages.dhall -, sources = [ "src/**/*.purs", "examples/**/*.purs" ] +, sources = [ "src/**/*.purs" ] }