2022-03-16 18:00:18 +03:00
|
|
|
cabal-version: 2.4
|
|
|
|
|
|
|
|
-- TODO:
|
|
|
|
-- - Rename wasp-cli back to just wasp.
|
|
|
|
-- - Manually updating exposed-modules, other-modules and data-files is tedious.
|
|
|
|
-- Consider using hpack, or maybe even hpack-dhall.
|
|
|
|
|
|
|
|
name: waspc
|
2023-04-18 19:51:05 +03:00
|
|
|
version: 0.10.1
|
2022-03-16 18:00:18 +03:00
|
|
|
description: Please see the README on GitHub at <https://github.com/wasp-lang/wasp/waspc#readme>
|
|
|
|
homepage: https://github.com/wasp-lang/wasp/waspc#readme
|
|
|
|
bug-reports: https://github.com/wasp-lang/wasp/issues
|
|
|
|
author: Wasp Team
|
|
|
|
maintainer: team@wasp-lang.dev
|
|
|
|
copyright: Wasp, Inc.
|
|
|
|
license: MIT
|
|
|
|
license-file: LICENSE
|
|
|
|
build-type: Simple
|
|
|
|
extra-source-files:
|
|
|
|
README.md
|
|
|
|
ChangeLog.md
|
|
|
|
data-files:
|
|
|
|
-- NOTE: cabal has this weird rule that * doesn't capture file extension, nor can you provide just *,
|
|
|
|
-- it has to be followed by extension, which is why we have to manually list all of the extensions,
|
|
|
|
-- and also files with no extension.
|
|
|
|
-- Check https://github.com/haskell/cabal/issues/5883 for more details.
|
|
|
|
Generator/templates/Dockerfile
|
|
|
|
Generator/templates/dockerignore
|
|
|
|
Generator/templates/react-app/gitignore
|
2022-03-28 20:26:37 +03:00
|
|
|
Generator/templates/react-app/npmrc
|
2022-09-06 21:35:59 +03:00
|
|
|
Generator/templates/server/patches/*.patch
|
2022-03-16 18:00:18 +03:00
|
|
|
Generator/templates/server/gitignore
|
|
|
|
Generator/templates/server/npmrc
|
|
|
|
Generator/templates/**/*.prisma
|
|
|
|
Generator/templates/**/*.toml
|
2022-11-24 16:28:37 +03:00
|
|
|
Generator/templates/**/*.ts
|
2022-03-16 18:00:18 +03:00
|
|
|
Generator/templates/**/*.json
|
|
|
|
Generator/templates/**/*.ico
|
|
|
|
Generator/templates/**/*.html
|
|
|
|
Generator/templates/**/*.md
|
|
|
|
Generator/templates/**/*.js
|
2023-03-01 19:14:14 +03:00
|
|
|
Generator/templates/**/*.jsx
|
|
|
|
Generator/templates/**/*.tsx
|
2023-02-23 13:44:25 +03:00
|
|
|
Generator/templates/**/*.mjs
|
2022-03-16 18:00:18 +03:00
|
|
|
Generator/templates/**/*.png
|
|
|
|
Cli/bash-completion
|
|
|
|
Cli/templates/**/*.css
|
2022-11-11 19:38:38 +03:00
|
|
|
Cli/templates/**/*.json
|
2022-11-25 22:10:10 +03:00
|
|
|
Cli/templates/**/*.jsx
|
2022-03-16 18:00:18 +03:00
|
|
|
Cli/templates/**/*.png
|
2022-11-24 16:28:37 +03:00
|
|
|
Cli/templates/**/*.ts
|
2022-11-11 19:20:49 +03:00
|
|
|
Cli/templates/new/.gitignore
|
|
|
|
Cli/templates/new/.wasproot
|
|
|
|
Cli/templates/new/src/.waspignore
|
2022-03-16 18:00:18 +03:00
|
|
|
data-dir: data/
|
|
|
|
|
|
|
|
source-repository head
|
|
|
|
type: git
|
|
|
|
location: https://github.com/wasp-lang/wasp
|
|
|
|
|
|
|
|
common common-all
|
|
|
|
default-language: Haskell2010
|
|
|
|
ghc-options:
|
|
|
|
-Wall
|
|
|
|
-- -optP-Wno-nonportable-include-path avoids warning caused by .../autogen/cabal_macros.h. on OSX.
|
|
|
|
-optP-Wno-nonportable-include-path
|
|
|
|
-- -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).
|
|
|
|
-fwrite-ide-info -hiedir=.hie
|
|
|
|
default-extensions:
|
2022-09-08 14:56:37 +03:00
|
|
|
OverloadedStrings
|
|
|
|
TemplateHaskell
|
|
|
|
QuasiQuotes
|
|
|
|
ScopedTypeVariables
|
|
|
|
LambdaCase
|
|
|
|
FlexibleContexts
|
|
|
|
MultiParamTypeClasses
|
|
|
|
DisambiguateRecordFields
|
2022-03-16 18:00:18 +03:00
|
|
|
|
|
|
|
common common-exe
|
|
|
|
ghc-options:
|
|
|
|
-threaded -rtsopts -with-rtsopts=-N
|
|
|
|
|
|
|
|
library
|
|
|
|
import: common-all
|
|
|
|
hs-source-dirs: src
|
|
|
|
build-tool-depends:
|
|
|
|
alex:alex
|
|
|
|
build-depends:
|
|
|
|
, base >= 4.7 && < 5
|
|
|
|
, Glob ^>= 0.10.2
|
|
|
|
, containers ^>= 0.6.5
|
|
|
|
, directory ^>= 1.3.6 && < 1.4
|
|
|
|
, dir-traverse ^>= 0.2.3
|
|
|
|
, filepath ^>= 1.4.2
|
|
|
|
, time ^>= 1.9.3
|
|
|
|
, bytestring ^>= 0.10.12
|
|
|
|
, aeson ^>= 1.5.6
|
|
|
|
, aeson-pretty ^>= 0.8
|
|
|
|
, text ^>= 1.2.4
|
|
|
|
, template-haskell ^>= 2.16.0
|
|
|
|
, unordered-containers ^>= 0.2.16
|
|
|
|
, mtl ^>= 2.2.2
|
|
|
|
, async ^>= 2.2.4
|
|
|
|
, conduit ^>= 1.3.4
|
|
|
|
, exceptions ^>= 0.10.4
|
|
|
|
, split ^>= 0.2.3
|
|
|
|
, conduit-extra ^>= 1.3.5
|
|
|
|
, process ^>= 1.6.13
|
|
|
|
, cryptohash-sha256 ^>= 0.11.102
|
|
|
|
, mustache ^>= 2.3.2
|
|
|
|
, parsec ^>= 3.1.14
|
|
|
|
, path ^>= 0.9.2
|
|
|
|
, path-io ^>= 1.6.3
|
|
|
|
, regex-tdfa ^>= 1.3.1
|
2022-03-29 15:53:28 +03:00
|
|
|
, strong-path ^>= 1.1.4
|
2022-03-16 18:00:18 +03:00
|
|
|
, unliftio ^>= 0.2.20
|
|
|
|
, utf8-string ^>= 1.0.2
|
|
|
|
, cryptonite ^>= 0.29
|
|
|
|
, fsnotify ^>= 0.3.0
|
|
|
|
, http-conduit ^>= 2.3.8
|
|
|
|
, uuid ^>= 1.3.15
|
|
|
|
-- 'array' is used by code generated by Alex for src/Analyzer/Parser/Lexer.x
|
|
|
|
, array ^>= 0.5.4
|
2022-09-08 14:56:37 +03:00
|
|
|
, deepseq ^>= 1.4.4
|
2022-10-13 19:46:07 +03:00
|
|
|
, extra ^>= 1.7.10
|
2023-03-21 18:37:20 +03:00
|
|
|
, dotenv ^>= 0.10.0
|
|
|
|
, network ^>= 3.1.2
|
2022-03-16 18:00:18 +03:00
|
|
|
other-modules: Paths_waspc
|
|
|
|
exposed-modules:
|
2022-09-08 14:56:37 +03:00
|
|
|
FilePath.Extra
|
|
|
|
Wasp.Analyzer
|
|
|
|
Wasp.Analyzer.AnalyzeError
|
|
|
|
Wasp.Analyzer.ErrorMessage
|
|
|
|
Wasp.Analyzer.Evaluator
|
|
|
|
Wasp.Analyzer.Evaluator.Bindings
|
|
|
|
Wasp.Analyzer.Evaluator.Evaluation
|
|
|
|
Wasp.Analyzer.Evaluator.Evaluation.Combinators
|
|
|
|
Wasp.Analyzer.Evaluator.Evaluation.Internal
|
|
|
|
Wasp.Analyzer.Evaluator.Evaluation.TypedDictExpr
|
|
|
|
Wasp.Analyzer.Evaluator.Evaluation.TypedDictExpr.Combinators
|
|
|
|
Wasp.Analyzer.Evaluator.Evaluation.TypedExpr
|
|
|
|
Wasp.Analyzer.Evaluator.Evaluation.TypedExpr.Combinators
|
|
|
|
Wasp.Analyzer.Evaluator.EvaluationError
|
|
|
|
Wasp.Analyzer.Parser
|
|
|
|
Wasp.Analyzer.Parser.AST
|
|
|
|
Wasp.Analyzer.Parser.AST.PrettyPrinter
|
|
|
|
Wasp.Analyzer.Parser.Ctx
|
|
|
|
Wasp.Analyzer.Parser.ConcreteParser
|
|
|
|
Wasp.Analyzer.Parser.ConcreteParser.ParseError
|
|
|
|
Wasp.Analyzer.Parser.CST
|
|
|
|
Wasp.Analyzer.Parser.CST.Traverse
|
|
|
|
Wasp.Analyzer.Parser.ConcreteParser.ParserLib
|
|
|
|
Wasp.Analyzer.Parser.Lexer
|
|
|
|
Wasp.Analyzer.Parser.Lexer.Lexer
|
|
|
|
Wasp.Analyzer.Parser.Lexer.Internal
|
|
|
|
Wasp.Analyzer.Parser.ParseError
|
|
|
|
Wasp.Analyzer.Parser.PrettyPrinter
|
|
|
|
Wasp.Analyzer.Parser.AbstractParser
|
|
|
|
Wasp.Analyzer.Parser.AbstractParser.Monad
|
|
|
|
Wasp.Analyzer.Parser.SourceOffset
|
|
|
|
Wasp.Analyzer.Parser.SourcePosition
|
|
|
|
Wasp.Analyzer.Parser.SourceRegion
|
|
|
|
Wasp.Analyzer.Parser.SourceSpan
|
|
|
|
Wasp.Analyzer.Parser.Token
|
|
|
|
Wasp.Analyzer.Parser.TokenSet
|
|
|
|
Wasp.Analyzer.StdTypeDefinitions
|
|
|
|
Wasp.Analyzer.StdTypeDefinitions.App.Dependency
|
|
|
|
Wasp.Analyzer.StdTypeDefinitions.Entity
|
|
|
|
Wasp.Analyzer.Type
|
|
|
|
Wasp.Analyzer.TypeChecker
|
|
|
|
Wasp.Analyzer.TypeChecker.AST
|
|
|
|
Wasp.Analyzer.TypeChecker.Internal
|
|
|
|
Wasp.Analyzer.TypeChecker.Monad
|
|
|
|
Wasp.Analyzer.TypeChecker.TypeError
|
|
|
|
Wasp.Analyzer.TypeDefinitions
|
|
|
|
Wasp.Analyzer.TypeDefinitions.Class.HasCustomEvaluation
|
|
|
|
Wasp.Analyzer.TypeDefinitions.Class.IsDeclType
|
|
|
|
Wasp.Analyzer.TypeDefinitions.Class.IsEnumType
|
|
|
|
Wasp.Analyzer.TypeDefinitions.Internal
|
|
|
|
Wasp.Analyzer.TypeDefinitions.TH
|
|
|
|
Wasp.Analyzer.TypeDefinitions.TH.Common
|
|
|
|
Wasp.Analyzer.TypeDefinitions.TH.Decl
|
|
|
|
Wasp.Analyzer.TypeDefinitions.TH.Enum
|
|
|
|
Wasp.AppSpec
|
|
|
|
Wasp.AppSpec.Action
|
2023-03-14 21:04:51 +03:00
|
|
|
Wasp.AppSpec.Api
|
2022-09-08 14:56:37 +03:00
|
|
|
Wasp.AppSpec.App
|
|
|
|
Wasp.AppSpec.App.Auth
|
2023-04-06 00:25:03 +03:00
|
|
|
Wasp.AppSpec.App.Auth.PasswordReset
|
|
|
|
Wasp.AppSpec.App.Auth.EmailVerification
|
2022-09-08 14:56:37 +03:00
|
|
|
Wasp.AppSpec.App.Client
|
|
|
|
Wasp.AppSpec.App.Db
|
2023-03-24 14:42:22 +03:00
|
|
|
Wasp.AppSpec.App.EmailSender
|
2022-09-08 14:56:37 +03:00
|
|
|
Wasp.AppSpec.App.Dependency
|
|
|
|
Wasp.AppSpec.App.Server
|
2022-11-01 01:00:03 +03:00
|
|
|
Wasp.AppSpec.App.Wasp
|
2022-11-04 16:39:13 +03:00
|
|
|
Wasp.AppSpec.ConfigFile
|
2022-09-08 14:56:37 +03:00
|
|
|
Wasp.AppSpec.Core.Decl
|
|
|
|
Wasp.AppSpec.Core.Ref
|
|
|
|
Wasp.AppSpec.Entity
|
|
|
|
Wasp.AppSpec.Entity.Field
|
|
|
|
Wasp.AppSpec.ExternalCode
|
|
|
|
Wasp.AppSpec.ExtImport
|
|
|
|
Wasp.AppSpec.Job
|
|
|
|
Wasp.AppSpec.JSON
|
|
|
|
Wasp.AppSpec.Operation
|
|
|
|
Wasp.AppSpec.Page
|
|
|
|
Wasp.AppSpec.Query
|
|
|
|
Wasp.AppSpec.Route
|
|
|
|
Wasp.AppSpec.Valid
|
|
|
|
Wasp.AppSpec.Util
|
|
|
|
Wasp.CompileOptions
|
2022-11-04 16:39:13 +03:00
|
|
|
Wasp.ConfigFile
|
2022-09-08 14:56:37 +03:00
|
|
|
Wasp.Data
|
2023-03-21 18:37:20 +03:00
|
|
|
Wasp.Db.Postgres
|
2022-09-08 14:56:37 +03:00
|
|
|
Wasp.Error
|
2023-03-21 18:37:20 +03:00
|
|
|
Wasp.Env
|
2022-09-08 14:56:37 +03:00
|
|
|
Wasp.ExternalCode
|
2023-02-13 18:57:31 +03:00
|
|
|
Wasp.JsImport
|
2022-09-08 14:56:37 +03:00
|
|
|
Wasp.Generator
|
|
|
|
Wasp.Generator.Common
|
2022-11-04 16:39:13 +03:00
|
|
|
Wasp.Generator.ConfigFile
|
|
|
|
Wasp.Generator.ConfigFileGenerator
|
2022-09-08 14:56:37 +03:00
|
|
|
Wasp.Generator.DbGenerator
|
|
|
|
Wasp.Generator.DbGenerator.Common
|
|
|
|
Wasp.Generator.DbGenerator.Jobs
|
|
|
|
Wasp.Generator.DbGenerator.Operations
|
|
|
|
Wasp.Generator.DockerGenerator
|
|
|
|
Wasp.Generator.ExternalCodeGenerator
|
|
|
|
Wasp.Generator.ExternalCodeGenerator.Common
|
|
|
|
Wasp.Generator.ExternalCodeGenerator.Js
|
|
|
|
Wasp.Generator.FileDraft
|
|
|
|
Wasp.Generator.FileDraft.CopyDirFileDraft
|
|
|
|
Wasp.Generator.FileDraft.CopyFileDraft
|
|
|
|
Wasp.Generator.FileDraft.TemplateFileDraft
|
|
|
|
Wasp.Generator.FileDraft.TextFileDraft
|
2023-03-21 18:37:20 +03:00
|
|
|
Wasp.Generator.FileDraft.CopyAndModifyTextFileDraft
|
2022-09-08 14:56:37 +03:00
|
|
|
Wasp.Generator.FileDraft.Writeable
|
|
|
|
Wasp.Generator.FileDraft.WriteableMonad
|
|
|
|
Wasp.Generator.Job
|
2022-11-04 21:57:34 +03:00
|
|
|
Wasp.Generator.Job.Common
|
2022-09-08 14:56:37 +03:00
|
|
|
Wasp.Generator.Job.IO
|
2022-11-04 21:57:34 +03:00
|
|
|
Wasp.Generator.Job.IO.PrefixedWriter
|
2022-09-08 14:56:37 +03:00
|
|
|
Wasp.Generator.Job.Process
|
|
|
|
Wasp.Generator.JsImport
|
|
|
|
Wasp.Generator.Monad
|
2023-03-16 12:42:57 +03:00
|
|
|
Wasp.Generator.AuthProviders
|
|
|
|
Wasp.Generator.AuthProviders.Common
|
|
|
|
Wasp.Generator.AuthProviders.OAuth
|
|
|
|
Wasp.Generator.AuthProviders.Local
|
2023-04-06 00:25:03 +03:00
|
|
|
Wasp.Generator.AuthProviders.Email
|
2022-09-08 14:56:37 +03:00
|
|
|
Wasp.Generator.ServerGenerator
|
2023-02-13 18:57:31 +03:00
|
|
|
Wasp.Generator.ServerGenerator.JsImport
|
2023-03-14 21:04:51 +03:00
|
|
|
Wasp.Generator.ServerGenerator.ApiRoutesG
|
2022-09-08 14:56:37 +03:00
|
|
|
Wasp.Generator.ServerGenerator.AuthG
|
2023-03-16 12:42:57 +03:00
|
|
|
Wasp.Generator.ServerGenerator.Auth.OAuthAuthG
|
|
|
|
Wasp.Generator.ServerGenerator.Auth.LocalAuthG
|
2023-04-06 00:25:03 +03:00
|
|
|
Wasp.Generator.ServerGenerator.Auth.EmailAuthG
|
2023-04-05 12:33:52 +03:00
|
|
|
Wasp.Generator.ServerGenerator.Db.Seed
|
2023-03-24 14:42:22 +03:00
|
|
|
Wasp.Generator.ServerGenerator.EmailSenderG
|
|
|
|
Wasp.Generator.ServerGenerator.EmailSender.Providers
|
2022-09-08 14:56:37 +03:00
|
|
|
Wasp.Generator.ServerGenerator.Common
|
|
|
|
Wasp.Generator.ServerGenerator.ConfigG
|
|
|
|
Wasp.Generator.ServerGenerator.ExternalCodeGenerator
|
|
|
|
Wasp.Generator.ServerGenerator.JobGenerator
|
|
|
|
Wasp.Generator.ServerGenerator.OperationsG
|
|
|
|
Wasp.Generator.ServerGenerator.OperationsRoutesG
|
|
|
|
Wasp.Generator.ServerGenerator.Setup
|
|
|
|
Wasp.Generator.ServerGenerator.Start
|
|
|
|
Wasp.Generator.Setup
|
|
|
|
Wasp.Generator.Start
|
|
|
|
Wasp.Generator.Templates
|
2023-03-30 19:22:40 +03:00
|
|
|
Wasp.Generator.Test
|
2022-09-08 14:56:37 +03:00
|
|
|
Wasp.Generator.WebAppGenerator
|
2023-02-13 18:57:31 +03:00
|
|
|
Wasp.Generator.WebAppGenerator.JsImport
|
2022-09-08 14:56:37 +03:00
|
|
|
Wasp.Generator.WebAppGenerator.AuthG
|
2023-03-16 12:42:57 +03:00
|
|
|
Wasp.Generator.WebAppGenerator.Auth.OAuthAuthG
|
|
|
|
Wasp.Generator.WebAppGenerator.Auth.LocalAuthG
|
2023-04-06 00:25:03 +03:00
|
|
|
Wasp.Generator.WebAppGenerator.Auth.EmailAuthG
|
2023-03-16 12:42:57 +03:00
|
|
|
Wasp.Generator.WebAppGenerator.Auth.Common
|
2022-09-08 14:56:37 +03:00
|
|
|
Wasp.Generator.WebAppGenerator.Common
|
|
|
|
Wasp.Generator.WebAppGenerator.ExternalCodeGenerator
|
|
|
|
Wasp.Generator.WebAppGenerator.OperationsGenerator
|
|
|
|
Wasp.Generator.WebAppGenerator.OperationsGenerator.ResourcesG
|
|
|
|
Wasp.Generator.WebAppGenerator.RouterGenerator
|
|
|
|
Wasp.Generator.WebAppGenerator.Setup
|
|
|
|
Wasp.Generator.WebAppGenerator.Start
|
2023-03-30 19:22:40 +03:00
|
|
|
Wasp.Generator.WebAppGenerator.Test
|
2022-09-08 14:56:37 +03:00
|
|
|
Wasp.Generator.WriteFileDrafts
|
2023-03-21 18:37:20 +03:00
|
|
|
Wasp.Project
|
|
|
|
Wasp.Project.Analyze
|
|
|
|
Wasp.Project.Common
|
|
|
|
Wasp.Project.Db
|
|
|
|
Wasp.Project.Db.Migrations
|
|
|
|
Wasp.Project.Db.Dev
|
|
|
|
Wasp.Project.Db.Dev.Postgres
|
|
|
|
Wasp.Project.Deployment
|
|
|
|
Wasp.Project.Env
|
2022-09-08 14:56:37 +03:00
|
|
|
Wasp.NpmDependency
|
|
|
|
Wasp.Psl.Ast.Model
|
|
|
|
Wasp.Psl.Generator.Model
|
|
|
|
Wasp.Psl.Parser.Model
|
|
|
|
Wasp.SemanticVersion
|
|
|
|
Wasp.Util
|
2023-03-21 18:37:20 +03:00
|
|
|
Wasp.Util.Network.Socket
|
2022-09-08 14:56:37 +03:00
|
|
|
Wasp.Util.Control.Monad
|
|
|
|
Wasp.Util.Fib
|
|
|
|
Wasp.Util.IO
|
|
|
|
Wasp.Util.Terminal
|
|
|
|
Wasp.WaspignoreFile
|
|
|
|
Wasp.Generator.NpmDependencies
|
|
|
|
Wasp.Generator.NpmInstall
|
|
|
|
Wasp.Message
|
2022-11-01 01:00:03 +03:00
|
|
|
Wasp.Version
|
2022-09-08 14:56:37 +03:00
|
|
|
|
|
|
|
library waspls
|
|
|
|
import: common-all
|
|
|
|
hs-source-dirs: waspls/src
|
|
|
|
exposed-modules:
|
|
|
|
Wasp.LSP.Server
|
|
|
|
other-modules:
|
|
|
|
Wasp.LSP.ServerState
|
|
|
|
Wasp.LSP.ServerConfig
|
|
|
|
Wasp.LSP.ServerM
|
|
|
|
Wasp.LSP.Handlers
|
|
|
|
Wasp.LSP.Diagnostic
|
|
|
|
Wasp.LSP.Completion
|
|
|
|
Wasp.LSP.Util
|
|
|
|
Wasp.LSP.Syntax
|
|
|
|
build-depends:
|
|
|
|
base
|
|
|
|
, aeson
|
|
|
|
, aeson-pretty
|
|
|
|
, deepseq
|
|
|
|
, data-default ^>=0.7.1.1
|
|
|
|
, hslogger ^>=1.3.1.0
|
|
|
|
, lens ^>=5.1
|
|
|
|
, lsp ^>=1.4.0.0
|
|
|
|
, lsp-types ^>=1.4.0.1
|
|
|
|
, mtl
|
|
|
|
, text
|
|
|
|
, transformers ^>=0.5.6.2
|
|
|
|
, utf8-string
|
|
|
|
, waspc
|
2022-03-16 18:00:18 +03:00
|
|
|
|
2022-03-23 15:04:09 +03:00
|
|
|
library cli-lib
|
|
|
|
import: common-all
|
|
|
|
hs-source-dirs: cli/src
|
2022-03-16 18:00:18 +03:00
|
|
|
build-depends:
|
|
|
|
directory
|
|
|
|
, base
|
|
|
|
, filepath
|
|
|
|
, time
|
|
|
|
, aeson
|
|
|
|
, mtl
|
|
|
|
, async
|
|
|
|
, exceptions
|
|
|
|
, cryptonite
|
|
|
|
, fsnotify
|
|
|
|
, http-conduit
|
2022-09-08 14:56:37 +03:00
|
|
|
, optparse-applicative ^>=0.17.0.0
|
2022-03-16 18:00:18 +03:00
|
|
|
, path
|
|
|
|
, path-io
|
2023-02-07 18:29:25 +03:00
|
|
|
, process
|
2022-03-16 18:00:18 +03:00
|
|
|
, strong-path
|
2022-10-13 19:46:07 +03:00
|
|
|
, text
|
2022-03-16 18:00:18 +03:00
|
|
|
, utf8-string
|
|
|
|
, uuid
|
|
|
|
, waspc
|
2022-09-08 14:56:37 +03:00
|
|
|
, waspls
|
2023-04-06 17:15:34 +03:00
|
|
|
, unliftio ^>= 0.2.20
|
2022-03-23 15:04:09 +03:00
|
|
|
other-modules: Paths_waspc
|
|
|
|
exposed-modules:
|
2022-09-08 14:56:37 +03:00
|
|
|
Wasp.Cli.Command
|
2023-02-01 13:18:24 +03:00
|
|
|
Wasp.Cli.FileSystem
|
2022-09-08 14:56:37 +03:00
|
|
|
Wasp.Cli.Command.BashCompletion
|
|
|
|
Wasp.Cli.Command.Build
|
|
|
|
Wasp.Cli.Command.Call
|
|
|
|
Wasp.Cli.Command.Clean
|
2023-02-01 13:18:24 +03:00
|
|
|
Wasp.Cli.Command.Uninstall
|
2022-09-08 14:56:37 +03:00
|
|
|
Wasp.Cli.Command.Common
|
|
|
|
Wasp.Cli.Command.Compile
|
|
|
|
Wasp.Cli.Command.CreateNewProject
|
|
|
|
Wasp.Cli.Command.Db
|
|
|
|
Wasp.Cli.Command.Db.Migrate
|
2023-03-21 18:37:20 +03:00
|
|
|
Wasp.Cli.Command.Db.Reset
|
2023-04-05 12:33:52 +03:00
|
|
|
Wasp.Cli.Command.Db.Seed
|
2023-03-21 18:37:20 +03:00
|
|
|
Wasp.Cli.Command.Db.Studio
|
2022-09-08 14:56:37 +03:00
|
|
|
Wasp.Cli.Command.Deps
|
2023-02-07 18:29:25 +03:00
|
|
|
Wasp.Cli.Command.Deploy
|
2022-10-13 19:46:07 +03:00
|
|
|
Wasp.Cli.Command.Dockerfile
|
2022-09-08 14:56:37 +03:00
|
|
|
Wasp.Cli.Command.Info
|
|
|
|
Wasp.Cli.Command.Start
|
2023-03-21 18:37:20 +03:00
|
|
|
Wasp.Cli.Command.Start.Db
|
2022-09-08 14:56:37 +03:00
|
|
|
Wasp.Cli.Command.Telemetry
|
|
|
|
Wasp.Cli.Command.Telemetry.Common
|
|
|
|
Wasp.Cli.Command.Telemetry.Project
|
|
|
|
Wasp.Cli.Command.Telemetry.User
|
2023-03-30 19:22:40 +03:00
|
|
|
Wasp.Cli.Command.Test
|
2022-09-08 14:56:37 +03:00
|
|
|
Wasp.Cli.Command.Watch
|
|
|
|
Wasp.Cli.Command.WaspLS
|
|
|
|
Wasp.Cli.Common
|
|
|
|
Wasp.Cli.Terminal
|
|
|
|
Wasp.Cli.Command.Message
|
|
|
|
Wasp.Cli.Message
|
2022-03-23 15:04:09 +03:00
|
|
|
|
|
|
|
executable wasp-cli
|
|
|
|
import: common-all, common-exe
|
|
|
|
hs-source-dirs: cli/exe
|
|
|
|
main-is: Main.hs
|
|
|
|
build-depends:
|
|
|
|
base
|
|
|
|
, async
|
|
|
|
, waspc
|
|
|
|
, cli-lib
|
2022-06-28 20:48:02 +03:00
|
|
|
, with-utf8 ^>= 1.0.2
|
2022-03-23 15:04:09 +03:00
|
|
|
other-modules:
|
2022-03-16 18:00:18 +03:00
|
|
|
Paths_waspc
|
|
|
|
|
|
|
|
test-suite waspc-test
|
|
|
|
import: common-all, common-exe
|
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
hs-source-dirs: test
|
|
|
|
main-is: TastyDiscoverDriver.hs
|
|
|
|
build-tool-depends:
|
|
|
|
tasty-discover:tasty-discover
|
|
|
|
build-depends:
|
|
|
|
, aeson
|
|
|
|
, base
|
2022-09-06 15:10:42 +03:00
|
|
|
, Diff ^>= 0.4.1
|
2022-03-16 18:00:18 +03:00
|
|
|
, deepseq
|
|
|
|
, filepath
|
|
|
|
, mtl
|
|
|
|
, parsec
|
|
|
|
, path
|
|
|
|
, split
|
|
|
|
, strong-path
|
|
|
|
, text
|
|
|
|
, unordered-containers
|
2022-08-11 19:26:12 +03:00
|
|
|
, bytestring
|
2022-03-16 18:00:18 +03:00
|
|
|
, waspc
|
|
|
|
, QuickCheck ^>= 2.14
|
|
|
|
, tasty ^>= 1.4.2
|
|
|
|
-- tasty-hspec 1.1.7 introduces breaking changes, which is why we have < 1.1.7 .
|
|
|
|
, tasty-hspec >= 1.1 && < 1.1.7
|
|
|
|
, tasty-quickcheck ^>= 0.10
|
2022-08-11 19:26:12 +03:00
|
|
|
, tasty-golden ^>= 2.3.5
|
2022-03-16 18:00:18 +03:00
|
|
|
other-modules:
|
2022-09-08 14:56:37 +03:00
|
|
|
Analyzer.Evaluation.EvaluationErrorTest
|
|
|
|
Analyzer.EvaluatorTest
|
|
|
|
Analyzer.Parser.ConcreteParserTest
|
|
|
|
Analyzer.Parser.CST.TraverseTest
|
|
|
|
Analyzer.Parser.ParseErrorTest
|
|
|
|
Analyzer.Parser.SourcePositionTest
|
|
|
|
Analyzer.ParserTest
|
|
|
|
Analyzer.TestUtil
|
|
|
|
Analyzer.TypeChecker.InternalTest
|
|
|
|
Analyzer.TypeCheckerTest
|
|
|
|
AnalyzerTest
|
|
|
|
AppSpec.ValidTest
|
|
|
|
ErrorTest
|
|
|
|
FilePath.ExtraTest
|
|
|
|
Fixtures
|
2022-12-13 21:55:01 +03:00
|
|
|
Generator.DbGeneratorTest
|
2022-09-08 14:56:37 +03:00
|
|
|
Generator.ExternalCodeGenerator.JsTest
|
|
|
|
Generator.FileDraft.CopyFileDraftTest
|
2023-03-21 18:37:20 +03:00
|
|
|
Generator.FileDraft.CopyAndModifyTextFileDraftTest
|
2022-09-08 14:56:37 +03:00
|
|
|
Generator.FileDraft.TemplateFileDraftTest
|
|
|
|
Generator.MockWriteableMonad
|
|
|
|
Generator.WebAppGeneratorTest
|
|
|
|
Generator.WriteFileDraftsTest
|
2023-02-13 18:57:31 +03:00
|
|
|
Generator.JsImportTest
|
2022-09-08 14:56:37 +03:00
|
|
|
Psl.Common.ModelTest
|
|
|
|
Psl.Generator.ModelTest
|
|
|
|
Psl.Parser.ModelTest
|
|
|
|
Test.Util
|
|
|
|
Util.FibTest
|
|
|
|
Util.Control.MonadTest
|
|
|
|
UtilTest
|
|
|
|
Util.Diff
|
|
|
|
SemanticVersionTest
|
|
|
|
WaspignoreFileTest
|
|
|
|
Paths_waspc
|
|
|
|
Generator.NpmDependenciesTest
|
2023-02-13 18:57:31 +03:00
|
|
|
JsImportTest
|
2022-09-08 14:56:37 +03:00
|
|
|
|
|
|
|
test-suite cli-test
|
|
|
|
import: common-all, common-exe
|
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
hs-source-dirs: cli/test
|
|
|
|
main-is: TastyDiscoverDriver.hs
|
|
|
|
build-tool-depends:
|
|
|
|
tasty-discover:tasty-discover
|
|
|
|
build-depends:
|
|
|
|
, base
|
|
|
|
, waspc
|
|
|
|
, cli-lib
|
|
|
|
, QuickCheck ^>= 2.14
|
|
|
|
, tasty ^>= 1.4.2
|
|
|
|
-- tasty-hspec 1.1.7 introduces breaking changes, which is why we have < 1.1.7 .
|
|
|
|
, tasty-hspec >= 1.1 && < 1.1.7
|
|
|
|
, tasty-quickcheck ^>= 0.10
|
|
|
|
other-modules:
|
2022-12-13 21:55:01 +03:00
|
|
|
DbMigrateTest
|
2022-09-08 14:56:37 +03:00
|
|
|
TerminalTest
|
|
|
|
Paths_waspc
|
2023-01-28 16:31:35 +03:00
|
|
|
Wasp.Cli.Command.Telemetry.ProjectTest
|
2022-03-16 18:00:18 +03:00
|
|
|
|
|
|
|
test-suite e2e-test
|
|
|
|
import: common-all, common-exe
|
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
hs-source-dirs: e2e-test
|
|
|
|
main-is: Main.hs
|
|
|
|
build-tool-depends: waspc:wasp-cli
|
|
|
|
build-depends:
|
2023-03-21 18:37:20 +03:00
|
|
|
, waspc
|
2022-03-16 18:00:18 +03:00
|
|
|
, aeson
|
|
|
|
, directory
|
|
|
|
, base
|
|
|
|
, filepath
|
|
|
|
, strong-path
|
|
|
|
, text
|
|
|
|
, mtl
|
|
|
|
, bytestring
|
|
|
|
, dir-traverse
|
|
|
|
, aeson-pretty
|
|
|
|
, process
|
|
|
|
, tasty ^>= 1.4.2
|
|
|
|
-- tasty-hspec 1.1.7 introduces breaking changes, which is why we have < 1.1.7 .
|
|
|
|
, tasty-hspec >= 1.1 && < 1.1.7
|
|
|
|
, tasty-golden ^>= 2.3.5
|
|
|
|
other-modules:
|
|
|
|
Common
|
|
|
|
GoldenTest
|
|
|
|
ShellCommands
|
2023-03-02 17:05:24 +03:00
|
|
|
Util
|
2022-03-16 18:00:18 +03:00
|
|
|
Tests.WaspBuildTest
|
|
|
|
Tests.WaspCompileTest
|
2022-04-13 19:30:29 +03:00
|
|
|
Tests.WaspJobTest
|
2022-03-16 18:00:18 +03:00
|
|
|
Tests.WaspMigrateTest
|
2022-11-01 01:00:03 +03:00
|
|
|
Tests.WaspNewTest
|
2023-03-02 17:05:24 +03:00
|
|
|
Tests.WaspComplexTest
|