Skip to content

Commit d231e80

Browse files
committed
Fix dependency issues
1 parent 7bca169 commit d231e80

File tree

5 files changed

+62
-3
lines changed

5 files changed

+62
-3
lines changed

.npmrc

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,23 @@
11
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
22

3+
# Use exact version matching for packages when installing
4+
# This helps prevent lock file conflicts
5+
exact=false
6+
7+
# Enable audit levels for security
8+
audit-level=moderate
9+
10+
# Automatically fix audit issues when possible
11+
audit-fix=true
12+
13+
# Save packages to package.json with ^ prefix (default)
14+
save-prefix=^
15+
16+
# Prefer offline packages when available
17+
prefer-offline=true
18+
19+
# Progress bar
20+
progress=true
21+
22+
# Fund message
23+
fund=false

package-lock.json

Lines changed: 13 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,17 @@
2323
"publish": "node publish.js",
2424
"workspaces:lint": "npm run lint --workspaces --if-present",
2525
"workspaces:test": "npm run test --workspaces --if-present",
26-
"renovate:validate": "npx --yes --package renovate -- renovate-config-validator"
26+
"renovate:validate": "npx --yes --package renovate -- renovate-config-validator",
27+
"audit:fix": "npm audit fix",
28+
"outdated": "npm outdated --workspaces",
29+
"update:all": "npm update --workspaces",
30+
"lockfile:clean": "rm -f package-lock.json && npm install"
2731
},
2832
"overrides": {
2933
"@types/pouchdb-core": "npm:@stanlemon/types-pouchdb-core@^0.0.3"
34+
},
35+
"resolutions": {
36+
"@types/react": "^19.1.0",
37+
"@types/react-dom": "^19.1.0"
3038
}
3139
}

packages/server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"body-parser": "^2.2.0",
2424
"compression": "^1.8.1",
2525
"cookie-parser": "^1.4.7",
26-
"dotenv": "16.6.1",
26+
"dotenv": "^16.6.1",
2727
"express": "^5.1.0",
2828
"express-rate-limit": "^7.5.1",
2929
"helmet": "^8.1.0",

renovate.json5

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@
9393
'react-refresh',
9494
'@types/react',
9595
'@types/react-dom',
96+
'@testing-library/react',
97+
'@testing-library/react-hooks',
98+
'@testing-library/user-event',
9699
],
97100
'matchUpdateTypes': [
98101
'major',
@@ -144,6 +147,21 @@
144147
],
145148
automergeType: 'branch',
146149
},
150+
{
151+
// Group TypeScript related packages
152+
groupName: 'typescript',
153+
matchPackageNames: [
154+
'typescript',
155+
'@types/jest',
156+
'typescript-eslint',
157+
'/^@types\//',
158+
],
159+
'matchUpdateTypes': [
160+
'major',
161+
'minor',
162+
'patch',
163+
],
164+
},
147165
{
148166
// Disable updating nodejs package peer dependencies
149167
matchDepTypes: [

0 commit comments

Comments
 (0)