Fixing folders
This commit is contained in:
parent
3e2d912614
commit
ef29a1054f
2
.gitignore
vendored
2
.gitignore
vendored
@ -103,3 +103,5 @@ temp
|
||||
|
||||
# TernJS port file
|
||||
.tern-port
|
||||
|
||||
backend-api/
|
||||
|
@ -1,13 +1,13 @@
|
||||
{
|
||||
"dispatcher": {
|
||||
"inputDir": "./test/*.ts",
|
||||
"outputDir": "./pages/backend",
|
||||
"outputDir": "./backend-api",
|
||||
"pathToTemplate": "./lib/templates/clientInterface.handlebars",
|
||||
"tsConfigFilePath": "./tsconfigBackend.json"
|
||||
},
|
||||
"openapi": {
|
||||
"inputDir": "./test/*.ts",
|
||||
"outputDir": "./api/backend",
|
||||
"outputDir": "./open-api/backend",
|
||||
"tempDir": "./temp/",
|
||||
"pathToSchemaTemplate": "./lib/templates/schema.handlebars",
|
||||
"pathToApiTemplate": "./lib/templates/openApiSchema.handlebars",
|
||||
|
@ -30,7 +30,7 @@ export function startBackend(options: {
|
||||
initialize({
|
||||
apiDoc: apiDoc('Backend API', '1.0.0', opts.basePath),
|
||||
app,
|
||||
paths: './dist/api',
|
||||
paths: './dist/open-api',
|
||||
routesGlob: '**/*.{ts,js}',
|
||||
routesIndexFileRegExp: /(?:index)?\.[tj]s$/,
|
||||
dependencies: {
|
||||
|
@ -21,7 +21,8 @@
|
||||
},
|
||||
"include": [
|
||||
"next-env.d.ts",
|
||||
"**/*.ts",
|
||||
"pages/**/*.ts",
|
||||
"backend-api/**/*.ts",
|
||||
"**/*.tsx"
|
||||
],
|
||||
"exclude": [
|
||||
|
Loading…
Reference in New Issue
Block a user