Releases: enactjs/cli
Releases · enactjs/cli
v2.8.1
v2.8.0
pack
- Preserves symlink path names when copying files to output.
- Updated CLI dependency of
react
andreact-dom
to 16.13.1.
serve
- Added support for custom webpack-dev-server middleware and proxy settings via an option app-side
./src/proxySetup.js
file.
test
- Updated CLI dependency of
react-test-renderer
to 16.13.1.
v2.7.1
v2.7.0
bootstrap
- Added option
-b
/--base
, enabled by default, which will enable bootstrapping on the root package. - Added option
-s
/--sampler
, enabled by default, which will enable bootstrapping on a relative sampler package (./samples/sampler
). - Added option
-a
/--allsamples
, disabled by default, which will enable bootstrapping on all detected sample packages (all packages within./samples
). - Added option
-l
/--link
, enabled by default, which will executeenact link
after NPM installing a package, as part of the bootstrap process. - Fixed a bug where symlinks in theme packages could be overridden during sampler install, on certain versions of NPM.
pack
- Fixed theme feature detection on local theme files (eg. when a local ThemeDecorator is present)
- Fixed bug with
--framework
option with regards to erroneously including unneeded or invalid iLib dependencies and test files.
clean
- Added support for a
-a
/--all
flag which will deletenode_modules
in addition to dist/build files. - Expanded cleaning support to handle cleaning dist/build files within screenshot and ui test directories.
v2.6.0
Added new bootstrap
command, which will act as a simplified shortcut to npm install
and enact link
a project, and the subsequently for every child project optionally within ./samples
, also run npm install
and enact link
. This is useful for theme repos like moonstone and sandstone. If a project already has a npm run bootstrap
, that will be executed instead of installing/linking, to allow compatibility with lerna monorepos.
pack
- Fixed framework builds to properly include iLib source modules.
lint
- Updated Enact ESLint config and plugin for ES2018 support and improved support for Enact prop-types.
- Fixed issue where target file detection was falsly including node_modules in child directories.
test
- Fixed situations with hooks where multiple copies of React could be loaded at once.
- Narrowed testing scope to ignore
./docs
,./samples
,./tests/screenshot
and./tests/ui
directories.
transpile
- Narrowed transpiling scope to ignore
./docs
,./samples
and./tests
directories.
v2.5.1
v2.5.0
pack
- Redesigned
option-parser
with encapsulated theme option support and environment variable overriding. - Fixed V8 snapshot failure when attempting to polyfill
<TypedArray>.toLocaleString
, butInt8Array.prototype.toLocaleString
already exists. - Fixed bug where undefined
ri
values would result inInfinity
pixel values.
test
- Added mock support for
<Element>.animate
. - Added support for theme-based iLib resbundle resource paths.
- Fixed
.env
files not being processed and loaded intoprocess.env
.
template
- Added support for
type
template property (used during project creation messages ifprepare
is not overriden). Defaults to'app'
. - Fixed bug where template function parameters
defaultGenerator
andtype
could be accidentally overriden via command line arguments.