tangled
alpha
login
or
join now
graham.systems
/
statusphere-react
forked from
samuel.fm/statusphere-react
0
fork
atom
the statusphere demo reworked into a vite/react app in a monorepo
0
fork
atom
overview
issues
pulls
pipelines
add vite-tsconfig-paths
samuel.fm
1 year ago
105fd50e
b034352d
+45
-7
3 changed files
expand all
collapse all
unified
split
packages
client
package.json
vite.config.ts
pnpm-lock.yaml
+2
-1
packages/client/package.json
···
37
37
"postcss": "^8.5.3",
38
38
"tailwindcss": "^4.0.9",
39
39
"typescript": "^5.8.2",
40
40
-
"vite": "^6.2.0"
40
40
+
"vite": "^6.2.0",
41
41
+
"vite-tsconfig-paths": "^5.1.4"
41
42
}
42
43
}
+2
-6
packages/client/vite.config.ts
···
1
1
-
import path from 'node:path'
2
1
import tailwindcss from '@tailwindcss/vite'
3
2
import react from '@vitejs/plugin-react'
4
3
import { defineConfig } from 'vite'
4
4
+
import tsconfigPaths from 'vite-tsconfig-paths'
5
5
6
6
// https://vitejs.dev/config/
7
7
export default defineConfig({
···
12
12
},
13
13
}),
14
14
tailwindcss(),
15
15
+
tsconfigPaths(),
15
16
],
16
17
server: {
17
18
host: '127.0.0.1',
···
21
22
target: 'http://localhost:3001',
22
23
changeOrigin: true,
23
24
},
24
24
-
},
25
25
-
},
26
26
-
resolve: {
27
27
-
alias: {
28
28
-
'#': path.resolve(__dirname, './src'),
29
25
},
30
26
},
31
27
})
+41
pnpm-lock.yaml
···
187
187
vite:
188
188
specifier: ^6.2.0
189
189
version: 6.2.0(@types/node@22.13.8)(jiti@2.4.2)(lightningcss@1.29.1)(tsx@4.19.3)
190
190
+
vite-tsconfig-paths:
191
191
+
specifier: ^5.1.4
192
192
+
version: 5.1.4(typescript@5.8.2)(vite@6.2.0(@types/node@22.13.8)(jiti@2.4.2)(lightningcss@1.29.1)(tsx@4.19.3))
190
193
191
194
packages/lexicon:
192
195
dependencies:
···
1631
1634
resolution: {integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==}
1632
1635
engines: {node: '>=18'}
1633
1636
1637
1637
+
globrex@0.1.2:
1638
1638
+
resolution: {integrity: sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg==}
1639
1639
+
1634
1640
gopd@1.2.0:
1635
1641
resolution: {integrity: sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==}
1636
1642
engines: {node: '>= 0.4'}
···
2555
2561
'@swc/wasm':
2556
2562
optional: true
2557
2563
2564
2564
+
tsconfck@3.1.5:
2565
2565
+
resolution: {integrity: sha512-CLDfGgUp7XPswWnezWwsCRxNmgQjhYq3VXHM0/XIRxhVrKw0M1if9agzryh1QS3nxjCROvV+xWxoJO1YctzzWg==}
2566
2566
+
engines: {node: ^18 || >=20}
2567
2567
+
hasBin: true
2568
2568
+
peerDependencies:
2569
2569
+
typescript: ^5.0.0
2570
2570
+
peerDependenciesMeta:
2571
2571
+
typescript:
2572
2572
+
optional: true
2573
2573
+
2558
2574
tslib@2.6.2:
2559
2575
resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==}
2560
2576
···
2647
2663
resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==}
2648
2664
engines: {node: '>= 0.8'}
2649
2665
2666
2666
+
vite-tsconfig-paths@5.1.4:
2667
2667
+
resolution: {integrity: sha512-cYj0LRuLV2c2sMqhqhGpaO3LretdtMn/BVX4cPLanIZuwwrkVl+lK84E/miEXkCHWXuq65rhNN4rXsBcOB3S4w==}
2668
2668
+
peerDependencies:
2669
2669
+
vite: '*'
2670
2670
+
peerDependenciesMeta:
2671
2671
+
vite:
2672
2672
+
optional: true
2673
2673
+
2650
2674
vite@6.2.0:
2651
2675
resolution: {integrity: sha512-7dPxoo+WsT/64rDcwoOjk76XHj+TqNTIvHKcuMQ1k4/SeHDaQt5GFAeLYzrimZrMpn/O6DtdI03WUjdxuPM0oQ==}
2652
2676
engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0}
···
4308
4332
4309
4333
globals@14.0.0: {}
4310
4334
4335
4335
+
globrex@0.1.2: {}
4336
4336
+
4311
4337
gopd@1.2.0: {}
4312
4338
4313
4339
graceful-fs@4.2.11: {}
···
5134
5160
v8-compile-cache-lib: 3.0.1
5135
5161
yn: 3.1.1
5136
5162
5163
5163
+
tsconfck@3.1.5(typescript@5.8.2):
5164
5164
+
optionalDependencies:
5165
5165
+
typescript: 5.8.2
5166
5166
+
5137
5167
tslib@2.6.2: {}
5138
5168
5139
5169
tslib@2.8.1: {}
···
5220
5250
varint@6.0.0: {}
5221
5251
5222
5252
vary@1.1.2: {}
5253
5253
+
5254
5254
+
vite-tsconfig-paths@5.1.4(typescript@5.8.2)(vite@6.2.0(@types/node@22.13.8)(jiti@2.4.2)(lightningcss@1.29.1)(tsx@4.19.3)):
5255
5255
+
dependencies:
5256
5256
+
debug: 4.4.0
5257
5257
+
globrex: 0.1.2
5258
5258
+
tsconfck: 3.1.5(typescript@5.8.2)
5259
5259
+
optionalDependencies:
5260
5260
+
vite: 6.2.0(@types/node@22.13.8)(jiti@2.4.2)(lightningcss@1.29.1)(tsx@4.19.3)
5261
5261
+
transitivePeerDependencies:
5262
5262
+
- supports-color
5263
5263
+
- typescript
5223
5264
5224
5265
vite@6.2.0(@types/node@22.13.8)(jiti@2.4.2)(lightningcss@1.29.1)(tsx@4.19.3):
5225
5266
dependencies: