Exclude build artifacts from package via gitignore #7
Description
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
aspostinstall
- Add
build/
to.gitignore
and remove build artifcats