fix: server and app build

This commit is contained in:
Justin Lin committed 2025-04-26 13:22:32 +08:00
1 parent 253564376d
commit 3985d5d089
5 files changed
+6 -6

No files matched your search

+2 -2
View File
@@ -5,8 +5,8 @@
"scripts": {
"dev": "vite",
"dev:docker": "API_TARGET=http://backend:3000 vite",
"build": "vue-tsc -b && vite build",
"type-check": "vue-tsc -b",
"build": "vue-tsc && vite build",
"type-check": "vue-tsc",
"preview": "vite preview"
},
"dependencies": {
+1 -1
View File
@@ -1,5 +1,5 @@
import { test, expect } from '@jest/globals'
import { isValidEmail, isValidUsername } from '../src/auth.js'
import { isValidEmail, isValidUsername } from '../auth'
test('check valid username', () => {
const valid = ['alex', 'alex123', 'john_doe', 'john-doe', 'rudeus']
+1 -1
View File
@@ -1,5 +1,5 @@
import { describe, it, expect } from '@jest/globals'
import { buildFileCheckCmd, File } from '../src/commands.js'
import { buildFileCheckCmd, File } from '../commands'
describe('buildFileCheckCmd function', () => {
it('builds the file check command correctly', () => {
+1 -1
View File
@@ -1,5 +1,5 @@
import { describe, it, expect } from '@jest/globals'
import DAG from '../src/dag.js'
import DAG from '../dag'
describe('dag layers', () => {
it('two layer', () => {
+1 -1
View File
@@ -1,4 +1,4 @@
import connectDB from '../../../packages/models'
import { connectDB } from '../../../packages/models'
import { removeExpired } from '../containers/expiryChecker'
import config from '../config'
import logger from '../utils/logger'