Socket
Socket
Sign inDemoInstall

@enact/cli

Package Overview
Dependencies
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@enact/cli - npm Package Versions

1
8

3.0.3

Diff

Changelog

Source

3.0.3 (August 5, 2020)

transpile

  • When transpiling in standalone mode, do not use @babel/plugin-transform-runtime.
enact
published 3.0.2 •

Changelog

Source

3.0.2 (August 3, 2020)

pack

  • Fixed framework builds on enact/i18n package source to include local files as appropriate.
enact
published 3.0.1 •

Changelog

Source

3.0.1 (August 3, 2020)

pack

  • Fixed builds with external framework delegating local ignoring modules.
enact
published 3.0.0 •

Changelog

Source

3.0.0 (August 3, 2020)

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.
enact
published 2.8.1 •

Changelog

Source

2.8.1 (June 15, 2020)

serve

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

Changelog

Source

2.8.0 (June 3, 2020)

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.
enact
published 2.7.1 •

Changelog

Source

2.7.1 (April 8, 2020)

test

  • Fixed iLib loading of internal ResBundles within non-Moonstone themes.
enact
published 2.7.0 •

Changelog

Source

2.7.0 (March 25, 2020)

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 execute enact 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 delete node_modules in addition to dist/build files.
  • Expanded cleaning support to handle cleaning dist/build files within screenshot and ui test directories.
enact
published 2.6.0 •

Changelog

Source

2.6.0 (February 12, 2020)

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.
enact
published 2.5.1 •

Changelog

Source

2.5.1 (September 4, 2019)

create

  • Updated moonstone template for Enact 3.0.0 release.

pack

  • Fixed V8 snapshotting when ilib external package is not found.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc