# Namespace declaration
module ImportJS
  # We initialize an empty "ImportJS" namespace here so that we can define
  # classes under that namespace, e.g. `ImportJS::Importer`.
end

require_relative 'import_js/js_module'
require_relative 'import_js/importer'
require_relative 'import_js/vim_editor'
require_relative 'import_js/configuration'

# @deprecated we've moved to JSON configuration, so the old YAML file is no
# longer supported
if File.exist?('.importjs')
  fail <<-EOS.split.join(' ')
    [import-js] this project is no longer configured with YAML. Please
    migrate your .importjs file to a JSON file called ".importjs.json"
    instead.'
  EOS
end

# Namespace declaration
module ImportJS
  # We initialize an empty "ImportJS" namespace here so that we can define
  # classes under that namespace, e.g. `ImportJS::Importer`.
end

require_relative 'import_js/js_module'
require_relative 'import_js/importer'
require_relative 'import_js/vim_editor'
require_relative 'import_js/configuration'

Remove warning about deprecated .importjs
Remove warning about deprecated .importjs

This deprecation has been there long enough to serve its purpose. I'm
cleaning it out to stay lean.
