![Namecheap Takes Down Polyfill.io Service Following Supply Chain Attack](https://cdn.sanity.io/images/cgdhsj6q/production/6af25114feaaac7179b18127c83327568ff592d1-1024x1024.webp?w=800&fit=max&auto=format)
Security News
Namecheap Takes Down Polyfill.io Service Following Supply Chain Attack
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
@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 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
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.
Security News
A JavaScript library maintainer is under fire after merging a controversial PR to support legacy versions of Node.js.