Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@coveord/jsadmin-ua
Advanced tools
Readme
The project's main objective is to handle every feature that lives under the Analytics section of Coveo Cloud Administration Console.
All the commands in the instructions must be run at the root of the jsadmin-usage-analytics
folder, unless otherwise specified.
First you need to install the project's dependencies.
npm install
Once the operation is complete, you should see a node_modules
folder at the root of the jsadmin-usage-analytics
folder.
npm start
This command builds the source code, and automatically triggers a rebuild when a source file is saved.
Run the complete test suite to ensure your local jsadmin-usage-analytics
build is healthy and does not introduce any unwanted regressions.
npm test
hg update
on the tip of default
branch (hg pull && hg update default
).npm run lintfix
and it'll fix all the code style errors by itself. Don't forget to commit those changes.Our automated build system kindly provides a demo link for each pull request, given the build is healthy (all unit tests have run successfully). When available, the links are automatically posted in our #cloudadminbuild
private Slack channel. We will gladly invite you to the channel if you're not already a member when you submit a pull request. If we forget to do so, just ping us in Slack and we'll do it right away.
Front-end developpers are visual creatures!
We always like to see your changes in action (when it is relevant) before merging pull requests. Therefore, please include a comment in your pull requests that provides the demo link once it is available. Also, it makes things easier for everone when the link points towards the exact section where lies the bulk of your changes.
npm test
command creates a local coverage report at the end of its execution. You can browse this report to see the hits and misses of your unit tests. To do so, open the coverage/lcov-report/index.html
file in your favorite web browser.npm run test:watch
command will run tests on file save.npm run reconstruct
command will reinstall and rebuild your local branch from scratch without discarding any pending change. Run this if you think your current state is corrupted.f
character in front of any it
or describe
block (thus writing fit
and fdescribe
). Only tests in the targeted blocks will be run on the next execution. Don't forget to remove the f
before committing.jsadmin-usage-analytics
changes locally in the administration consoleIf you want to test out your changes locally directly in the administration console, you can do so using a local build of jsadmin-v2
and the npm link feature.
Step | Terminal window 1 | Terminal window 2 |
---|---|---|
1 | cd path/to/jsadmin-usage-analytics | cd path/to/jsadmin-v2 |
2 | npm link ../relative/path/to/jsadmin-usage-analytics | |
3 | npm start | |
4 | npm start |
You can leave both terminal windows running. Changes saved in either repositories will trigger a rebuild of the local demo.
WARNING: running
npm install
in either of the linked repos might break the npm link. Running again the steps above will fix the situation.
Sometimes you might also need to use your local changes from jsadmin-common
. If that is the case:
jsadmin-common
to jsadmin-v2
;jsdamin-common
to jsadmin-usage-analytics
, this step is only to provide the proper typings to your IDE, it would still work at runtime without it;jsadmin-usage-analytics
to jsadmin-v2
using the commands described above.FAQs
Coveo Cloud Services Admininistration Tool
The npm package @coveord/jsadmin-ua receives a total of 1 weekly downloads. As such, @coveord/jsadmin-ua popularity was classified as not popular.
We found that @coveord/jsadmin-ua demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.