@enact/cli
Advanced tools
Changelog
2.0.0 (February 11, 2019)
Updated all dependencies to latest releases and added support for TypeScript. In keeping with community standards, CSS/LESS is now processed in the global scope, while modular CSS can be retained by using the .module.css
/.module.less
extension or setting the forceCSSModules
Enact project setting in package.json
.
.module.less
modular LESS naming format.postcss-preset-env
, with custom-properties
temporarily disabled while a bug is being resolved..env
fileformat to declare environment variables for parsing/app-embedding.typescript
app-side dependency).optimize-css-assets-webpack-plugin
..module.css
extension..module.less
file extension enabled modular context.less-plugin-resolution-independence
to postcss-plugin-resolution-independence
to apply to both LESS and CSS build chains.uglifyjs-webpack-plugin
to terser-webpack-plugin
as Uglify is no longer actively developed.extract-text-webpack-plugin
to mini-css-extract-plugin
for CSS content output.postcss-preset-env
contains embedded support..__DEV__
CSS class and replaced it with @__DEV__
LESS variable for usage as a CSS guard.browserslist
standard for declaring supporting browsers.tslint
is globally or locally installed.--watch
and --coverage
as a result.--commonjs
option, enabled by default, which will convert all ES6 import/export statements into CommonJS.style
will not transpile LESS and will just copy the files (useful for sharing LESS variables/mixins). Directories named internal
within styles
will be ignored.Changelog
1.2.1 (December 7, 2018)
Changelog
1.2.0 (September 27, 2018)
@enact/dev-utils
and mocha-react-proptype-checker
dependency releases.core-js
as a direct dependency when creating a new project with --local
to prevent conflicting polyfill versions.-m
/--meta
option to override the enact
object metadata from the package.json
.Changelog
1.1.1 (August 10, 2018)
Changelog
1.1.0 (July 16, 2018)
--verbose
which outputs detailed build information as the process occurs, for specific information on what modules are being process and when.REACT_APP_
prefixed environment variables into app code, when used under process.env
.@global-import "<file>";
syntax to import CSS files in a global context.externalStartup
in the enact options in a project's package.json
. When true, any prerender startup scripts will be external file assets, rather than embedded inline javascript.@babel/polyfill
failing to be transpiled into targeted core-js
components. Additionally now ensures polyfills aren't loaded more than once../config/proptype-checker.js
into its own standalone mocha-react-proptype-checker
package.7.9.1
and Enact ESLint plugin to 1.2.0
.create-react-app
-style project ejection feature. A permanent process which extracts an app from the Enact CLI environment and converts it standalone, with exposed development tool config files.--bare
eject operation flag which removed the Enact CLI sugar from devtool commands and uses the barebones underlying 3rd party tools.Changelog
1.0.4 (April 26, 2018)
Updated dependencies to support React/ReactDOM 16.3.2.
Improved CLI runtime executing via v8-compile-cache
optimizations.
@enact/core/snapshot
window handling APIs when using v8 snapshot.Changelog
1.0.3 (April 12, 2018)
enact-template-
and template-
prefix.Changelog
1.0.2 (March 30, 2018)
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.
Changelog
1.0.1 (March 26, 2018)
@enact/dev-utils
fixing React 16 issues with v8 snapshot support.--framework
temporary alias for --strict
to fix build systems while they update to current syntax.