Skip to content

Invalid package.json file in airflow/www #25007

Closed

Description

@tm-drtina

Apache Airflow version

2.3.3 (latest released)

What happened

According to npm docs fields name and version are required in package.json, but are not present in airflow/www/package.json
See: https://docs.npmjs.com/creating-a-package-json-file#required-name-and-version-fields

This can confuse some build tools, but also is just in incorrect format.

What you think should happen instead

The fields name and version should be defined even if they contain just dummy values - we don't need real values since the package is not published in npm registry.

How to reproduce

No response

Operating System

N/A

Versions of Apache Airflow Providers

No response

Deployment

Other

Deployment details

No response

Anything else

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Activity

  1. added
    area:UIRelated to UI/UX. For Frontend Developers.
    and removed on Jul 13, 2022
  2. bbovenzi commented on Jul 13, 2022

    @bbovenzi
    Contributor

    @tm-drtina Good call. Feel free to open a PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:UIRelated to UI/UX. For Frontend Developers.kind:bugThis is a clearly a bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions