Skip to content

Fix yarn.lock

Fix yarn.lock #307

Triggered via push November 8, 2024 10:38
Status Failure
Total duration 1m 0s
Artifacts

release.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
Release
Could not find a declaration file for module 'nprogress'. '/home/runner/work/next-admin/next-admin/node_modules/nprogress/nprogress.js' implicitly has an 'any' type.
Release
Argument of type 'unknown' is not assignable to parameter of type 'string'.
Release
Argument of type 'unknown' is not assignable to parameter of type 'ClassValue'.
Release
No overload matches this call.
Release
Type 'unknown' is not assignable to type 'string | undefined'.
Release
Type 'unknown' is not assignable to type 'ReactNode'.
Release
Argument of type 'unknown' is not assignable to parameter of type 'ClassValue'.
Release
Argument of type 'unknown' is not assignable to parameter of type 'ClassValue'.
Release
@premieroctet/next-admin#build: command (/home/runner/work/next-admin/next-admin/packages/next-admin) /tmp/xfs-ad21cc4d/yarn run build exited (2)
Release
Error: The process '/usr/local/bin/yarn' failed with exit code 2
Release
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Release: packages/next-admin/src/components/ClientActionDialog.tsx#L60
React Hook useEffect has missing dependencies: 'action.depth' and 'apiBasePath'. Either include them or remove the dependency array
Release: packages/next-admin/src/components/Filters.tsx#L38
React Hook useEffect has a missing dependency: 'fetchUrlFilter'. Either include it or remove the dependency array
Release: packages/next-admin/src/components/Form.tsx#L211
React Hook useMemo has missing dependencies: 'basePath', 'canCreate', 'canDelete', 'canEdit', 'edit', 'resource', 'router', 'runDeletion', 'showMessage', and 't'. Either include them or remove the dependency array
Release: packages/next-admin/src/components/Form.tsx#L311
React Hook useCallback has missing dependencies: 'basePath', 'cleanAll', 'resource', 'router', 'setFormData', 'showMessage', and 't'. Either include them or remove the dependency array
Release: packages/next-admin/src/components/Form.tsx#L563
React Hook useMemo has missing dependencies: 'CustomForm', 'allDisabled', 'dmmfSchema', 'extraErrors', 'isPending', 'schemas', 'setFormData', and 'templates'. Either include them or remove the dependency array
Release: packages/next-admin/src/components/Menu.tsx#L175
Do not use `<img>` element. Use `<Image />` from `next/image` instead. See: https://nextjs.org/docs/messages/no-img-element
Release: packages/next-admin/src/components/advancedSearch/AdvancedSearchFieldCondition.tsx#L38
React Hook useEffect has missing dependencies: 'uiBlock' and 'updateUiBlock'. Either include them or remove the dependency array
Release: packages/next-admin/src/components/inputs/DateWidget.tsx#L34
React Hook useCallback has missing dependencies: 'props.name' and 'setFieldDirty'. Either include them or remove the dependency array
Release: packages/next-admin/src/components/inputs/RichText/RichTextField.tsx#L70
React Hook useMemo has missing dependencies: 'format' and 'required'. Either include them or remove the dependency array
Release: packages/next-admin/src/components/inputs/ScalarArray/ScalarArrayField.tsx#L98
React Hook useEffect has a missing dependency: 'onChange'. Either include it or remove the dependency array. If 'onChange' changes too often, find the parent component that defines it and wrap that definition in useCallback