require the use of node prefix on native imports

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2026-01-25 13:47:32 +01:00
parent 4ad63b8d9f
commit 7455dae884
444 changed files with 749 additions and 634 deletions
@@ -30,9 +30,9 @@ import {
PublisherBase,
} from '@backstage/plugin-techdocs-node';
import fs from 'fs-extra';
import os from 'os';
import path from 'path';
import { Writable } from 'stream';
import os from 'node:os';
import path from 'node:path';
import { Writable } from 'node:stream';
import { Logger } from 'winston';
import { BuildMetadataStorage } from './BuildMetadataStorage';
import { TechDocsCache } from '../cache';
@@ -21,7 +21,7 @@ import {
PreparerBuilder,
PublisherBase,
} from '@backstage/plugin-techdocs-node';
import { PassThrough } from 'stream';
import { PassThrough } from 'node:stream';
import * as winston from 'winston';
import { TechDocsCache } from '../cache';
import { DocsBuilder, shouldCheckForUpdate } from '../DocsBuilder';
@@ -28,7 +28,7 @@ import {
PublisherBase,
} from '@backstage/plugin-techdocs-node';
import pLimit, { Limit } from 'p-limit';
import { PassThrough } from 'stream';
import { PassThrough } from 'node:stream';
import * as winston from 'winston';
import { TechDocsCache } from '../cache';
import {