File tree Expand file tree Collapse file tree 3 files changed +34
-0
lines changed
packages/rtk-query-codegen-openapi Expand file tree Collapse file tree 3 files changed +34
-0
lines changed Original file line number Diff line number Diff line change 68
68
"rimraf" : " ^5.0.5" ,
69
69
"ts-node" : " ^10.9.2" ,
70
70
"tsup" : " ^8.1.0" ,
71
+ "vite-tsconfig-paths" : " ^4.3.2" ,
71
72
"vitest" : " ^1.6.0" ,
72
73
"yalc" : " ^1.0.0-pre.47"
73
74
},
Original file line number Diff line number Diff line change 1
1
import path from 'node:path' ;
2
2
import { fileURLToPath } from 'node:url' ;
3
+ import tsconfigPaths from 'vite-tsconfig-paths' ;
3
4
import { defineConfig } from 'vitest/config' ;
4
5
5
6
// No __dirname under Node ESM
6
7
const __filename = fileURLToPath ( import . meta. url ) ;
7
8
const __dirname = path . dirname ( __filename ) ;
8
9
9
10
export default defineConfig ( {
11
+ plugins : [ tsconfigPaths ( { projects : [ './tsconfig.json' ] } ) ] ,
10
12
test : {
11
13
alias : process . env . TEST_DIST
12
14
? {
Original file line number Diff line number Diff line change @@ -7940,6 +7940,7 @@ __metadata:
7940
7940
ts-node: "npm:^10.9.2"
7941
7941
tsup: "npm:^8.1.0"
7942
7942
typescript: "npm:^5.4.5"
7943
+ vite-tsconfig-paths: "npm:^4.3.2"
7943
7944
vitest: "npm:^1.6.0"
7944
7945
yalc: "npm:^1.0.0-pre.47"
7945
7946
bin:
@@ -28436,6 +28437,20 @@ __metadata:
28436
28437
languageName: node
28437
28438
linkType: hard
28438
28439
28440
+ "tsconfck@npm:^3.0.3":
28441
+ version: 3.1.1
28442
+ resolution: "tsconfck@npm:3.1.1"
28443
+ peerDependencies:
28444
+ typescript: ^5.0.0
28445
+ peerDependenciesMeta:
28446
+ typescript:
28447
+ optional: true
28448
+ bin:
28449
+ tsconfck: bin/tsconfck.js
28450
+ checksum: 10/a4456577f540212516d7eb530005893739aadd6da00787914a8ed9aa19c3f2f306b8912920aa440b9b8978f10c9dadbd062b8c2a2f0ff1f6c2d4272b5be2ef34
28451
+ languageName: node
28452
+ linkType: hard
28453
+
28439
28454
"tsconfig-paths@npm:^3.14.1":
28440
28455
version: 3.14.1
28441
28456
resolution: "tsconfig-paths@npm:3.14.1"
@@ -29568,6 +29583,22 @@ __metadata:
29568
29583
languageName: node
29569
29584
linkType: hard
29570
29585
29586
+ "vite-tsconfig-paths@npm:^4.3.2":
29587
+ version: 4.3.2
29588
+ resolution: "vite-tsconfig-paths@npm:4.3.2"
29589
+ dependencies:
29590
+ debug: "npm:^4.1.1"
29591
+ globrex: "npm:^0.1.2"
29592
+ tsconfck: "npm:^3.0.3"
29593
+ peerDependencies:
29594
+ vite: "*"
29595
+ peerDependenciesMeta:
29596
+ vite:
29597
+ optional: true
29598
+ checksum: 10/c12e2087fd01ac8a694850c649b79d5b9798cdba0ef9ab4116f669d8ffa1a9a3195c5a14410d3d9a12d2f08cd35ddd74f03d9c7b13a2d590d002055cdaab45c0
29599
+ languageName: node
29600
+ linkType: hard
29601
+
29571
29602
"vite@npm:^5.0.0":
29572
29603
version: 5.3.1
29573
29604
resolution: "vite@npm:5.3.1"
You can’t perform that action at this time.
0 commit comments