Skip to content

feat: migrate amplitude#1173

Open
nickolas-dimitrakas wants to merge 10 commits intoworkstation/3.0-Releasefrom
feat/migrate-amplitude-kit
Open

feat: migrate amplitude#1173
nickolas-dimitrakas wants to merge 10 commits intoworkstation/3.0-Releasefrom
feat/migrate-amplitude-kit

Conversation

@nickolas-dimitrakas
Copy link

Background

  • The mParticle ecosystem is migrating integration kits from standalone repos into their respective SDK monorepos. The iOS SDK has already completed this pattern. This PR establishes the kits/ directory for the web SDK and migrates the first kit.

What Has Changed

  • Created kits/ directory with README and matrix.json (CI build matrix), mirroring the iOS monorepo pattern
  • Migrated the Amplitude kit from mparticle-integrations/mparticle-javascript-integration-amplitude into kits/amplitude/amplitude-8/

Checklist

  • I have performed a self-review of my own code.
  • I have made corresponding changes to the documentation.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have tested this locally.

Reference Issue (For employees only. Ignore if you are an outside contributor)

@nickolas-dimitrakas nickolas-dimitrakas marked this pull request as ready for review March 2, 2026 22:36
@nickolas-dimitrakas nickolas-dimitrakas force-pushed the feat/migrate-amplitude-kit branch from fb07722 to 9dd9861 Compare March 3, 2026 17:35
Copy link
Collaborator

@alexs-mparticle alexs-mparticle left a comment

Choose a reason for hiding this comment

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

Looks good. Got a few questions but I think this is a great start.

Also, we should update AGENTS.md to reflect that kits are now included in the repo.

@nickolas-dimitrakas
Copy link
Author

Looks good. Got a few questions but I think this is a great start.

Also, we should update AGENTS.md to reflect that kits are now included in the repo.

@alexs-mparticle I think the AGENTS.md is a great callout, but maybe best to leave until after all the kits have been transferred over. What do you think?

@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 3, 2026

Quality Gate Failed Quality Gate failed

Failed conditions
2 Security Hotspots
14.9% Duplication on New Code (required ≤ 3%)
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@nickolas-dimitrakas
Copy link
Author

Looks good. Got a few questions but I think this is a great start.
Also, we should update AGENTS.md to reflect that kits are now included in the repo.

@alexs-mparticle I think the AGENTS.md is a great callout, but maybe best to leave until after all the kits have been transferred over. What do you think?

Discussed live and will table to after all kits have been migrated.

```javascript
{
init(settings, reportingService, testMode, trackerId, userAttributes, userIdentities, appVersion, appName),
process(event),
Copy link
Collaborator

Choose a reason for hiding this comment

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

@@ -0,0 +1,202 @@

Copy link
Collaborator

Choose a reason for hiding this comment

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

In the new structure, should we include the license for each kit individually, or would the license apply globally for the repo? Not a lawyer 😆

@@ -0,0 +1,5 @@
{
Copy link
Collaborator

Choose a reason for hiding this comment

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

We should probably inherit from the global prettier

@@ -0,0 +1,3 @@
node_modules/
Copy link
Collaborator

Choose a reason for hiding this comment

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

We probably can just use the main .gitignore file

@@ -0,0 +1,47 @@
{
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we share this across all kits or inherit from global?

@nickolas-dimitrakas nickolas-dimitrakas changed the base branch from workstation/monorepo to workstation/3.0-Release March 4, 2026 19:44
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