Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

Ansonhkg
Copy link
Collaborator

@Ansonhkg Ansonhkg commented Sep 15, 2025

WHAT

  • Move artillery into its own package ./packages/artillery
  • Move e2e into its own package ./packages/e2e
  • Unified PKPInfo as PKPData from @lit-protocol/schemas. Note that there are probably more types to fix. The duplicate types across different packages existed because I had to resolve multiple circular dependencies during the initial revamp, before the overall structure was established.
  • Fixed types in E2E tests
  • Remove the temp assertion from Bun to Jest.
  • export utils from e2e and consumed by artillery
  • migrated script commands

…s and remove module type; add TypeScript configuration
- remove unused artillery scripts
- and update test command in package.json
- remove unused packages
- Update type definitions to replace deprecated PKPInfo with PKPData across auth and e2e packages.
- Modify Jest configuration to match all spec files in e2e tests.
- Add .e2e to .gitignore for better file management.
- Enhance e2e package structure with new types and utility functions for improved clarity and maintainability.
@Ansonhkg Ansonhkg self-assigned this Sep 15, 2025
Ansonhkg added a commit that referenced this pull request Sep 15, 2025
…ata. This changes are added in #891 and #892 but they are pull in so this PR can build
- moved inline import to top of the file
- migrated to jest syntax
- export utils from e2e and consumed by artillery
- moved artillery as its own package
- migrated script commands
Copy link
Collaborator

@glitch003 glitch003 left a comment

Choose a reason for hiding this comment

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

seems like a straightforward refactor

@Ansonhkg Ansonhkg mentioned this pull request Sep 18, 2025
…tocol/js-sdk into feature/jss-107-refactor-move-e2e-and-artillery-into-packages
@Ansonhkg Ansonhkg merged commit a388b28 into feature/jss-93-refactor-bun-pnpm Sep 18, 2025
2 of 3 checks passed
@Ansonhkg Ansonhkg deleted the feature/jss-107-refactor-move-e2e-and-artillery-into-packages branch September 18, 2025 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants