Security News
cURL Project and Go Security Teams Reject CVSS as Broken
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
@ordergroove/smi-serve
Advanced tools
This README document provides an overview and usage instructions for the smi-serve
program.
smi-serve
is a command-line tool designed to manage authentication credentials, initialize directories for use with Ordergroove's services, and start a development server.
Before using smi-serve
, ensure you have Node.js installed on your system. If not, you can download and install it from nodejs.org.
To use smi-serve
via npx
, follow the instructions below:
To manage authentication credentials for Ordergroove, execute:
npx @ordergroove/smi-serve auth
This command manages authentication credentials for Ordergroove. Any errors encountered during the process will be displayed.
To initialize the current directory with assets from Ordergroove RC3 and start the development server, use:
npx @ordergroove/smi-serve init
This command initializes the current directory with assets from Ordergroove RC3 and starts a development server for serving the initialized assets. Any initialization errors will be displayed. Options:
-y
Answer all prompts as yes and silent the prompts--force
or -f
Force override local files if presentIf no command is specified, the default behavior is to start the development server. This can also be explicitly invoked using:
npx @ordergroove/smi-serve serve
This command starts the development server and serves assets. The server's behavior can be modified using various options.
To deploy changes to Ordergroove, use the deploy command:
npx @ordergroove/smi-serve deploy
This command deploys changes to Ordergroove based on the configured settings. Ensure you have the necessary authentication and configuration set up.
You can use a configuration file (.ogrc.json by default) to store settings from the command line. The following option is available:
--configFile or -c: Specify the path to the Ordergroove configuration file. Defaults to .ogrc.json.
This config is auto generated when you login and placed into the current working directory.
The program provides several options to customize its behavior:
--verbose
or -v
: Enable verbose logging.--outdir
or -o
: Specify the output directory for build artifacts. Defaults to node_modules/.smi-serve-build
.--port
or -p
: Specify the HTTP port for the development server. Defaults to an available free port.--env
or -e
: Specify the Ordergroove environment: prod or staging. Defaults to prod.--impersonate
or -i
: Enable customer impersonation.Example usage with options:
npx @ordergroove/smi-serve serve --verbose --port 8080 --production
FAQs
Utility to serve a Subscription Manager template locally
The npm package @ordergroove/smi-serve receives a total of 84 weekly downloads. As such, @ordergroove/smi-serve popularity was classified as not popular.
We found that @ordergroove/smi-serve demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.