Skip to content

Commit

Permalink
medEng lead notes
Browse files Browse the repository at this point in the history
  • Loading branch information
luukee committed Sep 7, 2024
1 parent 7c02b79 commit 94af44e
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 4 deletions.
29 changes: 29 additions & 0 deletions _posts/2023-05-20-mediaengagement-technical-docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -1359,3 +1359,32 @@ Before you export the new duplicate local site you need to delete these:
- all .* files in siteRoot/app/public/
- siteRoot/app/public/enp-quiz-database-config.php
- siteRoot/app/public/LocalValetDriver.php

## Manage dependencies (for project leads only)

### Using `npx npm-check`

We use `npx npm-check` to monitor and manage the dependencies in our project. This tool helps us:

1. **Identify Outdated Dependencies**: `npx npm-check` shows any packages that have newer versions available, allowing us to keep our dependencies up to date.
2. **Find Unused Dependencies**: It helps us find and remove packages that are listed in our `package.json` but are no longer being used in the codebase.
3. **Identify Missing Dependencies**: It flags missing dependencies, which might be required by the project but are not installed in `node_modules`.

### How to Run `npx npm-check`

To check the status of the project’s dependencies, run:

```bash
npx npm-check
```

This will display a report that lists:
- Packages that have newer versions available.
- Packages that are no longer being used in the code.
- Missing packages that need to be installed.

This ensures that the project stays clean, up-to-date, and avoids any unnecessary dependencies.

### .npmcheckrc:

Ignore Certain Packages: You can tell npm-check to skip specific packages that might be falsely flagged as unused or missing.
4 changes: 0 additions & 4 deletions _posts/2023-05-21-mediaengagement.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ github: https://github.com/engagingnewsproject/enp-platform
github_shortname: engagingnewsproject/enp-platform
---

## CME (Engage) Website Documentation

### Introduction

Welcome to the CME (Engage) Website documentation. This guide covers everything you need to know to work on the [WordPress site](https://mediaengagement.org/), including local development setup, theme structure, and best practices.

---
Expand Down

0 comments on commit 94af44e

Please sign in to comment.