Skip to content

Commit 2d1651b

Browse files
authored
Merge pull request #49 from devforth/npx-adminforth-create-app
Npx adminforth create app
2 parents 24c3bb8 + 263729a commit 2d1651b

File tree

13 files changed

+424
-353
lines changed

13 files changed

+424
-353
lines changed

adminforth/commands/createApp/templates.js

Lines changed: 0 additions & 326 deletions
This file was deleted.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
ADMINFORTH_SECRET=123
2+
NODE_ENV=development
3+
DATABASE_URL={{dbUrl}}
4+
{{#if prismaDbUrl}}
5+
PRISMA_DATABASE_URL={{prismaDbUrl}}
6+
{{/if}}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Dependency directories
2+
node_modules/
3+
4+
# dotenv environment variable files
5+
.env
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"name": "custom",
3+
"version": "1.0.0",
4+
"main": "index.ts",
5+
"scripts": {
6+
"test": "echo \"Error: no test specified\" && exit 1"
7+
},
8+
"keywords": [],
9+
"author": "",
10+
"license": "ISC",
11+
"description": ""
12+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"compilerOptions": {
3+
"baseUrl": ".",
4+
"paths": {
5+
"@/": "../node_modules/adminforth/dist/spa/src/",
6+
"": "../node_modules/adminforth/dist/spa/node_modules/",
7+
"@@/*": "."
8+
}
9+
}
10+
}

0 commit comments

Comments
 (0)