• Created a new Vue package under packages/vue named @tryabby/vue
  • Implemented core functions:
    • useAbby: Returns the user’s currently selected variant and the onAct method
    • useFeatureFlag: Returns the value of the given feature flag
    • useRemoteConfig: Returns the value of the given remote configuration
  • Ensured the package consumes @tryabby/core internally
  • Wrote the package in TypeScript, maintaining the same type quality as the React integration
  • Added tests for types and code functionality to ensure reliability
  • Set up project configuration files:
    • package.json for dependencies and scripts
    • tsconfig.json for TypeScript configuration
    • Jest configuration for testing
  • Verified the package builds correctly and passes all tests
  • Provided instructions for integrating with a Nuxt project

This commit establishes a strong foundation for using Abby in Vue projects, ensuring feature parity with the existing React integration. /claim #68

Summary by CodeRabbit

Release Notes

  • New Features

    • Introduced useAbby function for A/B testing in Vue applications.
    • Added useFeatureFlag and useRemoteConfig functions for managing feature flags and remote configurations in Vue.
  • Bug Fixes

    • N/A
  • Documentation

    • Updated README.md with setup instructions and guidelines for Vue 3 development.
  • Chores

    • Added configuration files for TypeScript, ESLint, Prettier, and Cypress in Vue projects.
    • Updated .gitignore to exclude unnecessary files and directories.
    • Recommended VS Code extensions for Vue development in extensions.json.
  • Tests

    • Added test cases for useAbby function to ensure correct variant handling.
  • Style

    • Introduced Prettier configuration for consistent code formatting.
  • Refactor

    • Exported various functions and types related to context creation and configuration for AB testing using Abby in both React and Vue projects.

Claim

Total prize pool $40
Total paid $0
Status Pending
Submitted May 30, 2024
Last updated May 30, 2024

Contributors

FÉ

Félicien Diouf

@feliciien

100%

Sponsors

AB

Abby

@Abby

$40