Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@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
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 0 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.