put everithing into one folder

This commit is contained in:
Oleksii Bulenok
2026-09-01 19:12:47 +02:00
parent 4ce3c4a278
commit 46e432bde5
5 changed files with 8 additions and 5 deletions
@@ -30,10 +30,10 @@ const path = require('node:path')
const {Worker} = require('node:worker_threads')
const ts = require('typescript')
const plugin = require('../babel-plugin-lexicon-leaf-imports')
const plugin = require('..')
const {barrelExports, resolveModuleFile} = require('../lexiconBarrels')
const ROOT = path.resolve(__dirname, '../..')
const ROOT = path.resolve(__dirname, '../../..')
const LEXICONS_ROOT = path.join(ROOT, 'src', 'lexicons')
const SDK_DIST = path.join(ROOT, 'node_modules', '@bsky', 'sdk', 'dist')
@@ -19,8 +19,11 @@ import path from 'node:path'
import * as babel from '@babel/core'
const ROOT = path.resolve(__dirname, '../..')
const PLUGIN = path.join(ROOT, 'plugins/babel-plugin-lexicon-leaf-imports.js')
const ROOT = path.resolve(__dirname, '../../..')
const PLUGIN = path.join(
ROOT,
'plugins/babel-plugin-lexicon-leaf-imports/index.js',
)
function listFiles(dir: string, exts: string[]): string[] {
const out: string[] = []
@@ -1,6 +1,6 @@
/*
* Worker thread for the "app callsites" test in
* __tests__/babel-plugin-lexicon-leaf-imports.test.js: typechecks the
* __tests__/lexiconLeafImports.test.js: typechecks the
* consumer files with the given overlay contents and reports error
* diagnostics. The baseline and shadow typechecks are independent CPU-bound
* programs, so the test runs one worker for each in parallel.