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.
wordpress-deploy
Advanced tools
Readme
Easily deploy your wordpress theme via FTP.
Install the package globally:
npm install -g wordpress-deploy
Now you can use the bash command wordpress-deploy
(or in short wp-dep
) preferably from within your wordpress folder.
wp-dep
Add a config file named wordpress-deploy.config.js
to your wordpress folder and adjust accordingly.
Make sure to add the config file to your .gitignore
const config = {
// The hostname or IP address of the FTP server
host: 'localhost',
// The port of the FTP server
port: 21,
// Username for authentication
user: 'anonymous',
// Password for authentication
password: 'secret',
// The theme name
theme: 'my-wordpress-theme',
// The local theme folder location
pathLocal: './wp-content/themes',
// The remote theme folder location
pathRemote: './wp-content/themes',
// The remote folder in which to save uploading files and backups
backup: './.wordpress-deploy',
// Files or folders to ignore
// Folder paths are relative to the theme folder
// To ignore a folder use two patterns: 'folder', 'folder/**'
ignore: ['.DS_Store', 'node_modules', 'node_modules/**']
};
module.exports = config;
Example file: wordpress-deploy.config.js
You can also provide an argument to use a different config filename:
wp-dep --config=my-custom-config.js
All config parameters can be used as arguments, for example:
wp-dep --theme=my-theme
FAQs
Easily deploy your wordpress theme via FTP.
The npm package wordpress-deploy receives a total of 10 weekly downloads. As such, wordpress-deploy popularity was classified as not popular.
We found that wordpress-deploy demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.