Integrate @rollup/plugin-typescript into adapter-electron for TypeScript support

- Added @rollup/plugin-typescript as a dependency in package.json for TypeScript integration.
- Updated index.js to include typescript in the Rollup build process.
- Reflected the new dependency in pnpm-lock.yaml to ensure proper versioning and compatibility.
This commit is contained in:
Luke Hagar
2025-07-23 16:38:42 -05:00
parent bb685e1328
commit 80fd315db5
3 changed files with 31 additions and 2 deletions

25
pnpm-lock.yaml generated
View File

@@ -222,6 +222,9 @@ importers:
'@rollup/plugin-node-resolve':
specifier: ^16.0.1
version: 16.0.1(rollup@4.45.1)
'@rollup/plugin-typescript':
specifier: ^12.1.4
version: 12.1.4(rollup@4.45.1)(tslib@2.8.1)(typescript@5.8.3)
cookie:
specifier: ^0.6.0
version: 0.6.0
@@ -1048,6 +1051,19 @@ packages:
rollup:
optional: true
'@rollup/plugin-typescript@12.1.4':
resolution: {integrity: sha512-s5Hx+EtN60LMlDBvl5f04bEiFZmAepk27Q+mr85L/00zPDn1jtzlTV6FWn81MaIwqfWzKxmOJrBWHU6vtQyedQ==}
engines: {node: '>=14.0.0'}
peerDependencies:
rollup: ^2.14.0||^3.0.0||^4.0.0
tslib: '*'
typescript: '>=3.7.0'
peerDependenciesMeta:
rollup:
optional: true
tslib:
optional: true
'@rollup/pluginutils@5.2.0':
resolution: {integrity: sha512-qWJ2ZTbmumwiLFomfzTyt5Kng4hwPi9rwCYN4SHb6eaRU1KNO4ccxINHr/VhH4GgPlt1XfSTLX2LBTme8ne4Zw==}
engines: {node: '>=14.0.0'}
@@ -4750,6 +4766,15 @@ snapshots:
optionalDependencies:
rollup: 4.45.1
'@rollup/plugin-typescript@12.1.4(rollup@4.45.1)(tslib@2.8.1)(typescript@5.8.3)':
dependencies:
'@rollup/pluginutils': 5.2.0(rollup@4.45.1)
resolve: 1.22.10
typescript: 5.8.3
optionalDependencies:
rollup: 4.45.1
tslib: 2.8.1
'@rollup/pluginutils@5.2.0(rollup@4.45.1)':
dependencies:
'@types/estree': 1.0.8