Skip to content

Commit

Permalink
Prepend fileoverview prelude to generated files
Browse files Browse the repository at this point in the history
Resolves #7.
  • Loading branch information
EthanThatOneKid committed Nov 3, 2024
1 parent a5d6cee commit 50623ba
Show file tree
Hide file tree
Showing 133 changed files with 668 additions and 0 deletions.
5 changes: 5 additions & 0 deletions a.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @fileoverview
*
* This file was generated. Do not modify this file directly.
*/
import type { AnyProps, GlobalAttributes } from "./lib/mod.ts";
import { renderElement } from "./lib/mod.ts";

Expand Down
5 changes: 5 additions & 0 deletions abbr.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @fileoverview
*
* This file was generated. Do not modify this file directly.
*/
import type { AnyProps, GlobalAttributes } from "./lib/mod.ts";
import { renderElement } from "./lib/mod.ts";

Expand Down
5 changes: 5 additions & 0 deletions acronym.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @fileoverview
*
* This file was generated. Do not modify this file directly.
*/
import type { AnyProps, GlobalAttributes } from "./lib/mod.ts";
import { renderElement } from "./lib/mod.ts";

Expand Down
5 changes: 5 additions & 0 deletions address.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @fileoverview
*
* This file was generated. Do not modify this file directly.
*/
import type { AnyProps, GlobalAttributes } from "./lib/mod.ts";
import { renderElement } from "./lib/mod.ts";

Expand Down
5 changes: 5 additions & 0 deletions area.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @fileoverview
*
* This file was generated. Do not modify this file directly.
*/
import type { AnyProps, GlobalAttributes } from "./lib/mod.ts";
import { renderElement } from "./lib/mod.ts";

Expand Down
5 changes: 5 additions & 0 deletions article.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @fileoverview
*
* This file was generated. Do not modify this file directly.
*/
import type { AnyProps, GlobalAttributes } from "./lib/mod.ts";
import { renderElement } from "./lib/mod.ts";

Expand Down
5 changes: 5 additions & 0 deletions aside.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @fileoverview
*
* This file was generated. Do not modify this file directly.
*/
import type { AnyProps, GlobalAttributes } from "./lib/mod.ts";
import { renderElement } from "./lib/mod.ts";

Expand Down
5 changes: 5 additions & 0 deletions audio.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @fileoverview
*
* This file was generated. Do not modify this file directly.
*/
import type { AnyProps, GlobalAttributes } from "./lib/mod.ts";
import { renderElement } from "./lib/mod.ts";

Expand Down
5 changes: 5 additions & 0 deletions b.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @fileoverview
*
* This file was generated. Do not modify this file directly.
*/
import type { AnyProps, GlobalAttributes } from "./lib/mod.ts";
import { renderElement } from "./lib/mod.ts";

Expand Down
5 changes: 5 additions & 0 deletions base.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @fileoverview
*
* This file was generated. Do not modify this file directly.
*/
import type { AnyProps, GlobalAttributes } from "./lib/mod.ts";
import { renderElement } from "./lib/mod.ts";

Expand Down
5 changes: 5 additions & 0 deletions bdi.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @fileoverview
*
* This file was generated. Do not modify this file directly.
*/
import type { AnyProps, GlobalAttributes } from "./lib/mod.ts";
import { renderElement } from "./lib/mod.ts";

Expand Down
5 changes: 5 additions & 0 deletions bdo.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @fileoverview
*
* This file was generated. Do not modify this file directly.
*/
import type { AnyProps, GlobalAttributes } from "./lib/mod.ts";
import { renderElement } from "./lib/mod.ts";

Expand Down
5 changes: 5 additions & 0 deletions big.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @fileoverview
*
* This file was generated. Do not modify this file directly.
*/
import type { AnyProps, GlobalAttributes } from "./lib/mod.ts";
import { renderElement } from "./lib/mod.ts";

Expand Down
5 changes: 5 additions & 0 deletions blockquote.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @fileoverview
*
* This file was generated. Do not modify this file directly.
*/
import type { AnyProps, GlobalAttributes } from "./lib/mod.ts";
import { renderElement } from "./lib/mod.ts";

Expand Down
5 changes: 5 additions & 0 deletions body.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @fileoverview
*
* This file was generated. Do not modify this file directly.
*/
import type { AnyProps, GlobalAttributes } from "./lib/mod.ts";
import { renderElement } from "./lib/mod.ts";

Expand Down
5 changes: 5 additions & 0 deletions br.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @fileoverview
*
* This file was generated. Do not modify this file directly.
*/
import type { AnyProps, GlobalAttributes } from "./lib/mod.ts";
import { renderElement } from "./lib/mod.ts";

Expand Down
5 changes: 5 additions & 0 deletions button.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @fileoverview
*
* This file was generated. Do not modify this file directly.
*/
import type { AnyProps, GlobalAttributes } from "./lib/mod.ts";
import { renderElement } from "./lib/mod.ts";

Expand Down
5 changes: 5 additions & 0 deletions canvas.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @fileoverview
*
* This file was generated. Do not modify this file directly.
*/
import type { AnyProps, GlobalAttributes } from "./lib/mod.ts";
import { renderElement } from "./lib/mod.ts";

Expand Down
5 changes: 5 additions & 0 deletions caption.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @fileoverview
*
* This file was generated. Do not modify this file directly.
*/
import type { AnyProps, GlobalAttributes } from "./lib/mod.ts";
import { renderElement } from "./lib/mod.ts";

Expand Down
5 changes: 5 additions & 0 deletions center.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @fileoverview
*
* This file was generated. Do not modify this file directly.
*/
import type { AnyProps, GlobalAttributes } from "./lib/mod.ts";
import { renderElement } from "./lib/mod.ts";

Expand Down
5 changes: 5 additions & 0 deletions cite.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @fileoverview
*
* This file was generated. Do not modify this file directly.
*/
import type { AnyProps, GlobalAttributes } from "./lib/mod.ts";
import { renderElement } from "./lib/mod.ts";

Expand Down
8 changes: 8 additions & 0 deletions cli/codegen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,13 @@ if (import.meta.main) {
{ overwrite: true },
);

// Add file prelude.
sourceFile.addStatements(`/**
* @fileoverview
*
* This file was generated. Do not modify this file directly.
*/`);

// Add the type imports.
sourceFile.addImportDeclaration({
isTypeOnly: true,
Expand Down Expand Up @@ -143,6 +150,7 @@ if (import.meta.main) {
}),
}));
if (descriptor.tag === "input") {
// TODO(https://github.com/FartLabs/htx/issues/5): Resolve.
properties.unshift({
name: "type",
hasQuestionToken: true,
Expand Down
5 changes: 5 additions & 0 deletions code.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @fileoverview
*
* This file was generated. Do not modify this file directly.
*/
import type { AnyProps, GlobalAttributes } from "./lib/mod.ts";
import { renderElement } from "./lib/mod.ts";

Expand Down
5 changes: 5 additions & 0 deletions col.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @fileoverview
*
* This file was generated. Do not modify this file directly.
*/
import type { AnyProps, GlobalAttributes } from "./lib/mod.ts";
import { renderElement } from "./lib/mod.ts";

Expand Down
5 changes: 5 additions & 0 deletions colgroup.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @fileoverview
*
* This file was generated. Do not modify this file directly.
*/
import type { AnyProps, GlobalAttributes } from "./lib/mod.ts";
import { renderElement } from "./lib/mod.ts";

Expand Down
5 changes: 5 additions & 0 deletions data.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @fileoverview
*
* This file was generated. Do not modify this file directly.
*/
import type { AnyProps, GlobalAttributes } from "./lib/mod.ts";
import { renderElement } from "./lib/mod.ts";

Expand Down
5 changes: 5 additions & 0 deletions datalist.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @fileoverview
*
* This file was generated. Do not modify this file directly.
*/
import type { AnyProps, GlobalAttributes } from "./lib/mod.ts";
import { renderElement } from "./lib/mod.ts";

Expand Down
5 changes: 5 additions & 0 deletions dd.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @fileoverview
*
* This file was generated. Do not modify this file directly.
*/
import type { AnyProps, GlobalAttributes } from "./lib/mod.ts";
import { renderElement } from "./lib/mod.ts";

Expand Down
5 changes: 5 additions & 0 deletions del.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @fileoverview
*
* This file was generated. Do not modify this file directly.
*/
import type { AnyProps, GlobalAttributes } from "./lib/mod.ts";
import { renderElement } from "./lib/mod.ts";

Expand Down
5 changes: 5 additions & 0 deletions details.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @fileoverview
*
* This file was generated. Do not modify this file directly.
*/
import type { AnyProps, GlobalAttributes } from "./lib/mod.ts";
import { renderElement } from "./lib/mod.ts";

Expand Down
5 changes: 5 additions & 0 deletions dfn.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @fileoverview
*
* This file was generated. Do not modify this file directly.
*/
import type { AnyProps, GlobalAttributes } from "./lib/mod.ts";
import { renderElement } from "./lib/mod.ts";

Expand Down
5 changes: 5 additions & 0 deletions dialog.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @fileoverview
*
* This file was generated. Do not modify this file directly.
*/
import type { AnyProps, GlobalAttributes } from "./lib/mod.ts";
import { renderElement } from "./lib/mod.ts";

Expand Down
5 changes: 5 additions & 0 deletions dir.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @fileoverview
*
* This file was generated. Do not modify this file directly.
*/
import type { AnyProps, GlobalAttributes } from "./lib/mod.ts";
import { renderElement } from "./lib/mod.ts";

Expand Down
5 changes: 5 additions & 0 deletions div.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @fileoverview
*
* This file was generated. Do not modify this file directly.
*/
import type { AnyProps, GlobalAttributes } from "./lib/mod.ts";
import { renderElement } from "./lib/mod.ts";

Expand Down
5 changes: 5 additions & 0 deletions dl.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @fileoverview
*
* This file was generated. Do not modify this file directly.
*/
import type { AnyProps, GlobalAttributes } from "./lib/mod.ts";
import { renderElement } from "./lib/mod.ts";

Expand Down
5 changes: 5 additions & 0 deletions dt.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @fileoverview
*
* This file was generated. Do not modify this file directly.
*/
import type { AnyProps, GlobalAttributes } from "./lib/mod.ts";
import { renderElement } from "./lib/mod.ts";

Expand Down
5 changes: 5 additions & 0 deletions em.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @fileoverview
*
* This file was generated. Do not modify this file directly.
*/
import type { AnyProps, GlobalAttributes } from "./lib/mod.ts";
import { renderElement } from "./lib/mod.ts";

Expand Down
5 changes: 5 additions & 0 deletions embed.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @fileoverview
*
* This file was generated. Do not modify this file directly.
*/
import type { AnyProps, GlobalAttributes } from "./lib/mod.ts";
import { renderElement } from "./lib/mod.ts";

Expand Down
5 changes: 5 additions & 0 deletions fencedframe.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @fileoverview
*
* This file was generated. Do not modify this file directly.
*/
import type { AnyProps, GlobalAttributes } from "./lib/mod.ts";
import { renderElement } from "./lib/mod.ts";

Expand Down
5 changes: 5 additions & 0 deletions fieldset.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @fileoverview
*
* This file was generated. Do not modify this file directly.
*/
import type { AnyProps, GlobalAttributes } from "./lib/mod.ts";
import { renderElement } from "./lib/mod.ts";

Expand Down
5 changes: 5 additions & 0 deletions figcaption.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @fileoverview
*
* This file was generated. Do not modify this file directly.
*/
import type { AnyProps, GlobalAttributes } from "./lib/mod.ts";
import { renderElement } from "./lib/mod.ts";

Expand Down
5 changes: 5 additions & 0 deletions figure.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @fileoverview
*
* This file was generated. Do not modify this file directly.
*/
import type { AnyProps, GlobalAttributes } from "./lib/mod.ts";
import { renderElement } from "./lib/mod.ts";

Expand Down
5 changes: 5 additions & 0 deletions font.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* @fileoverview
*
* This file was generated. Do not modify this file directly.
*/
import type { AnyProps, GlobalAttributes } from "./lib/mod.ts";
import { renderElement } from "./lib/mod.ts";

Expand Down
Loading

0 comments on commit 50623ba

Please sign in to comment.