• Kyle Keating's avatar
    Add svg-icon to frontend-shared package · a6b77079
    Kyle Keating authored
    - Add babel presets for frontend-shared to transpile js/jsx
    - Add `build` script to transpile frontend-shared and output sourcemaps and transpiled js code to /lib
    - Add frontend-shared /src/index.js as a way to serve as a root import location for the frontend-shared lib
    - Fix up frontend-shared/package.json so publishing will work as expecting and include only intended files
    - Add a browserify config in the frontend-shared package.json file so that driving client will be able to bundle it and still import svg and html files that are nested inside /frontend-shared/src
    - Add svg-icon to serve as the first shared js component
    - Move several .svg files into the lib that are relaxant for testing svg-icon that also seem share-worthy
    - Make modifications to ensure that typechecking, linting, and testing all work as expected and ignore /lib folder
    - Change karma config so that tests will automatically run on /frontend-shared, driven from the client's gulp command
    - Added new gulp tasks to help with building and linking the frontend-shared package so that is it fully transparent with existing tooling
    - Add gulp-babel and gulp-sourcemaps packages to help with build tasks for /frontend-shared that are necessary for symlinking / building the package
    - Used new SvgIcon sidebar/index.js as a tester. This requires making two copies of registerIcons while we make the transition. Replacing all call sites of SvgIcon would be too large for an already overwhelming commit
    a6b77079
Name
Last commit
Last update
..
arrow-left.svg Loading commit data...
arrow-right.svg Loading commit data...
check.svg Loading commit data...