From 42c8a60da27cb1e56bfe8b30b15e62f9dabe593e Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Wed, 22 May 2024 01:57:36 -0400 Subject: [PATCH] chore: remove test-package-files.mjs (#3186) --- scripts/test-package-files.mjs | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 scripts/test-package-files.mjs diff --git a/scripts/test-package-files.mjs b/scripts/test-package-files.mjs deleted file mode 100644 index ef85649a7d7..00000000000 --- a/scripts/test-package-files.mjs +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/env node -/* eslint-disable no-unused-vars, no-undef */ - -import { fileURLToPath } from 'url'; -import { readFile, readdir, writeFile } from 'fs/promises'; -import { findFiles } from './lib/findFiles.mjs'; - -const rootUrl = new URL('..', import.meta.url); -const root = fileURLToPath(rootUrl); -const cwd = root; - -run(); - -async function findDictionaryExtFiles() { - const files = await findFiles(['dictionaries/*/cspell-ext.json', { cwd, onlyFiles: true }]); - return files; -} - -async function run() { - console.log('Test that package.json/files contains'); - const packages = await collectPackages(); - await updateManifest(packages); - await updateConfig(packages); - console.log('Done.'); -}