Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions goldens/public-api/angular_devkit/core/node/testing/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
## API Report File for "@angular-devkit/core_node_testing"

> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).

```ts

/// <reference types="node" />

import * as fs from 'fs';
import { Observable } from 'rxjs';

// @public
export class TempScopedNodeJsSyncHost extends virtualFs.ScopedHost<fs.Stats> {
constructor();
// (undocumented)
get files(): Path[];
// (undocumented)
get root(): Path;
// (undocumented)
protected _root: Path;
// (undocumented)
get sync(): virtualFs.SyncDelegateHost<fs.Stats>;
// (undocumented)
protected _sync?: virtualFs.SyncDelegateHost<fs.Stats>;
}

// (No @packageDocumentation comment for this package)

```
1 change: 0 additions & 1 deletion packages/angular_devkit/core/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ pkg_npm(
":core",
":license",
"//packages/angular_devkit/core/node",
"//packages/angular_devkit/core/node:package.json",
"//packages/angular_devkit/core/node/testing",
],
)
Expand Down
1 change: 0 additions & 1 deletion packages/angular_devkit/core/node/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ ts_library(
"**/*_spec.ts",
],
),
data = ["package.json"],
module_name = "@angular-devkit/core/node",
module_root = "index.d.ts",
deps = [
Expand Down
5 changes: 2 additions & 3 deletions packages/angular_devkit/core/node/host_spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@
*/

/* eslint-disable @typescript-eslint/no-non-null-assertion */
/* eslint-disable import/no-extraneous-dependencies */
import { normalize, virtualFs } from '@angular-devkit/core';
import { NodeJsAsyncHost, NodeJsSyncHost } from '@angular-devkit/core/node';
import * as fs from 'fs';
import { tmpdir } from 'os';
import { join } from 'path';
import { normalize, virtualFs } from '../src';
import { NodeJsAsyncHost, NodeJsSyncHost } from './host';

// TODO: replace this with an "it()" macro that's reusable globally.
let linuxOnlyIt: typeof it = it;
Expand Down
5 changes: 0 additions & 5 deletions packages/angular_devkit/core/node/package.json

This file was deleted.

17 changes: 17 additions & 0 deletions packages/angular_devkit/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,23 @@
"keywords": [
"core"
],
"exports": {
".": {
"types": "./src/index.d.ts",
"default": "./src/index.js"
},
"./node": {
"types": "./node/index.d.ts",
"default": "./node/index.js"
},
"./node/testing": {
"types": "./node/testing/index.d.ts",
"default": "./node/testing/index.js"
},
"./package.json": "./package.json",
"./*": "./*.js",
"./*.js": "./*.js"
Comment thread
clydin marked this conversation as resolved.
},
"dependencies": {
"ajv-formats": "2.1.1",
"ajv": "8.12.0",
Expand Down