Skip to content

Commit

Permalink
NPM Update (#599)
Browse files Browse the repository at this point in the history
* @types/mocha

* @types/node

* Revert

* Axios

* Revert

* dotenv-expand

* Revert

* mocha

* Revert

* ts-node

* Revert

* Working Thus Far

* dotenv-expand

* Typescript

* Min Dependency Engine

* Dependabot

* Group Not Ignore
  • Loading branch information
RickiJay-WMDE authored Mar 5, 2024
1 parent 99449bc commit ee08d30
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 88 deletions.
9 changes: 4 additions & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,15 @@ updates:
directory: /test/
schedule:
interval: weekly
allow:
- dependency-name: "*eslint*"
- dependency-name: "prettier*"
- dependency-name: "stylelint*"
commit-message:
prefix: npm format
prefix: npm
include: scope
groups:
lint:
patterns:
- "*eslint*"
- "prettier*"
- "stylelint*"
"@wdio":
patterns:
- "@wdio/*"
124 changes: 50 additions & 74 deletions test/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"private": true,
"type": "module",
"devDependencies": {
"@types/mocha": "^10.0.2",
"@types/node": "^20.10.0",
"@types/mocha": "^10.0.6",
"@types/node": "^20.11.24",
"@wdio/cli": "^8.18.2",
"@wdio/local-runner": "^8.18.2",
"@wdio/mocha-framework": "^8.18.2",
Expand All @@ -15,23 +15,23 @@
"api-testing": "^1.6.0",
"apollo-boost": "^0.4.9",
"async-wait-until": "^2.0.12",
"axios": "^1.5.1",
"axios": "^1.6.7",
"cross-fetch": "^4.0.0",
"dotenv-expand": "^10.0.0",
"dotenv-expand": "^11.0.6",
"envsub": "^4.1.0",
"eslint": "^8.57.0",
"eslint-config-wikimedia": "0.26.0",
"eslint-plugin-compat": "^4.2.0",
"eslint-plugin-unicorn": "^51.0.1",
"lodash": "^4.17.21",
"mocha": "^10.2.0",
"mocha": "^10.3.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.2.5",
"prettier-plugin-organize-imports": "^3.2.4",
"stylelint-config-wikimedia": "0.16.1",
"ts-node": "^10.9.1",
"ts-node": "^10.9.2",
"tslib": "^2.6.2",
"typescript": "~5.2.2",
"typescript": "^5.3.3",
"wdio-mediawiki": "2.4.0",
"wdio-wikibase": "^6.0.1",
"yaml-eslint-parser": "^1.2.2",
Expand All @@ -41,7 +41,7 @@
"ie 11"
],
"engines": {
"node": ">=14.14"
"node": ">=16.14"
},
"scripts": {
"test": "NODE_NO_WARNINGS=1 npx --node-options='--require ts-node/register --loader=ts-node/esm' node cli.ts",
Expand Down
2 changes: 1 addition & 1 deletion test/setup/loadEnvFiles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function loadEnvFile(
const envVars = { ...providedEnvvars, ...envVarsFromFile };
const { parsed: expandedEnvVars } = dotenvExpand.expand( {
parsed: envVars,
ignoreProcessEnv: true
processEnv: {}
} );

return expandedEnvVars;
Expand Down

0 comments on commit ee08d30

Please sign in to comment.