Security News
PyPI Introduces Digital Attestations to Strengthen Python Package Security
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
@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 32 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
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.