Content
View differences
Updated by Alexander Coles 12 days ago
## Scope
Bucket F of [#65621](https://community.openproject.org/work_packages/65621). Final cleanup once buckets A–E land and `grep -rE "\b_\.[a-zA-Z]+" src/ --exclude-dir=vendor` is empty.
## Tasks
- Remove `window._ = lodash` at `src/app/core/setup/init-vendors.ts:51` and `src/test-setup.ts:21`.
- Remove the stray per-file `import _ from 'lodash'` (`wp-date-picker-instance.component.ts`).
- Drop `lodash` (`^4.18.1`) from `package.json`; keep `lodash-es` only.
- Remove any global `_` type declaration.
- Verify typings + build + tests.
## Dependencies
Must merge **last** — after A–E. Cut off `dev` and rebase after the others merge; do **not** branch off another bucket branch (avoid entangling histories).
## Branch
`code-maintenance/OP-19547-remove-lodash-global` off `dev`.
Bucket F of [#65621](https://community.openproject.org/work_packages/65621). Final cleanup once buckets A–E land and `grep -rE "\b_\.[a-zA-Z]+" src/ --exclude-dir=vendor` is empty.
## Tasks
- Remove `window._ = lodash` at `src/app/core/setup/init-vendors.ts:51` and `src/test-setup.ts:21`.
- Remove the stray per-file `import _ from 'lodash'` (`wp-date-picker-instance.component.ts`).
- Drop `lodash` (`^4.18.1`) from `package.json`; keep `lodash-es` only.
- Remove any global `_` type declaration.
- Verify typings + build + tests.
## Dependencies
Must merge **last** — after A–E. Cut off `dev` and rebase after the others merge; do **not** branch off another bucket branch (avoid entangling histories).
## Branch
`code-maintenance/OP-19547-remove-lodash-global` off `dev`.