add package for publishing types to npm (#2473)

https://www.npmjs.com/package/@vencord/types
This commit is contained in:
vee 2024-05-17 23:01:07 +02:00 committed by GitHub
parent 54817ab506
commit c3757a2ae6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
26 changed files with 1231 additions and 112 deletions

View file

@ -29,7 +29,15 @@
"@webpack/types": ["./webpack/common/types"],
"@webpack/common": ["./webpack/common"],
"@webpack": ["./webpack/webpack"]
}
},
"plugins": [
// Transform paths in output .d.ts files (Include this line if you output declarations files)
{
"transform": "typescript-transform-paths",
"afterDeclarations": true
}
]
},
"include": ["src/**/*", "browser/**/*", "scripts/**/*"]
}