Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@enact/cli

Package Overview
Dependencies
Maintainers
1
Versions
75
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

2.0.0

Diff

Changelog

Source

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.

create

  • Updated default included moonstone template for latest Enact with .module.less modular LESS naming format.

link

  • Improved handling and errors when linking into a non-Enact project.

pack

  • Refactored build procedure for latest Webpack 4 and Babel 7.
  • Added support for stage-3 CSS via postcss-preset-env, with custom-properties temporarily disabled while a bug is being resolved.
  • Added support for .env fileformat to declare environment variables for parsing/app-embedding.
  • Added support for TypeScript compilation.
  • Added opt-in support for TypeScript type checking at build time (via typescript app-side dependency).
  • Additional CSS optimization applied via optimize-css-assets-webpack-plugin.
  • Modified Babel configuration to use built-in APIs rather than transpiling mini re-implementations.
  • Modified CSS file handling to only process modular CSS on the .module.css extension.
  • Modified LESS file handling to be independence (only running LESS files through the LESS compiler), with .module.less file extension enabled modular context.
  • Switched from less-plugin-resolution-independence to postcss-plugin-resolution-independence to apply to both LESS and CSS build chains.
  • Switched from uglifyjs-webpack-plugin to terser-webpack-plugin as Uglify is no longer actively developed.
  • Switched from extract-text-webpack-plugin to mini-css-extract-plugin for CSS content output.
  • Removed direct autoprefixer usage as postcss-preset-env contains embedded support.
  • Removed support for .__DEV__ CSS class and replaced it with @__DEV__ LESS variable for usage as a CSS guard.
  • Removed legacy custom browser targeting format and now following browserslist standard for declaring supporting browsers.

lint

  • Added support for TSLint, when linting a TypeScript project and tslint is globally or locally installed.

test

  • Replaced Karma/PhantomJS/Mocha/DirtyChai testing stack with a Jest-based alternative implementation.
    • Supports Jest options like --watch and --coverage as a result.
  • Removed custom Enzyme webpack plugin since we can pre-setup Enzyme directly for Jest usage.
  • Removed Sinon in favour of Jest built-in mocking/spy functionality.

transpile

  • Added --commonjs option, enabled by default, which will convert all ES6 import/export statements into CommonJS.
  • LESS files will now be transpiled into CSS. Directories named 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.
enact
published 1.2.1 •

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.
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