put everithing into one folder
This commit is contained in:
+2
-2
@@ -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')
|
||||
|
||||
+5
-2
@@ -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
-1
@@ -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.
|
||||
Reference in New Issue
Block a user