Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
BACKEND CHALLENGES
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Phạm Quang Bảo
BACKEND CHALLENGES
Commits
2808d2d5
Commit
2808d2d5
authored
May 25, 2026
by
Phạm Quang Bảo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: run build
parent
b44c4e52
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
package.json
backend/package.json
+1
-1
sequelize-config.ts
backend/src/models/sequelize-config.ts
+1
-1
No files found.
backend/package.json
View file @
2808d2d5
...
...
@@ -10,7 +10,7 @@
"test"
:
"echo
\"
Error: no test specified
\"
&& exit 1"
,
"gen:db"
:
"tsx src/scripts/database-gen.ts"
,
"gen:swagger"
:
"tsx src/scripts/swagger-gen.ts"
,
"build"
:
"tsx ./src/scripts/database-gen.ts && tsx ./src/scripts/swagger-gen.ts &&
tsc && cpx
\"
src/docs/swagger/swagger-output.json
\"
dist/docs/swagger
"
,
"build"
:
"tsx ./src/scripts/database-gen.ts && tsx ./src/scripts/swagger-gen.ts &&
esbuild ./src/index.ts --bundle --platform=node --format=esm --packages=external --outfile=./dist/index.js
"
,
"start"
:
"node ./dist/index.js"
},
"imports"
:
{
...
...
backend/src/models/sequelize-config.ts
View file @
2808d2d5
import
{
Sequelize
}
from
'sequelize'
;
import
{
config
as
loadEnv
}
from
'dotenv'
;
import
{
initModels
}
from
'
./init-models.j
s'
;
import
{
initModels
}
from
'
#models/init-model
s'
;
loadEnv
({
override
:
true
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment