-
Notifications
You must be signed in to change notification settings - Fork 16
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
feat: shared eslint and prettier config #1884
base: main
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: 825e406 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
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.
let’s use prax-wallet/prax#228 as a testing ground before merging.
"description": "Shared Penumbra configurations", | ||
"repository": "penumbra-zone/web", | ||
"type": "module", | ||
"scripts": {}, |
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.
our current web <> prax local dev workflow is
web: pnpm install && pnpm build && pnpm dev:pack
web: pnpm dev
prax: pnpm -w add:tgz ~/PATH_TO_PRAX_REPO/web/packages/*/penumbra-zone-*.tgz && pnpm -w syncpack fix-mismatches && pnpm dev
can we update the scripts to include build and pack steps so that the eslint package bundles a .tgz
and allows pnpm overrides to watch for changes during prax / dex explorer development? This requires a tsconfig.json
.
"scripts": {
"build": "tsc --build --verbose",
"dev:pack": "tsc-watch --onSuccess \"$npm_execpath pack\"",
},
correspondingly, the concurrency settings in the package.json would need to be updated to 17.
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 guess this isn't strictly necessary for dev since we shouldn't expect the eslint / prettier configs to change often.
what's the status of this eslint work? was this locally tested against prax-wallet/prax#228? |
this pr adds a package with a shared eslint and prettier configs, to be published to npm
fixes #1762