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
+3 -3
View File
@@ -5,9 +5,9 @@
```ts
import { JsonObject } from '@backstage/types';
import { Permission } from '@backstage/plugin-permission-common';
import { Readable } from 'stream';
import { Transform } from 'stream';
import { Writable } from 'stream';
import { Readable } from 'node:stream';
import { Transform } from 'node:stream';
import { Writable } from 'node:stream';
// @public
export interface DocumentCollatorFactory {
+1 -1
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*/
import { Writable } from 'stream';
import { Writable } from 'node:stream';
import { SearchQuery, IndexableResultSet } from './types';
/**
+1 -1
View File
@@ -16,7 +16,7 @@
import { Permission } from '@backstage/plugin-permission-common';
import { JsonObject } from '@backstage/types';
import { Readable, Transform } from 'stream';
import { Readable, Transform } from 'node:stream';
/**
* @public