mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
fix: properly create index
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
"description": "A set of scripts that we use for our workflows",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "tsc --noEmit && tsup",
|
||||
"build": "tsc --noEmit --lib ESNext,DOM && tsup",
|
||||
"lint": "prettier --check . && cross-env TIMING=1 eslint --format=pretty src turbo/generators/config.ts",
|
||||
"format": "prettier --write . && cross-env TIMING=1 eslint --fix --format=pretty src turbo/generators/config.ts",
|
||||
"fmt": "pnpm run format"
|
||||
|
||||
@@ -166,7 +166,7 @@ export async function generateAllIndices({
|
||||
fetchPackageVersions = fetchVersions,
|
||||
fetchPackageVersionDocs = fetchVersionDocs,
|
||||
writeToFile = true,
|
||||
}) {
|
||||
} = {}) {
|
||||
const indices: Record<any, any>[] = [];
|
||||
|
||||
for (const pkg of PACKAGES) {
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
// eslint-disable-next-line @typescript-eslint/triple-slash-reference
|
||||
/// <reference lib="dom" />
|
||||
|
||||
import { readFile } from 'node:fs/promises';
|
||||
import process, { cwd } from 'node:process';
|
||||
import { create } from '@actions/glob';
|
||||
|
||||
Reference in New Issue
Block a user