Skip to content

Commit f5238f1

Browse files
authored
Add npm script to regenerate the package-lock.json (#66)
Adds a new npm script called `regen-package-lock` to the root `package.json`. This script removes all `node_modules` and `package-lock.json` files from the root and all workspaces, then reinstalls dependencies and runs `npm audit:fix` to ensure a clean and secure dependency tree.
1 parent b5d9445 commit f5238f1

File tree

5 files changed

+130
-129
lines changed

5 files changed

+130
-129
lines changed

.github/workflows/code-qa.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424

2525
steps:
2626
- name: Checkout repository
27-
uses: actions/checkout@v4
27+
uses: actions/checkout@v5
2828
- name: Use Node.js ${{ matrix.node-version }}
2929
uses: actions/setup-node@v4
3030
with:

.github/workflows/codeql-analysis.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@ jobs:
3838
strategy:
3939
fail-fast: false
4040
matrix:
41-
language: ["javascript-typescript"]
41+
language: ["javascript-typescript", "actions"]
4242
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
4343
# Learn more:
4444
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
4545

4646
steps:
4747
- name: Checkout repository
48-
uses: actions/checkout@v4
48+
uses: actions/checkout@v5
4949

5050
# Initializes the CodeQL tools for scanning.
5151
- name: Initialize CodeQL

.github/workflows/markdown-lint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222

2323
steps:
2424
- name: Checkout repository
25-
uses: actions/checkout@v4
25+
uses: actions/checkout@v5
2626
- name: Use Node.js ${{ matrix.node-version }}
2727
uses: actions/setup-node@v4
2828
with:

0 commit comments

Comments
 (0)