Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

webpack-defaults

webpack-contrib3.8kMIT4.0.0

Project configuration and boilerplate defaults for webpack projects

webpack

readme

npm node deps tests chat size

webpack-defaults

Project configuration and boilerplate defaults for webpack projects

Getting Started

To begin, you'll need to install webpack-defaults:

$ npm install @webpack-contrib/defaults --save-dev

After install a defaults NPM script will be written to the local package.json. To sync a project with webpack-defaults, simply run:

npm run defaults

Contributing

Please take a moment to read our contributing guidelines if you haven't yet done so.

CONTRIBUTING

License

MIT

changelog

Change Log

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

4.0.0 (2019-04-26)

Features

BREAKING CHANGES

  • now we use azure-pipelines for CI

3.1.2 (2019-04-23)

Bug Fixes

  • replace prepublish npm script with prepare

3.1.1 (2019-03-28)

Bug Fixes

  • remove [@babel](https://github.com/babel)/polyfill due problem with corejs@2 (4ee960b)

3.1.0 (2019-03-18)

Bug Fixes

Features

3.0.5 (2018-12-22)

Bug Fixes

3.0.3 (2018-12-21)

Bug Fixes

  • increase nodejs version for canary builds (#157) (0a93c3c)

3.0.2 (2018-12-20)

Bug Fixes

3.0.1 (2018-12-12)

Bug Fixes

  • change job order for appveyor (from low to high nodejs version)
  • use node@6 for canary testing on CircleCI
  • use @webpack-contrib/defaults in package (bb43bdf)

3.0.0 (2018-12-12)

Bug Fixes

  • typo in security command (scripts) (#148) (7df6f45)
  • ignore IntelliJ IDEA files (*.iml) (#146) (565c814)
  • husky hooks setup (#142) (cd50463)
  • switch from webpack-defaults to [@webpack-contrib](https://github.com/webpack-contrib)/defaults (#147) (29a7013)
  • bin field problem (91f54d2)
  • remove commitlint from templates (f96786f)

Features

  • new pull request template (#140) (4fcadf5)
  • update deps and required configuration

BREAKING CHANGE

  • switch to babel@7

2.6.0 (2018-09-05)

Bug Fixes

  • use schema-utils instead @webpack-contrib/schema-utils to validate options (#128) (63644e1)
  • skip canary tests on appveyor when it is not required (f97c678)
  • correct link in README on CONTRIBUTING.md and LICENSE (3307b05)

Features

  • add issues templates (bug, docs, feature, modification, support) (9a97478)
  • add npm size badge to README (a094e1f)
  • add and use node@10 for appveyor and CircleCI (f97c678)
  • use npm audit instead nsp (42e14e3)
  • use npm ci where it is possible (42e14e3)
  • enable cache for appveyor

Internal

  • remove codecov config file, default configuration is enough (9f4f9fc
  • simplify CircleCI config (42e14e3)

2.3.0 (2018-04-03)

Features

  • templates: add contributing guidelines (#109) (43a2114)

2.2.1 (2018-04-03)

Bug Fixes

  • package: Tighten engines version to disclude dev majors (46021cb)

2.2.0 (2018-04-02)

Features

  • circle: Add dist-tag version check to canary suite (c64fae7)

2.1.5 (2018-04-02)

Bug Fixes

2.1.4 (2018-04-01)

Bug Fixes

  • package: Use proper Node engines range (c4b066d)

2.1.3 (2018-04-01)

Bug Fixes

  • add keywords to package, replace name in issue template (#105) (c5bed3c)

2.1.2 (2018-04-01)

Code Refactoring

  • Readme: update readme with modern style and convention (#100) (a300517)

  • npmjs.org now left-aligns all content except images by default; aligns section headers left

  • removes maintainers section: rarely kept up to date across the org
  • simplifies the Examples section, replaces lorem with [ placeholder ]
  • adds License section to point to LICENSE file for convenience
  • refactors the Options sections with simpler layout and easier to read modern convention
  • adds package name header
  • moves badges below the webpack logo
  • uses github asset for webpack logo
  • adds Requirements section
  • replaces Usage with Getting Started and friendly text, direction
  • removed unnecessary multiple, copied Examples and Options

2.1.1 (2018-03-28)

Bug Fixes

2.1.0 (2018-03-28)

Features

  • dotfile: add .editorconfig to templates (#96) (8e43fd4)

2.0.0 (2018-03-26)

Code Refactoring

Features

BREAKING CHANGES

  • Drops support for NodeJS 4.x

refactor: Use non-deprecated config type

  • Moves to non-deprecated eslint config format

refactor: Prettier integration

  • Leverages Prettier to manage code style
  • Migrates to eslint-config-webpack 2.x ( Prettier support)
  • Updates code style per the above
  • Adds .prettierrc to enforce development configs
    • Implements Prettier & modifies suported Eslint configuration that transfers applicable rule responsibility to Prettier

feat: Adds testing boilerplate

  • Adds contrib standard testing config

feat: Adds schema enforcement

  • Installs schema utils dependency
  • Creates options.json template
  • Updates build script to accommodate options.json

ci: Migrates to CircleCI 2.0 & custom build containers

  • Migrates to CircleCI & a full continuous delivery workflow
    • Drops TravisCI in favor of CircleCI 2.0
    • Drops support for Webpack 2.x & adds 4.x support
    • Enforces existing commit message format in pre-commit as it's required for release automation

2.0.0-rc.4 (2017-12-22)

Bug Fixes

  • Post install set script incorrect (214b4e5)

Features

  • Adds vscode Jest debug configuration (f05533b)

2.0.0-rc.3 (2017-12-21)

Bug Fixes

  • Set correct script on post-install (79f71f2)

2.0.0-rc.2 (2017-12-20)

Bug Fixes

  • templates: Generate cache from lock file (e0bad7c)

2.0.0-rc.1 (2017-12-20)

Bug Fixes

  • templates: Fix test generation condition (fcb49e2)

2.0.0-rc.0 (2017-12-19)

Bug Fixes

  • Update demo options property (36d7e09)

2.0.0-beta.1 (2017-12-15)

Bug Fixes

Features

2.0.0-beta.0 (2017-12-15)

Bug Fixes

  • Do no initialize test example if directory exists (f4bcc3e)

2.0.0-alpha.2 (2017-12-15)

Bug Fixes

  • Limit branch validation range (ed5e000)
  • Limit commit linting range (2896b57)

2.0.0-alpha.1 (2017-12-15)

Bug Fixes

  • incorrect eslint config name (8258ad5)
  • Readme template badge file extension (ead2b33)
  • Run coverage in CircleCI (05d122a)
  • Update readme template with CircleCI badge (d1bb56e)

Features

  • Adds commit lint configuration (14ac5ac)

2.0.0-alpha.0 (2017-12-15)

  • refactor: Prettier & CircleCI initial conversion (#86) (c64d846), closes #86

Bug Fixes

  • Add eslintrc to files array (ac33c43)
  • Remove appveyor template from config (ca86566)

Features

BREAKING CHANGES

  • Drops support for NodeJS 4.x
  • Implements Prettier & modifies suported Eslint configuration that transfers applicable rule responsibility to Prettier
  • Drops TravisCI in favor of CircleCI 2.0
  • Drops support for Webpack 2.x
  • Enforces existing commit message format in pre-commit as it's required for release automation

1.6.0 (2017-09-30)

Features

  • update minimum required node.js version to 4.8 for travis CI (#82) (ff4faf7)

1.5.1 (2017-08-25)

Bug Fixes

  • appveyor: always use latest npm (#81) (722b093)

1.5.0 (2017-07-06)

Bug Fixes

  • Include was using the deprecated nodejs key (#70) (197df50)

Features

  • add webpack as a devDependency (#76) (bc8a415)

1.4.0 (2017-06-10)

Features

  • Implement Travis stages (#69) (841b9c4)

1.3.0 (2017-06-09)

Bug Fixes

  • Adds missing appveyor task in config (3bf7e89)

Features

  • Enforce peerDependencies via defaults (#64) (4374571)

1.2.0 (2017-06-08)

Bug Fixes

  • release script should not exec npm run (#61) (542996c)

Features

  • Adds appveyor build file (#55) (b0f5110)

1.1.1 (2017-06-07)

Bug Fixes

  • Uses serial exectuion for Jest in Travis (#60) (896855e)

1.1.0 (2017-06-06)

Features

1.0.1 (2017-05-27)

1.0.0 (2017-05-22)

Chores

  • package: Update to Jest 20 (#52) (5ec728b)

BREAKING CHANGES

  • package: Jest v20.0.0 introduce several breaking changes the most notable is a move to a custom ( rewritten ) version of Jasmine 2.5. This is known to effect at minimum, the test suite for css-loader/new-loader's parse.test.js

  • Forked Jasmine 2.5 into Jest's own test runner and rewrote large parts of Jasmine.

  • Jest does not write new snapshots by default on CI.
  • Moved the typescript parser from jest-editor-support into a separate jest-test-typescript-parser package.
  • Replaced auto-loading of babel-polyfill with only regenerator-runtime, fixes a major memory leak.

See Jest v20.0.0 Changelog and migration paths.

0.4.7 (2017-05-22)

Bug Fixes

  • babelrc: Preset node target should be a string (#53) (2d00bc1)

0.4.6 (2017-04-29)

Bug Fixes

  • .babelrc: enable modules (e9694cb)
  • src/tasks/babel: enable modules (f85ac12)
  • src/tasks/package: disable sourcemaps in build script (7ea294b)
  • add missing cjs.js to filesOnce (522205f)
  • comment issue template (50065fb)

0.4.5 (2017-03-29)

Bug Fixes

  • add missing cjs.js to filesOnce (a52507a)

0.4.4 (2017-03-21)

Bug Fixes

  • src/tasks/babel: enable modules (931f764)
  • src/tasks/package: disable sourcemaps in build script (47917b5)

0.4.3 (2017-03-21)

Bug Fixes

  • .babelrc: enable modules (f4ac207)

0.4.2 (2017-03-16)

Bug Fixes

  • babel: Adds object-rest-spread to env (2d0f980)

0.4.1 (2017-03-15)

Bug Fixes

0.4.0 (2017-03-15)

Features

0.3.0 (2017-03-15)

Bug Fixes

  • overwrite .eslintrc (0806980)
  • target cjs.js in package template main prop (d567b6d)

Features

  • add commonjs proxy for es modules (c770665)

0.2.1 (2017-03-06)

Refactor

  • package: removes all bithound references (a2bb8ec)

0.2.0 (2017-03-06)

Bug Fixes

  • package: target proper security script (18f6fd8)
  • update package.json in user’s package folder, not in webpack-default’s (4e4a396)
  • use mrm to update package.json, get rid of special check for webpack-defaults itself (e2ed441)

Features

  • incorporate standard-version (519123a)
  • babel: convert to babel-preset-env (99b4db5)

0.1.1 (2017-03-05)

Bug Fixes

  • Allow Node 4 at engines (4ccb8f2)

0.1.0 (2017-03-05)

Bug Fixes

  • templates: publish GitHub templates templates to npm (8897219)
  • templates: use sync version of cp-file (46c94bd)
  • travis: overwrite matrix.include instead of appending new values (5310ebf)
  • add prepublish script (09aa855)
  • do not overwrite change log, add template (7c75f2b)
  • README → README.md (d11693a)
  • try to wrap avatar in a link (617b280)
  • tweak lint-staged command (6afb2b8)
  • update logo (ab6d261)
  • wrap avatars in links (dc33381)

Features