
Product
Announcing Precomputed Reachability Analysis in Socket
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
@kintone/plugin-uploader
Advanced tools
A kintone plugin uploader using puppeteer
% npm install @kintone/plugin-uploader
% ./node_modules/.bin/kintone-plugin-uploader
--base-url ${yourKintoneBaseUrl} \
--username ${yourLoginName} \
--password ${yourPassword} \
${pluginZipPath}
or
% npm install -g @kintone/plugin-uploader
% kintone-plugin-uploader \
--base-url ${yourKintoneBaseUrl} \
--username ${yourLoginName} \
--password ${yourPassword} \
${pluginZipPath}
If you want to upload the plugin automatically when the plugin is updated, you can use --watch
option.
% kintone-plugin-uploader \
--base-url ${yourKintoneBaseUrl} \
--username ${yourLoginName} \
--password ${yourPassword} \
--watch \
${pluginZipPath}
It works fine with @kintone/plugin-packer.
You can create a project based on @kintone/plugin-packer
using @kintone/create-plugin :).
Usage
$ kintone-plugin-uploader <pluginPath>
Options
--base-url Base-url of your kintone
--username Login username
--password User's password
--proxy Proxy server
--basic-auth-username username for Basic Authentication
--basic-auth-password password for Basic Authentication
--watch Watch the changes of plugin zip and re-run
--waiting-dialog-ms The waiting time for showing the input dialog in milliseconds
--lang Using language (en or ja)
--puppeteer-ignore-default-args Ignore default arguments of puppeteer
You can set the values through environment variables
base-url: KINTONE_BASE_URL
username: KINTONE_USERNAME
password: KINTONE_PASSWORD
basic-auth-username: KINTONE_BASIC_AUTH_USERNAME
basic-auth-password: KINTONE_BASIC_AUTH_PASSWORD
proxy: HTTPS_PROXY or HTTP_PROXY
If you ommit the options, you can input the options interactively.
% kintone-plugin-uploader plugin.zip
? Input your username: hoge
? Input your password: [hidden]
? Input your kintone's base URL: https://example.cybozu.com
If you encounter an error with the following message while uploading a plugin, chrome group policies in Windows might cause it:
Error: Failed to launch the browser process!
TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md
The chrome group policy configured in Windows can enforce to install certain chrome extensions on browsers. The puppeteer fails to launch chrome when these policies are enabled. See puppeteer document for more detail.
To avoid this issue, the plugin-uploader provides the --puppeteer-ignore-default-args
option. Try to run plugin-uploader with the following option:
$ kintone-plugin-uploader \
....
--puppeteer-ignore-default-args="--disable-extensions"
MIT License
FAQs
A kintone plugin uploader using puppeteer
The npm package @kintone/plugin-uploader receives a total of 271 weekly downloads. As such, @kintone/plugin-uploader popularity was classified as not popular.
We found that @kintone/plugin-uploader demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Product
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.
Product
Add secure dependency scanning to Claude Desktop with Socket MCP, a one-click extension that keeps your coding conversations safe from malicious packages.