Skip to content

Releases: enactjs/cli

v0.9.0

10 Mar 18:33
Compare
Choose a tag to compare

Dependencies updated to latestly release, including support for Webpack 3.x.
Codebased updated for ES6 syntax and the minimum version is NodeJS is now 6.4.0.

create

  • Template updated for Enact 1.7.0 and React 15.6.1

pack

  • Upgraded to Webpack 3 and associated loaders/config layout.
  • Removed url-loader usage in favour of strictly file-loader only.
  • Switched from implicit string loader names to explicit relative loader filepath resolving.
  • Prevent removal of outdated CSS properties by autoprefixer in postcss
  • Prerenders moonstone font-face declarations into HTML head to preload fonts.
  • Output error messages after build and have watcher mode disable bailing to ensure webpack doesn't exit during watching.
  • Properly bail on error and properly avoid bailing on --watch flag.
  • Disable module traces when errors occur.
  • Show any warnings sucessful pack executions (not just when there are errors).
  • Uses the react-dev-utils eslint formatter for displaying eslint warnings and errors.
  • Limited autoprefixer flexbox prefixing to final and IE versions of flexbox implementation.
  • Added support for postcss-flexbugs-fixes to automatically fix known platform-specific flexbox issues with workarounds.
  • Disabled webpack performance output.

serve

  • Support greater dev server functionality and UI from react-dev-utils.
  • Integrated support for react-error-overlay.
  • Fixed module access failure when rebuilding after editing LESS/CSS.

test

  • Activity timeout extended for larger testbases to 60 seconds.
  • Removed unneeded extract-text-webpack-plugin usage.
  • Carried over url-loader and postcss changes from pack configuration.

v0.8.2

10 Mar 18:32
Compare
Choose a tag to compare
  • Updated ilib-webpack-plugin dependency to correctly support moonstone internal localization and associated fixes.

v0.8.1

10 Mar 18:31
Compare
Choose a tag to compare

create

  • Template updated for Enact 1.2.2

pack

  • Fixed prerendering of apps that use lazy loaded chunks.
  • Support for moonstone internal localization.

serve

  • Disable host checks to allow IP serving.

test

  • Added Array.from to the list of polyfills used with Phantomjs in tests.

license

  • Added license checker command to detect all licenses used by content within an app.

v0.8.0

10 Mar 18:30
Compare
Choose a tag to compare

With the exception of webpack2-related packages, all dependencies have been updated to their current releases.

create

  • Template updated for Enact 1.1.0 and React 15.5.4.
  • Added prop-types dependency.
  • Fixed --local option to use enact-dev on NPM rather than git shorthand.

serve

  • Fixed --port option parsing along with support for PORT environment variable.

