Skip to content

Commit 56f8c49

Browse files
authored
feat(dependencies): Dependency Hardening (#78)
* chore: add .github/dependabot.yml * chore: add .npmrc * chore: remove pre post scripts
1 parent db55526 commit 56f8c49

File tree

3 files changed

+30
-2
lines changed

3 files changed

+30
-2
lines changed

.github/dependabot.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# This config was generated using ibl-scripts
2+
3+
version: 2
4+
updates:
5+
- package-ecosystem: npm
6+
directory: /
7+
schedule:
8+
interval: "weekly"
9+
day: "monday"
10+
timezone: "Europe/London"
11+
time: "09:00"
12+
labels:
13+
- "dependencies"
14+
commit-message:
15+
prefix: "chore"
16+
include: "scope"
17+
cooldown:
18+
# https://confluence.dev.bbc.co.uk/spaces/SECARC/pages/480985004/Guidance+for+use+of+language+package+managers
19+
default-days: 7
20+
include:
21+
- "*"
22+
groups:
23+
all:
24+
patterns:
25+
- "*"

.npmrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# This config was generated using ibl-scripts
2+
3+
# Do not run scripts, specifically any pre/post scripts
4+
ignore-scripts = true

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44
"description": "Consumer driven contracts for Node.js",
55
"main": "dist/index.js",
66
"scripts": {
7-
"test": "mocha",
7+
"test": "mocha && npm run lint",
88
"lint": "eslint .",
9-
"posttest": "npm run lint",
109
"coverage": "istanbul cover _mocha -- -R dot",
1110
"format": "prettier --log-level warn --write \"**/*.{js,json,jsx,md,ts,tsx,html}\"",
1211
"format:check": "prettier --check \"**/*.{js,json,jsx,md,ts,tsx,html}\"",

0 commit comments

Comments
 (0)