Skip to content

php(install): install tools needed for running prettier via npm exec #6830

Description

@zhumin8

PHP runs a custom post-processing via synthtool, it runs prettier via npm exec to format the generated clients.
In addition to synthtool dependency (reuse install from python, adding to librarian.yaml in #6826), we need to install @prettier/plugin-php

Activity

  1. zhumin8 commented on Jul 15, 2026

    @zhumin8
    ContributorAuthor

    remaining work is just to add to install

    	if len(tools.PNPM) > 0 {
    		if err := nodejs.Install(ctx, tools); err != nil {
    			return fmt.Errorf("failed to install pnpm tools: %w", err)
    		}
    	}
    
  2. self-assigned this
    on Jul 15, 2026
  3. added a commit that references this issue on Jul 15, 2026
    192e469
  4. added a commit that references this issue on Jul 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions