Skip to content

Commit

Permalink
Misc cleanup, fix BUILD.md link
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Farro <joef@uber.com>
  • Loading branch information
tiffon committed Mar 16, 2019
1 parent eb16f51 commit d315e14
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 13 deletions.
2 changes: 1 addition & 1 deletion BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ESLint is being used to lint the repo, as a whole. Within `./packages/plexus` (f

In the project root, `typescript` is used to bolster the linting of TypeScript files. `tsc` catches quite a few issues that ESLint does not pick up on.

In `./packages/plexus`, `typescript` is used to generate type declarations for the ES module build. See [`./packages/plexus/BUILD.md`](packages/plexus/BUILD.md#TODO) for details.
In `./packages/plexus`, `typescript` is used to generate type declarations for the ES module build. See [`./packages/plexus/BUILD.md`](packages/plexus/BUILD.md#typescript---emitdeclarationonly) for details.

### Workspaces

Expand Down
1 change: 0 additions & 1 deletion packages/plexus/demo/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,3 @@ function Demo() {
}

render(<Demo />, document.querySelector('#root'));
console.log('yar');
2 changes: 1 addition & 1 deletion packages/plexus/demo/template.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
<div id="<%= htmlWebpackPlugin.options.appMountId %>"></div>
</body>

</html>
</html>
8 changes: 0 additions & 8 deletions packages/plexus/src/types/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,6 @@ export type TLayoutDone = {
vertices: TLayoutVertex[];
};

// TODO(joe): delete if this is not needed
// export type TLayout = {
// isCancelled: boolean,
// edges?: TLayoutEdge[],
// graph?: TLayoutGraph,
// vertices?: TLayoutVertex[],
// };

export type TPendingLayoutResult = {
positions: Promise<TPositionsDone | TCancelled>;
layout: Promise<TLayoutDone | TCancelled>;
Expand Down
2 changes: 1 addition & 1 deletion packages/plexus/webpack-factory.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function makeBaseConfig() {
rules: [
{
//
// Note: This `pre` is crucial (and not at all obvious)
// Note: This `pre` is crucial (and not exactly obvious)
//
enforce: 'pre',
test: extensionsRx,
Expand Down
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"jsx": "preserve"
},
"include": [
// TODO(joef)
"packages/plexus/demo",
"packages/plexus/src",
// easier to add `./typings` here than deal with typeRoots, paths, etc.
Expand Down

0 comments on commit d315e14

Please sign in to comment.