Skip to content

Releases: enactjs/dev-utils

v1.0.1

26 Mar 17:46
Compare
Choose a tag to compare
  • SnapshotPlugin's mock window updated to catch modular event listeners added to document/window and forwarded at launch-time. Fixes React 16 support.
  • SnapshotPlugin will now output a helpful stack trace on exception.

v1.0.0

26 Mar 17:45
Compare
Choose a tag to compare
  • Added basic documentation.
  • Top-level exports are now loaded/parsed on-demand when accessed.
  • Support dynamic output path with framework mixin.
  • Remove unneeded main package detection.
  • Fix root package.json detection on Windows platform.
  • Fix iLib localedata/moonstone ResBundle detection on Windows platform.
  • Ensure moonstone ResBundle is correctly included when running tests within moonstone itself.
  • Improved source code formatting/validation via eslint-plugin-import along with eslint-plugin-prettier.

v0.5.0

10 Mar 18:22
Compare
Choose a tag to compare
  • Added a new plugin for webpack, EnzymeAdapterPlugin, which automates the Enzyme initialization of an adapter. Whenever an app imports/requires Enzyme, a small proxy will intervene and ensure the desired Enzyme adapter is configured and used. This allows easier Enzyme usage within karma-webpack, for example.
  • PrerenderPlugin inline script to initialize root fontSize now considers window height in addition to window width.
  • Deep linking support in a prerendered page will now default to empty content, inserting prerendered app HTML as needed.

v0.4.0

10 Mar 18:21
Compare
Choose a tag to compare
  • Unify PrerenderPlugin and LocaleHtmlPlugin into a single general-purpose plugin
  • Defaults to en-US locale but supports all the same locale option as LocaleHtmlPlugin (json files, literal objects, presets, etc.).
  • Locale preset json format updated to a more readable layout. For example:
{
	"locales": [
		"en-US",
		"es-ES",
		"fr-FR",
		"ko-KR",
		"zh-Hans-CN",
	]
}
  • Fixed webpack 3.x prerendering when using asynchronous chunks.
  • Fixed screentype detection when not using an identifiable theme like moonstone.
  • Fixed browserslist support when using Electron browser to auto-determine webpack should use electron-main environment.

v0.3.0

10 Mar 18:21
Compare
Choose a tag to compare
  • Added support for targetted builds using the BROWSERSLIST browser standard format.
  • Added core-js polyfill support to vdom rendering to allow for modern APIs.
  • Fixed loader detection from loader filepaths.
  • Changed default scope of browser support to ignore IE and IE Mobile.
  • Changed to generalized package.json requirements for greater flexibility and sharing or dependencies between packages.

v0.2.0

10 Mar 18:20
Compare
Choose a tag to compare
  • Added an option-parser module to parse and store the Enact build options from the package.json and to handle intertwined values and fallbacks to do with fontGenerator, screenTypes, ri, theme, target, etc.
  • Added support for a CommonJS font generator to generate localized font CSS (deprecating the previous global prerender hook).
  • Added support for dynamic replacement of main entrypoint to config-helper.
  • Updated package-root to now throw an error when no root is found.
  • Updated dependencies.

v0.1.0

10 Mar 18:19
Compare
Choose a tag to compare
  • Initial code migration from enact-dev