microsoft / design-to-code

A system of development tools, and utilities used à la carte or as a suite to build enterprise-grade websites and applications.
MIT License
24 stars 6 forks source link

Add tooling packages from the FAST repository #83

Closed janechu closed 3 years ago

janechu commented 3 years ago

Pull Request

📖 Description

This pull request adds the @microsoft/fast-tooling, @microsoft/fast-tooling-react, and @microsoft/fast-tooling-wasm packages to the repository using NPM 7 workspaces.

This should allow:

👩‍💻 Reviewer Notes

Pull down the repository, use npm i or npm install to install dependencies, then use npm run test at the root and npm start in the fast-tooling and fast-tooling-react packages.

Keep in mind that the requirements for this repository are now NPM 7 and NodeJS 16, ensure these are both installed.

✅ Checklist

General

EisenbergEffect commented 3 years ago

Is there any way we can get rid of Babel?

janechu commented 3 years ago

@EisenbergEffect I was able to remove babel from @microsoft/fast-tooling however it's needed in @microsoft/fast-tooling-react because jest needs it for transforms, ts-jest will convert from .ts and .tsx to .js and .jsx respectively, but babel-jest is needed to further convert the .jsx and esm .js for jest consumption.

EisenbergEffect commented 3 years ago

Jest. Sigh. Ok 😭 Maybe we'll get around to addressing that some day but yeah let's not worry about it for now. Thanks Jane!