Skip to content

Releases: enactjs/cli

v1.0.3

10 Aug 16:18
Compare
Choose a tag to compare

pack

  • Fixed memory leak during prerendering in isomorphic builds, where babel-polyfill would be loaded and disrupt the global Node scope.

template

  • Default autodetection naming scheme will now filter out enact-template- and template- prefix.

transpile

  • Ensure development helper transpile plugins are not applied to standalone ES5 transpile operations.

v1.0.2

10 Aug 16:18
Compare
Choose a tag to compare

Updated resolution-independence plugin dependency with fixed support Less 3.x.
Updated @enact/dev-utils dependency with fixes for resolution-independence configuration autodetection and React16-based framework builds.

v1.0.1

26 Mar 18:13
Compare
Choose a tag to compare

pack

  • Updated @enact/dev-utils fixing React 16 issues with v8 snapshot support.

template

  • Fixed automatic name detection for NPM packages when using version/tag specifiers.

lint

  • Added --framework temporary alias for --strict to fix build systems while they update to current syntax.

v1.0.0

16 Mar 15:53
Compare
Choose a tag to compare

Dependency updates for most components.
Moved all plugins, mixins, and utility functions into @enact/dev-utils package.
Refactored all commands to support Promise-based API access for potential integration with 3rd party build systems.
Enact CLI source code now updated for eslint-plugin-import and prettier formatting.

create

  • Default moonstone template updated for latest Enact 1.x/React 15.x dependencies.
  • Updated to support customized templates via -t/--templates option.
  • Refactored creation handling to be general purpose and support dynamic templates modifying the execution.

link

  • Only link @enact-scoped dependencies found within the project package.json rather than all globally linked @enact-scoped packages.

transpile

  • Added support for -i/--ignore regex string to ignore filepathes when transpiling/copying.

pack

  • Added support for targeted builds. Can be set via a target enact package.json property or via Browserslist format.
  • Added support for Electron build target.
  • Switched to use @babel/preset-env and @babel/polyfill for on-demand transpiling/polyfilling to targetted build platforms.
  • Production mode build uses uglifyjs-webpack-plugin to support ES6-based minification (until the upgrade to webpack 4)
  • Dynamic handling of the enact options with package.json, with support for theme preset values that simplify setup of for given Enact GUI theme libraries.
  • Allow electron-renderer webpack target to support browser as a main field.
  • Isomorphic builds now build en-US locale by default. Switched -l/--locales as a public option, allowing specifying of locale-lists for prerendering.
  • Switched -s/--snapshot as a public option. Creates a v8 snapshot blob from the app bundle (provided mksnapshot binary is provided as V8_MKSNAPSHOT environment variable).
  • Updated to Webpack 3.x support.
  • Updated to Babel 7.x beta support.

serve

  • Allows attempted serving on all webpack targets other that node, async-node and webworker.

test

  • Fixed testing support for Windows when using modules that accessed @enact/i18n.

template

  • Full template management support. See the docs for more details.
  • Templates can be sourced from git URIs, npm packages, or local directories.
  • Able to install, link, remove, list templates.
  • Able to set templates as default when using enact create.
  • Templates can be static or dynamic generators, optionally hooking into the enact create execution.

lint

  • Added a --fix option to automatically attempt to have eslint fix linting errors.

license

  • Updated to include @babel/polyfill and @babel/core licenses in project scanning.

v0.9.8

10 Mar 18:37
Compare
Choose a tag to compare

Updated all links for enactjs github organization and fixed a broken docs link.

serve

  • Restored usage of extract-text-webpack-plugin with updated Webpack 3.6.0.

v0.9.7

10 Mar 18:35
Compare
Choose a tag to compare
  • Updated copyright and license information for 2018 year.
  • Minor updates to documentation phrasing.
  • Fixed root-level -h/--help overriding command-level help information.

v0.9.6

10 Mar 18:35
Compare
Choose a tag to compare
  • Renamed from enact-dev to @enact/cli for consistency, along with updated documentation.

v0.9.5

10 Mar 18:34
Compare
Choose a tag to compare
  • Locked down dependencies to avoid potential regressions in patch updates to dependencies (as was the case with 2.0.8 karma-webpack).

v0.9.4

10 Mar 18:34
Compare
Choose a tag to compare

pack

  • Improved prerender base font detection on irregular screens.
  • Deep linking now injects prerendered app HTML dynamically, rather than removing prerendered HTML nodes.

v0.9.2

10 Mar 18:33
Compare
Choose a tag to compare

create

  • Template updated for Enact 1.8.0.

transpile

  • Fixed ES6 module format not being transpiled to CommonJS standard.

pack

  • Improved support for screenTypes within the enact object in the package.json. Can now be:
    • Array of screen literal values (empty array fo no screen types to pass)
    • String filepath to a local project json file
    • String path to a dependency module json file
    • Undefined/falsey to fallback to default Moonstone
  • Added support for deep option within the enact object in the package.json. It represents 1 or more javascript conditions that, when met, indicate the page load was originating from an external deep link, and the prerender should not be shown (as the initial state of the window will not be the prerendered content). This can be a string or a string array.