initial commit
This commit is contained in:
commit
96bae63e38
12
.gitignore
vendored
Normal file
12
.gitignore
vendored
Normal 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
23
jsconfig.json
Normal 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
19
package.json
Normal 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
13
spago.yaml
Normal 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
10
src/Main.purs
Normal 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
12
test/Test/Main.purs
Normal 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."
|
||||
|
Loading…
Reference in New Issue
Block a user