1.2.0 • Published 2 months ago

remote-components-cli v1.2.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 months ago

Remote Components CLI

The Remote Components CLI is a command-line tool that allows you to publish remote components to a server. This tool simplifies the process of uploading JavaScript and CSS assets to a remote server for use in your frontend projects.

npm.io

Installation

You can install the Remote Components CLI globally using npm:

npm install -g remote-components-cli

Configuration

The remote-components.config.json file in your project's root folder should have the following structure:

{
  "url": "https://example.com",
  "authorization" : "Basic xyz"
}

Make sure to replace "https://example.com" with the actual URL of your remote server where you want to publish the components. The authorization field is not mandatory

Usage

To use the Remote Components CLI, follow these steps:

  1. Create a configuration file called remote-components.config.json in the root folder of your frontend project. This configuration file should contain the necessary settings, including the server URL and any other relevant parameters.
  2. Use the publish command to upload your assets to the remote server. You can run the following command:
remote-components-cli publish
  1. Follow the prompts to confirm and customize the upload process if required.
  2. Once the upload is complete, your remote components will be available on the specified server.
1.2.0

2 months ago

1.1.0

7 months ago

1.0.7

8 months ago

1.0.6

8 months ago

1.0.5

9 months ago

1.0.4

9 months ago

1.0.3

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago