
Product
Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
@dpc-sdp/nuxt-ripple-cli
Advanced tools
CLI for simplifying common setup and scaffolding tasks.
Either install the CLI install it globally using npm install -g @dpc-sdp/nuxt-ripple-cli
or run it directly using npx @dpc-sdp/nuxt-ripple-cli
.
If you've installed the package globally you can now use the nuxt-ripple
command in your terminal.
Note: If you prefer to run the CLI using
npx
you won't be able to use thenuxt-ripple
command and will instead need to usenpx @dpc-sdp/nuxt-ripple-cli
in place ofnuxt-ripple
. For instancenpx @dpc-sdp/nuxt-ripple-cli init site my-site --name "My Site"
.
The init
command will initialise a new site or layer.
nuxt-ripple init [TEMPLATE] [DIRECTORY] --name {NAME} --rplVersion {RPL_VERSION}
[TEMPLATE]
:
site
Scaffolds a new nuxt site.layer
Scaffolds a new nuxt layer.[DIRECTORY]
: The directory to output scaffolded files into.
--name {NAME}
: The name of the site or layer.
--rplVersion {RPL_VERSION}
: The version of the ripple core dependencies to use.
The add
command will create a ripple component or content type.
nuxt-ripple add <command> [DIRECTORY]
<command>
:
component
Scaffolds a new Ripple (vue) component, note that the component folder is created as well to follow Ripple naming conventions.content-type
Scaffolds a new Ripple Tide content type.nuxt-ripple add component [DIRECTORY] --name {NAME} --prefix {PREFIX}
[DIRECTORY]
: The directory to output the component scaffolding.
--name {NAME}
: The name of new Vue component.
--prefix {PREFIX}
: The prefix to used for the Vue components.
nuxt-ripple add content-type [DIRECTORY] --name {NAME} --createTests --cypressPath {CYPRESSPATH}
[DIRECTORY]
: The directory to output the content type scaffolding.
--name {NAME}
: The name of the project or layer.
--createTests
or -T
: A flag to opt into example tests.
--cypressPath {CYPRESSPATH}
: The path to the Cypress support folder, this is used when opting into the example tests.
The mock
command will start a mock server for testing Ripple sites without a Tide backend.
nuxt-ripple mock [FIXTURE_PATH] --routes {ROUTE_PATH} --site {SITE_PATH}
[FIXTURE_PATH]
: The path to the fixture, i.e. the mocked data
--routes {ROUTE_PATH}
: The path to the JSON routes file; example route file: [{ "path": "/", "fixture": "home.json" }]
.
--site {SITE_PATH}
: The relative (to [FIXTURE_PATH]
) path to mocked global site data
FAQs
A CLI for simplifying common setup and scaffolding tasks
The npm package @dpc-sdp/nuxt-ripple-cli receives a total of 6 weekly downloads. As such, @dpc-sdp/nuxt-ripple-cli popularity was classified as not popular.
We found that @dpc-sdp/nuxt-ripple-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.