Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@metrological/cli
Advanced tools
The Metrological CLI is the Command Line Interface tool for uploading Lightning Apps to the Metrological Dashboard.
You need to have the @lightningjs/cli
installed globally on your system. This is needed (for now) because under the hood it will trigger the lng build
command. If you haven't done so, run this command:
npm install -g @lightningjs/cli
To verify if you have the Lightning CLI installed, run:
lng --version
⚠️ This should output a version of 2.9.0 or higher
lng upload
to metro upload
In the January 2023 release of the Lightning-CLI package, the upload
command has been deprecated, as was announced in this blog post in October 2022. Luckily, it's easy to migrate from lng upload
to metro upload
:
lng upload
in your tooling (like your package.json
or any custom build configuration)npx @metrological/cli upload
or metro upload
, depending on the way you've installed the Metrological-CLI package. See 'Usage' for the recommend ways of installing it.You can install the Metrological CLI globally on your system, by running the following command:
npm install -g @metrological/cli
Then inside the root of a Lightning App you can run the following command.
metro upload
Alternatively you can install the Metrological CLI as a devDependency
by running the NPM command for it:
npm install --save-dev @metrological/cli
You can then add a script
in your package.json
to use it, like so:
{
"name": "MyLightningApp",
"scripts": {
"upload": "metro upload"
}
}
To execute this, run npm run upload
inside the root folder of your App (this is default NPM behaviour)
Command | Description |
---|---|
upload | :rocket: Upload the Lightning App to the Metrological Back Office to be published in an App Store |
--help | Output the version number |
--version | Display help for command |
--debug | Output extra debugging info |
FAQs
Metrological CLI
We found that @metrological/cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 9 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.