Releases: enactjs/cli
Releases · enactjs/cli
v4.1.1
- No significant changes.
v4.1.0
test
- Added
@testing-library/react
support. - Deprecated
enzyme
support.
v4.0.3
test
- Fixed not reading a local
./src/setupTests.js
setup file. - Fixed
jest.restoreAllMocks()
throws errors.
v4.0.2
pack
- Changed
css-loader
options to not resolving url() of the absolute path to avoid build failures.
v4.0.1
test
- Updated CLI dependency of
jest
to 26.6.3.
pack
- Fixed not inserting title into the output HTML.
lint
- Added conditions for linting Typescript files.
v4.0.0
create, template
- Changed to
@enact/template-sandstone
as default for new apps.
pack, test
- Fixed the glob patterns for test files
v3.0.5
serve
- Fixed https serve is not working.
eject
- Fixed
--bare
option to work.
v3.0.0
All dependencies updated to latest release.
create
- Changed to
@enact/template-sandstone
as default for new apps.
pack
- Added support for
TSC_COMPILE_ON_ERROR
environment variable which, when'true'
, will succeed/compile a Typescript build, regardless of whether errors exist on the webpack stack. - Added descriptive PostCSS error details on failure.
- Added full public URL support via
PUBLIC_URL
environment variable,publicUrl
Enact option, orpackage.json
homepage value. - Added support for mjs file extension.
- Added
postcss-normalize
PostCSS plugin to normalize browser quirks according to BROWSERSLIST. - Added
postcss-safe-parser
for production optimization to handle common CSS syntax issues without failing. - Updated Babel support:
- Added
plugin-proposal-decorators
,plugin-proposal-numeric-separator
,plugin-proposal-optional-chaining
, andplugin-proposal-nullish-coalescing-operator
- Disabled
transform-typeof-symbol
plugin as it is known to make code slower. - For Jest testing, include
babel-plugin-dynamic-import-node
to rewrite dynamicimport()
- For Typescript files, use
plugin-proposal-decorators
in loose mode
- Added
- Updated eslint pre-loader to scan typescript files as well as javascript
- Updated webpack config to only support
.ts
and.tsx
files whentsconfig.json
is found, to avoid confusing error messages.
serve
- Added support for experimental fast react refresh. This can be enabled via the commandline option
-f
/--fast
. It may not work for all cases, but for general usage, will provide inline hot code reloading without the browser needing to refresh the webpage. - Added devserver support for public URL via
PUBLIC_URL
environment variable,publicUrl
Enact option, orpackage.json
homepage value. - Added support for LESS sourcemaps.
- Added custom sourcemap handling to provide organized filepaths and avoid css/style loader naming collisions.
- Added support for
WDS_SOCKET_HOST
,WDS_SOCKET_PATH
, andWDS_SOCKET_PORT
environment variables to control hot reloading websocket details. - Added support for
SSL_CRT_FILE
andSSL_KEY_FILE
environment variables to specify filepaths for relevant SSL files forhttps
support. - Added support for
TSC_COMPILE_ON_ERROR
environment variable flag to serve/compile Typescript even when there's webpack errors. - Updated to use newest webpack dev server client and error overlay middleware.
- Changed to native websockets for hot reloading
test
- Added additional supported Jest keys/options in
package.json
jest object. - Added support for a local
./src/setupTests.js
setup file - Added
jest-circus
test runner - Added
jest-watch-typeahead
watch plugins to support dynamic filtering by file name and test name. - Fixed
import()
in tests not being transpiled to dynamicrequire()
calls. - Updated test handling to reset mock functions between testing blocks.
transpile
- Removed workaround for
baseSize: 24
themes now that all resolution independence settings can be correctly detected and used.
lint
- Uses latest linting standards, including jsx-a11y, babel rules, and optional support for Typescript. See linting config changelog for full details.
- Removed
tslint
logic/support and ESLint config will cover Typescript files as well.
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.