Security News
The Push to Ban Ransom Payments Is Gaining Momentum
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
@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
This package includes Duet Design System CLI.
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 3 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
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
Application Security
New SEC disclosure rules aim to enforce timely cyber incident reporting, but fear of job loss and inadequate resources lead to significant underreporting.
Security News
The Python Software Foundation has secured a 5-year sponsorship from Fastly that supports PSF's activities and events, most notably the security and reliability of the Python Package Index (PyPI).