Security News
NIST Misses 2024 Deadline to Clear NVD Backlog
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
@duetds/cli
Advanced tools
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.
The npm package @duetds/cli receives a total of 73 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.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.