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
68

1.2.1

Diff

Changelog

Source

1.2.1 (December 7, 2018)

  • Fixed test execution failures where an old copy of Enzyme was erroring out on the latest React 1.6 releases.
enact
published 2.0.0-alpha.1 •

enact
published 1.2.0 •

Changelog

Source

1.2.0 (September 27, 2018)

  • Updated to latest @enact/dev-utils and mocha-react-proptype-checker dependency releases.

create

  • Added core-js as a direct dependency when creating a new project with --local to prevent conflicting polyfill versions.

pack

  • Added support for -m/--meta option to override the enact object metadata from the package.json.
enact
published 1.1.1 •

Changelog

Source

1.1.1 (August 10, 2018)

create

  • Updated default included moonstone template for Enact 2.x.

pack

  • Fixed locale classes failing to be applied on a multi-locale prerender when deep-linking is used.
  • Fixed font style prerendering, with added support for font overrides.
enact
published 1.1.0 •

Changelog

Source

1.1.0 (July 16, 2018)

pack

  • Added new option --verbose which outputs detailed build information as the process occurs, for specific information on what modules are being process and when.
  • Added support for dynamically injecting REACT_APP_ prefixed environment variables into app code, when used under process.env.
  • Added support for @global-import "<file>"; syntax to import CSS files in a global context.
  • Added support for boolean flag option 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.
  • Fixed @babel/polyfill failing to be transpiled into targeted core-js components. Additionally now ensures polyfills aren't loaded more than once.
  • Fixed v8 snapshot support for React 16.4.1.
  • Relocated the old ./config/proptype-checker.js into its own standalone mocha-react-proptype-checker package.
  • Production mode limits the UglifyJS options to ECMA 5 optimizations only.
  • Disabled CSS minifier support for calc simplification due to bugs with CSS variables that contain 'calc' string of letters. See https://github.com/postcss/postcss-calc/issues/50.

lint

  • Updated React ESLint plugin to 7.9.1 and Enact ESLint plugin to 1.2.0.

template

eject

  • Initial implementation of a 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.
  • Supports the --bare eject operation flag which removed the Enact CLI sugar from devtool commands and uses the barebones underlying 3rd party tools.
enact
published 1.0.4 •

Changelog

Source

1.0.4 (April 26, 2018)

Updated dependencies to support React/ReactDOM 16.3.2. Improved CLI runtime executing via v8-compile-cache optimizations.

pack

  • Support @enact/core/snapshot window handling APIs when using v8 snapshot.
  • Preserve HTML comment nodes in prerendered app HTML content (to support empty nodes in React 15).
enact
published 1.0.3 •

Changelog

Source

1.0.3 (April 12, 2018)

pack

  • Fixed memory leak during prerendering in isomorphic builds, where babel-polyfill would be loaded and disrupt the global Node scope.

template

  • Default autodetection naming scheme will now filter out enact-template- and template- prefix.

transpile

  • Ensure development helper transpile plugins are not applied to standalone ES5 transpile operations.
enact
published 1.0.2 •

Changelog

Source

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.

enact
published 1.0.1 •

Changelog

Source

1.0.1 (March 26, 2018)

pack

  • Updated @enact/dev-utils fixing React 16 issues with v8 snapshot support.

template

  • Fixed automatic name detection for NPM packages when using version/tag specifiers.

lint

  • Added --framework temporary alias for --strict to fix build systems while they update to current syntax.
enact
published 1.0.0 •

Changelog

Source

1.0.0 (March 15, 2018)

Dependency updates for most components. Moved all plugins, mixins, and utility functions into @enact/dev-utils package. Refactored all commands to support Promise-based API access for potential integration with 3rd party build systems. Enact CLI source code now updated for eslint-plugin-import and prettier formatting.

create

  • Default moonstone template updated for latest Enact 1.x/React 15.x dependencies.
  • Updated to support customized templates via -t/--templates option.
  • Refactored creation handling to be general purpose and support dynamic templates modifying the execution.

link

  • Only link @enact-scoped dependencies found within the project package.json rather than all globally linked @enact-scoped packages.

transpile

  • Added support for -i/--ignore regex string to ignore filepaths when transpiling/copying.

pack

  • Added support for targeted builds. Can be set via a target enact package.json property or via Browserslist format.
  • Added support for Electron build target.
  • Switched to use @babel/preset-env and @babel/polyfill for on-demand transpiling/polyfilling to targeted build platforms.
  • Production mode build uses uglifyjs-webpack-plugin to support ES6-based minification (until the upgrade to webpack 4)
  • Dynamic handling of the enact options with package.json, with support for theme preset values that simplify setup of for given Enact GUI theme libraries.
  • Allow electron-renderer webpack target to support browser as a main field.
  • Isomorphic builds now build en-US locale by default. Switched -l/--locales as a public option, allowing specifying of locale-lists for prerendering.
  • Switched -s/--snapshot as a public option. Creates a v8 snapshot blob from the app bundle (provided mksnapshot binary is provided as V8_MKSNAPSHOT environment variable).
  • Updated to Webpack 3.x support.
  • Updated to Babel 7.x beta support.

serve

  • Allows attempted serving on all webpack targets other that node, async-node and webworker.

test

  • Fixed testing support for Windows when using modules that accessed @enact/i18n.

template

  • Full template management support. See the docs for more details.
  • Templates can be sourced from git URIs, npm packages, or local directories.
  • Able to install, link, remove, list templates.
  • Able to set templates as default when using enact create.
  • Templates can be static or dynamic generators, optionally hooking into the enact create execution.

lint

  • Added a --fix option to automatically attempt to have eslint fix linting errors.

license

  • Updated to include @babel/polyfill and @babel/core licenses in project scanning.
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