Releases: enactjs/cli
Releases · enactjs/cli
v1.0.3
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-
andtemplate-
prefix.
transpile
- Ensure development helper transpile plugins are not applied to standalone ES5 transpile operations.
v1.0.2
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
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
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 projectpackage.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
enactpackage.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 withpackage.json
, with support fortheme
preset values that simplify setup of for given Enact GUI theme libraries. - Allow
electron-renderer
webpack target to supportbrowser
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 asV8_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
andwebworker
.
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
v0.9.7
v0.9.6
v0.9.5
- 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
v0.9.2
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 theenact
object in thepackage.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 theenact
object in thepackage.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.