260323:0917 fix CI : Run Tests #01
This commit is contained in:
@@ -22,6 +22,8 @@
|
||||
*.pem
|
||||
|
||||
# debug
|
||||
*.log
|
||||
*.txt
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
|
||||
Vendored
-4
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"jest.rootPath": "/",
|
||||
"editor.fontSize": 18
|
||||
}
|
||||
Binary file not shown.
@@ -1,31 +0,0 @@
|
||||
|
||||
> lcbp3-frontend@1.5.1 build
|
||||
> next build
|
||||
|
||||
ΓÜá Warning: Next.js inferred your workspace root, but it may not be correct.
|
||||
We detected multiple lockfiles and selected the directory of D:\nap-dms.lcbp3\pnpm-lock.yaml as the root directory.
|
||||
To silence this warning, set `turbopack.root` in your Next.js config, or consider removing one of the lockfiles if it's not needed.
|
||||
See https://nextjs.org/docs/app/api-reference/config/next-config-js/turbopack#root-directory for more information.
|
||||
Detected additional lockfiles:
|
||||
* D:\nap-dms.lcbp3\frontend\pnpm-lock.yaml
|
||||
|
||||
Γû▓ Next.js 16.0.7 (Turbopack)
|
||||
- Environments: .env.local
|
||||
|
||||
ΓÜá The "middleware" file convention is deprecated. Please use "proxy" instead. Learn more: https://nextjs.org/docs/messages/middleware-to-proxy
|
||||
Creating an optimized production build ...
|
||||
Γ£ô Compiled successfully in 7.2s
|
||||
Running TypeScript ...
|
||||
Failed to compile.
|
||||
|
||||
./app/(dashboard)/circulation/new/page.tsx:48:32
|
||||
Type error: Object literal may only specify known properties, and 'required_error' does not exist in type '{ error?: string | $ZodErrorMap<$ZodIssueInvalidType<unknown>> | undefined; message?: string | undefined; }'.
|
||||
|
||||
46 | // Form validation schema
|
||||
47 | const formSchema = z.object({
|
||||
> 48 | correspondenceId: z.number({ required_error: "Please select a document" }),
|
||||
| ^
|
||||
49 | subject: z.string().min(1, "Subject is required"),
|
||||
50 | assigneeIds: z.array(z.number()).min(1, "At least one assignee is required"),
|
||||
51 | remarks: z.string().optional(),
|
||||
Next.js build worker exited with code: 1 and signal: null
|
||||
@@ -1,22 +0,0 @@
|
||||
[baseline-browser-mapping] The data in this module is over two months old. To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D`
|
||||
Γû▓ Next.js 16.0.7 (Turbopack)
|
||||
- Environments: .env.local
|
||||
|
||||
ΓÜá The "middleware" file convention is deprecated. Please use "proxy" instead. Learn more: https://nextjs.org/docs/messages/middleware-to-proxy
|
||||
Creating an optimized production build ...
|
||||
[baseline-browser-mapping] The data in this module is over two months old. To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D`
|
||||
Γ£ô Compiled successfully in 7.5s
|
||||
Running TypeScript ...
|
||||
Failed to compile.
|
||||
|
||||
.next/dev/types/validator.ts:53:39
|
||||
Type error: Cannot find module '../../../app/(admin)/admin/audit-logs/page.js' or its corresponding type declarations.
|
||||
|
||||
51 | {
|
||||
52 | type __IsExpected<Specific extends AppPageConfig<"/admin/audit-logs">> = Specific
|
||||
> 53 | const handler = {} as typeof import("../../../app/(admin)/admin/audit-logs/page.js")
|
||||
| ^
|
||||
54 | type __Check = __IsExpected<typeof handler>
|
||||
55 | // @ts-ignore
|
||||
56 | type __Unused = __Check
|
||||
Next.js build worker exited with code: 1 and signal: null
|
||||
@@ -1,20 +0,0 @@
|
||||
|
||||
> lcbp3-frontend@1.8.0 lint D:\nap-dms.lcbp3\frontend
|
||||
> eslint . --max-warnings 0
|
||||
|
||||
|
||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\migration\page.tsx
|
||||
28:6 warning React Hook useEffect has a missing dependency: 'fetchData'. Either include it or remove the dependency array react-hooks/exhaustive-deps
|
||||
|
||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\migration\review\[id]\page.tsx
|
||||
59:6 warning React Hook useEffect has a missing dependency: 'fetchItem'. Either include it or remove the dependency array react-hooks/exhaustive-deps
|
||||
|
||||
D:\nap-dms.lcbp3\frontend\components\correspondences\form.tsx
|
||||
125:52 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
||||
|
||||
D:\nap-dms.lcbp3\frontend\components\custom\file-upload-zone.tsx
|
||||
88:5 warning React Hook useCallback has a missing dependency: 'validateFile'. Either include it or remove the dependency array react-hooks/exhaustive-deps
|
||||
|
||||
✖ 4 problems (1 error, 3 warnings)
|
||||
|
||||
ELIFECYCLE Command failed with exit code 1.
|
||||
@@ -52,7 +52,7 @@
|
||||
"sonner": "^2.0.7",
|
||||
"tailwind-merge": "^3.5.0",
|
||||
"tailwindcss-animate": "^1.0.7",
|
||||
"uuid": "^13.0.0",
|
||||
"uuid": "^11.0.0",
|
||||
"zod": "4.3.6",
|
||||
"zustand": "^5.0.12"
|
||||
},
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
.next/dev/types/validator.ts(53,39): error TS2307: Cannot find module '../../../app/(admin)/admin/audit-logs/page.js' or its corresponding type declarations.
|
||||
.next/dev/types/validator.ts(62,39): error TS2307: Cannot find module '../../../app/(admin)/admin/contracts/page.js' or its corresponding type declarations.
|
||||
.next/dev/types/validator.ts(71,39): error TS2307: Cannot find module '../../../app/(admin)/admin/drawings/contract/categories/page.js' or its corresponding type declarations.
|
||||
.next/dev/types/validator.ts(80,39): error TS2307: Cannot find module '../../../app/(admin)/admin/drawings/contract/sub-categories/page.js' or its corresponding type declarations.
|
||||
.next/dev/types/validator.ts(89,39): error TS2307: Cannot find module '../../../app/(admin)/admin/drawings/contract/volumes/page.js' or its corresponding type declarations.
|
||||
.next/dev/types/validator.ts(98,39): error TS2307: Cannot find module '../../../app/(admin)/admin/drawings/page.js' or its corresponding type declarations.
|
||||
.next/dev/types/validator.ts(107,39): error TS2307: Cannot find module '../../../app/(admin)/admin/drawings/shop/main-categories/page.js' or its corresponding type declarations.
|
||||
.next/dev/types/validator.ts(116,39): error TS2307: Cannot find module '../../../app/(admin)/admin/drawings/shop/sub-categories/page.js' or its corresponding type declarations.
|
||||
.next/dev/types/validator.ts(125,39): error TS2307: Cannot find module '../../../app/(admin)/admin/numbering/[id]/edit/page.js' or its corresponding type declarations.
|
||||
.next/dev/types/validator.ts(134,39): error TS2307: Cannot find module '../../../app/(admin)/admin/numbering/new/page.js' or its corresponding type declarations.
|
||||
.next/dev/types/validator.ts(143,39): error TS2307: Cannot find module '../../../app/(admin)/admin/numbering/page.js' or its corresponding type declarations.
|
||||
.next/dev/types/validator.ts(152,39): error TS2307: Cannot find module '../../../app/(admin)/admin/organizations/page.js' or its corresponding type declarations.
|
||||
.next/dev/types/validator.ts(170,39): error TS2307: Cannot find module '../../../app/(admin)/admin/projects/page.js' or its corresponding type declarations.
|
||||
.next/dev/types/validator.ts(179,39): error TS2307: Cannot find module '../../../app/(admin)/admin/reference/correspondence-types/page.js' or its corresponding type declarations.
|
||||
.next/dev/types/validator.ts(188,39): error TS2307: Cannot find module '../../../app/(admin)/admin/reference/disciplines/page.js' or its corresponding type declarations.
|
||||
.next/dev/types/validator.ts(197,39): error TS2307: Cannot find module '../../../app/(admin)/admin/reference/drawing-categories/page.js' or its corresponding type declarations.
|
||||
.next/dev/types/validator.ts(206,39): error TS2307: Cannot find module '../../../app/(admin)/admin/reference/page.js' or its corresponding type declarations.
|
||||
.next/dev/types/validator.ts(215,39): error TS2307: Cannot find module '../../../app/(admin)/admin/reference/rfa-types/page.js' or its corresponding type declarations.
|
||||
.next/dev/types/validator.ts(224,39): error TS2307: Cannot find module '../../../app/(admin)/admin/reference/tags/page.js' or its corresponding type declarations.
|
||||
.next/dev/types/validator.ts(233,39): error TS2307: Cannot find module '../../../app/(admin)/admin/security/roles/page.js' or its corresponding type declarations.
|
||||
.next/dev/types/validator.ts(242,39): error TS2307: Cannot find module '../../../app/(admin)/admin/security/sessions/page.js' or its corresponding type declarations.
|
||||
.next/dev/types/validator.ts(260,39): error TS2307: Cannot find module '../../../app/(admin)/admin/system-logs/numbering/page.js' or its corresponding type declarations.
|
||||
.next/dev/types/validator.ts(269,39): error TS2307: Cannot find module '../../../app/(admin)/admin/users/page.js' or its corresponding type declarations.
|
||||
.next/dev/types/validator.ts(278,39): error TS2307: Cannot find module '../../../app/(admin)/admin/workflows/[id]/edit/page.js' or its corresponding type declarations.
|
||||
.next/dev/types/validator.ts(287,39): error TS2307: Cannot find module '../../../app/(admin)/admin/workflows/new/page.js' or its corresponding type declarations.
|
||||
.next/dev/types/validator.ts(296,39): error TS2307: Cannot find module '../../../app/(admin)/admin/workflows/page.js' or its corresponding type declarations.
|
||||
Reference in New Issue
Block a user