Skip to content

PB-1754: add missing prewiew:test target in main package json#1361

Merged
pakb merged 1 commit intodevelopfrom
feat-PB-1754-fix-pnpm-filters
Jun 5, 2025
Merged

PB-1754: add missing prewiew:test target in main package json#1361
pakb merged 1 commit intodevelopfrom
feat-PB-1754-fix-pnpm-filters

Conversation

@pakb
Copy link
Contributor

@pakb pakb commented Jun 5, 2025

and fix filtering, it should be placed before the command (if placed after, it is passed to the command as argument, instead of being interpreted)

Test link

@pakb pakb requested review from schtibe and sommerfe and removed request for schtibe June 5, 2025 08:23
@pakb pakb requested a review from schtibe June 5, 2025 08:23
@cypress
Copy link

cypress bot commented Jun 5, 2025

web-mapviewer    Run #5416

Run Properties:  status check passed Passed #5416  •  git commit b1bc38db16: PB-1754: add missing prewiew:test target in main package json
Project web-mapviewer
Branch Review feat-PB-1754-fix-pnpm-filters
Run status status check passed Passed #5416
Run duration 07m 30s
Commit git commit b1bc38db16: PB-1754: add missing prewiew:test target in main package json
Committer Pascal Barth
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 20
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 252
View all changes introduced in this branch ↗︎

package.json Outdated
"build:int": "pnpm -r run build:int",
"build:prod": "pnpm -r run build:prod",
"dev": "pnpm run -r --filter=web-mapviewer dev ",
"build-all": "pnpm run --recursive build",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(I've been having this thought for quite some time now) I think we could change this back to just build. Then we would follow more a standard way again.

I think I did that because I ended up with a sort of infinite recursion, probably before I fully understood this stuff, but I don't see now why this should still happen.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works well too, and sticks to standard target name. I'll change it to simply build, and adapt the CI if needed

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes I think it's in the buildspec, too.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and fix filtering, it should be placed before the command (if placed after, it is passed to the command  as argument, instead of being interpreted)

name main build target simply "build" and not "build-all" anymore.
@pakb pakb force-pushed the feat-PB-1754-fix-pnpm-filters branch from a8fa92a to b1bc38d Compare June 5, 2025 09:06
@pakb pakb merged commit 1464c99 into develop Jun 5, 2025
6 checks passed
@pakb pakb deleted the feat-PB-1754-fix-pnpm-filters branch June 5, 2025 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants