Skip to content

Releases: enactjs/cli

v4.1.1

27 Aug 05:21
Compare
Choose a tag to compare
  • No significant changes.

v4.1.0

18 Aug 02:26
Compare
Choose a tag to compare

test

  • Added @testing-library/react support.
  • Deprecated enzyme support.

v4.0.3

21 Jun 05:04
Compare
Choose a tag to compare

test

  • Fixed not reading a local ./src/setupTests.js setup file.
  • Fixed jest.restoreAllMocks() throws errors.

v4.0.2

10 May 23:53
Compare
Choose a tag to compare

pack

  • Changed css-loader options to not resolving url() of the absolute path to avoid build failures.

v4.0.1

23 Apr 06:40
Compare
Choose a tag to compare

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

26 Mar 08:07
Compare
Choose a tag to compare

create, template

  • Changed to @enact/template-sandstone as default for new apps.

pack, test

  • Fixed the glob patterns for test files

v3.0.5

03 Feb 06:50
Compare
Choose a tag to compare

serve

  • Fixed https serve is not working.

eject

  • Fixed --bare option to work.

v3.0.0

03 Aug 19:02
Compare
Choose a tag to compare

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, or package.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, and plugin-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 dynamic import()
    • For Typescript files, use plugin-proposal-decorators in loose mode
  • Updated eslint pre-loader to scan typescript files as well as javascript
  • Updated webpack config to only support .ts and .tsx files when tsconfig.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, or package.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, and WDS_SOCKET_PORT environment variables to control hot reloading websocket details.
  • Added support for SSL_CRT_FILE and SSL_KEY_FILE environment variables to specify filepaths for relevant SSL files for https 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 dynamic require() 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

03 Aug 19:02
Compare
Choose a tag to compare

serve

  • Fix watching Enact library dependencies, but not their nested children dependencies.

v2.8.0

03 Aug 19:02
Compare
Choose a tag to compare

pack

  • Preserves symlink path names when copying files to output.
  • Updated CLI dependency of react and react-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.