Skip to content
This repository was archived by the owner on Dec 2, 2021. It is now read-only.
This repository was archived by the owner on Dec 2, 2021. It is now read-only.

Exclude build artifacts from package via gitignore #7

Open
@kwasi

Description

@kwasi

Background

As of now I haven't gotten kubeflow/frontend to build successfully in both kubeflow/metadata and kubeflow/pipelines without running into conflicts with the way they both enforce TS config and style rules.

kubeflow/pipelines uses react-scripts-ts
kubeflow/frontend uses reacts-scripts vanilla

These are the ts configs:

https://github.com/kubeflow/metadata/blob/master/frontend/tsconfig.json
https://github.com/kubeflow/pipelines/blob/master/frontend/tsconfig.json

These config files are enforced by react-scripts-ts:

https://github.com/kubeflow/pipelines/blob/master/frontend/tsconfig.prod.json
https://github.com/kubeflow/pipelines/blob/master/frontend/tsconfig.test.json

Problem

This repo includes checked in ES5 code and points instead of compiling as a postinstall step.

Workaound

NOTE: You have to run npm build after making changes in order for the changes to be reflected in dependent repos. npm run build:watch will allow changes to be reflected during development.

Fix Tasks:

  • Update this issue with an output of the build conflict
  • Unify kubeflow/frontend and kubeflow/pipelines TS Config and TS Lint rules so they aren't in conflict.
  • Run npm build as postinstall
  • Add build/ to .gitignore and remove build artifcats

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions