UNPKG
skeet
Version:
latest (0.37.5)
0.37.5
0.37.4
0.37.3
0.37.1
0.37.0
0.36.9
0.36.8
0.36.6
0.36.4
0.36.3
0.36.2
0.36.1
0.36.0
0.35.9
0.35.8
0.35.7
0.35.6
0.35.5
0.35.4
0.35.3
0.35.2
0.35.1
0.35.0
0.34.6
0.34.5
0.34.4
0.34.3
0.34.2
0.34.1
0.34.0
0.33.9
0.33.8
0.33.7
0.33.6
0.33.5
0.33.4
0.33.3
0.33.2
0.33.1
0.33.0
0.32.9
0.32.8
0.32.7
0.32.6
0.32.5
0.32.4
0.32.3
0.32.2
0.32.1
0.32.0
0.31.4
0.31.3
0.31.2
0.31.1
0.31.0
0.30.5
0.30.4
0.30.3
0.30.2
0.30.1
0.30.0
0.29.2
0.29.1
0.29.0
0.28.9
0.28.8
0.28.7
0.28.6
0.28.5
0.28.4
0.28.3
0.28.1
0.28.0
0.27.5
0.27.4
0.27.3
0.27.2
0.27.1
0.27.0
0.26.2
0.26.1
0.26.0
0.25.9
0.25.8
0.25.7
0.25.6
0.25.5
0.25.4
0.25.3
0.25.2
0.25.1
0.25.0
0.24.1
0.24.0
0.23.7
0.23.6
0.23.5
0.23.4
0.23.3
0.23.2
0.23.1
0.23.0
0.22.5
0.22.3
0.22.2
0.22.1
0.22.0
0.21.4
0.21.3
0.21.2
0.21.1
0.21.0
0.20.6
0.20.5
0.20.4
0.20.3
0.20.2
0.20.1
0.20.0
0.19.3
0.19.2
0.19.0
0.18.0
0.17.9
0.17.8
0.17.7
0.17.6
0.17.5
0.17.4
0.17.3
0.17.2
0.17.1
0.17.0
0.16.10
0.16.9
0.16.8
0.16.7
0.16.6
0.16.5
0.16.4
0.16.3
0.16.2
0.16.1
0.16.0
0.15.3
0.15.1
0.15.0
0.14.1
0.13.7
0.13.6
0.13.5
0.13.4
0.13.3
0.13.2
0.13.1
0.13.0
0.12.6
0.12.5
0.12.4
0.12.3
0.12.2
0.12.0
0.11.0
0.10.5
0.10.4
0.10.3
0.10.2
0.10.1
0.10.0
0.9.4
0.9.3
0.9.2
0.9.0
0.8.1
0.8.0
0.7.0
0.6.0
0.5.0
0.4.3
0.4.2
0.4.1
0.4.0
0.3.3
0.3.2
0.3.1
0.3.0
0.2.1
0.2.0
0.1.0
0.0.3
0.0.2
0.0.1
Full-stack TypeScript Serverless Framework
github.com/elsoul/skeet
elsoul/skeet
skeet
/
src
/
templates
/
init
/
apienv.ts
10 lines
(9 loc)
•
273 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
export
const
apiEnv
=
async
(
appName
:
string
) => {
const
filePath =
`
${appName}
/apps/api/.env`
const
body =
`DATABASE_URL=postgresql://skeeter:rabbit@localhost:5432/skeet-
${appName}
-dev?schema=public NO_PEER_DEPENDENCY_CHECK=1`
return
{ filePath, body, } }