Skip to content

fix(javascript): publish algoliasearch dist #735

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

Merged
merged 3 commits into from
Jun 23, 2022

Conversation

shortcuts
Copy link
Member

@shortcuts shortcuts commented Jun 23, 2022

🧭 What and Why

🎟 JIRA Ticket: https://algolia.atlassian.net/browse/APIC-549

Changes included:

https://www.npmjs.com/package/@experimental-api-clients-automation/algoliasearch does not expose a dist folder.

Publishing a package without an .npmignore will default to the .gitignore, which ignores the dist folder. Specifying the files field in the package.json override this behavior.

🧪 Test

CI :D

@shortcuts shortcuts requested a review from a team June 23, 2022 09:50
@shortcuts shortcuts self-assigned this Jun 23, 2022
@shortcuts shortcuts requested review from damcou and millotp and removed request for a team June 23, 2022 09:50
@netlify
Copy link

netlify bot commented Jun 23, 2022

Deploy Preview for api-clients-automation canceled.

Name Link
🔨 Latest commit 1aef7fd
🔍 Latest deploy log https://app.netlify.com/sites/api-clients-automation/deploys/62b43990d70f4000080afa78

@algolia-bot
Copy link
Collaborator

algolia-bot commented Jun 23, 2022

✗ The generated branch has been deleted.

If the PR has been merged, you can check the generated code on the main branch.
You can still access the code generated on main via this commit.

@shortcuts shortcuts enabled auto-merge (squash) June 23, 2022 09:56
@shortcuts shortcuts disabled auto-merge June 23, 2022 09:56
millotp
millotp previously approved these changes Jun 23, 2022
Copy link
Collaborator

@millotp millotp 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 ! do you also need random stuff like package.json or other ?

@shortcuts
Copy link
Member Author

looks good ! do you also need random stuff like package.json or other ?

It seems to work correctly for other packages so I don't think so. In v4 we only have src/dist files

@shortcuts shortcuts enabled auto-merge (squash) June 23, 2022 10:00
@shortcuts shortcuts requested a review from millotp June 23, 2022 10:09
@shortcuts shortcuts merged commit 5b70ec1 into main Jun 23, 2022
@shortcuts shortcuts deleted the fix/js-publish-algoliasearch-dist branch June 23, 2022 11:56
algolia-bot added a commit to algolia/algoliasearch-client-javascript that referenced this pull request Jun 23, 2022
medicindev pushed a commit to medicindev/Algolia-Client--JavaScript that referenced this pull request Mar 8, 2025
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.

3 participants