Find Node.js project metadata
Recipe ID
io.moderne.prethink.calm.FindNodeProjectMetadataArtifact
io.moderne.recipe:rewrite-prethinkExtract project metadata (name, version, description) from Node.js package.json files.
Usage
This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.
mod run . --recipe io.moderne.prethink.calm.FindNodeProjectMetadataIf the recipe isn’t available locally, install it with:
mod config recipes jar install io.moderne.recipe:rewrite-prethink:0.11.1Data tables
Structured output this recipe can produce.
- Project metadataProject-level identity and structure for each build module. Includes Maven GAV coordinates, display name, description, parent project lineage, and submodule count. Use this to understand what the project is, how it relates to parent projects, and whether it is a multi-module aggregator.
org.openrewrite.prethink.table.ProjectMetadata - Source files that had resultsSource files that were modified by the recipe run.
org.openrewrite.table.SourcesFileResults - Source files that had search resultsSearch results that were found during the recipe run.
org.openrewrite.table.SearchResults - Source files that errored on a recipeThe details of all errors produced by a recipe run.
org.openrewrite.table.SourcesFileErrors - Recipe performanceStatistics used in analyzing the performance of recipes.
org.openrewrite.table.RecipeRunStats