Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions waspc/dev-tool.project
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ constraints:
cabal-gild ==1.5.0.1,
ormolu ==0.7.2.0,
stan ==0.2.1.0,
hlint ==3.6.1,
prune-juice ==0.7
hlint ==3.6.1

-- See cabal.project.
index-state: 2025-11-01T14:29:27Z
6 changes: 0 additions & 6 deletions waspc/run
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ function dev_tool_path() {
}
STAN_CMD="$BUILD_HS_FULL_CMD && $(install_dev_tool stan) && $(dev_tool_path stan) report ${ARGS[@]}"
HLINT_CMD="$(install_dev_tool hlint) && $(dev_tool_path hlint) . ${ARGS[@]}"
PRUNE_JUICE_CMD="$(install_dev_tool prune-juice) && $(dev_tool_path prune-juice) ${ARGS[@]}"
PRETTIER_CHECK_CMD="(cd .. && npm ci && npm run check:prettier)"
PRETTIER_FORMAT_CMD="(cd .. && npm ci && npm run format:prettier)"
ORMOLU_BASE_CMD="$(install_dev_tool ormolu) && $(dev_tool_path ormolu) --color always --check-idempotence"
Expand Down Expand Up @@ -192,8 +191,6 @@ print_usage() {
"Runs static code analysis on the code, generating stan.html. Builds the project first if needed."
print_usage_cmd "hlint <args>" \
"Runs linter on the codebase."
print_usage_cmd "prune-juice <args>" \
"Runs prune-juice on the codebase, which detects unused dependencies."
print_usage_cmd "format" \
"Runs all code formatters (ormolu, cabal-gild, prettier) and formats the code in place."
print_usage_cmd "check" \
Expand Down Expand Up @@ -307,9 +304,6 @@ case $COMMAND in
hlint)
echo_and_eval "$HLINT_CMD"
;;
prune-juice)
echo_and_eval "$PRUNE_JUICE_CMD"
;;
format)
echo_and_eval "$ORMOLU_FORMAT_CMD"
echo_and_eval "$CABAL_GILD_FORMAT_CMD"
Expand Down
27 changes: 5 additions & 22 deletions waspc/waspc.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ common common-all
-- -fwrite-ide-info and -hiedir=.hie tell GHC to write compile-time information about the code
-- to .hie directory. This information can then be used by other tools, e.g. stan (static analyzer).
-Wall
-Wunused-packages
-optP-Wno-nonportable-include-path
-fwrite-ide-info
-hiedir=.hie
Expand Down Expand Up @@ -136,15 +137,12 @@ library
conduit-extra ^>=1.3.7,
containers ^>=0.6.7,
cryptohash-sha256 ^>=0.11.102,
cryptonite ^>=0.30,
deepseq ^>=1.4.8,
dir-traverse ^>=0.2.3,
directory ^>=1.3.8,
dotenv ^>=0.11.0,
exceptions ^>=0.10.7,
extra ^>=1.7.16,
filepath ^>=1.4.301,
fsnotify ^>=0.4.2,
http-conduit ^>=2.3.9,
http-types ^>=0.12.4,
megaparsec ^>=9.5.0,
Expand All @@ -158,7 +156,6 @@ library
pretty-simple ^>=4.1.3,
process ^>=1.6.19,
regex-tdfa ^>=1.3.2,
selective ^>=0.7.0,
split ^>=0.2.5,
strong-path ^>=1.2.0,
template-haskell ^>=2.20.0,
Expand All @@ -167,7 +164,6 @@ library
unliftio ^>=0.2.25,
unordered-containers ^>=0.2.20,
utf8-string ^>=1.0.2,
uuid ^>=1.3.15,
validation-selective ^>=0.2.0,

other-modules: Paths_waspc
Expand Down Expand Up @@ -516,11 +512,9 @@ library waspls
-- NOTE: We're not keeping lsp and lsp-types up to date since it's too much
-- work and we plan to deprecate the DSL and Wasp LSP soon.
aeson,
aeson-pretty,
async,
base,
data-default ^>=0.7.1,
deepseq,
directory,
filepath,
hashable ^>=1.4.7,
Expand All @@ -538,7 +532,6 @@ library waspls
transformers ^>=0.6.1,
unliftio-core,
unordered-containers,
utf8-string,
waspc,

library cli-lib
Expand All @@ -551,31 +544,26 @@ library cli-lib
base,
bytestring,
containers,
cryptonite,
cryptonite ^>=0.30,
directory,
exceptions,
filepath,
fsnotify,
fsnotify ^>=0.4.2,
http-conduit,
http-types,
lens,
lens-aeson ^>=1.2.3,
mtl,
neat-interpolation,
optparse-applicative ^>=0.18.1,
path,
path-io,
pretty-simple,
process,
strong-path,
tar ^>=0.6.3,
temporary ^>=1.3,
text,
time,
unliftio,
unordered-containers,
utf8-string,
uuid,
uuid ^>=1.3.15,
waspc,
waspls,
zlib ^>=0.7.1,
Expand Down Expand Up @@ -681,7 +669,6 @@ test-suite waspc-tests
megaparsec,
mtl,
neat-interpolation,
parsec,
path,
split,
strong-path,
Expand Down Expand Up @@ -778,7 +765,6 @@ test-suite waspls-tests
filepath,
hspec,
lens,
lsp,
lsp-types,
mtl,
tasty,
Expand All @@ -804,12 +790,9 @@ test-suite wasp-cli-tests
QuickCheck,
base,
cli-lib,
containers,
generic-arbitrary,
hspec,
tasty,
tasty-hspec,
tasty-quickcheck,
time,
waspc,

Expand All @@ -834,7 +817,7 @@ test-suite waspc-e2e-tests
base,
base64-bytestring,
bytestring,
dir-traverse,
dir-traverse ^>=0.2.3,
directory,
filepath,
hspec,
Expand Down
Loading