0.4.8 • Published 8 months ago

@openrewrite/rewrite-remote v0.4.8

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
8 months ago

@openrewrite/rewrite-remote

Overview

@openrewrite/rewrite-remote is a package designed to provide remote services for working with OpenRewrite. This package serves as a server-side module that exposes the capabilities of OpenRewrite remotely. Example:

sequenceDiagram
    participant Client as Java client
    participant Server as Language Specific Remote Server

    Client->>Server: Connect to server
    Server-->>Client: Acknowledge connection

    Client->>Server: Send command (e.g., hello)
    Server->>Server: Process command
    Server-->>Client: Send response (e.g., OK)

    Client->>Server: Send command (e.g., load-recipe)
    Server->>Server: Process command
    Server-->>Client: Send response (e.g., recipe loaded)

    Client->>Server: Send command (e.g., run-recipe-visitor)
    Server->>Server: Process command
    Server-->>Client: Send response (e.g., visitor result)

    Client->>Server: Disconnect
    Server-->>Client: Acknowledge disconnection

Installation

To install the package, use npm:

npm install @openrewrite/rewrite-remote

Usage

Building the project

One time build:

npm run build

Build when files change:

npm run dev

Starting the server run:

npm run start-server

Running the tests

npm run test
0.4.8

8 months ago

0.4.7

8 months ago

0.4.4

8 months ago

0.4.6

8 months ago

0.4.1

8 months ago

0.4.3

8 months ago

0.4.2

8 months ago

0.4.0

8 months ago

0.3.10

8 months ago

0.3.9

9 months ago

0.3.8

9 months ago

0.3.6

9 months ago

0.3.5

9 months ago

0.3.4

9 months ago

0.3.3

9 months ago

0.3.2

9 months ago

0.3.1

9 months ago

0.3.0

9 months ago