tjjfvi / escad

extensible software for computer-aided design [WIP]
https://escad.dev
1 stars 0 forks source link

Use `moderate` to generate `mod.ts` files #116

Closed tjjfvi closed 2 years ago

tjjfvi commented 2 years ago

https://github.com/tjjfvi/moderate

vjjft commented 2 years ago

@tjjfvi I checked out the branch, ran just moderate and it resulted in changes in the working tree:

 src/builtins/mod.ts             | 52 ++++++++++++++++++++++++++--------------------------
 src/builtins/serializers/mod.ts |  6 +++---
 src/client-builtins/mod.ts      |  6 +++---
 src/client/HierarchyView/mod.ts | 14 +++++++-------
 src/client/mod.ts               | 32 ++++++++++++++++----------------
 src/core/mod.ts                 | 84 ++++++++++++++++++++++++++++++++++++++++++------------------------------------------
 src/core/serializers/mod.ts     |  2 +-
 src/deps/_/rhobo/mod.ts         |  8 ++++----
 src/messages/mod.ts             | 12 ++++++------
 src/protocol/mod.ts             |  2 +-
 src/renderer/mod.ts             |  2 +-
 src/serial/mod.ts               | 20 ++++++++++----------
 12 files changed, 120 insertions(+), 120 deletions(-)

e.g.

diff --git a/src/messages/mod.ts b/src/messages/mod.ts
index 5959369..c35d026 100644
--- a/src/messages/mod.ts
+++ b/src/messages/mod.ts
@@ -1,12 +1,12 @@
 // moderate

-export * from "./Connection.ts";
+export * from "./filterConnection.ts";
+export * from "./createConnectionPair.ts";
+export * from "./workerConnection.ts";
 export * from "./EventEmitter.ts";
 export * from "./Messenger.ts";
-export * from "./brandConnection.ts";
-export * from "./createConnectionPair.ts";
-export * from "./filterConnection.ts";
-export * from "./logConnection.ts";
+export * from "./Connection.ts";
 export * from "./serializeConnection.ts";
 export * from "./transformConnection.ts";
-export * from "./workerConnection.ts";
+export * from "./logConnection.ts";
+export * from "./brandConnection.ts";
tjjfvi commented 2 years ago

@vjjft Fixed in latest version of moderate