@theforeman/vendor
foreman supported 3rd-party node_modules
Last updated 21 hours ago by sharvita .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @theforeman/vendor 
SYNC missed versions from official npm registry.

@theforeman/vendor

foreman supported 3rd-party node_modules

Package Version Downloads Status Build Status: Linux PRs Welcome code style: prettier

What you get with this project

Installation

npm install --save @theforeman/vendor

Add the ForemanVendorPlugin to your webpack plugins:

// webpack.config.js
const ForemanVendorPlugin = require('@theforeman/vendor');

module.exports = {
  entry: { ... },
  output: { ... },
  module: { ... },
  plugins: [
    new ForemanVendorPlugin({ mode: 'production' }),
    ...
  ],
};

ForemanVendorPlugin options

attribute default value description
mode production Can be set to development or production so the plugin will use the correct version of the provided 3rd-parties.

Stylesheets

@theforeman/vendor based on patternfly-react. It build the patternfly-react partials into the ./dist/foreman-vendor.bundle.css and provides their variables and mixins sets to reuse.

@import "~@theforeman/vendor/scss/variables";
@import "~@theforeman/vendor/scss/mixins";

Development enviorment

See @theforeman/vendor-dev for development installation.

Building

This project use webpack to produce development and production versions of bundled javascript and css files together with a manifest.json and a webpack-plugin to use by the consumer. To build them into the ./dist folder, run:

# build bundled production, development, webpack-plugin, scss and docs
npm run build
# build bundled production and development
npm run build:bundle
# build bundled  production
npm run build:bundle:prod
# build bundled  development
npm run build:bundle:dev
# build the webpack-plugin
npm run build:plugin
# build the scss files
npm run build:scss
# build docs
npm run build:docs
# build docs analyze html report
npm run build:docs:analyze
# build docs about scss
npm run build:docs:scss

Running npm run build will produce ./dist, ./scss and ./docs folders with the following files:

packages/vendor/dist
├── foreman-vendor.bundle-[version]-development-[hash].css
├── foreman-vendor.bundle-[version]-development-[hash].css.gz
├── foreman-vendor.bundle-[version]-development-[hash].css.map
├── foreman-vendor.bundle-[version]-development-[hash].css.map.gz
├── foreman-vendor.bundle-[version]-development-[hash].js
├── foreman-vendor.bundle-[version]-development-[hash].js.gz
├── foreman-vendor.bundle-[version]-development-[hash].js.map
├── foreman-vendor.bundle-[version]-development-[hash].js.map.gz
├── foreman-vendor.bundle-[version]-production-[hash].css
├── foreman-vendor.bundle-[version]-production-[hash].css.gz
├── foreman-vendor.bundle-[version]-production-[hash].css.map
├── foreman-vendor.bundle-[version]-production-[hash].css.map.gz
├── foreman-vendor.bundle-[version]-production-[hash].js
├── foreman-vendor.bundle-[version]-production-[hash].js.gz
├── foreman-vendor.bundle-[version]-production-[hash].js.map
├── foreman-vendor.bundle-[version]-production-[hash].js.map.gz
├── manifest.development.json
├── manifest.development.json.gz
├── manifest.production.json
├── manifest.production.json.gz
└── vendor-webpack-plugin.js

0 directories, 21 files

packages/vendor/docs
├── scss
│   ├── mixins.scss
│   └── variables.scss
├── stats.development.html
└── stats.production.html

1 directory, 4 files

packages/vendor/scss
├── mixins.scss
└── variables.scss

0 directories, 2 files

Code Linting

This project uses eslint with patternfly-react:recommended rules, to lint your code run:

npm run lint

Contributing

Please checkout the contributing.md, the roadmap.md and the open issues.

Current Tags

  • 4.13.1                                ...           latest (21 hours ago)

