Skip to content

Commit 4e053bb

Browse files
authored
Add npm script to regenerate the package-lock.json (#529)
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 6d24806 commit 4e053bb

File tree

7 files changed

+316
-307
lines changed

7 files changed

+316
-307
lines changed

.github/workflows/code-qa.yaml

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

4242
steps:
4343
- name: Checkout repository
44-
uses: actions/checkout@v4
44+
uses: actions/checkout@v5
4545
- name: Use Node.js ${{ matrix.node-version }}
4646
uses: actions/setup-node@v4
4747
with:

.github/workflows/codeql-analysis.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,15 @@ jobs:
3838
strategy:
3939
fail-fast: false
4040
matrix:
41-
language: ['javascript-typescript']
41+
language: ['javascript-typescript', 'actions']
4242
# CodeQL supports [ 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift' ]
4343
# Use only 'java-kotlin' to analyze code written in Java, Kotlin or both
4444
# Use only 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
4545
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
4646

4747
steps:
4848
- name: Checkout repository
49-
uses: actions/checkout@v4
49+
uses: actions/checkout@v5
5050

5151
# Initializes the CodeQL tools for scanning.
5252
- 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:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ If you would like to run or modify my portfolio locally, clone the repository wi
2727
git clone https://github.com/AlexJSully/alexjsully-portfolio.git
2828
```
2929

30-
Then run `npm install`, change to the appropriate directory and then `npm dev`. My portfolio will run at <http://localhost:3000/>.
30+
Then run `npm ci`, change to the appropriate directory and then `npm dev`. My portfolio will run at <http://localhost:3000/>.
3131

3232
## Known issues
3333

next-env.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/// <reference types="next" />
22
/// <reference types="next/image-types/global" />
3+
/// <reference path="./.next/types/routes.d.ts" />
34

45
// NOTE: This file should not be edited
56
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

0 commit comments

Comments
 (0)