Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Add start executor #34

Merged
merged 2 commits into from
Jul 15, 2022
Merged

Add start executor #34

merged 2 commits into from
Jul 15, 2022

Conversation

domjtalbot
Copy link
Owner

Serves a GraphQL server with GraphQL interface based on your generated artifacts.

This is the equifilent of using graphql-mesh start.

"targets": {
  "start": {
    "executor": "@domjtalbot/nx-plugin-graphql-mesh:start",
    "options": {
      "dir": "path/to/app/or/lib",
    },
  },
}

Options

Name Type Required Default Description
debug boolean false false Display debugging info by applying the DEBUG env variable.
dir string true - The path of the directory containing the GraphQL Mesh config.
port number false 4000 The port number to run on.
require string[] false [] Loads specific require.extensions before running the codegen and reading the configuration.

Todo

  • Add start executor

@nx-cloud
Copy link

nx-cloud bot commented Jul 15, 2022

☁️ Nx Cloud Report

CI is running/has finished running commands for commit c0c20f0. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch


✅ Successfully ran 6 targets

Sent with 💌 from NxCloud.

@changeset-bot
Copy link

changeset-bot bot commented Jul 15, 2022

🦋 Changeset detected

Latest commit: c0c20f0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
nx-plugin-graphql-mesh Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@domjtalbot domjtalbot self-assigned this Jul 15, 2022
@domjtalbot domjtalbot added the feature Indicates new functionality label Jul 15, 2022
@domjtalbot domjtalbot linked an issue Jul 15, 2022 that may be closed by this pull request
@domjtalbot domjtalbot added this to the v1.0.0 milestone Jul 15, 2022
@domjtalbot domjtalbot merged commit c7c4a60 into main Jul 15, 2022
@domjtalbot domjtalbot deleted the feature/mesh-start branch July 15, 2022 19:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature Indicates new functionality
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Add support for mesh start
1 participant