Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@cloudcannon/dist
Advanced tools
Readme
The CLI for the CloudCannon dist package.
Requires node >=11.0.0
build
Cleans dest, and copies files from src to dest/baseurl. CSS and HTML files have their hrefs/urls/etc to include baseurl.
$ dist build -b baseurlName
[-b | --baseurl ]
clean
Deletes all files in dest.
$ dist clean -d path/To/Destination
clone-assets
Copy the files from source to destination/baseurl without altering the data in any way.
$ dist clone-assets -b baseurl
[-b | --baseurl ]
dist
Runs build, serve, then watch. Is the default command (runs when no command is specified by user.)
$ dist -s path/to/src -d path/to/dest -b baseurlName
[-b | --baseurl ]
rewrite-css
Copies css files from src to dest/baseurl. Then rewrites the newly copied files so that urls/hrefs/etc that reference local content have baseurl prepended to them.
$ dist rewrite-css -b baseurlName
[-b | --baseurl ]
rewrite-html
Copies html files from src to dest/baseurl. Rewrites the newly copied files so that urls/hrefs/etc that reference local content have baseurl prepended to them.
$ dist rewrite-html -b baseurlName
[-b | --baseurl ]
serve
Serves the files on a local webserver, so that they my be viewed in a browser.
$ dist serve -d path/to/dest
watch
Continuously watches the dest/baseurl directory to check for changes. If a change occurs, then the browser that is viewing the local webserver will be reloaded, so that the new content can be viewed. Because this process runs continously, it does not return an exit code because it must be cancelled by the user in-terminal.
$ dist watch -d path/to/dest
FAQs
Allows you to make a clone of your site with a different baseurl.
The npm package @cloudcannon/dist receives a total of 7 weekly downloads. As such, @cloudcannon/dist popularity was classified as not popular.
We found that @cloudcannon/dist demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.