Skip to content
This repository was archived by the owner on Dec 16, 2022. It is now read-only.

Conversation

@eunjae-lee
Copy link
Contributor

@eunjae-lee eunjae-lee commented Jun 23, 2021

Summary

This PR adds packageNamePrefix to the widget templates.

For example, when the project name is test, it becomes like this:

  • the package name for InstantSearch.js widget: @user-scope/instantsearch-widget-test
  • the package name for React InstantSearch widget: @user-scope/react-instantsearch-widget-test

Note

appName config in the widget templates are actually almost useless, because packageName is used instead. It's only used in snapshot tests.

To make the snapshots more readable/meaningful, I changed the value of appName for both InstantSearch.js widget and React InstantSearch widget and thus, the snapshots have change quite a lot in this PR.

@eunjae-lee eunjae-lee requested review from a team, Haroenv, francoischalifour and tkrugg and removed request for a team June 23, 2021 16:04
Copy link
Contributor

@Haroenv Haroenv left a comment

Choose a reason for hiding this comment

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

👍

Co-authored-by: Haroen Viaene <hello@haroen.me>
@eunjae-lee eunjae-lee merged commit 25da57e into master Jun 24, 2021
@eunjae-lee eunjae-lee deleted the fix/package-name branch June 24, 2021 13:15
aymeric-giraudet pushed a commit to algolia/instantsearch that referenced this pull request Dec 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants