Skip to content
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

Refactor post-install script to not depend on fs-extra #5975

Merged
merged 4 commits into from
Jul 12, 2023

Conversation

kneth
Copy link
Contributor

@kneth kneth commented Jul 11, 2023

What, How & Why?

No open issue for this.

☑️ ToDos

  • 📝 Changelog entry
  • 📝 Compatibility label is updated or copied from previous entry
  • 📝 Update COMPATIBILITY.md
  • 🚦 Tests
  • 🔀 Executed flexible sync tests locally if modifying flexible sync
  • 📦 Updated internal package version in consuming package.jsons (if updating internal packages)
  • 📱 Check the React Native/other sample apps work if necessary
  • 📝 Public documentation PR created or is not necessary
  • 💥 Breaking label has been applied or is not necessary

If this PR adds or changes public API's:

  • typescript definitions file is updated
  • jsdoc files updated

@kneth kneth requested review from takameyer and elle-j July 11, 2023 13:47
@kneth kneth self-assigned this Jul 11, 2023
@cla-bot cla-bot bot added the cla: yes label Jul 11, 2023
packages/realm/scripts/submit-analytics.mjs Outdated Show resolved Hide resolved
Copy link
Contributor

@elle-j elle-j left a comment

Choose a reason for hiding this comment

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

An important fix, thanks! Just left a comment that could be good to address before merge 👍

packages/realm/scripts/submit-analytics.mjs Outdated Show resolved Hide resolved
packages/realm/scripts/submit-analytics.mjs Outdated Show resolved Hide resolved
@kneth kneth merged commit 783a329 into main Jul 12, 2023
31 checks passed
@kneth kneth deleted the kneth/fix-submit-analytics branch July 12, 2023 11:39
@@ -127,8 +127,8 @@ function isAnalyticsDisabled() {
}

function getRealmVersion() {
const packageJsonPath = path.resolve(__dirname, "../package.json");
const packageJson = fse.readJsonSync(packageJsonPath);
const packageJsonPath = path.resolve(__dirname, "..", "package.json");
Copy link
Member

Choose a reason for hiding this comment

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

🎉

@@ -139,7 +139,7 @@ function getRealmVersion() {
*/
function getRealmCoreVersion() {
const dependenciesListPath = path.resolve(__dirname, "../dependencies.list");
Copy link
Member

Choose a reason for hiding this comment

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

I believe I deleted this file 🤔

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants