Skip to content
Draft
Changes from 1 commit
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
bbd8648
feat: use jiti for plugin loading
BioPhoton Jan 21, 2026
b2a0154
Merge branch 'refs/heads/main' into feat/jiti-module-loading
BioPhoton Jan 22, 2026
cc442d1
refactor: move loadTargetConfig into utils
BioPhoton Jan 22, 2026
c9cb895
refactor: move importModule into extra file
BioPhoton Jan 22, 2026
aee50d9
refactor: use jiti to load module
BioPhoton Jan 23, 2026
4c75af5
refactor: fix lint
BioPhoton Jan 23, 2026
2f53690
refactor: fix lint
BioPhoton Jan 23, 2026
3428c50
refactor: fix int-test
BioPhoton Jan 23, 2026
e477cbc
refactor: fix unit-test
BioPhoton Jan 23, 2026
81fd996
refactor: fix unit-test
BioPhoton Jan 23, 2026
23ff44d
refactor: fix build
BioPhoton Jan 23, 2026
8447ae2
refactor: fix int-test
BioPhoton Jan 23, 2026
5301aa7
refactor: fix lint
BioPhoton Jan 23, 2026
bf7dd0a
refactor: fix jiti context
BioPhoton Jan 23, 2026
a5319d8
refactor: fix jiti context
BioPhoton Jan 23, 2026
5a67328
refactor: fix int test
BioPhoton Jan 23, 2026
11c493b
refactor: fix e2e test
BioPhoton Jan 23, 2026
1b679b8
refactor: move mocks
BioPhoton Jan 23, 2026
933daf1
refactor: adjust path resolution
BioPhoton Jan 23, 2026
1a51ca9
refactor: fix axe
BioPhoton Jan 23, 2026
51106e9
refactor: fix eslint
BioPhoton Jan 23, 2026
7c3341b
refactor: fix eslint
BioPhoton Jan 23, 2026
03ff1f2
refactor: fix axe
BioPhoton Jan 23, 2026
481b536
refactor: fix import order
BioPhoton Jan 23, 2026
d5125c3
refactor: fix lint
BioPhoton Jan 23, 2026
b7109fb
refactor: add safe axeCore import helper
BioPhoton Jan 23, 2026
ba61c0a
refactor: wip
BioPhoton Jan 23, 2026
1cbe69a
refactor: revert changes
BioPhoton Jan 31, 2026
ce7e644
Merge branch 'main' into feat/jiti-module-loading
BioPhoton Jan 31, 2026
515577c
refactor: add axe-core polyfill
BioPhoton Jan 31, 2026
f0b9c6b
refactor: wip
BioPhoton Jan 31, 2026
85fbcbf
refactor: fix mocking in tests
BioPhoton Jan 31, 2026
c74b5e1
refactor: disable jit cache in tests
BioPhoton Jan 31, 2026
5dbcebe
refactor: fix importModule usage
BioPhoton Jan 31, 2026
a41c71d
refactor: jiti cache test handling
BioPhoton Feb 1, 2026
c42051d
refactor: wip
BioPhoton Feb 1, 2026
44d8e35
refactor: wip
BioPhoton Feb 1, 2026
e951629
refactor: wip
BioPhoton Feb 1, 2026
06f55a1
refactor: wip
BioPhoton Feb 1, 2026
a8e38cb
refactor: wip
BioPhoton Feb 1, 2026
9ea45db
refactor: wip
BioPhoton Feb 1, 2026
9e799f4
refactor: wip
BioPhoton Feb 1, 2026
5da4812
refactor: wip
BioPhoton Feb 1, 2026
196b26d
refactor: add issue repro
BioPhoton Feb 1, 2026
6a90e80
refactor: wip
BioPhoton Feb 1, 2026
98c1439
refactor: wip
BioPhoton Feb 1, 2026
2266a0b
refactor: wip
BioPhoton Feb 1, 2026
8f99f41
refactor: wip
BioPhoton Feb 2, 2026
203cb69
refactor: wip
BioPhoton Feb 2, 2026
d27bc8c
refactor: wip
BioPhoton Feb 2, 2026
560b1e7
refactor: wip
BioPhoton Feb 2, 2026
36aa855
refactor: wip
BioPhoton Feb 2, 2026
d953e35
refactor: wip
BioPhoton Feb 2, 2026
ec537fe
refactor: wip
BioPhoton Feb 2, 2026
2f72c82
refactor: wip
BioPhoton Feb 2, 2026
56c04db
Merge branch 'main' into feat/jiti-module-loading
BioPhoton Feb 8, 2026
28cccef
refactor: wip
BioPhoton Feb 8, 2026
8ca4ab1
refactor: wip
BioPhoton Feb 8, 2026
655c9c2
refactor: wip
BioPhoton Feb 8, 2026
fb078f0
refactor: wip
BioPhoton Feb 8, 2026
52da218
refactor: wip
BioPhoton Feb 8, 2026
7854b62
refactor: wip
BioPhoton Feb 8, 2026
e452315
refactor: wip
BioPhoton Feb 8, 2026
12fd5ca
refactor: wip
BioPhoton Feb 8, 2026
7384905
refactor: wip
BioPhoton Feb 8, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
refactor: wip
  • Loading branch information
BioPhoton committed Feb 2, 2026
commit 2f72c82d504ba12eb18dcd2ace5ebd43f48aadfb
14 changes: 1 addition & 13 deletions packages/utils/src/lib/import-module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { stat } from 'node:fs/promises';
import path from 'node:path';
import { pathToFileURL } from 'node:url';
import type { CompilerOptions } from 'typescript';
import { fileExists } from './file-system.js';
import { loadTargetConfig } from './load-ts-config.js';
import { settlePromise } from './promises.js';

Expand Down Expand Up @@ -178,19 +177,8 @@ export async function createTsJiti(
createJiti: (typeof import('jiti'))['createJiti'] = createJitiSource,
) {
const { tsconfigPath, ...jitiOptions } = options;
const fallbackTsconfigPath = path.resolve(process.cwd(), 'tsconfig.json');
const fallbackBaseTsconfigPath = path.resolve(
process.cwd(),
'tsconfig.base.json',
);
const validPath: null | string =
tsconfigPath == null
? (await fileExists(fallbackTsconfigPath))
? fallbackTsconfigPath
: (await fileExists(fallbackBaseTsconfigPath))
? fallbackBaseTsconfigPath
: null
: path.resolve(process.cwd(), tsconfigPath);
tsconfigPath != null ? path.resolve(process.cwd(), tsconfigPath) : null;
const tsDerivedJitiOptions: MappableJitiOptions = validPath
? await jitiOptionsFromTsConfig(validPath)
: {};
Expand Down
Loading