pack

  • Improved console output when prerendering in isomorphic code layout.
  • Uses cheap-module-source-map instead of source-map. See webpack/webpack#2145 (comment)
  • Enabled support for eslint caching to improve development mode build speed.
  • Appinfo files will now correctly be ignore by the ilib-webpack-plugin (as they're already handled by webos-meta-webpack-plugin).
  • Improved communication between plugins.

test

  • Updated use react-test-renderer with Enzyme with alias fallback to avoid any compatibility issues.

v0.7.0

10 Mar 18:30
Compare
Choose a tag to compare

Added support for a link command (enact link) as a shorthand to link in Enact library dependencies.

pack

  • Added support for appinfo.json sysAssetsBasePath and $-prefix in webos-meta-webpack-plugin.
  • Will now warn about performance when building in development mode.
  • HTML template will now be used in all situations and can be customized as desired.
  • Vastly rewritten isomorphic app prerendering support with improved reliability and mmemory management.
  • Depreciated prerendering of isomorphic apps within the HTML template has been removed. Please ensure all app entrypoints are able to self-render. See this example.

test

  • Improved error handling with plugins to prevent certain scenarios that could cause tests to fail.

lint

  • Updated lint rules for disabling no-spaced-func and no-undefined warnings for non-strict ruleset.

v0.6.0

10 Mar 18:29
Compare
Choose a tag to compare

All enact-dev dependencies have been updated to latest applicable revisions. If you are using editor-based linting, please update your global dependencies to match.

create

  • Template updated for Enact 1.0.0-beta.3 and React 15.4.2.

pack

  • Transitioned from the iLib-loader to a new iLibPlugin with enhanced support for compilation-unique caching in Enact 1.0.0-beta.3. This is not backward compatible; please update to Enact 1.0.0-beta.3 or use an earlier release of enact-dev.
  • Supports code splitting/lazy-loading via ES6 import() syntax (limited to static string values).
  • WebOSMetaPlugin updated to support dynamicalling adding usePrerendering:true to appinfo.json files as needed.

test

  • Added Map polyfill support
  • Fixes a code interaction issue with WebOSMetaPlugin that caused tests to fail.

lint

  • Enact ESLint plugin updated to support handlers block in `kind(). Also adds propType validation for props used by handler and computed functions.
  • Enact ESLint config updated to replace deprecated babel/array-bracket-spacing with array-bracket-spacing.
  • Additional options may be passed to the lint command.

v0.5.1

10 Mar 18:29
Compare
Choose a tag to compare

create

  • Template updated for Enact 1.0.0-beta.2 and React 15.4.2.
  • Template's .gitignore file now correctly includes dist.

pack

  • Added a node Enact build option to support polyfilling NodeJS components. See here for more info.
  • All localized appinfo.json resources and assets will now be correctly copied to the output directory.

test

  • Added a polyfill for String.prototype.repeat, as phantomjs lacks the API.
  • Webpack build warnings will no longer spam the console in certain scenarios.
  • Test action will now automatically fail when no test suite is found. This was done to allows tests which build incorrect or have missing modules to correctly fail. See #38 for more background information.

v0.5.0

10 Mar 18:28
Compare
Choose a tag to compare

Several additional documentation files have been added to the docs directory, to cover common topics.

create

  • Template updated for Enact 1.0.0-beta.1
  • Template has been updated to use a single isomorphic-compatible entrypoint index.js.

serve

  • Added support for --host option to specify a server host IP address to use.
  • Added support for --port option to specify a server port humber to use.
  • The host/port details will now correctly output when linter warnings occur.

pack

  • Added primary support for singluar entrypoints for both regular and isomorphic code layouts.
  • Refactored build customization features (like --isomorphic and --stats) into separate files and cleaned up the implementations.
  • Depreciated isomorphic HTML-side rendering. Isomorphic entrypoints should render to the DOM when in a browser environment.

clean

  • Fixed clean command failing due to missing internal parameters.

v0.4.0

10 Mar 18:27
Compare
Choose a tag to compare

create

  • Renamed init command to create for clarity of purpose.
  • Template updated for Enact 1.0.0-alpha.4

transpile

  • Fixed fs-extra depreciation warning about using a RegExp in copying.

pack

  • Added support for overriding with a custom HTML template.
  • Viewport meta tags added to restrict user-scale to 1.
  • Documented package.json Enact build options in README.md.
  • Fixed app rendering in isomorphic code layout, where apps exported as ES6 default would fail to render.
  • Fixed ReactPerf bundling with React 15.4.x, with backwards support for earlier versions.
  • Fixed --watch support.

test

  • Properly ignore ./dist and ./build directories when searching for tests.
  • Removed unneeded sourcemap support to greatly improved memory management and avoid js heap crashes in PhantomJS.

v0.3.0

10 Mar 18:26
Compare
Choose a tag to compare

init

  • Sanitizes directory name so only valid characters are included as the package name.
  • Template updated for Enact 1.0.0-alpha.3

pack

  • Added -s/--stats flag to generate a stats.html bundle analysis report.
  • Fixed development build failure when generating sourcemaps.
  • Refactored ESLint configuration with an optional strict mode.
  • Updated eslint to use 3.9.1 for new rule support.
  • Updated eslint-plugin-enact to 6.5.0 for new rule support.

serve

  • Browser no longer automatically opens. Use -b/--browser flag to re-enable the feature.
  • Fixed serve failure when generating sourcemaps.