Skip to content

Commit a7cc2f8

Browse files
chore(deps): update packages/plugins-workspace digest to de45034 (#3437)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: FabianLars <[email protected]>
1 parent b7946c0 commit a7cc2f8

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

packages/js-api-generator/build.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import {
1515
type MarkdownApplication,
1616
type PluginOptions,
1717
} from 'typedoc-plugin-markdown';
18-
import { existsSync } from 'node:fs';
18+
import { existsSync, readFileSync, writeFileSync } from 'node:fs';
1919

2020
const typeDocConfigBaseOptions: Partial<TypeDocOptions | PluginOptions> = {
2121
// TypeDoc options
@@ -88,6 +88,16 @@ async function generator() {
8888
];
8989

9090
if (existsSync('../plugins-workspace/node_modules')) {
91+
// TODO: Actually fix this
92+
const data = readFileSync('../plugins-workspace/plugins/fs/guest-js/index.ts', {
93+
encoding: 'utf8',
94+
});
95+
writeFileSync(
96+
'../plugins-workspace/plugins/fs/guest-js/index.ts',
97+
data.replace(/Uint8Array<ArrayBuffer>/g, 'Uint8Array'),
98+
{ encoding: 'utf8' }
99+
);
100+
91101
plugins.forEach(async (plugin) => {
92102
const pluginJsOptions: Partial<TypeDocOptions> = {
93103
entryPoints: [`../plugins-workspace/plugins/${plugin}/guest-js/index.ts`],

packages/plugins-workspace

Submodule plugins-workspace updated 141 files

0 commit comments

Comments
 (0)