@patternslib/dev
Advanced tools
Changelog
3.1.0 (2022-11-15)
Adding the compiled bundle to npm allows to directly include it via a CDN like so:
https://cdn.jsdelivr.net/npm/@patternslib/patternslib@9.7.0-alpha.2/dist/bundle.min.js or https://unpkg.com/@patternslib/patternslib@9.7.0-alpha.2/dist/bundle.min.js
We have to compile the bundle with the correct version BEFORE the npm package is created with release-it. The next version is queried using the LEVEL parameter (set by the different release targets) and the "semver" tool.
Changelog
3.0.0 (2022-10-15)
Build: Remove the showdown-prettify loading config and the now unused imports-loader. (27ba90f)
Tests: Remove dependency on jQuery. (259d801)Use the following in your test setup to provide jQuery to external libraries if they depend on a global jQuery object or extend from the jest config from @patternslib/patternslib:
import jquery from "jquery";
global.$ = global.jQuery = jquery;
Changelog
2.5.0 (2022-08-19)
Changelog
2.4.0 (2022-08-11)
Webpack: Add bundle name and version to the banner. (1058b6d)For this, you have to pass your project's package.json as argument to the webpack config factory. Both values - name and version - are taken from the package.json data.
Webpack: Add config export with named parameters. (f7b2471)Add config export along with the default export to support named parameters via parameter destructuring.
Changelog
2.3.0 (2022-07-07)