-
Notifications
You must be signed in to change notification settings - Fork 43
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
Migrate to yarn, vitest #539
Conversation
Deploying with Cloudflare Pages
|
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.
Very excited for vitest here. It really is a superior product
import { BackupType } from '../src/message-backup/BackupClient' | ||
import { newLocalHostClient, newDevClient } from './helpers' | ||
|
||
describe('Backup configuration', () => { | ||
it('Uses XMTP backup for localhost', async function () { | ||
const c = await newLocalHostClient() | ||
assert.equal(c.backupType, BackupType.xmtpTopicStore) |
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.
Good riddance to these. I think our use of assert
actually predates my time at XMTP
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 this in line with the other JS repos.
CC @fabriguespe for any other docs changes that may need to come out of this
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.
Is the plan to also replace semantic-release with changesets too?
"@xmtp/user-preferences-bindings-wasm": "0.3.6", | ||
"async-mutex": "0.4.0", | ||
"elliptic": "6.5.4", | ||
"ethers": "5.5.3", |
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 worry about these exact matches for common deps causing dependency bloat for integrators who use slightly different versions of common libraries like ethers
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.
this is a temporary measure to prevent issues when switching from NPM to yarn. once this PR merges, i'll start upgrading the dependencies with proper versions.
i'm OK keeping semantic release for now, but just as happy to switch to changesets. |
Mostly just curious. No urgency on making changes there. For a single package repo semantic release works just fine. |
🎉 This PR is included in version 11.3.13 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Summary
~42s
=>~12s
)assert
withexpect
dd-trace
dependencytest
workflow, removeddd-trace
from browser testingprettier-plugin-packagejson
This PR updates the tooling of this repo to match our other TypeScript repos.