Skip to content

Commit

Permalink
Regen package-lock.json
Browse files Browse the repository at this point in the history
* make sure npm deps are freshly installed

Change-Id: I7333bc5c3218e31c046f7b9fd3f1bb871e5e8f1d
  • Loading branch information
TimotheusBachinger committed Apr 6, 2023
1 parent b85850a commit 4b1ea01
Show file tree
Hide file tree
Showing 3 changed files with 96 additions and 5 deletions.
90 changes: 90 additions & 0 deletions package-lock.json

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

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"build": "webpack",
"test": "echo \"Error: no test specified\" && exit 1",
"//": "COMMENT: Process 'resolutions' key below",
"preinstall": "npx npm-force-resolutions"
"preinstall": "npx --no npm-force-resolutions"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -56,6 +56,7 @@
"file-loader": "^6.2.0",
"merge": ">=2.1.1",
"mini-css-extract-plugin": "^2.4.5",
"npm-force-resolutions": "^0.0.10",
"pkg-dir": "^6.0.1",
"postcss": "^8.2.4",
"postcss-loader": "^6.2.1",
Expand Down
8 changes: 4 additions & 4 deletions tests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -215,16 +215,16 @@ test-format-shell:
docker run --rm -v "$(realpath ..):/sh" -w /sh peterdavehello/shfmt shfmt -d -i 4 -ci $$($(FIND_SHELL_FILES))

test-format-js:
cd ..; scripts/run-prettier --check --no-color --loglevel warn "{{enterprise/web,web}/htdocs/js/**/,}*.{j,t}s"
cd ..; npm ci && scripts/run-prettier --check --no-color --loglevel warn "{{enterprise/web,web}/htdocs/js/**/,}*.{j,t}s"

test-typescript-types:
cd ..; scripts/check-typescript-types.sh
cd ..; npm ci && scripts/check-typescript-types.sh

test-lint-js:
cd ..; scripts/check-js-lint.sh
cd ..; npm ci && scripts/check-js-lint.sh

test-build-js:
npm -y ci && ENTERPRISE=yes MANAGED=no npm run build
npm ci && ENTERPRISE=yes MANAGED=no npm run build

test-lint-js-docker:
../scripts/run-in-docker.sh make --quiet test-lint-js
Expand Down

0 comments on commit 4b1ea01

Please sign in to comment.