(chore) align and clean up dependencies #520
ci.yml
on: pull_request
Annotations
6 errors and 11 warnings
build
typescript: command (/home/runner/work/openmrs-form-engine-lib/openmrs-form-engine-lib/) /tmp/xfs-e1fd7a3e/yarn run typescript exited (2)
|
build:
node_modules/@openmrs/esm-styleguide/src/datepicker/react-spectrum/adobe-react-spectrum-date-wrapper.component.tsx#L79
Type 'CalendarDate' is not assignable to type 'DateValue'.
|
build:
node_modules/@openmrs/esm-styleguide/src/datepicker/react-spectrum/adobe-react-spectrum-date-wrapper.component.tsx#L83
Type 'CalendarDate' is not assignable to type 'DateValue'.
|
build:
node_modules/@openmrs/esm-styleguide/src/datepicker/react-spectrum/adobe-react-spectrum-date-wrapper.component.tsx#L84
Type 'CalendarDate' is not assignable to type 'DateValue'.
|
build:
node_modules/@openmrs/esm-styleguide/src/datepicker/react-spectrum/adobe-react-spectrum-date-wrapper.component.tsx#L85
Type 'CalendarDate' is not assignable to type 'DateValue'.
|
build
Process completed with exit code 2.
|
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3, felixmosh/turborepo-gh-artifacts@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
build:
src/components/encounter/ohri-encounter-form.component.tsx#L112
React Hook useMemo has missing dependencies: 'form', 'formSessionDate', 'obsGroupCounter', and 'visit'. Either include them or remove the dependency array
|
build:
src/components/encounter/ohri-encounter-form.component.tsx#L160
React Hook useMemo has a missing dependency: 'form'. Either include it or remove the dependency array
|
build:
src/components/encounter/ohri-encounter-form.component.tsx#L202
React Hook useEffect has a missing dependency: 'encounterLocation'. Either include it or remove the dependency array
|
build:
src/components/encounter/ohri-encounter-form.component.tsx#L296
React Hook useEffect has missing dependencies: 'allInitialValues', 'evalHide', 'flattenedFields', 'form', 'isFieldInitializationComplete', 'patient', 'sessionMode', 'setAllInitialValues', and 'values'. Either include them or remove the dependency array. If 'setAllInitialValues' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
build:
src/components/encounter/ohri-encounter-form.component.tsx#L307
React Hook useEffect has missing dependencies: 'formJson?.encounterType', 'formJson.formOptions?.usePreviousValueDisabled', and 'patient?.id'. Either include them or remove the dependency array
|
build:
src/components/encounter/ohri-encounter-form.component.tsx#L313
React Hook useEffect has a missing dependency: 'setIsLoadingFormDependencies'. Either include it or remove the dependency array. If 'setIsLoadingFormDependencies' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
build:
src/components/encounter/ohri-encounter-form.component.tsx#L390
React Hook useEffect has missing dependencies: 'scrollablePages' and 'setPagesWithErrors'. Either include them or remove the dependency array. If 'setPagesWithErrors' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
build:
src/components/extension/ohri-extension-parcel.component.tsx#L20
React Hook useEffect has missing dependencies: 'question.questionOptions.extensionId' and 'question.questionOptions.extensionSlotName'. Either include them or remove the dependency array
|
build:
src/components/inputs/camera/camera.component.tsx#L17
React Hook React.useCallback has a missing dependency: 'handleImages'. Either include it or remove the dependency array. If 'handleImages' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
build:
src/components/inputs/date/ohri-date.component.tsx#L33
React Hook useEffect has a missing dependency: 'question'. Either include it or remove the dependency array. If 'setErrors' needs the current value of 'question', you can also switch to useReducer instead of useState and read 'question' in the reducer
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
8ee7e24122c9027f
Expired
|
2.21 KB |
|