Security News
JSR Working Group Kicks Off with Ambitious Roadmap and Plans for Open Governance
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
Upload a storefront cartridge to a Demandware WebDAV server from command line.
:; npm install -g bitbucket:demandware/dwupload
Instead of installing this as a global npm package, you can install it locally and access it as ./node_modules/.bin/dwupload
.
Note: this npm command above requires the lastest version of npm (or at least 2.x). If you do not have that, run npm install -g npm
first.
:; dwupload --hostname example.demandware.net --username admin --password password --cartridge app_storefront_core --code-version version1 # uploading a carridge
:; dwupload --file path/to/app.js --file path/to/style.css # uploading file(s) using configuration in `dw.json`
:; dwupload watch --cartridge app_storefront_controllers # watch for file changes and upload automatically
:; dwupload delete --file rootDir/path/to/file --root rootDir # delete a file, with root option
See --help
for more information.
Exclude patterns can be declared via the -x
or --exclude
flag. This work for both file and folder exclude patterns. For example:
*.swp
**/node_modules/**
Please note that the **
after the folder name is important. Without it, child directories of node_modules
would still be included.
Instead of passing command line options every single time, you can store your config options in a dw.json
file in the current working directory instead. For example:
{
"hostname": "example.demandware.net",
"username": "user",
"password": "password"
}
Command line options will always override the options delcared in the config file.
FAQs
Upload storefront cartridges to Salesforce B2C Commerce WebDAV server
The npm package dwupload receives a total of 8,817 weekly downloads. As such, dwupload popularity was classified as popular.
We found that dwupload demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
Security News
Research
An advanced npm supply chain attack is leveraging Ethereum smart contracts for decentralized, persistent malware control, evading traditional defenses.
Security News
Research
Attackers are impersonating Sindre Sorhus on npm with a fake 'chalk-node' package containing a malicious backdoor to compromise developers' projects.