Skip to content

Commit

Permalink
refactor(api): remove obsolete files from package
Browse files Browse the repository at this point in the history
BREAKING CHANGE: @thi.ng/api now only contains type declarations,
decorators and mixins. All other features have been moved
to new dedicated packages:

- @thi.ng/bench
- @thi.ng/compare
- @thi.ng/equiv
- @thi.ng/errors
  • Loading branch information
postspectacular committed May 10, 2018
1 parent 9466d4b commit f051ca3
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 293 deletions.
4 changes: 2 additions & 2 deletions packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"typescript": "^2.8.3"
},
"dependencies": {
"@thi.ng/checks": "^1.5.2"
"@thi.ng/errors": "^0.0.1"
},
"keywords": [
"compare",
Expand All @@ -39,4 +39,4 @@
"publishConfig": {
"access": "public"
}
}
}
29 changes: 0 additions & 29 deletions packages/api/src/bench.ts

This file was deleted.

18 changes: 0 additions & 18 deletions packages/api/src/compare.ts

This file was deleted.

2 changes: 1 addition & 1 deletion packages/api/src/decorators/deprecated.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { illegalArgs } from "../error";
import { illegalArgs } from "@thi.ng/errors";

/**
* Method property decorator factory. Augments original method with
Expand Down
79 changes: 0 additions & 79 deletions packages/api/src/equiv.ts

This file was deleted.

39 changes: 0 additions & 39 deletions packages/api/src/error.ts

This file was deleted.

9 changes: 2 additions & 7 deletions packages/api/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
import * as decorators from "./decorators";
import * as mixins from "./mixins";

export * from "./api";
export * from "./bench";
export * from "./compare";
export * from "./error";
export * from "./equiv";

export {
decorators,
mixins,
}

export * from "./api";
118 changes: 0 additions & 118 deletions packages/api/test/index.ts

This file was deleted.

0 comments on commit f051ca3

Please sign in to comment.