Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ndelangen committed Aug 7, 2024
1 parent c15ba8c commit 9859a6c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 41 deletions.
4 changes: 2 additions & 2 deletions scripts/combine-compodoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { realpath, readFile, writeFile, lstat } from 'fs-extra';
import { globSync } from 'glob';
import { execaCommand } from 'execa';
import { esMain } from './utils/esmain';
import { temporaryDirectory } from '../code/core/src/common/utils/cli';

const logger = console;

Expand Down Expand Up @@ -35,8 +36,7 @@ async function run(cwd: string) {

const docsArray: Record<string, any>[] = await Promise.all(
dirs.map(async (dir) => {
const { temporaryDirectory } = await import('tempy');
const outputDir = temporaryDirectory();
const outputDir = await temporaryDirectory();
const resolvedDir = await realpath(dir);
await execaCommand(
`yarn compodoc ${resolvedDir} -p ./tsconfig.json -e json -d ${outputDir}`,
Expand Down
1 change: 0 additions & 1 deletion scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@
"simple-git": "^3.25.0",
"slash": "^3.0.0",
"sort-package-json": "^2.10.0",
"tempy": "^3.1.0",
"tiny-invariant": "^1.3.3",
"trash": "^7.2.0",
"ts-dedent": "^2.2.0",
Expand Down
38 changes: 0 additions & 38 deletions scripts/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1561,7 +1561,6 @@ __metadata:
simple-git: "npm:^3.25.0"
slash: "npm:^3.0.0"
sort-package-json: "npm:^2.10.0"
tempy: "npm:^3.1.0"
tiny-invariant: "npm:^1.3.3"
trash: "npm:^7.2.0"
ts-dedent: "npm:^2.2.0"
Expand Down Expand Up @@ -4337,15 +4336,6 @@ __metadata:
languageName: node
linkType: hard

"crypto-random-string@npm:^4.0.0":
version: 4.0.0
resolution: "crypto-random-string@npm:4.0.0"
dependencies:
type-fest: "npm:^1.0.1"
checksum: 10c0/16e11a3c8140398f5408b7fded35a961b9423c5dac39a60cbbd08bd3f0e07d7de130e87262adea7db03ec1a7a4b7551054e0db07ee5408b012bac5400cfc07a5
languageName: node
linkType: hard

"css.escape@npm:^1.5.1":
version: 1.5.1
resolution: "css.escape@npm:1.5.1"
Expand Down Expand Up @@ -12989,25 +12979,6 @@ __metadata:
languageName: node
linkType: hard

"temp-dir@npm:^3.0.0":
version: 3.0.0
resolution: "temp-dir@npm:3.0.0"
checksum: 10c0/a86978a400984cd5f315b77ebf3fe53bb58c61f192278cafcb1f3fb32d584a21dc8e08b93171d7874b7cc972234d3455c467306cc1bfc4524b622e5ad3bfd671
languageName: node
linkType: hard

"tempy@npm:^3.1.0":
version: 3.1.0
resolution: "tempy@npm:3.1.0"
dependencies:
is-stream: "npm:^3.0.0"
temp-dir: "npm:^3.0.0"
type-fest: "npm:^2.12.2"
unique-string: "npm:^3.0.0"
checksum: 10c0/b88e70baa8d935ba8f0e0372b59ad1a961121f098da5fb4a6e05bec98ec32a49026b553532fb75c1c102ec782fd4c6a6bde0d46cbe87013fa324451ce476fb76
languageName: node
linkType: hard

"test-exclude@npm:^7.0.1":
version: 7.0.1
resolution: "test-exclude@npm:7.0.1"
Expand Down Expand Up @@ -13672,15 +13643,6 @@ __metadata:
languageName: node
linkType: hard

"unique-string@npm:^3.0.0":
version: 3.0.0
resolution: "unique-string@npm:3.0.0"
dependencies:
crypto-random-string: "npm:^4.0.0"
checksum: 10c0/b35ea034b161b2a573666ec16c93076b4b6106b8b16c2415808d747ab3a0566b5db0c4be231d4b11cfbc16d7fd915c9d8a45884bff0e2db11b799775b2e1e017
languageName: node
linkType: hard

"unist-util-generated@npm:^2.0.0":
version: 2.0.1
resolution: "unist-util-generated@npm:2.0.1"
Expand Down

0 comments on commit 9859a6c

Please sign in to comment.