Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Upload a storefront cartridge to a Demandware WebDAV server from command line.
:; npm install -g dwupload
Instead of installing this as a global npm package, you can install it locally and access it as ./node_modules/.bin/dwupload
.
# uploading a cartridge
:; dwupload --hostname example.demandware.net --username admin --password password --cartridge app_storefront_core --code-version version1
# uploading file(s) using configuration in `dw.json`
:; dwupload --file path/to/app.js --file path/to/style.css
# watch for file changes and upload automatically
:; dwupload watch --cartridge app_storefront_controllers
# delete a file, with root option
:; dwupload delete --file rootDir/path/to/file --root rootDir
# 2-factor authentication
:; dwupload --hostname cert.example.demandware.net --username admin --password password --p12 admin.p12 --passphrase passphrase
:; dwupload --hostname cert.example.demandware.net --p12 admin.12 --passphrase passphrase --self-signed
# get version information
:; dwupload version
In case you're running the command within an other directory than the cartridges directory, don't forget to use the --root
option (in the command or in the dw.json file)
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",
"cartridge": ["cartridgeA", "cartridgeB"],
"root": "path/to/root",
"code-version": "version2",
"p12": "path/to/file.p12",
"passphrase": "passphrase"
}
Command line options will always override the options declared in the config file.
FAQs
Upload storefront cartridges to Salesforce B2C Commerce WebDAV server
The npm package dwupload receives a total of 10,087 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.