Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including @auto-it/chrome with all npm packages installed. Try it out:

var chrome = require("@auto-it/chrome")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@auto-it/chrome v9.53.1

Chrome publishing plugin for auto

Chrome Web Store

This plugin allows you to automate the publishing of chrome extensions

Example Repo: here

Prerequisites

To publish to the chrome web store you will need the following secrets set in your environment. See here for a guide one how to get these values.

  • CLIENT_ID
  • CLIENT_SECRET
  • REFRESH_TOKEN

Installation

This plugin is not included with the auto CLI installed via NPM. To install:

npm i --save-dev @auto-it/chrome
# or
yarn add -D @auto-it/chrome

WARNING: You can only use one "package manager" at a time! Mixing them will lead to undesired results.

Usage

You must first pack/zip your plugin before running auto.

These environment variables tell auto what to publish.

  • EXTENSION_ID - your chrome extensions unique ID (REQUIRED)
  • EXTENSION_BUILD - Path to either a zip file, or a directory to be zip. defaults to extension.zip

Or you can set these values in the autorc:

{
  "plugins": [
    [
      "chrome",
      {
        "id": "1234",
        "build": "path/to/zip/or/folder",
        "manifest": "path/tp/manifest.json"
      }
    ]
  ]
}

:warning: You must have a manifest.json for this plugin to work.

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free