simplyimport

Inline imports/exports for JS/Coffee featuring ES6 & CommonJS syntax support, transforms, conditional & duplicate imports, etc.

Downloads
475
Stars
6
Committers
2

Bot releases are visible (Hide)

simplyimport - v3.0.0 Latest Release

Published by danielkalen about 8 years ago

  • Project is now much more organized and easier to develop
  • New directive syntax (elimination of comments, closer to the ES6
    imports now)
  • Conditions are now specified in square braces instead of curly ones
  • Import declarations no longer require their own separate line - they
    can now be inline
  • Improved import find-and-replace algorithm
  • Import history is now tracked via an MD5 hash of the file's content
    instead of just the file's path
  • Added persistent import history tracking (i.e. import history is
    written into the output file as a comment) to avoid duplicate imports
    across multi-file nested imports
  • Added tests
  • Added coverage reports
  • Added coverage badges
  • Added Travis-CI intergration
  • Added CodeClimate intergration
  • Added helpful errors & warnings to the app
  • Improved CLI output via coloring
  • Improved CLI help message (by a lot), added import directive samples,
    increased message text wrapping
  • Uglification is now applied to each import individually
  • Option to have coffeescript files that are imported by a JS file get
    compiled
  • Fix backticks escaping in JS files that are imported by coffeescript
    files
  • Improved coffeescript vs. javascript file detection algorithm
  • Module API now only returns the processed file's content - fs writing
    is now the API's user's responsibility
  • Fixed file directory context issues
  • The --notrecursive option is now flipped to --recursive (true by
    default)
  • Fixed directory->file output path resolving
  • Removed --stdio option
Package Rankings
Top 5.64% on Npmjs.org
Badges
Extracted from project README
Build Status Coverage Code Climate NPM NPM