-
Notifications
You must be signed in to change notification settings - Fork 1k
build: bundle devtools frontend #656
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
e0b7b6b to
1cf4cd0
Compare
zyzyzyryxy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great to see that bundled!
package.json
Outdated
| "test:update-snapshots": "npm run build && node --require ./build/tests/setup.js --no-warnings=ExperimentalWarning --test-force-exit --test --test-update-snapshots \"build/tests/**/*.test.js\"", | ||
| "test:node20": "node --import ./build/tests/setup.js --test-reporter spec --test-force-exit --test build/tests", | ||
| "test:no-build": "node --import ./build/tests/setup.js --no-warnings=ExperimentalWarning --experimental-print-required-tla --test-reporter spec --test-force-exit --test \"build/tests/**/*.test.js\"", | ||
| "test": "npm run build && node --import ./build/tests/setup.js --no-warnings=ExperimentalWarning --experimental-print-required-tla --test-reporter spec --test-force-exit --test \"build/tests/**/*.test.js\"", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Wouldn't it be better to have "test" run build then test:no-build to reduce duplication? Same for test:only
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test:only can runs a slightly different command. We could probably spend time to figure how to forward extra args so that also -- forwarding keeps working. But I think it's fine for now. Changed test to run test:no-build.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see test and test:only are different, I meant maybe test:only should call test:only:no-build. The commands are identical now, sans the build.
1cf4cd0 to
ec8dc8d
Compare
ec8dc8d to
2920887
Compare
2920887 to
a2e1de0
Compare
No description provided.