@episclera/multipack-executor-api
TypeScript icon, indicating that this package has built-in type declarations

1.9.2 • Public • Published

@episclera/multipack-executor-api

Multipack GraphQl executor api server. Part of multipack monorepo

Site | Getting Started | API | Blog

GitHub Multipack

Usage

Install: npm i -D @episclera/multipack-executor-api

And then we can start the executor GraphQl api server from CLI

NOTE: a path (preferable "Absolute") to the workspace root dir is required to be provided which the executor will use to work with (run commands, inspect, detect dependencies graph etc.).

If used as in the docs with 'multipack-cli open' comman then the path to the workspace root dir is provided by the multipack-cli because it can detect it because has acces dirrect to the main process and can detect the root cwd because the "multipack-cli open" command can be run only in the workspace root dir.

If a relative path will be provided the it will be joined with the path where the executor package is located (Basically this feature is needed only by Multipack contributors for development|testing purposes).

Production mode

multipack-executor-api start --path-to-workspace-root-dir /preferable-absolute/path/to/workspace/root/dir/to/work/with

Development mode

multipack-executor-api watch --path-to-workspace-root-dir /preferable-absolute/path/to/workspace/root/dir/to/work/with

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Or you can sponsor via Open Collective

Open Collective

Author

@episclera/multipack © Episclera, Released under the MIT License.
Authored and maintained by Episclera with help from contributors (list).

If you like this repository star⭐ and watch👀 on GitHub.

Readme

Keywords

Package Sidebar

Install

npm i @episclera/multipack-executor-api

Weekly Downloads

12

Version

1.9.2

License

MIT

Unpacked Size

32 kB

Total Files

20

Last publish

Collaborators

  • happy_hunter