1.0.11 • Published 7 years ago

automate-chrome-extension-update v1.0.11

Weekly downloads
38
License
SEE LICENSE
Repository
github
Last release
7 years ago

automate-chrome-extension-update

Automate Chrome Extension Update Workflow

Node 7 is required

More Information on "CLIENT_ID" AND "APP_ID" https://developer.chrome.com/webstore/using_webstore_api

For the first time please create extension.json with following keys

{ "CLIENT_ID": "<CLIENT_ID>", "APP_ID": "<APP_ID>" }

APP_ID

Your extension id, it is generated after the the extension is published to the store. This can be obtained from the url of the extension

CLIENT_ID

  • Go to https://console.developers.google.com/apis/credentials
  • Select Your Project
  • Please make sure Chrome Store API Service is enabled (Library Tab on the left)
  • Create credentials (In Credentials Tab) -> OAuth Client ID -> Application Type: Other
  • There are "CLIENT_ID" and "CLIENT_SECRET"

and run 'node <command.js>'

Preparing commands

updateCode.js

Get the link in the console then open the browser, copy the code and paste into the console

updateToken.js

Automated request the token

Operation commands

These operations require code and token are ready ...

getUploadStatus.js

Simply request the status of the extension

updatePackage.js PATH-TO-ZIP-FILE

The parameter is the absolute path to the zip file to update

Tip

Please see https://github.com/phonglk/chrome-extension-webpack-boilerplate on how to integrate to project

1.0.11

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago