Skip to content

Commit

Permalink
fix(export): fix dist export
Browse files Browse the repository at this point in the history
  • Loading branch information
lemon-mario committed Mar 4, 2019
1 parent ce93073 commit 750831f
Show file tree
Hide file tree
Showing 16 changed files with 95 additions and 1 deletion.
3 changes: 3 additions & 0 deletions dist/errors/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import conflictingItemError from "./conflictingItemError";
import itemNotFoundError from "./itemNotFoundError";
export { conflictingItemError, itemNotFoundError };
10 changes: 10 additions & 0 deletions dist/errors/index.js

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

1 change: 1 addition & 0 deletions dist/errors/index.js.map

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

9 changes: 9 additions & 0 deletions dist/functions/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import countItems from "./countItems";
import createItem from "./createItem";
import deleteItem from "./deleteItem";
import deleteItems from "./deleteItems";
import getItem from "./getItem";
import getItems from "./getItems";
import replaceItem from "./replaceItem";
import updateItem from "./updateItem";
export { countItems, createItem, getItems, getItem, deleteItem, deleteItems, replaceItem, updateItem };
3 changes: 3 additions & 0 deletions dist/functions/index.js

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

1 change: 1 addition & 0 deletions dist/functions/index.js.map

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

1 change: 1 addition & 0 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {};
29 changes: 29 additions & 0 deletions dist/index.js

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

1 change: 1 addition & 0 deletions dist/index.js.map

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

9 changes: 9 additions & 0 deletions dist/interfaces/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import cursor from "./cursor";
import cursorResult from "./cursorResult";
import filter from "./filter";
import item from "./item";
import options from "./options";
import pagination from "./pagination";
import sort from "./sort";
import sortOrder from "./sortOrder";
export { cursor, cursorResult, filter, item, options, pagination, sort, sortOrder };
3 changes: 3 additions & 0 deletions dist/interfaces/index.js

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

1 change: 1 addition & 0 deletions dist/interfaces/index.js.map

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

6 changes: 6 additions & 0 deletions dist/utils/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import createCursorFromItem from "./createCursorFromItem";
import createCursorFromItems from "./createCursorsFromItems";
import createGetItemsResult from "./createGetItemsResult";
import createPaginationFilter from "./createPaginationFilter";
import xor from './xor';
export { createCursorFromItem, createCursorFromItems, createGetItemsResult, createPaginationFilter, xor, };
16 changes: 16 additions & 0 deletions dist/utils/index.js

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

1 change: 1 addition & 0 deletions dist/utils/index.js.map

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@js-items/foundation",
"version": "0.0.0-development",
"description": "Provides set of interfaces and tests for concrete implementations of js-items repositories",
"main": "./src/index.ts",
"main": "./dist/index.js",
"scripts": {
"clean": "rimraf dist",
"build": "npm run clean && tsc",
Expand Down

0 comments on commit 750831f

Please sign in to comment.