initial commit

This commit is contained in:
Orion Kindel 2024-12-01 11:57:24 -06:00
commit 96bae63e38
Signed by untrusted user who does not match committer: orion
GPG Key ID: 6D4165AE4C928719
6 changed files with 89 additions and 0 deletions

12
.gitignore vendored Normal file
View File

@ -0,0 +1,12 @@
bower_components/
node_modules/
.pulp-cache/
output/
output-es/
generated-docs/
.psc-package/
.psc*
.purs*
.psa*
.spago

23
jsconfig.json Normal file
View File

@ -0,0 +1,23 @@
{
"compilerOptions": {
"types": ["bun-types"],
"lib": ["esnext"],
"target": "esnext",
"module": "esnext",
"moduleResolution": "bundler",
"moduleDetection": "force",
"jsx": "react",
"allowJs": true,
"checkJs": true,
"noEmit": true,
"strict": true
},
"include": [
"./scripts/*.js",
"ui-serve/**/*.js",
"api/**/*.js",
"ui/**/*.js",
"aws/**/*.js",
"logging/**/*.js"
]
}

19
package.json Normal file
View File

@ -0,0 +1,19 @@
{
"name": "purescript-tower",
"private": true,
"module": "index.js",
"type": "module",
"scripts": {
"postinstall": "spago install",
"make": "spago build --pure",
"test": "spago test --pure",
"lint": "spago build --pure --strict --pedantic-packages && bun run scripts/fmt.js --check",
"lint:fix": "bun run scripts/fmt.js"
},
"devDependencies": {
"bun-types": "1.1.4",
"purs-tidy": "^0.10.0",
"typescript": "^5.0.0"
},
"dependencies": {}
}

13
spago.yaml Normal file
View File

@ -0,0 +1,13 @@
package:
name: tower
dependencies:
- console
- effect
- prelude
test:
main: Test.Main
dependencies: []
workspace:
packageSet:
registry: 61.2.0
extraPackages: {}

10
src/Main.purs Normal file
View File

@ -0,0 +1,10 @@
module Main where
import Prelude
import Effect (Effect)
import Effect.Console (log)
main :: Effect Unit
main = do
log "🍝"

12
test/Test/Main.purs Normal file
View File

@ -0,0 +1,12 @@
module Test.Main where
import Prelude
import Effect (Effect)
import Effect.Class.Console (log)
main :: Effect Unit
main = do
log "🍕"
log "You should add some tests."