(internal): fix typings in scripts files

This commit is contained in:
Christian Bromann 2023-11-14 10:59:27 -08:00
parent 6ef2bd3a6c
commit 190d19037b
No known key found for this signature in database
GPG key ID: 6D65B5474C4AF507
2 changed files with 14 additions and 1 deletions

13
@types/lerna-changelog.d.ts vendored Normal file
View file

@ -0,0 +1,13 @@
// import { Changelog } from ''
// import { load } from 'lerna-changelog/lib/configuration.js'
declare module 'lerna-changelog' {
class Changelog {
constructor(options: any)
createMarkdown: (options: { tagFrom: string }) => Promise<string>
}
}
declare module 'lerna-changelog/lib/configuration.js' {
var load: (options: { nextVersionFromMetadata: boolean }) => any
}

View file

@ -9,7 +9,7 @@
"create": "node --loader ts-node/esm ./scripts/generateSubPackage.ts",
"backport": "node --loader ts-node/esm ./scripts/backport.ts",
"build": "run-s clean:build generate compile copy",
"changelog": "node --loader ts-node/esm ./scripts/changelog.js",
"changelog": "node --loader ts-node/esm ./scripts/changelog.ts",
"ci": "run-s setup test test:e2e",
"clean": "run-p clean:*",
"clean:build": "rimraf --glob ./packages/*/build",