wasp/waspc/waspc.cabal

764 lines
22 KiB
Plaintext
Raw Normal View History

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
version: 0.15.1
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
Generator/templates/react-app/npmrc
Generator/templates/server/gitignore
Generator/templates/server/npmrc
Generator/templates/**/*.prisma
Generator/templates/**/*.toml
Generator/templates/**/*.css
Generator/templates/**/*.ts
Generator/templates/**/*.json
Generator/templates/**/*.ico
Generator/templates/**/*.html
Generator/templates/**/*.md
Generator/templates/**/*.js
Generator/templates/**/*.jsx
Generator/templates/**/*.tsx
2023-02-23 13:44:25 +03:00
Generator/templates/**/*.mjs
Generator/templates/**/*.png
Cli/bash-completion
Cli/templates/**/*.css
Add peek and go to definition for JS files (#795) * Separate ext code to client and server * Use skeleton in createNewProject and refactor * Refactor Lib.hs to use ExceptT * Fix formatting * Pop up returns * Extract liftIO and add a do block Co-authored-by: Shayne Czyzewski <523636+shayneczyzewski@users.noreply.github.com> * Address some review comments * Add skeleton comment * Extract common CommandError message * Separate skeleton comment into two rows * Move server and client dirs into src * Simplify maybeToEither * Further refactor Lib.hs * Further simplify skeleton comment * Add shared code directory to project structure * Update e2e test inputs * Update e2e test outputs * Fix formatting * Fix bug in compile function Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com> * Change map to fmap in compile function * Fix formatting * Force git to include empty directories * Remove extra empty line from .gitkeep files * Add .jsconfig to enable go-to-definition * Watch shared directory for changes * Add final newline to jsconfigs * Fix regular and e2e tests * Update e2e tests * Fix cli template packaging and update todoApp * Add a shared function demo to todoApp * Update waspc and e2e tests * Fix compiler warnings and rename function * Rename mkError to mkParserError * Remove redundant empty line * Fix test warnings * Fix formatting * Update waspc.cabal with jsconfigs * Minimize jsconfig.json files * Add jsconfigs to waspc todoApp * Update e2e tests * Update e2e tests * Fix directory tree watching on wasp start * Implement review feedback Co-authored-by: Shayne Czyzewski <523636+shayneczyzewski@users.noreply.github.com> Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
2022-11-11 19:38:38 +03:00
Cli/templates/**/*.json
Cli/templates/**/*.jsx
Cli/templates/**/*.png
Cli/templates/**/*.ts
Cli/templates/basic/schema.prisma
Cli/templates/basic/main.wasp
2023-06-28 12:54:09 +03:00
Cli/templates/skeleton/.gitignore
Cli/templates/skeleton/.wasproot
Cli/templates/skeleton/.waspignore
Cli/templates/skeleton/public/.gitkeep
2023-07-28 11:33:04 +03:00
Lsp/templates/**/*.js
Lsp/templates/**/*.ts
Lsp/templates/**/*.jsx
packages/deploy/dist/**/*.js
packages/deploy/package.json
packages/deploy/package-lock.json
packages/ts-inspect/dist/**/*.js
packages/ts-inspect/package.json
packages/ts-inspect/package-lock.json
packages/prisma/dist/**/*.js
packages/prisma/package.json
packages/prisma/package-lock.json
2023-10-10 13:17:05 +03:00
packages/studio/dist/**/*.js
packages/studio/dist/**/*.html
packages/studio/dist/**/*.css
packages/studio/package.json
packages/studio/package-lock.json
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
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.17
, cryptohash-sha256 ^>= 0.11.102
, mustache ^>= 2.3.2
, parsec ^>= 3.1.14
, path ^>= 0.9.2
, path-io ^>= 1.6.3
, pretty-simple ^>= 4.1.2
, regex-tdfa ^>= 1.3.1
, strong-path ^>= 1.1.4
, 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
, extra ^>= 1.7.10
, dotenv ^>= 0.10.0
, network ^>= 3.1.2
, neat-interpolation ^>=0.5.1.3
other-modules: Paths_waspc
exposed-modules:
2022-09-08 14:56:37 +03:00
FilePath.Extra
Wasp.AI.CodeAgent
Wasp.AI.GenerateNewProject
Wasp.AI.GenerateNewProject.Common
Wasp.AI.GenerateNewProject.Common.Prompts
Wasp.AI.GenerateNewProject.Entity
Wasp.AI.GenerateNewProject.LogMsg
Wasp.AI.GenerateNewProject.Operation
Wasp.AI.GenerateNewProject.OperationsJsFile
Wasp.AI.GenerateNewProject.Page
Wasp.AI.GenerateNewProject.PageComponentFile
Wasp.AI.GenerateNewProject.Plan
Wasp.AI.GenerateNewProject.InitialFiles
2023-06-28 17:48:11 +03:00
Wasp.AI.GenerateNewProject.WaspFile
Wasp.AI.GenerateNewProject.PrismaFile
Wasp.AI.OpenAI
Wasp.AI.OpenAI.ChatGPT
2022-09-08 14:56:37 +03:00
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.Parser.Valid
2022-09-08 14:56:37 +03:00
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.Analyzer.Prisma
2022-09-08 14:56:37 +03:00
Wasp.AppSpec
Wasp.AppSpec.Action
Wasp.AppSpec.Api
2023-04-24 19:16:54 +03:00
Wasp.AppSpec.ApiNamespace
2023-06-14 17:55:07 +03:00
Wasp.AppSpec.Crud
2022-09-08 14:56:37 +03:00
Wasp.AppSpec.App
Wasp.AppSpec.App.Auth
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
Wasp.AppSpec.App.EmailSender
2022-09-08 14:56:37 +03:00
Wasp.AppSpec.App.Dependency
Wasp.AppSpec.App.Server
Wasp.AppSpec.App.Wasp
2023-06-19 11:49:57 +03:00
Wasp.AppSpec.App.WebSocket
Wasp.AppSpec.ConfigFile
2022-09-08 14:56:37 +03:00
Wasp.AppSpec.Core.Decl
Wasp.AppSpec.Core.Decl.JSON
Wasp.AppSpec.Core.Decl.JSON.TH
Wasp.AppSpec.Core.IsDecl
2022-09-08 14:56:37 +03:00
Wasp.AppSpec.Core.Ref
Wasp.AppSpec.Entity
Wasp.AppSpec.Entity.Field
2024-01-29 18:08:15 +03:00
Wasp.AppSpec.ExternalFiles
2022-09-08 14:56:37 +03:00
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
Wasp.ConfigFile
2022-09-08 14:56:37 +03:00
Wasp.Data
Wasp.Db.Postgres
2022-09-08 14:56:37 +03:00
Wasp.Error
Wasp.Env
2024-09-27 20:58:32 +03:00
Wasp.ExternalConfig.PackageJson
Wasp.ExternalConfig.TsConfig
2022-09-08 14:56:37 +03:00
Wasp.Generator
Wasp.Generator.AuthProviders
Wasp.Generator.AuthProviders.Common
Wasp.Generator.AuthProviders.OAuth
Wasp.Generator.AuthProviders.Local
2023-06-20 19:30:20 +03:00
Wasp.Generator.AuthProviders.Email
Wasp.Generator.Crud
Wasp.Generator.Crud.Routes
2022-09-08 14:56:37 +03:00
Wasp.Generator.Common
Wasp.Generator.ConfigFile
Wasp.Generator.ConfigFileGenerator
2022-09-08 14:56:37 +03:00
Wasp.Generator.DbGenerator
2024-01-03 16:40:08 +03:00
Wasp.Generator.DbGenerator.Auth
2022-09-08 14:56:37 +03:00
Wasp.Generator.DbGenerator.Common
Wasp.Generator.DbGenerator.Jobs
Wasp.Generator.DbGenerator.Operations
Wasp.Generator.DockerGenerator
Wasp.Generator.ExternalCodeGenerator.Common
2024-09-27 20:58:32 +03:00
Wasp.Generator.ExternalConfig.Common
Wasp.Generator.ExternalConfig.PackageJson
Wasp.Generator.ExternalConfig.TsConfig
2022-09-08 14:56:37 +03:00
Wasp.Generator.FileDraft
Wasp.Generator.FileDraft.CopyDirFileDraft
Wasp.Generator.FileDraft.CopyFileDraft
Wasp.Generator.FileDraft.TemplateFileDraft
Wasp.Generator.FileDraft.TextFileDraft
Wasp.Generator.FileDraft.CopyAndModifyTextFileDraft
2022-09-08 14:56:37 +03:00
Wasp.Generator.FileDraft.Writeable
Wasp.Generator.FileDraft.WriteableMonad
Wasp.Generator.Job
Wasp.Generator.Job.Common
2022-09-08 14:56:37 +03:00
Wasp.Generator.Job.IO
Wasp.Generator.Job.IO.PrefixedWriter
2022-09-08 14:56:37 +03:00
Wasp.Generator.Job.Process
Wasp.Generator.JsImport
Wasp.Generator.Monad
Wasp.Generator.NpmDependencies
Wasp.Generator.NpmInstall
Wasp.Generator.NpmInstall.Common
Wasp.Generator.NpmInstall.InstalledNpmDepsLog
2024-01-29 16:00:20 +03:00
Wasp.Generator.SdkGenerator
2024-01-29 18:08:15 +03:00
Wasp.Generator.SdkGenerator.Auth.AuthFormsG
Wasp.Generator.SdkGenerator.Auth.EmailAuthG
Wasp.Generator.SdkGenerator.Auth.LocalAuthG
Wasp.Generator.SdkGenerator.Auth.OAuthAuthG
Wasp.Generator.SdkGenerator.AuthG
Wasp.Generator.SdkGenerator.Client.AuthG
Wasp.Generator.SdkGenerator.Client.CrudG
Wasp.Generator.SdkGenerator.Client.OperationsGenerator
Wasp.Generator.SdkGenerator.Client.RouterGenerator
2024-01-29 18:08:15 +03:00
Wasp.Generator.SdkGenerator.Common
Wasp.Generator.SdkGenerator.CrudG
2024-01-29 18:08:15 +03:00
Wasp.Generator.SdkGenerator.EmailSender.Providers
2024-01-30 17:34:37 +03:00
Wasp.Generator.SdkGenerator.Server.AuthG
2024-08-26 15:32:04 +03:00
Wasp.Generator.SdkGenerator.Server.OAuthG
Wasp.Generator.SdkGenerator.Server.CrudG
Wasp.Generator.SdkGenerator.Server.EmailSenderG
Wasp.Generator.SdkGenerator.Server.JobGenerator
Wasp.Generator.SdkGenerator.Server.OperationsGenerator
Wasp.Generator.SdkGenerator.ServerApiG
Wasp.Generator.SdkGenerator.WebSocketGenerator
2022-09-08 14:56:37 +03:00
Wasp.Generator.ServerGenerator
Wasp.Generator.ServerGenerator.JsImport
Wasp.Generator.ServerGenerator.ApiRoutesG
2022-09-08 14:56:37 +03:00
Wasp.Generator.ServerGenerator.AuthG
Wasp.Generator.ServerGenerator.Auth.OAuthAuthG
Wasp.Generator.ServerGenerator.Auth.LocalAuthG
Wasp.Generator.ServerGenerator.Auth.EmailAuthG
Wasp.Generator.ServerGenerator.Db.Seed
2022-09-08 14:56:37 +03:00
Wasp.Generator.ServerGenerator.Common
Wasp.Generator.ServerGenerator.JobGenerator
Wasp.Generator.ServerGenerator.OperationsG
Wasp.Generator.ServerGenerator.OperationsRoutesG
Wasp.Generator.ServerGenerator.Setup
Wasp.Generator.ServerGenerator.Start
2023-06-19 11:49:57 +03:00
Wasp.Generator.ServerGenerator.WebSocketG
2023-06-14 17:55:07 +03:00
Wasp.Generator.ServerGenerator.CrudG
2022-09-08 14:56:37 +03:00
Wasp.Generator.Setup
Wasp.Generator.Start
Wasp.Generator.Templates
Wasp.Generator.Test
2022-09-08 14:56:37 +03:00
Wasp.Generator.WebAppGenerator
Wasp.Generator.WebAppGenerator.JsImport
2022-09-08 14:56:37 +03:00
Wasp.Generator.WebAppGenerator.AuthG
Wasp.Generator.WebAppGenerator.Auth.Common
2022-09-08 14:56:37 +03:00
Wasp.Generator.WebAppGenerator.Common
Wasp.Generator.WebAppGenerator.RouterGenerator
Wasp.Generator.WebAppGenerator.Setup
Wasp.Generator.WebAppGenerator.Start
Wasp.Generator.WebAppGenerator.Test
2023-06-19 11:49:57 +03:00
Wasp.Generator.WebSocket
2022-09-08 14:56:37 +03:00
Wasp.Generator.WriteFileDrafts
Wasp.JsImport
Wasp.Message
Wasp.Node.Version
Wasp.NpmDependency
Wasp.NodePackageFFI
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.Db.Dev.Sqlite
Wasp.Project.Deployment
Wasp.Project.Env
2024-09-27 20:58:32 +03:00
Wasp.Project.ExternalConfig
Wasp.Project.ExternalConfig.PackageJson
Wasp.Project.ExternalConfig.TsConfig
2024-01-29 18:08:15 +03:00
Wasp.Project.ExternalFiles
2023-10-10 13:17:05 +03:00
Wasp.Project.Studio
Wasp.Project.Vite
Wasp.Psl.Ast.Argument
Wasp.Psl.Ast.Attribute
Wasp.Psl.Ast.Common
Wasp.Psl.Ast.Schema
2022-09-08 14:56:37 +03:00
Wasp.Psl.Ast.Model
Wasp.Psl.Ast.Enum
Wasp.Psl.Ast.ConfigBlock
Wasp.Psl.Ast.Type
Wasp.Psl.Ast.View
Wasp.Psl.Format
Wasp.Psl.Generator.Argument
Wasp.Psl.Generator.Attribute
Wasp.Psl.Generator.Common
Wasp.Psl.Generator.ConfigBlock
Wasp.Psl.Generator.Enum
2022-09-08 14:56:37 +03:00
Wasp.Psl.Generator.Model
Wasp.Psl.Generator.Schema
Wasp.Psl.Parser.Argument
Wasp.Psl.Parser.Attribute
Wasp.Psl.Parser.Common
Wasp.Psl.Parser.ConfigBlock
Wasp.Psl.Parser.Enum
2022-09-08 14:56:37 +03:00
Wasp.Psl.Parser.Model
Wasp.Psl.Parser.Schema
Wasp.Psl.Parser.Type
Wasp.Psl.Parser.View
2023-06-14 17:55:07 +03:00
Wasp.Psl.Util
Wasp.Psl.Valid
2022-09-08 14:56:37 +03:00
Wasp.SemanticVersion
Wasp.SemanticVersion.VersionBound
Wasp.SemanticVersion.Version
Wasp.TypeScript.Inspect.Exports
2022-09-08 14:56:37 +03:00
Wasp.Util
2023-06-28 10:42:08 +03:00
Wasp.Util.Aeson
2022-09-08 14:56:37 +03:00
Wasp.Util.Control.Monad
Wasp.Util.Debug
2022-09-08 14:56:37 +03:00
Wasp.Util.Fib
Wasp.Util.FilePath
Wasp.Util.HashMap
2022-09-08 14:56:37 +03:00
Wasp.Util.IO
Wasp.Util.IO.Retry
2024-09-27 20:58:32 +03:00
Wasp.Util.Json
Wasp.Util.Network.HTTP
Wasp.Util.Network.Socket
2022-09-08 14:56:37 +03:00
Wasp.Util.Terminal
Wasp.Util.TH
Wasp.Util.StrongPath
2023-08-30 15:40:17 +03:00
Wasp.Util.WebRouterPath
Wasp.Valid
Wasp.Version
2024-01-29 18:08:15 +03:00
Wasp.Project.Waspignore
2022-09-08 14:56:37 +03:00
library waspls
import: common-all
hs-source-dirs: waspls/src
exposed-modules:
Control.Monad.Log
Control.Monad.Log.Class
Wasp.LSP.Analysis
Wasp.LSP.CodeActions
Wasp.LSP.Commands
Wasp.LSP.Commands.Command
Wasp.LSP.Commands.ScaffoldTsSymbol
2022-09-08 14:56:37 +03:00
Wasp.LSP.Completion
Wasp.LSP.Completions.Common
Wasp.LSP.Completions.DictKeyCompletion
Wasp.LSP.Completions.ExprCompletion
Wasp.LSP.Debouncer
Wasp.LSP.Diagnostic
Wasp.LSP.DynamicHandlers
Wasp.LSP.ExtImport.Diagnostic
Wasp.LSP.ExtImport.ExportsCache
Wasp.LSP.ExtImport.Path
Wasp.LSP.ExtImport.Syntax
Wasp.LSP.GotoDefinition
Wasp.LSP.Handlers
Wasp.LSP.Reactor
Wasp.LSP.Server
Wasp.LSP.ServerConfig
Wasp.LSP.ServerMonads
Wasp.LSP.ServerMonads.HasProjectRootDir
Wasp.LSP.ServerState
Wasp.LSP.SignatureHelp
2022-09-08 14:56:37 +03:00
Wasp.LSP.Syntax
Wasp.LSP.TypeInference
Wasp.LSP.Util
Wasp.LSP.Prisma.Analyze
2022-09-08 14:56:37 +03:00
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
, stm ^>=2.5.1.0
, stm-containers ^>=1.2
, hashable ^>=1.3.5.0
, unordered-containers
, strong-path
, path
, async ^>=2.2.4
, mustache ^>=2.3.2
, unliftio-core
2022-09-08 14:56:37 +03:00
, mtl
, text
, transformers ^>=0.5.6.2
, utf8-string
, unordered-containers
2022-09-08 14:56:37 +03:00
, waspc
, directory ^>= 1.3.6.0
, filepath
2022-03-23 15:04:09 +03:00
library cli-lib
import: common-all
hs-source-dirs: cli/src
build-depends:
directory
, base
, filepath
, time
, aeson
2023-10-10 13:17:05 +03:00
, aeson-pretty
, mtl
, async
, exceptions
, cryptonite
, fsnotify
, http-conduit
2022-09-08 14:56:37 +03:00
, optparse-applicative ^>=0.17.0.0
, path
, path-io
2023-10-10 13:17:05 +03:00
, pretty-simple ^>= 4.1.2.0
, process
, strong-path
, text
, utf8-string
, uuid
, waspc
2022-09-08 14:56:37 +03:00
, waspls
, neat-interpolation
, unliftio ^>= 0.2.20
, bytestring ^>= 0.10.12
, tar ^>=0.5.1.1
, zlib ^>=0.6.3.0
, temporary ^>=1.3
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
Wasp.Cli.FileSystem
Wasp.Cli.Archive
2022-09-08 14:56:37 +03:00
Wasp.Cli.Command.BashCompletion
Wasp.Cli.Command.Build
Wasp.Cli.Command.Call
Wasp.Cli.Command.Clean
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.CreateNewProject.AI
2023-06-20 19:30:20 +03:00
Wasp.Cli.Command.CreateNewProject.ArgumentsParser
Wasp.Cli.Command.CreateNewProject.Common
Wasp.Cli.Command.CreateNewProject.ProjectDescription
Wasp.Cli.Command.CreateNewProject.StarterTemplates
Wasp.Cli.Command.CreateNewProject.StarterTemplates.GhRepo
Wasp.Cli.Command.CreateNewProject.StarterTemplates.Local
Wasp.Cli.Command.CreateNewProject.StarterTemplates.Templating
2022-09-08 14:56:37 +03:00
Wasp.Cli.Command.Db
Wasp.Cli.Command.Db.Migrate
2024-04-16 11:02:43 +03:00
Wasp.Cli.Command.Db.Reset
Wasp.Cli.Command.Db.Seed
Wasp.Cli.Command.Db.Studio
2022-09-08 14:56:37 +03:00
Wasp.Cli.Command.Deps
Wasp.Cli.Command.Deploy
Wasp.Cli.Command.Dockerfile
2022-09-08 14:56:37 +03:00
Wasp.Cli.Command.Info
2023-10-10 13:17:05 +03:00
Wasp.Cli.Command.Studio
Wasp.Cli.Command.Require
2022-09-08 14:56:37 +03:00
Wasp.Cli.Command.Start
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
Wasp.Cli.Command.Test
Wasp.Cli.Command.TsConfigSetup
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
Wasp.Cli.Interactive
Wasp.Cli.GithubRepo
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
, with-utf8 ^>= 1.0.2
2022-03-23 15:04:09 +03:00
other-modules:
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
2023-07-08 02:26:54 +03:00
, containers
, Diff ^>= 0.4.1
, deepseq
, filepath
, mtl
2023-07-08 02:26:54 +03:00
, neat-interpolation
, parsec
, path
, split
, strong-path
, text
, unordered-containers
, bytestring
, 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
, tasty-golden ^>= 2.3.5
other-modules:
AI.GenerateNewProject.LogMsgTest
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.Parser.SourceSpanTest
2022-09-08 14:56:37 +03:00
Analyzer.ParserTest
Analyzer.TestUtil
Analyzer.TypeChecker.InternalTest
Analyzer.TypeCheckerTest
Analyzer.ValidTest
2022-09-08 14:56:37 +03:00
AnalyzerTest
AppSpec.ValidTest
AppSpec.FromJSONTest
2023-06-14 17:55:07 +03:00
AppSpec.EntityTest
2022-09-08 14:56:37 +03:00
ErrorTest
FilePath.ExtraTest
Fixtures
Generator.AuthInjectionTest
Generator.DbGeneratorTest
2022-09-08 14:56:37 +03:00
Generator.FileDraft.CopyFileDraftTest
Generator.FileDraft.CopyAndModifyTextFileDraftTest
2022-09-08 14:56:37 +03:00
Generator.FileDraft.TemplateFileDraftTest
Generator.MockWriteableMonad
Generator.WebAppGeneratorTest
Generator.WriteFileDraftsTest
Generator.JsImportTest
2023-06-14 17:55:07 +03:00
Generator.CrudTest
2023-04-19 02:14:06 +03:00
Generator.CommonTest
2022-09-08 14:56:37 +03:00
Psl.Common.ModelTest
Psl.Generator.ModelTest
Psl.Generator.SchemaTest
Psl.Parser.ArgumentTest
Psl.Parser.AttributeTest
Psl.Parser.ConfigBlockTest
Psl.Parser.EnumTest
2022-09-08 14:56:37 +03:00
Psl.Parser.ModelTest
Psl.Parser.TypeTest
Psl.Parser.ViewTest
Psl.Parser.SchemaTest
Psl.ValidTest
2022-09-08 14:56:37 +03:00
Test.Util
Util.FibTest
Util.Control.MonadTest
UtilTest
Util.Diff
Util.FilePathTest
Util.IO.RetryTest
Util.Prisma
2022-09-08 14:56:37 +03:00
SemanticVersionTest
SemanticVersion.VersionBoundTest
SemanticVersion.VersionTest
2024-01-29 18:08:15 +03:00
Project.WaspignoreTest
Project.DbTest
2022-09-08 14:56:37 +03:00
Paths_waspc
Generator.NpmDependenciesTest
JsImportTest
2022-09-08 14:56:37 +03:00
test-suite waspls-test
import: common-all, common-exe
type: exitcode-stdio-1.0
hs-source-dirs: waspls/test
main-is: TastyDiscoverDriver.hs
build-tool-depends:
tasty-discover:tasty-discover
build-depends:
, base
, waspc
, waspls
, lens ^>=5.1
, lsp ^>=1.4.0.0
, lsp-types ^>=1.4.0.1
, mtl
, 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-golden ^>= 2.3.5
, bytestring
, filepath
other-modules:
Wasp.LSP.CompletionTest
Wasp.LSP.DebouncerTest
Wasp.LSP.SyntaxTest
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:
DbMigrateTest
2022-09-08 14:56:37 +03:00
TerminalTest
Paths_waspc
Wasp.Cli.Command.Telemetry.ProjectTest
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:
, waspc
, 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
Tests.WaspBuildTest
Tests.WaspCompileTest
Tests.WaspJobTest
Tests.WaspMigrateTest
Tests.WaspNewTest
Tests.WaspComplexTest