Skip to content
This repository has been archived by the owner on Jun 30, 2020. It is now read-only.

Commit

Permalink
added index files include package main
Browse files Browse the repository at this point in the history
to make it clear whats intended to be used from the package
  • Loading branch information
grahamdyson committed May 18, 2019
1 parent 39cee48 commit 0299c9e
Show file tree
Hide file tree
Showing 5 changed files with 84 additions and 13 deletions.
26 changes: 26 additions & 0 deletions index.js
@@ -0,0 +1,26 @@
/* istanbul ignore file: test would be a mirror of implementation */
const
concatenateFromFileSystem = require("./concatenateFromFileSystem"),
groupItemsByIdentifierSeparator = require("./groupItemsByIdentifierSeparator"),
removeRedundantParentIdentifierPrefix = require("./removeRedundantParentIdentifierPrefix"),
removeSelfDependentItemsOfType = require("./removeSelfDependentItemsOfType"),
replaceIdentifiers = require("./replaceIdentifiers"),
setIdentifierOfAnonymousToParent = require("./setIdentifierOfAnonymousToParent"),
setTypeOfRootItems = require("./setTypeOfRootItems"),
sorting = require("./sorting"),
stacking = require("./stacking"),
unstackIndependent = require("./unstackIndependent");

module.exports =
{
concatenateFromFileSystem,
groupItemsByIdentifierSeparator,
removeRedundantParentIdentifierPrefix,
removeSelfDependentItemsOfType,
replaceIdentifiers,
setIdentifierOfAnonymousToParent,
setTypeOfRootItems,
sorting,
stacking,
unstackIndependent,
};
44 changes: 32 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -72,6 +72,7 @@
"yaml"
],
"license": "MIT",
"main": "dist/index.js",
"name": "@devsnicket/eunice-processors",
"publishConfig": {
"access": "public"
Expand All @@ -87,5 +88,5 @@
"spellcheck": "find -type f \\( -name \"*.js\" -or -name \"*.md\" \\) ! -path \"./dist/*\" ! -path \"./dist/**/*\" ! -path \"./node_modules/**/*\" ! -path \"./test-coverage/**/*\" -exec npx cspell {} +",
"test": "npx jest --runInBand"
},
"version": "3.0.0"
"version": "3.1.0"
}
12 changes: 12 additions & 0 deletions sorting/index.js
@@ -0,0 +1,12 @@
/* istanbul ignore file: test would be a mirror of implementation */
const
orderItemsByIdentifier = require("./orderItemsByIdentifier"),
orderItemsByIndexOfIdentifierSuffix = require("./orderItemsByIndexOfIdentifierSuffix"),
orderItemsByIndexOfType = require("./orderItemsByIndexOfType");

module.exports =
{
orderItemsByIdentifier,
orderItemsByIndexOfIdentifierSuffix,
orderItemsByIndexOfType,
};
12 changes: 12 additions & 0 deletions stacking/index.js
@@ -0,0 +1,12 @@
/* istanbul ignore file: test would be a mirror of implementation */
const
createOrAddToStacksToItemsWithIdentifier = require("./createOrAddToStacksToItemsWithIdentifier"),
createOrAddToStacksUniformly = require("./createOrAddToStacksUniformly"),
createOrAddToStacksUsingFileSystem = require("./createOrAddToStacksUsingFileSystem");

module.exports =
{
createOrAddToStacksToItemsWithIdentifier,
createOrAddToStacksUniformly,
createOrAddToStacksUsingFileSystem,
};

0 comments on commit 0299c9e

Please sign in to comment.