Research
Security News
Malicious npm Package Typosquats react-login-page to Deploy Keylogger
Socket researchers unpack a typosquatting package with malicious code that logs keystrokes and exfiltrates sensitive data to a remote server.
@duetds/cli
Advanced tools
Readme
This package includes Duet Design System CLI, project templates, and related tools.
For usage instructions, please see Duet Design System documentation.
This package exports a CLI program create-duet-app
. It streamlines the process of creating projects using Duet, and deploying password-protected prototype to github pages, by offering a number of boilerplate templates:
Running create-duet-app
does the following:
shared/template.*
to named directory (renaming to remove "template" prefix)shared/.github/workflows
to named directoryThe CLI offers the ability to easily deploy password-protected apps/prototypes to github pages.
For information on how to deploy a prototype to github pages please see Sharing Prototypes
For technical and architectural information, please see the architecture document.
A template has these minimum requirements:
templates/
.package.json
(see below for further requirements)latest
for all Duet dependencies in package.json
The package.json
has the following requirements:
devDependencies
the following packages: crypto-js
, yargs
, replace-in-file
, npm-run-all
, ncp
build:prototype
in the scripts
field. This is script is called by github actions to build and deploy to github pagesThe build:prototype
script must meet the following requirements:
/dist/$DUET_TOKEN
/$DUET_PROJECT_NAME/$DUET_TOKEN
PUBLIC_URL
environment variable before calling react-scripts build
--baseHref=/$DUET_PROJECT_NAME/$DUET_TOKEN/
as a flag to the ng
commandnode ./.github/workflows/encrypt.js $DUET_TOKEN [passphrase]
, where [passphrase]
is your chosen passwordCopyright © 2020 LocalTapiola/Turva.
FAQs
Unknown package
The npm package @duetds/cli receives a total of 131 weekly downloads. As such, @duetds/cli popularity was classified as not popular.
We found that @duetds/cli 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.
Research
Security News
Socket researchers unpack a typosquatting package with malicious code that logs keystrokes and exfiltrates sensitive data to a remote server.
Security News
The JavaScript community has launched the e18e initiative to improve ecosystem performance by cleaning up dependency trees, speeding up critical parts of the ecosystem, and documenting lighter alternatives to established tools.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.