Updates
Created a new monorepo foreman-js using lerna with the following packages:
-
@theforeman/vendor-core@v0.1.0-alpha.1
- Contains the vendor
node_modules
in thepackage.json
- Exports:
-
https://github.com/sharvit/foreman-js/blob/master/packages/vendor-core/index.js
-
https://github.com/sharvit/foreman-js/blob/master/packages/vendor-core/lib/vendorModules.js
From this file we will generate the actual dist files, it will be used fromvendor
andvendor-dev
-
https://github.com/sharvit/foreman-js/blob/master/packages/vendor-core/lib/vendorModules.js
- https://github.com/sharvit/foreman-js/tree/master/packages/vendor-core/scss
-
https://github.com/sharvit/foreman-js/blob/master/packages/vendor-core/index.js
- Contains the vendor
-
@theforeman/vendor-dev@v0.1.0-alpha.1
- Includes
vendor-core
as dependency - Exports
- Includes
-
@theforeman/vendor@v0.1.0-alpha.1
- Includes
vendor-core
asdevDependency
- Exports
-
dist
folder withmanifest.json
and bundled js, css files - webpack-plugin: https://github.com/sharvit/foreman-js/blob/master/packages/vendor/webpack.plugin.js
- scss variables and mixins
-
- Includes
Created a new draft PR that integrates with @theforeman/vendor
and @theforeman/vendor-dev
: