This repository has been archived by the owner on Dec 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use 'named' exports on the folders' indexes
- Loading branch information
Showing
4 changed files
with
25 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
const SimpleStorage = require('./simpleStorage'); | ||
|
||
module.exports = { | ||
SimpleStorage, | ||
}; | ||
module.exports.SimpleStorage = require('./simpleStorage'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,7 @@ | ||
const { AppConfiguration } = require('./appConfiguration'); | ||
const { EnvironmentUtils } = require('./environmentUtils'); | ||
const { ErrorHandler } = require('./errorHandler'); | ||
const { Logger } = require('./logger'); | ||
const { packageInfo } = require('./packageInfo'); | ||
const { PathUtils } = require('./pathUtils'); | ||
const { rootRequire } = require('./rootRequire'); | ||
|
||
module.exports = { | ||
AppConfiguration, | ||
EnvironmentUtils, | ||
ErrorHandler, | ||
Logger, | ||
packageInfo, | ||
PathUtils, | ||
rootRequire, | ||
}; | ||
module.exports.AppConfiguration = require('./appConfiguration').AppConfiguration; | ||
module.exports.EnvironmentUtils = require('./environmentUtils').EnvironmentUtils; | ||
module.exports.ErrorHandler = require('./errorHandler').ErrorHandler; | ||
module.exports.Logger = require('./logger').Logger; | ||
module.exports.packageInfo = require('./packageInfo').packageInfo; | ||
module.exports.PathUtils = require('./pathUtils').PathUtils; | ||
module.exports.rootRequire = require('./rootRequire').rootRequire; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,5 @@ | ||
const APIClient = require('./apiClient'); | ||
const deferred = require('./deferred'); | ||
const EventsHub = require('./eventsHub'); | ||
const extendPromise = require('./extendPromise'); | ||
const ObjectUtils = require('./objectUtils'); | ||
|
||
module.exports = { | ||
APIClient, | ||
deferred, | ||
EventsHub, | ||
extendPromise, | ||
ObjectUtils, | ||
}; | ||
module.exports.APIClient = require('./apiClient'); | ||
module.exports.deferred = require('./deferred'); | ||
module.exports.EventsHub = require('./eventsHub'); | ||
module.exports.extendPromise = require('./extendPromise'); | ||
module.exports.ObjectUtils = require('./objectUtils'); |