154 Versions

  • 4.13.1                                ...           21 hours ago
  • 4.13.0                                ...           a day ago
  • 4.12.0                                ...           6 days ago
  • 4.11.1                                ...           a month ago
  • 4.11.0                                ...           a month ago
  • 4.10.2                                ...           a month ago
  • 4.10.1                                ...           a month ago
  • 4.10.0                                ...           a month ago
  • 4.9.0                                ...           a month ago
  • 4.8.0                                ...           2 months ago
  • 4.7.1                                ...           2 months ago
  • 4.7.0                                ...           2 months ago
  • 4.6.0                                ...           2 months ago
  • 4.5.0                                ...           3 months ago
  • 4.4.0                                ...           3 months ago
  • 5.0.0 [deprecated]           ...           4 months ago
  • 4.3.0                                ...           4 months ago
  • 4.2.1                                ...           5 months ago
  • 4.2.0                                ...           5 months ago
  • 4.1.0                                ...           5 months ago
  • 4.0.9                                ...           5 months ago
  • 4.0.8                                ...           6 months ago
  • 4.0.7                                ...           6 months ago
  • 4.0.6-intl.0                                ...           6 months ago
  • 4.0.6-run-tests-locally.0                                ...           6 months ago
  • 4.0.6                                ...           6 months ago
  • 4.0.5                                ...           7 months ago
  • 4.0.4                                ...           7 months ago
  • 4.0.3                                ...           7 months ago
  • 4.0.2                                ...           7 months ago
  • 4.0.2-test-alpha.0.0                                ...           7 months ago
  • 4.0.1                                ...           7 months ago
  • 4.0.0                                ...           7 months ago
  • 3.10.2-test-jest.1                                ...           7 months ago
  • 3.12.1-intl.1                                ...           7 months ago
  • 3.12.1-intl.0                                ...           7 months ago
  • 3.12.0                                ...           7 months ago
  • 3.11.1                                ...           7 months ago
  • 3.11.0                                ...           7 months ago
  • 3.10.2-test-jest.0                                ...           7 months ago
  • 3.10.2-env-test.0                                ...           7 months ago
  • 3.9.4-test.1                                ...           7 months ago
  • 3.9.4-test.0                                ...           7 months ago
  • 3.10.1                                ...           7 months ago
  • 3.10.0                                ...           7 months ago
  • 3.9.4-test-utils.0                                ...           7 months ago
  • 3.9.4-env-test.13                                ...           7 months ago
  • 3.9.4-stories.6                                ...           7 months ago
  • 3.9.4-stories.5                                ...           7 months ago
  • 3.9.4-stories.4                                ...           7 months ago
  • 3.9.4-stories.3                                ...           7 months ago
  • 3.9.4-env-test.12                                ...           7 months ago
  • 3.9.4-stories.2                                ...           7 months ago
  • 3.9.4-env-test.11                                ...           7 months ago
  • 3.9.4-env-test.10                                ...           7 months ago
  • 3.9.4-env-test.9                                ...           7 months ago
  • 3.9.4-stories.1                                ...           7 months ago
  • 3.9.4-stories.0                                ...           7 months ago
  • 3.9.4-env-test.8                                ...           7 months ago
  • 3.9.4-env-test.7                                ...           7 months ago
  • 3.9.4-env-test.6                                ...           7 months ago
  • 3.9.4-env-test.5                                ...           7 months ago
  • 3.9.4-env-test.4                                ...           7 months ago
  • 3.9.4-env-test.3                                ...           7 months ago
  • 3.9.4-env-test.2                                ...           7 months ago
  • 3.9.4-env-test.1                                ...           7 months ago
  • 3.9.4-env-test.0                                ...           7 months ago
  • 3.9.3                                ...           7 months ago
  • 3.9.2                                ...           8 months ago
  • 3.9.1                                ...           8 months ago
  • 3.9.0                                ...           8 months ago
  • 3.8.2                                ...           8 months ago
  • 3.8.1                                ...           8 months ago
  • 3.8.0-intl.0                                ...           8 months ago
  • 3.8.1-intl.0                                ...           8 months ago
  • 3.9.0-intl.0                                ...           8 months ago
  • 3.9.0-alpha.0                                ...           8 months ago
  • 3.8.0                                ...           8 months ago
  • 3.7.2                                ...           8 months ago
  • 3.7.1                                ...           8 months ago
  • 3.7.1-intl.0                                ...           8 months ago
  • 3.7.0                                ...           8 months ago
  • 3.6.4                                ...           8 months ago
  • 3.6.3                                ...           8 months ago
  • 3.6.2                                ...           8 months ago
  • 3.6.1                                ...           8 months ago
  • 3.6.0                                ...           8 months ago
  • 3.5.2                                ...           8 months ago
  • 3.5.1                                ...           8 months ago
  • 3.5.0                                ...           8 months ago
  • 3.4.0                                ...           8 months ago
  • 3.3.2                                ...           8 months ago
  • 3.3.1                                ...           8 months ago
  • 3.3.0                                ...           8 months ago
  • 3.2.2                                ...           8 months ago
  • 3.2.1                                ...           8 months ago
  • 3.2.0                                ...           8 months ago
  • 3.1.1                                ...           9 months ago
  • 3.1.0                                ...           9 months ago
  • 3.0.0                                ...           9 months ago
  • 2.15.7                                ...           10 months ago
  • 2.15.6                                ...           10 months ago
  • 2.15.5                                ...           10 months ago
  • 2.15.4                                ...           10 months ago
  • 2.15.3                                ...           10 months ago
  • 2.15.2                                ...           10 months ago
  • 2.15.1                                ...           10 months ago
  • 2.15.0                                ...           10 months ago
  • 2.14.4                                ...           10 months ago
  • 2.14.3                                ...           10 months ago
  • 2.14.2                                ...           10 months ago
  • 2.14.1                                ...           10 months ago
  • 2.14.0                                ...           10 months ago
  • 2.0.1                                ...           10 months ago
  • 2.0.0                                ...           10 months ago
  • 1.7.0                                ...           10 months ago
  • 1.6.0                                ...           a year ago
  • 1.5.0                                ...           a year ago
  • 1.4.1                                ...           a year ago
  • 1.4.1-update-redux.0                                ...           a year ago
  • 1.4.0                                ...           a year ago
  • 1.3.1                                ...           a year ago
  • 1.3.0                                ...           a year ago
  • 1.2.3                                ...           a year ago
  • 1.2.2                                ...           a year ago
  • 1.2.1                                ...           a year ago
  • 1.1.8                                ...           a year ago
  • 1.1.7                                ...           a year ago
  • 0.4.0                                ...           a year ago
  • 0.3.0                                ...           a year ago
  • 1.0.0-formik.0                                ...           a year ago
  • 0.2.0                                ...           a year ago
  • 0.1.1                                ...           a year ago
  • 0.1.0                                ...           a year ago
  • 0.1.0-alpha.11                                ...           a year ago
  • 0.1.0-alpha.10                                ...           a year ago
  • 0.1.0-alpha.9                                ...           a year ago
  • 0.1.0-alpha.8                                ...           a year ago
  • 0.1.0-alpha.7                                ...           a year ago
  • 0.1.0-alpha.6                                ...           a year ago
  • 0.1.0-alpha.5                                ...           a year ago
  • 0.1.0-alpha.4                                ...           a year ago
  • 0.1.0-alpha.2                                ...           a year ago
  • 0.1.0-alpha.1                                ...           a year ago
  • 0.1.0-alpha.0                                ...           a year ago
  • 0.1.0-beta.6                                ...           a year ago
  • 0.1.0-beta.5                                ...           a year ago
  • 0.1.0-beta.4                                ...           a year ago
  • 0.1.0-beta.3                                ...           a year ago
  • 0.1.0-beta.2                                ...           a year ago
  • 0.1.0-beta.1                                ...           a year ago
  • 0.1.0-beta.0                                ...           a year ago
  • 0.0.2                                ...           a year ago
  • 0.0.1                                ...           a year ago
Maintainers (2)
Downloads
Today 3
This Week 3
This Month 33
Last Day 30
Last Week 30
Last Month 60
Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |