release(tach-typography): v0.2.0
This commit is contained in:
12
packages/tach-typography/scripts/fix-angular-entry.mjs
Normal file
12
packages/tach-typography/scripts/fix-angular-entry.mjs
Normal file
@@ -0,0 +1,12 @@
|
||||
import { access, writeFile } from "node:fs/promises";
|
||||
import path from "node:path";
|
||||
|
||||
const distAngularDir = path.resolve("dist/angular");
|
||||
await access(path.join(distAngularDir, "angular/index.js"));
|
||||
await access(path.join(distAngularDir, "angular/index.d.ts"));
|
||||
|
||||
await writeFile(
|
||||
path.join(distAngularDir, "index.js"),
|
||||
'export * from "./angular/index.js";\n',
|
||||
);
|
||||
await writeFile(path.join(distAngularDir, "index.d.ts"), 'export * from "./angular/index";\n');
|
||||
Reference in New Issue
Block a user