-
Notifications
You must be signed in to change notification settings - Fork 5
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
APEX-689: Migrated Algolia libraries to the cartridge #14
Conversation
…ter, updated Node package versions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This branch is based off of feature/APEX-497
Then you can make it point on that branch instead of master, so the diff doesn't contain changes from the other PR
Otherwise it looks good, only small comments.
(I'm just not convinced by the need to have an extra dependencies to copy a few files)
Oh also, there is an error on the CI when installing packages |
from a CDN service, misc. optimizations
4c13384
to
bb98a9f
Compare
|
…om linting with a single rule
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! Almost there. There are some linting errors in the build.
cartridges/int_algolia/cartridge/templates/default/algolia/headerScripts.isml
Show resolved
Hide resolved
attribute: "name", | ||
tagName: "em" | ||
})}</a> | ||
hit: item, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This indentation is a bit weird no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed indentation.
package.json
Outdated
"eslint-plugin-jquery": "^1.5.1", | ||
"eslint-plugin-prettier": "^4.2", | ||
"hogan.js": "1.0.2", | ||
"htm": "^3.1.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"htm": "^3.1.1", | |
"htm": "3.1.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pinned down version number.
… the version for the htm package
e4932a6
to
2e87445
Compare
This PR contains changes from APEX-497 and is pointed to the newly-created
develop
branch.Closing down the other PR for clarity and adding the changes here:
Changes from APEX-497:
package.json
, removed unnecessary packages;sgmf-scripts
);.eslintignore
: removed/rewrote some ignored paths;.eslintrc.json
;.prettierrc
config;package.json
;Changes from APEX-689:
package.json
asdevDependencies
and also committed to the repository instead of loading them from a CDNdevDependencies
and committed to the repo (Hogan.js
,Preact
);.eslintignore
'd together;Outstanding issues:
autocomplete-js@1
was left as-is because it requiresalgoliasearch@4
as a dependency, but the cartridge currently uses v3;algoliasearch
to v4 is pending as it is a major version change and as such may contain breaking changes -- will be in the scope of another ticket.